GithubHelp home page GithubHelp logo

contributte / componette-site Goto Github PK

View Code? Open in Web Editor NEW
57.0 6.0 12.0 5.37 MB

:loop: Addons, plugins, components and extensions (@componette :heart: @nette)

Home Page: https://componette.org

License: MIT License

PHP 56.50% JavaScript 3.13% Shell 0.26% Dockerfile 0.15% Latte 21.36% Less 10.54% Makefile 0.47% TypeScript 1.65% CSS 5.93%
portal components nette-framework

componette-site's Introduction

Componette

Addons, extensions & components portal for Nette Framework with smooth searching and categorization.

Website 🚀 componette.org | Contact 👨🏻‍💻 f3l1x.io | Twitter 🐦 @xf3l1x


Requirements

  • PHP 8.1+
  • NodeJS 18+
  • Caddy 0.11+
  • MariaDB 10.3+
  • Docker [optionally]

How to develop

Backend

  • Clone this repo ([email protected]:contributte/componette-site.git).
  • Rename app/config/config.local.sample to config.local.neon and fill parameters (database, github token, etc).
  • Run composer install.
  • Run migration via bin/console migrations:continue follow steps.
  • Start webserver NETTE_DEBUG=1 php -S 0.0.0.0:8000 -t www

Frontend

  • Run npm install
  • Run gulp deploy (it compiles once all JS/CSS files)

For developing you can use gulp watch, it's monitor every CSS and JS files in <project>/www/assets.

How to contribute

I very appreciate you contributing work, these tools keep on eye and help me to keep a high code standard.

Automated tasks

This project has a few tasks you should fired before you prepare PR.

  • Quality Assurance - checks PHP syntax errors and codestyle
make qa
  • Nette\Tester - runs unit & integration tests
make tests
  • PHPstan - runs static analyse
make phpstan

componette-site's People

Contributors

adaamz avatar chemix avatar dakujem avatar dependabot-preview[bot] avatar dependabot[bot] avatar f3l1x avatar jantvrdik avatar leonardoca avatar matej21 avatar milo avatar paveljanda avatar petrparolek avatar rozsival avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

componette-site's Issues

Idea: quick composer require input

While most extensions provide install command, they often include $ console char on beginning, which complicates copying. Something like npmjs has would be great:

or Github:

Commit composer.lock file

You need to commit either composer.lock or entire /vendor directory. Having only composer.json makes it impossible to reliably run this app on other computers.

Other projects menu does not fit screen on tablet

On tablet iPad2 in widescreen mode the mane with links to other projects does not fit to one line even though it clearly could. Instead part of it is display over the current page. The screenshot provides details.

image

Search

Hi,

if i try search "nette ajax" => 0 results. I don´t know that real name is "nette.ajax".

Symfony tag

I've added my integration of symfony/forms to componette. However there is a ton of nette-forms related packages already so I don't think anyone will notice it there. I think there should be a new tag #symfony for integrations of symfony components (Kdyby/Validator, Kdyby/Console, Kdyby/Translation, Symnedi/EventDispatcher, Symnedi/Security and Arachne/Forms, some others - search for symfony on componette.com).

Incorrect package name separator

I noticed use of \ as a vendor & name separator on some places, which is incorrect, correct one is /.
Some places where this is incorrect:

  • package detail - page title;
  • most popular in the footer;
  • newest in the footer.

Use database migrations

BTW i don't understand what format the current SQL file is in because it wraps strings in double apostrophes instead of normal quotes.

ALPN broken?

It looks like ALPN negotiation to use HTTP/2 fails for some reason on componette.com.
Recent version of Firefox for example seems to work fine over HTTP/2, but e.g. cURL fails to negotiate HTTP/2 via ALPN.

$ curl -v --http2 https://componette.com/ > /dev/null 
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying 81.2.241.154...
* Connected to componette.com (81.2.241.154) port 443 (#0)
* found 173 certificates in /etc/ssl/certs/ca-certificates.crt
* found 700 certificates in /etc/ssl/certs
* ALPN, offering h2
* ALPN, offering http/1.1
* SSL connection using TLS1.2 / ECDHE_RSA_AES_128_GCM_SHA256
*    server certificate verification OK
*    server certificate status verification SKIPPED
*    common name: componette.com (matched)
*    server certificate expiration date OK
*    server certificate activation date OK
*    certificate public key: RSA
*    certificate version: #3
*    subject: CN=componette.com
*    start date: Fri, 08 Jan 2016 14:18:00 GMT
*    expire date: Thu, 07 Apr 2016 14:18:00 GMT
*    issuer: C=US,O=Let's Encrypt,CN=Let's Encrypt Authority X1
*    compression: NULL
* ALPN, server did not agree to a protocol
> GET / HTTP/1.1
> Host: componette.com
> User-Agent: curl/7.46.0
> Accept: */*
> 
< HTTP/1.1 200 OK
< Server: nginx
< Date: Wed, 27 Jan 2016 17:49:04 GMT
< Content-Type: text/html; charset=utf-8
< Transfer-Encoding: chunked
< Connection: keep-alive
< Vary: Accept-Encoding
< X-Frame-Options: SAMEORIGIN
< X-Powered-By: componette
< X-XSS-Protection: 1; mode=block
< Vary: X-Requested-With
< Content-Security-Policy: upgrade-insecure-requests

If you check SSLLabs, it reports ALPN as disabled: https://www.ssllabs.com/ssltest/analyze.html?d=componette.com
You are using NPN though, which is deprecated.

Packages in queue

Pridal jsem novy balicek a dole na webu se nezobrazuje ze je neco ve fronte

Release v1.1

Roadmap

  • about page #35 -> to v1.2
  • report addon #56
  • editorconfig #57
  • commit composer.lock #59
  • replace nette/application by symfony/console #58
  • create migration #61, #62
  • separate docker files
  • addon releases #28
  • addon stats #37 -> to v1.2
  • fix image replacing - PR #64
  • update to Nette 2.4
  • update docker containers (Nginx, PHP)
  • create test sandbox to help others to contribute-> to v1.2

  • replace nextras/orm with doctrine (maybe in the future)
  • fix HTTP2 + HTTPS + ALPN + HSTS (#34) (in the near future)

Addon releases

  • create new table
  • track releases over github api
  • create new page

[Proposal] Package licenses: make it mandatory & disallow open-source-unfriendly licenses?

This is just an idea, but it may be a good thing to check whether package has a valid license.
Additionally we may also disallow some restrictive licences that don't really fit well in open-source, especially those that require disclosing source AGPL and GPL, maybe also LGPL. Alternatively (at least) show a banner/badge indicating that the package is using such bad license.

Loading resources over insecure protocol

Take this addon for example (applies to any addon): https://componette.com/uestla/twigrid/

You are loading external images over insecure HTTP protocol.

Načítání smíšeného (nezabezpečeného) zobrazovaného obsahu na zabezpečené stránce "http://isitmaintained.com/badge/resolution/uestla/twigrid.svg"[Zjistit více] twigrid
Načítání smíšeného (nezabezpečeného) zobrazovaného obsahu na zabezpečené stránce "http://isitmaintained.com/badge/open/uestla/twigrid.svg"[Zjistit více] twigrid
Načítání smíšeného (nezabezpečeného) zobrazovaného obsahu na zabezpečené stránce "http://i.imgur.com/RHzFX1V.png"[Zjistit více] twigrid

Provide HSTS

Please enable HTTP Strict Transport Security for componette.com with a decent max-age value. Preloading is not required, but would be ideal.

changelog

Collect all changes and update CHANGELOG.md

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.