La version 5 de Planète Casio. Regroupe le forum, les programmes, les tutoriel, les sprites et tous les autres outils développés par nos soins.
Go to file
Lephe 1d38f906ee
admin/members: add a dynamic regex/logic filter for the member list
This commit introduces a client-side table filter that supports regexes
and propositional logic to filter table rows.

A table can be filtered if it has the [filter-target] class and its
first row has <th> tags with a [data-filter] attribute specifying column
names.

The filter itself is a div with the [form] and [filter] classes, and a
[data-target] attribute pointing to the table to filter. The filter
contains a text <input> which is passed to filter_update() when the
filter expression is validated.

The client-side filter code runs the expression through a basic lexer
and parser, then matches the result for every row in the target table.
The [textContent] of each cell is used for string and regex matching.
2020-11-02 14:38:28 +01:00
app admin/members: add a dynamic regex/logic filter for the member list 2020-11-02 14:38:28 +01:00
assets api: remove less used requests 2019-06-05 20:01:12 -04:00
migrations attachments: merged attachments system into dev 2020-08-01 21:47:25 +02:00
scripts Updating .env, run_dev script and REQUIREMENT.md file 2019-02-06 12:10:26 +01:00
.env Updating .env, run_dev script and REQUIREMENT.md file 2019-02-06 12:10:26 +01:00
.gitignore feat: add .env and .flaskenv to gitignore 2020-08-05 22:16:58 +02:00
README.md Quelques changements pour respecter la PEP8 2019-06-05 01:44:38 +02:00
REQUIREMENTS.md registration: ADD email validation 2020-07-21 21:06:00 +02:00
V5.py fix: better PEP8 2020-08-05 22:52:56 +02:00
config.py app: send cookies with Secure and SameSite=Lax (#60) 2020-10-30 14:06:33 +01:00
local_config.py.default Ajout de l'exemple d'activation/désactivation de l'envoi des mails 2020-09-17 15:08:36 +02:00
master.py master.py: update forums with stateful logic 2020-11-01 10:50:52 +01:00

README.md

Planète Casio v5

Code de conduite

Don't be an asshole.

Style de code

  • On respecte la PEP8. Je sais c'est relou d'indenter avec des espaces, mais au moins le reste est consistant.
  • La seule exception concerne la longueur des lignes. Merci d'essayer de respecter les 79 colonnes, mais dans certains cas c'est plus crade de revenir à la ligne, donc blc.
  • Je conseille d'utiliser Flake8 qui permet de vérifier les erreurs de syntaxe, de style, etc. en live.