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 75f3a90f20
master.py: update forums with stateful logic
The create-forums function has been replaced with an [update] subcommand
of [forums]. This new function tries its best to keep existing forum
objects, which is especially important once content has been created.

Forums are identified by their URL. Changing the URL means the forum
needs to be recreated. If the URL doesn't changed, metadata is updated
without removing topics and subforums in that forum.

* Improve the update model for forums in master.py
* Fix a typo in the prefix for the tool projects subforum
* Add the admin and assoc boards for permission testing
2020-11-01 10:50:52 +01:00
app master.py: update forums with stateful logic 2020-11-01 10:50:52 +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.