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
Lephe
35f1335f64
forum: better tree visualization, and topics
...
Turns the forum tree visualization in the admin panel into a tree-like
table, and exposes the Topic class to the application and database.
2019-09-09 08:11:38 +02:00
Lephe
aa75ff09a1
forum: implement forum tree generation
...
This commit adds a forum tree YAML file (URL-based rather than an
actual tree...) and the 'forums' and 'create-forums' commands for
the master script.
A page /admin/forums is also used to currently display the forum
tree, although this will probably be turned into a full table with
forum descriptions, and a form with edition capabilities.
2019-09-09 08:11:37 +02:00
Darks
de83f09024
Ajout d'un logo plus petit pour ne pas charger le gros en permanence
...
Dans l'idéal faudrait même faire une version svg
2019-09-08 23:10:28 +02:00
Darks
a29657da24
Merge branch 'dev' of gitea.planet-casio.com:devs/PCv5 into dev
2019-09-08 22:38:57 +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
Eragon
2b8a78fe20
Issue #3 , remplir /register/validation
2019-09-08 16:44:10 +02:00
Darks
6d43d742c8
Mieux quand les notifs sont dans l'ordre anti-chronologique
2019-09-01 22:54:53 +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
c2fbef7ace
Petite modif, test de CI sur dev
2019-09-01 21:59:40 +02:00
Darks
15a4d38ea0
Ajout des notifications
2019-09-01 12:30:41 +02:00
Darks
4868774b96
Test d'intégration continue
2019-09-01 00:32:20 +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
201e961ba2
Ajout des stats sur la durée de chargement
2019-08-20 18:07:16 +02:00
Lephe
4cefe39c36
trophies: automatically remove undeserved trophies
...
... and other minor edits from the trophies branch.
2019-08-19 17:26:22 +02:00
Darks
6980e5e85f
Ajout des URL vers la forge et le wiki
2019-08-10 20:28:35 +02:00
Darks
e6544a68c7
Merge branch 'trophies'
2019-08-10 20:11:24 +02:00
Darks
7f640a13e9
Modification de la zone d'admin des comptes
...
Retrait de la liste déroulante au profit d'une liste de checkbox. Il
faudra ajouter les icones.
2019-08-10 20:06:07 +02:00
Darks
95efa36228
Tentative (foireuse) de générer une liste de BooleanInput
2019-08-10 00:07:50 +02:00
Darks
040f62c894
Correction d'une erreur de style
2019-08-06 12:52:07 +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
Lephe
43264d9de1
account: small trophy improvements on #10
2019-06-07 13:48:28 -04:00
Darks
1bdad7c9e4
Merge branch 'trophies' of devs/PCv5 into master
2019-06-07 01:47:05 +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
a3b867bab5
core: introduce a master script and enable proper privilege checks
2019-06-06 13:54:01 -04: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
Darks
6c586ad4c6
Corrigé une coquille
2019-06-06 00:25:59 +02:00
Lephe
21ebfb7d2a
account: remove innovation counter, use only xp
2019-06-05 16:42:32 -04:00
Darks
3133f5f814
Correction de #8
2019-06-05 01:51:14 +02:00
Lephe
bc7580de25
account: implement leveling and a simple profile widget
2019-05-03 13:40:20 +02:00
Dark-Storm
d482d1a6fb
Modification de la fonction render
...
- Ajout d'un modificateur pour changer les feuilles de style à la volée
2019-04-17 12:25:24 +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
05b9328888
minor code and style edits
2019-03-30 22:37:57 +01:00
Lephe
8211183b5c
templates: add a pluralize filter
2019-02-11 13:16:46 +01:00
Dark-Storm
0c4f0f6748
Modifications en vrac
...
Dans User.valid_name, ajout de caractères non autorisés. Voir #19 pour
faire quelque chose de vraiment propre et safe.
Dans privs, j'ai shooté des règles en double. Répercussion sur les
autres routes.
Ajout du champ username dans le formulaire admin de modif d'un compte.
2019-02-11 00:15:09 +01:00
Dark-Storm
7745dc332f
Réinsertion du footer dans le <container>
2019-02-10 20:58:52 +01: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
Lephe
255fe82032
reponsive: clean up light.css
2019-02-10 10:03:11 +01:00
lephe
78b4299207
responsive: unify common style and light.css (WIP)
...
This includes loading the common style sheets at low resolutions
and removing the undescribable redundancy in light.css.
The harder part was getting the navbar right, because it relied
heavily on the distinction between navbar.css and light.css.
This is still a work in progress.
2019-02-09 22:42:16 +01:00
lephe
9fe1104b45
admin: more on user and group generation
...
Also more titles and details on other pages of
the administration section.
2019-02-09 21:18:12 +01:00
lephe
9faabea997
templates: slightly restructure and improve design
2019-02-09 11:32:08 +01:00
lephe
07a685f3c4
header: place elements as discussed with @Dark-Storm
2019-02-08 21:14:25 +01:00
lephe
c201b3adbd
style: minor improvements
2019-02-07 21:22:49 +01:00
lephe
328cf887b0
style: something that makes sense
2019-02-07 17:55:20 +01:00
Dark-Storm
62729e6058
Ajouts dans le panel admin
2019-02-06 13:12:03 +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