Commit Graph

73 Commits

Author SHA1 Message Date
Eragon 853193cbd8
Allow to merge a comment with a comment which was posted later 2024-03-10 19:42:07 +01:00
Eragon 0c3fa843d8
search: Add 'Tous' to user choices 2024-03-09 13:58:21 +01:00
Eragon 3a875253b4
search: Search in topic titles and comments 2024-03-09 13:58:18 +01:00
Eragon b94f4c5944
search: Basic search without style or options 2024-03-09 13:58:18 +01:00
Eragon bb5534c0ee
search: search page template 2024-03-09 13:58:18 +01:00
Eragon 4f6586e3f6
search: Add most of the choices for advanced search 2024-03-09 13:58:17 +01:00
Darks af61b21fc8
news: add summary and thumbnails to topics
Provides data for homepage, as well as others topics
2024-03-09 13:58:17 +01:00
Darks c68b9b2048
account: add antibot fileld to registration form 2024-03-09 13:58:17 +01:00
Lephe db0e42d285
programs: add tag input and display (#114)
* Add a TagListField which automatically validates its input against the
  TagInformation database, and has a richer .selected_tags() method
* Add a dynamic tag input widget, available through a macro (*import
  with context*), that supports both JS and non-JS input
* Add a TagInformation.all_tags() function
* Add colored tag display to all themes
* Fix a bug causing programs to have no names
* Add tags: games.action, games.narrative, courses.informatics

[MASTER] Run the 'update-tags' command of master.py.
2022-06-14 23:19:41 +01:00
Lephe b047ed97af
programs: program creation + view + comments
This is very much a work in progress, but the main ideas are here.

[MIGRATION] This commit contains a new version of the schema.
2022-05-19 20:34:46 +01:00
Darks dda7cce5d5
Updated WTForms imports 2022-04-14 20:01:45 +02:00
Darks c6ef83d32c
post: add move to another thread operation (#79)
Currently only support forum
2021-07-14 19:55:16 +02:00
Lephe 3551103c88
forum: allow users to move topics to wherever they can write 2021-07-12 21:33:03 +02:00
Lephe 9f0cbc810b
forum: enable topic modification
This works only after a top comment has been selected (but topics
without top comments are an anomaly of databases initialized before it
was added, so we don't care).
2021-07-12 19:08:31 +02:00
Lephe 1837f8f9a6
forum: anti-bot fields for guest topics and comments (#51) 2021-07-10 12:30:12 +02:00
Lephe 888006cf86
theme: add Tituya's v43 theme 2021-07-10 09:28:36 +02:00
Lephe 05f56a1cf4
forum: improve attachment inputs and allow edition (#49) 2021-07-08 16:50:28 +02:00
Lephe 2aa2fd539f
clean up account forms (factor + syntax) (#70)
* Factor the update account forms (user and admin)
* Slightly cleaner syntax (I hope), also a bit shorter
2021-07-08 15:12:37 +02:00
Lephe b3d99b93f8
account: add a theme setting (#14) 2021-07-08 11:43:09 +02:00
Lephe 8f0e15029c
utils: add a simple regex-based CSS validator (#11)
* Property name is [a-zA-Z-]+
* Value is anything but ;{}'"
2021-07-08 10:59:43 +02:00
Lephe cc5f4e481b
account: member deletion, with post anonymization (#57) 2021-07-08 10:39:22 +02:00
Darks 87ef91b9e3
login_as: add function to login as arbitrary account 2021-03-05 23:56:03 +01:00
Darks d783feb7d0
PEP8: removed trailing spaces 2021-03-05 23:56:03 +01:00
Eldeberen 938516cb3f
polls: added admin panel and deletion form 2021-02-22 23:50:19 +01:00
Eldeberen d6512bb197
polls: added multi-choices polls 2021-02-22 22:49:11 +01:00
Eldeberen fabad32955
polls: add a panel to manage own polls 2021-02-20 01:28:08 +01:00
Eldeberen 0801b8ec16
poll: add poll creation form 2021-02-20 00:39:22 +01:00
Lephe e06363715e
forum: match topic title length in creation form with model
Model has titles of up to 128 characters, but the form limits that input
to 32 characters. Bump that to 128 too.
2020-10-30 09:36:21 +01:00
Darks ed5367d46d
editor: added previews 2020-09-23 23:58:25 +02:00
Darks 555d8ae1a4
Refact some forms (#70) 2020-09-23 20:53:06 +02:00
Darks 7395835e71
refact: models files are nom uniform (all singular) 2020-08-06 21:19:01 +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 a83cef5970
attachments: fix #67 2020-08-02 15:03: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
Darks b108ce4cfe
titles: add displayed title (#65)
- with forms for user and admins
2020-07-29 00:57:06 +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 889a091030
admin: ADD suivi des comptes inactifs, validation manuelle (#58) 2020-07-23 19:12:37 +02:00
Darks 77bcb99ea1
account: ADD mot de passe oublié 2020-07-21 22:12:18 +02:00
Darks 1b17234623
trophies: ADD hidden parameter, FIX admin panel 2020-07-20 19:35:05 +02:00
Darks e6c1545031
feature: ajout du post en tant qu'invité
- Pour les commentaires seulement
- Ajout d'une option pour désactiver (antispam)
- Penser à faire les ACL rapidement…
- Un poil de CSS pour l'intégration du bouzin
2020-07-17 23:49:04 +02:00
Darks bf8f766131
Ajout des groupes dans le panel de modification d'un compte 2019-12-10 22:27:39 +01:00
Darks 16bcfe9e30
Ajout du validateur DataRequired pour le contenu des topics 2019-12-04 22:52:19 +01:00
Darks 4e4508c4fd
Correction de bugs
- TextField → EmailField
- Problème au login si le nom n'est pas normalisable
2019-12-04 17:02:00 +01:00
Darks 662882cc15
Ajout des commentaires de topics
On ne peut pas encore modifier le top comment ni commencer un topic à 
partir d'un thread externe, mais les bases sont là :)
2019-12-03 20:32:01 +01:00
Louis Chauvet a8090908e9
Reformatage des formulaires - Un peu de retard désolé :-) 2019-09-13 19:34:20 +02:00