Commit graph

96 commits

Author SHA1 Message Date
Eragon 08054175bf
Allow to merge a comment with a comment which was posted later 2024-03-10 19:29:46 +01:00
Eragon 2685ffcbc7
Better display of the original author and author of the new main post 2024-03-09 18:21:08 +01:00
Eragon 5283d45c36
Two editors on one page works, but hotkeys no longer work 2024-03-09 13:59:53 +01:00
Eragon 39ec4c3c4a
chore: Use PCv5-extra releases instead of submodules 2024-03-09 13:58:21 +01:00
IniKiwi 3d22fc5e03
post: fix duplicate code 2024-03-09 13:58:16 +01:00
IniKiwi 5369da453b
post: unique delete button for guest posts 2024-03-09 13:58:15 +01:00
Lephe 6a34a42081
shoutbox: add standalone shoutbox at /chat 2024-03-09 13:58:15 +01:00
Darks 4df78eb0c3
account: set markdown editor for signature and bio 2023-06-13 20:02:15 +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 57644c4378
editor: fix modal not closing when openning an other one 2023-06-06 20:57:05 +02:00
Eragon 6cc066b4d6
editor: Self-host the emoji-picker custom element. 2023-05-17 09:56:22 +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 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
Darks 6fe04b0a6c
Improved the editor 2022-12-17 23:28:06 +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 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
Eragon 95166b2da3
editor: WIP: Add modal to add links 2022-12-14 11:22:14 +01:00
Eragon b132eed1c7
editor: Insert table (Same as easy-mde) 2022-12-14 11:22:13 +01:00
Eragon cd84ccf4e6
editor: Insert separator on a new line 2022-12-14 11:22:13 +01:00
Eragon 28935b2ae8
editor: The numbered list button have the same usage as the old one 2022-12-14 11:22:13 +01:00
Eragon 6799f7477b
editor: I promise, this is progress 2022-12-14 11:22:13 +01:00
Eragon fcf42d4bb5
editor: Add title to all buttons 2022-12-14 11:22:13 +01:00
Eragon 1f1a06b02d
editor: Bullet list, using tabs (mixing tabs and space doesn't work) 2022-12-14 11:22:13 +01:00
Eragon 0d00b4dfb6
Editor: Add inline code and quotes 2022-12-14 11:22:12 +01:00
Eragon bcbab7033d
editor: Add preview 2022-12-14 11:22:12 +01:00
Lephe 07bd7075d6
editor: add placeholder help link 2022-12-14 11:22:12 +01:00
Lephe d6a3faa161
markdown: make header slugs unique in every thread 2022-12-14 11:22:12 +01:00
Lephe 4322790ca1
editor: implement heading insertion and level changes 2022-12-14 11:22:12 +01:00
Lephe e54b01efe0
editor: basic markup insertion around selection 2022-12-14 11:22:11 +01:00
Lephe 02520f6b2d
editor: improve layout and style of buttons 2022-12-14 11:22:11 +01:00
Eragon 0a0ad4d558
editor: Add input type button to fix HTML problems 2022-12-14 11:22:11 +01:00
Eragon 490ab2714c
Start to add editor script 2022-12-14 11:22:09 +01:00
Eragon 5fb06732ff
Remove old & add buttons for new editor 2022-12-14 11:21:14 +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 85323e896d
forum: fix edit timestamp recording + display
On the preproduction server there are messages that have an edit
timestamp some 20 ns after their creation, for some reason.
2022-05-26 21:24:50 +01:00
Lephe 5a87d29c7f
account: make default avatar selection less hacky 2022-05-05 20:33:45 +01:00
Darks 8eee0ad236
pclinks: fixed a typo 2022-04-24 23:33:18 +02:00
Darks 17f5e82a2a
pclinks: switched to <> as delimiters (#108)
And some other enhancements
2022-04-24 17:50:46 +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 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 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
Lephe 7fc4424812
forum: use a more readable date format 2021-07-10 17:54:07 +02:00