Commit Graph

335 Commits

Author SHA1 Message Date
Eragon f15b33ae73
Ajout de l'exemple d'activation/désactivation de l'envoi des mails 2020-09-17 15:08:36 +02:00
Louis Gatin 80bbcac8db
themes: added Flammingkite theme
Still need to implement custom theme selection
2020-09-01 14:32:30 +02:00
Darks da78d0da70
admin: add a page to get configuration used 2020-08-27 23:12:31 +02:00
Darks df745fd4a6
ldap: add sub-organization feature 2020-08-25 23:05:54 +02:00
Darks c5e99807e3
fix a typo in many files 2020-08-25 22:57:45 +02:00
Darks 7395835e71
refact: models files are nom uniform (all singular) 2020-08-06 21:19:01 +02:00
Darks a7bde62ff2
feat(trophies): added programs count 2020-08-06 21:05:49 +02:00
Darks 107c891553
fix(validators): cleaned a bit the directory 2020-08-06 00:04:47 +02:00
Darks 262d907c32
fix(forms): replace DataRequired by InputRequired
See [the 
difference](https://stackoverflow.com/questions/23982917/flask-wtforms-difference-between-datarequired-and-inputrequired)
2020-08-05 23:26:36 +02:00
Darks 3fb3ee40d2
fix: better PEP8
Flake8 returns less errors. I ignored lots of them though
2020-08-05 22:52:56 +02:00
Darks 801bd188ae
feat: add .env and .flaskenv to gitignore
Because there is no reason to track them
2020-08-05 22:16:58 +02:00
Darks 3a35c26bd7
forum: add pagination to topic list (#64) 2020-08-02 17:28:43 +02:00
Darks a83cef5970
attachments: fix #67 2020-08-02 15:03:08 +02:00
Lephe 03c577316f
thread: add a reference to the owner post 2020-08-02 11:01:08 +02:00
Darks b51ca8291f
Bug fixed 2020-08-01 21:54:21 +02:00
Darks 554898db87
attachments: merged attachments system into dev 2020-08-01 21:47:25 +02:00
Darks 56a584c535
attachments: added attachments system
Still need some work on it…
2020-08-01 21:26:06 +02:00
Lephe 7e11469183
forum: add basic comment edition with preview
Limitations:
* Works only for registered users
* Does not redirect to the proper MainPost page
* Does not check permissions
2020-08-01 17:30:44 +02:00
Lephe 79600e8598
templates: add a dynamic date format
More reader-friendly (in French at least).
2020-08-01 15:44:47 +02:00
Lephe 8a95d43eb0
templates: represent actual level in XP bar in user widget
This is much more useful in determining a user's activity than the
current level progression. Since the XP bar is the second most visible
item apart from the avatar, it's more relevant.
2020-08-01 15:28:36 +02:00
Lephe d3f137b92d
programs: add models for programs and topic promotions (#20)
Not tested yet since there is a lack of tools to manipulate comments,
topics and programs. The /programmes routes is used to display a list of
all programs, temporarily.
2020-08-01 15:11:19 +02:00
Lephe ea39b5d787
templates: fix indent and tags of forum index 2020-08-01 15:09:07 +02:00
Darks 47efd6689b
Merge remote-tracking branch 'filoji/dev' into attachments 2020-08-01 10:22:22 +02:00
Darks a2767c4343
widget_user: add title style if there is one 2020-07-30 14:50:08 +02:00
Darks a4efe29a7d
__init__.py: refactor registration of assets 2020-07-30 14:49:18 +02:00
Darks b108ce4cfe
titles: add displayed title (#65)
- with forms for user and admins
2020-07-29 00:57:06 +02:00
Darks b79bac1fc4
config: fix bug before it appears 2020-07-26 16:55:12 +02:00
Darks e35910ee76
config: refactor configuration values
- System/host config values stay in `config.py`
- Application config values moves in corresponding models
- BREAK: AVATAR_FOLDER becomes DATA_FOLDER. Edit your local config if 
needed
2020-07-26 16:50:07 +02:00
Darks 0896a6b163
passwords: enhances passwords rules
- based on entropy (min 60 bits)
- adds a coloured progress bar if Js is enabled
2020-07-25 18:06:49 +02:00
Darks 4117ec4b15
user: FIX problème de perf à l'affichage
Le serveur aime pas devoir recalculer à chaque fois le nombre de 
commentaires de chaque topic
2020-07-23 20:46:30 +02:00
Darks 3a46f8046c
topics: ADD une relationship dans `Member`
Et une relation `comments` vers les commentaires. Moins utile, mais ça 
coute rien.
Corrige par la même occasion les problèmes de perfs
2020-07-23 20:19:03 +02:00
Darks 8fbc3a635a
widget: FIX le lien vers la page d'un membre 2020-07-23 19:36:49 +02:00
Darks 31567e2454
table: FIX le css variabilisé 2020-07-23 19:29:30 +02:00
Darks 889a091030
admin: ADD suivi des comptes inactifs, validation manuelle (#58) 2020-07-23 19:12:37 +02:00
Darks 6cec9bf8ee
theme: ADD variabilisation du thème des tableaux 2020-07-23 18:21:48 +02:00
Darks 20f7dc268e
Merge branch 'dev' of gitea.planet-casio.com:devs/PCv5 into dev 2020-07-23 18:17:20 +02:00
Filoji 20622315bd Corrections 2020-07-23 10:01:57 +02:00
Filoji 1689f73e89 Correct errors 2020-07-22 17:51:23 +02:00
Filoji 229551a218 Add attachement.py 2020-07-22 17:48:01 +02:00
Lephe 19e4ee2e30
trophies: generate icons dynamically in the master script
DATABASE UPDATE: Run the [create-trophies] command of the master script
to obtain icons.
2020-07-22 11:53:35 +02:00
Lephe 6b280c6901
trophies: add icons 2020-07-22 10:44:56 +02:00
Lephe 5566cb6262
trophies: add "Survivant de la v42"
DATABASE UPDATE: Use the [create-trophies] command of the master script
to recreate trophies.
2020-07-22 10:20:37 +02:00
Darks 5baad9f849
utils: FIX titre de l'email de réinit du mot de passe 2020-07-21 22:39:09 +02:00
Darks 1292791113
utils: fix send_mail >_< 2020-07-21 22:37:31 +02:00
Darks 77bcb99ea1
account: ADD mot de passe oublié 2020-07-21 22:12:18 +02:00
Darks 16756f639f
utils: Ajout du décorateur @guest_only 2020-07-21 21:42:56 +02:00
Darks 8bf825f9ea
registration: ADD email validation 2020-07-21 21:06:00 +02:00
Darks 48dd2b982b
widget-user: ajout de la polymorphie au widget 2020-07-21 18:45:06 +02:00
Darks c0f2552e03
trophies: fix le ! en fin de description 2020-07-20 19:43:38 +02:00
Darks 1b17234623
trophies: ADD hidden parameter, FIX admin panel 2020-07-20 19:35:05 +02:00