Commit Graph

31 Commits

Author SHA1 Message Date
Eldeberen fabad32955
polls: add a panel to manage own polls 2021-02-20 01:28:08 +01:00
Darks 0d8dd70956
security: add CSRF protection globally
The decorator @check_csrf can be used to check CSRF protection when 
using GET links (like delete a post or logout)
2020-09-26 14:48:30 +02:00
Darks 77bcb99ea1
account: ADD mot de passe oublié 2020-07-21 22:12:18 +02:00
Darks 1ef055f629
enhancement: added modularity to converters 2020-07-17 00:17:11 +02:00
Lephe 17c78204a6
update the route model for the forum to <id>/<page>/<slug>
This works by bundling the topic object and page number in a pair during
conversion to/from URL, so that the slug can be computed effortlessly
and put in all links.
2020-07-16 23:58:21 +02:00
Darks e3cdf6f0af
enhancement: moved account icon to bottom of navbar 2020-07-16 19:12:21 +02:00
Darks 04fb3225c1
refactor: passage aux variables CSS4 2020-07-13 22:54:34 +02:00
Darks 9341c5883c
Premier jet sur les avatars 2019-12-09 23:24:05 +01:00
Darks 4427688193
Amélioration du menu
Les derniers topics redirigent automatique sur la dernière page du topic
2019-12-07 16:38:45 +01:00
Darks cf61b43e17
Modification de la liste des topics actifs du menu
+ Correction de bugs
2019-12-04 13:58:48 +01:00
Darks e99e45b4ca
Modifications majeures du rendu du menu
- Les context processors sont dans un dossier à part
- Ajout du dynamisme dans le menu (récupération des derniers messages de 
topic)
2019-12-04 01:16:16 +01:00
Lephe 8a0ba309e0
forum: restructure models and add topic creation
This changes fixes #25 by restructuring the forum models in a way
compatible with the polymorphic behavior of SQLAlchemy. Incidentally,
the new form turns out to be more appropriate for our use than the
polymorphic one originally used.

The migration for this task is non-trivial because the Thread class was
created with a foreign-key id which thus had no auto-increment or
associated sequence. The most reliable way of getting it back was to
recreate the table because SQLAlchemy ony performs automated sequence
introduction at table creation time. Four separate migration files
perform the whole change.

This commit also adds views and forms to create topics, and the
boilerplate for an advanced markup editor that can be used as a widget.
2019-09-09 08:11:38 +02:00
Lephe 9f30bd36a0
forum: add the forum index page
Also prepare some functions for topic listings for each forum.
2019-09-09 08:11:38 +02:00
Darks 035e4f9062
Corrections de style
Cf post 
https://www.planet-casio.com/Fr/forums/lecture_sujet.php?id=15836&page=last#168760
2019-09-08 22:38:19 +02:00
Darks 7971e47522
Debug sur notifs, ajout du nombre dans le menu latéral
L'affichage du nombre de notifs méritera peut être un coup de peinture… 
À voir.
2019-09-01 22:33:00 +02:00
Darks 15a4d38ea0
Ajout des notifications 2019-09-01 12:30:41 +02:00
Darks 6980e5e85f
Ajout des URL vers la forge et le wiki 2019-08-10 20:28:35 +02:00
Darks 3133f5f814 Correction de #8 2019-06-05 01:51:14 +02:00
Lephe 9291855c87 style: improvements on forms and responsiveness 2019-03-31 12:17:55 +02:00
Lephe b3ffd132f9 style: minor changes, leave Raleway 2019-03-31 09:40:33 +02:00
Lephe 7921bb5765 privs: create privileges from groups and users
The groups-privileges page takes care of removing privileges
before deleting groups and users; this is to be moved soon to a
proper group/user deletion API.
2019-02-10 15:46:53 +01:00
Dark-Storm eca5fe488b
Ajouts dans le panel admin 2019-02-06 12:44:44 +01:00
Dark-Storm 584b1188d8
Grosses modifs sur le design. Ajout des routes /user 2019-02-05 23:21:46 +01:00
Dark-Storm 2089a09753
Ajout du support des avatars. Y'a un peu de nettoyage sur le chemin de stockage 2019-02-04 23:21:29 +01:00
Dark-Storm a51f2265b1
Ajout de la recherche. Modif des redirections de login 2019-02-03 14:57:30 +01:00
lephe 2311c7f3d8 users: review code and expand a little
Nothing ground-breaking here, but lays the ground for
later expansions.
2019-02-03 11:12:01 +01:00
Dark-Storm 89e64cd48f
Petite modif 2019-02-02 14:04:14 +01:00
Dark-Storm 52aee800f9
Ajout de la page de gestion du compte, correction de bugs & autres 2018-11-15 23:13:15 +01:00
Dark-Storm 2ebcf5e1ec
Modifications générales du style, finalisation du formulaire d'inscritpion 2018-11-12 23:27:49 +01:00
Dark-Storm f3d355b3da
Création du diagramme de classes. Modifications mineures des templates 2018-09-16 23:14:07 +02:00
Dark-Storm 1f003d4e64
Refonte du menu, ajout des alertes 2018-02-26 10:24:16 +01:00