Commit Graph

636 Commits

Author SHA1 Message Date
Darks 4df78eb0c3
account: set markdown editor for signature and bio 2023-06-13 20:02:15 +02:00
Eragon e5dafb68e5
submodule: Add emoji picker build command to Makefile 2023-06-13 10:52:53 +02:00
Eragon 5a6d000be6
submodule: Move picker element to submodule 2023-06-12 15:12:14 +02:00
Darks b892d9ae68
tabtitles: add configuration entry to set a prefix on tabtitles 2023-06-07 22:06:56 +02:00
Darks 6238f72d6d
tabtitles: jinja set directive does not support f-strings 2023-06-07 21:59:07 +02:00
Darks fccd0e5b84
admin: fixed priv name on polls route 2023-06-07 21:55:40 +02:00
Darks 6519cf4a6a
markdown: add ins (underline) and del (strikethrough) tags 2023-06-07 21:33:06 +02:00
Darks c31cca6314
privs: fixed #127 2023-06-06 23:07:14 +02:00
Darks 0865ae0e67
erge branch 'dev' of gitea.planet-casio.com:devs/PCv5 into dev 2023-06-06 22:44:23 +02:00
Darks 798f5d203e
admin: fixed sort of special privs 2023-06-06 22:44:12 +02:00
Darks 3f8f8ab225
templates: added tabtitles to all relevant templates 2023-06-06 22:43:35 +02:00
Eragon 4eb4145846
template: Change the link/button to get to the topic about the current state of PCv5 2023-06-06 21:56:02 +02:00
Darks 6d1d6a1b2e Merge pull request 'moderation/lockthread' (#126) from moderation/lockthread into dev
Reviewed-on: https://gitea.planet-casio.com/devs/PCv5/pulls/126
2023-06-06 21:41:17 +02:00
Darks 1a63544183
moderation: added some css on locked message 2023-06-06 21:38:50 +02:00
Darks 6817b79680
Merge branch 'dev' of gitea.planet-casio.com:devs/PCv5 into moderation/lockthread 2023-06-06 21:35:33 +02:00
Darks 3c671da85c
moderation: added locking capability to topics and programs 2023-06-06 21:35:29 +02:00
Eragon 7c076fea79
accueil: Update the welcome message. 2023-06-06 21:11:59 +02:00
Darks 65828ffbdd
moderation: fixed moving a post to another topic 2023-06-06 21:01:58 +02:00
Eragon 7aa93f15ea
editor: Count lines for numbered list 2023-06-06 21:00:59 +02:00
Eragon 57644c4378
editor: fix modal not closing when openning an other one 2023-06-06 20:57:05 +02:00
Eragon be0d531b00
style: Add blockquote style 2023-06-06 20:14:07 +02:00
Darks b9becbf21f
moderation: fixed moving a post to another topic 2023-06-06 19:52:46 +02:00
Darks e7d28570c7 programs: fix index table template
A column was missing in the header
2023-06-02 15:37:26 +02:00
Lephe 85830f1893
home: incident information 2023-05-20 21:17:29 +02:00
Eragon 6cc066b4d6
editor: Self-host the emoji-picker custom element. 2023-05-17 09:56:22 +02:00
Eragon 168b77c8de
scripts: Fix variable declaration 2023-05-16 23:09:30 +02:00
Eragon 8fbec9ed87
editor: Fix input being cleared on click in link modal 2023-05-16 22:23:08 +02:00
Eragon 44609f2f96
editor: Toggle automatic preview and add manual preview button 2023-05-16 13:50:47 +02:00
Eragon f15186d4f8
editor: Prevent default browser action for keybinds when textarea is foccused 2023-05-15 16:17:28 +02:00
Eragon ed1a534aa6
editor: Add keybinds 2023-05-15 16:17:28 +02:00
Eragon 2b5485677e
editor: tests with emoji-picker-element for emoji picker
Note: we will need to self-host it if we keep it moving forward. This is
just a test, this commit should be reverted if not used in the end.
2023-05-15 16:17:28 +02:00
Eragon b09ffaf97d
editor: Fix color variable on button separator 2023-05-15 16:17:24 +02:00
Eragon 55836ebf19
Merge branch 'improve-entropy' into dev 2023-05-15 15:19:58 +02:00
Darks 228f613f09
Added more french special chars to list 2023-05-15 15:17:03 +02:00
Darks 65fd5c8188
Added more french special chars to list 2023-05-15 15:17:00 +02:00
Eragon 7f53b6c6c2
debug: Fix debugToolbar redirect catch by disabling it.
The debug toolbar catch redirects by default but it breaks redirection to
specific anchor in topics and programs.
`/forum/discussion/2/fin/rtnldj#30` redirect is broken with the catch
redirect.
But redirections to `/forum/discussion/2/fin/rtnldj` are fine.
Disabling this feature is enough for it to work. Feel free to re-enable
it yourself, but be aware that it will break parts of the application.
2023-05-15 13:04:27 +02:00
Eragon 37fba5d93b
dependencies: Python 3.11 URLlib is now typed and require explicit conversion from int to str 2023-05-15 13:02:52 +02:00
Eragon b93415819b
editor: Fix image link `!` position 2022-12-18 00:36:33 +01:00
Darks 3848b3dedd
Add 'update-all' capability to master script 2022-12-18 00:32:14 +01:00
Darks 28ac88f5bd Merge pull request 'Remplacer simpleMDE par un éditeur maison' (#110) from new_editor into dev
Reviewed-on: https://gitea.planet-casio.com/devs/PCv5/pulls/110
2022-12-18 00:08:45 +01:00
Darks 6fe04b0a6c
Improved the editor 2022-12-17 23:28:06 +01:00
Darks 8cd862078b
Rebase new_editor from dev 2022-12-17 22:58:22 +01:00
Darks 2089398773
Update to follow Pillow evolution 2022-12-17 22:11:36 +01:00
Eragon 112d06e3d6
program: Fix submission, login required and file upload 2022-12-15 19:04:30 +01:00
Eragon f3b89716b7
editor: remove unwanted console.log 2022-12-15 18:49:51 +01:00
Eragon 5e368ac08b
editor: Add support for type= custom extension on media 2022-12-15 14:07:18 +01:00
Eragon 546b32c22b
editor: Multiples bugfixes from Lephe's review
Refresh preview 3 sec after last keypress
Refresh preview on button usage
Move cursor after the --- line when using the button
Replace margin for padding in the preview css
Add a slight background shade on the preview
2022-12-15 12:05:58 +01:00
Eragon 2da20720bb
editor: Dirty CSS hack for small screen devices 2022-12-14 11:22:14 +01:00
Eragon e2283b7675
editor: CSS and JS cleaning 2022-12-14 11:22:14 +01:00
Eragon 5eaf1cc207
editor: Link and Images buttons works, still need some CSS and cleaning 2022-12-14 11:22:14 +01:00