Commit Graph

15 Commits

Author SHA1 Message Date
Darks 15a4d38ea0
Ajout des notifications 2019-09-01 12:30:41 +02:00
Lephe eeaab86d0a forum: improve model relationships (so that it works) 2019-08-24 19:17:13 +02:00
Lephe 11b19af199 forum: provide suitable migrations for the database
First migrate without the foreign key to create the tables, then add the
foreign key in a second migration.

Also removed unneeded imports that caused dependency cycles.

Minor "style" edits with the ambiguous use of super and unnecessary
db.Model inheritance.
2019-08-21 16:50:23 +02:00
Darks 81c910832b
Ajout des post/thread/comment/etc. 2019-08-20 17:34:00 +02:00
Darks 1d638689c6
Modifications on trophies and titles #10 (and more)
- remove `title` attribute
- do the migration of db
- add initialization routine in `master.py`
- add default trophies and titles in `data/trophies.yaml`
- add `add_trophy` method in `Member` class
- add `update_trophies` method in `Member` class
- add form in admin panel to give a trophy to a member
- same to remove a trophy
- change `if request.method == "POST"` to `if form.submit.data`
2019-06-11 00:15:23 +02:00
Darks f67129a36b
Ajout des trophées et du panel pour les gérer 2019-06-07 01:44:04 +02:00
Darks 79e3189f4b
First draw for trophies 2019-06-06 23:24:14 +02:00
Lephe 8570b8660f account: introduce normalized names
Adds a normalized name field to the user record. Also uses
normalized names conflicts to deny new user names.
2019-06-05 20:01:12 -04:00
Lephe 21ebfb7d2a account: remove innovation counter, use only xp 2019-06-05 16:42:32 -04:00
lephe 21e0679557 admin: start a panel with a database filler 2019-02-04 16:41:29 +01:00
lephe 6affd025b8 privs: start working on groups and privileges 2019-02-03 15:00:59 +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
lephe 0299354a02 db: Move to PostgreSQL to support migrations 2019-02-02 17:34:41 +01:00
Dark-Storm 2843381940
Retrait des merdes venv et migrations 2018-02-26 15:59:03 +01:00
suruq 3b1f34e0e1 ajout des alertes 2018-02-26 14:20:28 +01:00