Commit Graph

515 Commits

Author SHA1 Message Date
Lephe df07c905ab
meta: update model diagram 2022-04-14 20:12:04 +01:00
Darks dda7cce5d5
Updated WTForms imports 2022-04-14 20:01:45 +02:00
Eragon 2b2a5cc0d1
Small typo fix 2021-12-16 10:24:06 +01:00
Lephe d964641e1f
forum: fix antibot field being visible (#51) 2021-10-03 17:34:30 +02:00
Lephe 9c78aca5ad
(minor improvement on threads' div.info) 2021-10-03 17:34:30 +02:00
Lephe 19586f9087
fix incorrect date display omitting years 2021-10-03 17:34:30 +02:00
Eragon 875524ccb6
#98 New readme with pictures and better description 2021-10-02 11:57:20 +02:00
Louis Gatin bf03862439 requirements: updated requirements 2021-07-23 23:05:24 +02:00
Louis Gatin 48d2b3333b master.py: added help command 2021-07-23 23:05:24 +02:00
Darks 94c0f3be70 Merge pull request 'css : update Tituya's V43 theme' (#103) from Tituya/PCv5:dev into dev
Reviewed-on: https://gitea.planet-casio.com/devs/PCv5/pulls/103
2021-07-23 23:02:53 +02:00
Tituya fba53699ad css : update Tituya's V43 theme 2021-07-18 00:01:22 +02:00
Darks a5ca1a252c
less: switched to lesscpy as Less compiler
*Lephe entering god mode*
2021-07-15 15:23:20 +02:00
Darks c6ef83d32c
post: add move to another thread operation (#79)
Currently only support forum
2021-07-14 19:55:16 +02:00
Darks d4ceeb2cd1
menu: filter the last topics viewable by user (fix #101) 2021-07-14 17:08:32 +02:00
Darks fbc500e833 Merge pull request 'Switch to LessCSS' (#102) from lesscss into dev
Reviewed-on: https://gitea.planet-casio.com/devs/PCv5/pulls/102
2021-07-14 16:42:06 +02:00
Darks 87d795959f
less (#97): first shot to Less
Quick switch, still may need some refacto and delete unused code
2021-07-14 16:30:45 +02:00
Darks 1112decbd0
less (#97): created makefile 2021-07-14 13:22:23 +02:00
Lephe b9abfcfde7
forum: properly redirect topic after changing forum
The URL changes so using the referrer is not much of an option.
2021-07-12 22:33:17 +02:00
Lephe 3551103c88
forum: allow users to move topics to wherever they can write 2021-07-12 21:33:03 +02:00
Lephe be644a6e18
forum: update trophies/xp of deleted topics' contributors 2021-07-12 20:39:44 +02:00
Lephe 76f03be60f
forum: do not delete threads of promoted topics
Threads of promoted topics belong to the programs they were promoted
into, so they shouldn't be deleted.
2021-07-12 20:39:19 +02:00
Lephe a6689312cf
master.py: enforce non-antialised upscaling of trophy icons
Either the default changed in PIL, the mode of the source image was
affected, or something else.
2021-07-12 20:11:44 +02:00
Lephe 306f1bab64
forum: balance XP of topic creation and deletion 2021-07-12 20:05:32 +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 b8ed0bba99 forum: enable topic deletion
Topic modification does not work in this snapshot, this is normal.
2021-07-12 18:37:06 +02:00
Lephe 9727c2a986 forum: add an action to change the top comment of a topic
This also prepares the thread_leader macro for top comments of
topics, programs, etc. which have extra stuff to render and more
specific actions.
2021-07-12 18:37:06 +02:00
Lephe 7423e522c3 forum: minor improvements to thread display 2021-07-12 18:37:06 +02:00
Lephe d10f9b3b48 forum: decrease XP when deleting posts (+penalty) 2021-07-12 18:37:06 +02:00
Lephe b533f8a161 forum: replace comment action links with contextual menu
The menu works with HTML/CSS only, and JS support will also allow
closing it by clicking outside of it (instead of closing allow when
clicking on the menu icon again).
2021-07-12 18:37:06 +02:00
Darks 44d2a59cbe
requirements: add python-email-validator as flask-wtf now requires it 2021-07-12 18:35:23 +02:00
Lephe b1ca1c4bbc
model: fix a bug in Guest.__repr__ 2021-07-12 17:47:45 +02:00
Lephe 2d6007ead4
improve rendering and overflow of code blocks 2021-07-11 10:09:08 +02:00
Lephe 7fc4424812
forum: use a more readable date format 2021-07-10 17:54:07 +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 08a8be1766
simplemde: improve preview of code blocks
Other tables are still shaky.
2021-07-08 19:27:59 +02:00
Lephe 6532dc8940
admin: remove empty group table in attachment manager 2021-07-08 17:55:32 +02:00
Lephe 64a6f270c5
master.py: also update title CSS 2021-07-08 17:52:54 +02:00
Lephe 59236cac70
master.py: update trophies in a lossless fashion (#82) 2021-07-08 17:48:14 +02:00
Lephe c4c9421beb
utils: allow empty CSS in validator 2021-07-08 17:47:01 +02:00
Lephe b31ed9bec2
master.py: reorganize commands (#82) 2021-07-08 17:47:01 +02:00
Darks f848615ff1 Petite amélioration sur la page de modération des images 2021-07-08 17:00:19 +02:00
Lephe 05f56a1cf4
forum: improve attachment inputs and allow edition (#49) 2021-07-08 16:50:28 +02:00
Lephe 619ea85eeb
css: add dark mode code, and improve code tables 2021-07-08 16:50:28 +02:00
Lephe c8c030081b
forum: preview formatting when editing messages (#49) 2021-07-08 16:50:28 +02:00
Eragon 78b6448167
Correct typo 2021-07-08 16:45:22 +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 7b948979aa
specify GPLv3+ license and add LICENSE file (#6) 2021-07-08 14:20:30 +02:00
Lephe 47a1e1fc65
(align indent) 2021-07-08 14:19:57 +02:00
Lephe 7301aa954b
theme: update dark theme, override SimpleMDE (#14)
This commit updates the dark theme by FlamingKite, and adds a
simplemde-override.css file which overrides most of SimpleMDE's styling
for the edition area (CodeMirror) to replace fixed, bright-style values
with references to theme variables.
2021-07-08 14:09:17 +02:00