Commit Graph

183 Commits

Author SHA1 Message Date
Eragon 5813de1208
Fix redirection to topic page after comment merge 2024-03-10 19:35:12 +01:00
Eragon 08054175bf
Allow to merge a comment with a comment which was posted later 2024-03-10 19:29:46 +01:00
Eragon 5283d45c36
Two editors on one page works, but hotkeys no longer work 2024-03-09 13:59:53 +01:00
Eragon e41bfaddff
Load shoutbox UI scripts only when the shoutbox is displayed 2024-03-09 13:58:22 +01:00
Eragon cf21b4ee56
feat: Add CalcDB to the tools
see #143
2024-03-09 13:58:21 +01:00
Lephe cddd4baa8a
shoutbox: update chat and show it on homepage 2024-03-09 13:58:21 +01:00
Eragon 4a23aee7d9
search: Get publish date selector working 2024-03-09 13:58:21 +01:00
Eragon 9c49671b73
search: Use user ordering choice 2024-03-09 13:58:20 +01:00
Eragon 4ba7c10786
search: Add links for programs and programs comments 2024-03-09 13:58:20 +01:00
Eragon 7c098b2209
post redirect: Remove unused imports 2024-03-09 13:58:20 +01:00
Eragon da037f677e
search: Fix links for comments 2024-03-09 13:58:19 +01:00
Eragon a039d1b500
search: Add links for comments 2024-03-09 13:58:19 +01:00
Eragon 8960ca22cd
search: Add search over programs 2024-03-09 13:58:19 +01:00
Eragon e52b3ebe41
search: Add pagination 2024-03-09 13:58:19 +01:00
Eragon 7e28531106
search: Restore multi-lang search 2024-03-09 13:58:18 +01:00
Eragon 621cd40659
search: Move from hand-crafted SQL to ORM 2024-03-09 13:58:18 +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
Lephe 40a5d54c49
ldap: fix use of LDAP not guarded by V5Config.USE_LDAP 2024-03-09 13:58:17 +01:00
Lephe 13c1b30ad6
shoutbox: integrate custom v5shoutbox style 2024-03-09 13:58:17 +01:00
Lephe 4e80932588
shoutbox: update shoutbox to 8bda9f96a
Keep the submodule approach until we can deploy it properly on
PCv5-extra.
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 586c045604
landing page: WIP 2024-03-09 13:58:16 +01:00
Lephe 6a34a42081
shoutbox: add standalone shoutbox at /chat 2024-03-09 13:58:15 +01:00
Eragon 912380ddf1
ldap: Update user informations in LDAP when edited from PCv5 2024-03-09 13:58:15 +01:00
Eragon a582053ba6
member: Delete members from LDAP on account deletion 2024-03-09 13:58:15 +01:00
Darks 50a2ec69c2
glados: updated announces 2024-03-09 13:58:13 +01:00
Darks 6b74b6fea6
glados: add some 'say' messages 2024-03-09 13:57:00 +01:00
Darks d05942b660
notifications: fixed notifications 2024-03-09 13:54:11 +01:00
Darks 8d90f640b6
logging: add some logging for v5 events 2024-03-09 13:54:11 +01:00
Darks 4df78eb0c3
account: set markdown editor for signature and bio 2023-06-13 20:02:15 +02:00
Darks fccd0e5b84
admin: fixed priv name on polls route 2023-06-07 21:55:40 +02:00
Darks 3c671da85c
moderation: added locking capability to topics and programs 2023-06-06 21:35:29 +02:00
Darks b9becbf21f
moderation: fixed moving a post to another topic 2023-06-06 19:52:46 +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
Darks 8cd862078b
Rebase new_editor from dev 2022-12-17 22:58:22 +01:00
Eragon 112d06e3d6
program: Fix submission, login required and file upload 2022-12-15 19:04:30 +01:00
Eragon bcbab7033d
editor: Add preview 2022-12-14 11:22:12 +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 c26861527b
admin: remove trophy edition interface (#82)
It was decided to keep using the master script to update them.
2022-05-26 20:16:29 +01:00
Lephe 6756838882
forum: factor attachment creation code 2022-05-26 20:08:16 +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
Lephe 7d9e897ae9
perf: optimize away special privilege requests by lazy loading 2022-05-12 19:24:17 +01:00
Lephe 5a87d29c7f
account: make default avatar selection less hacky 2022-05-05 20:33:45 +01:00
Lephe db5e613f7e
model: use methods to access a user's typed posts (#104) 2022-04-25 17:05:17 +01:00
Darks c6ef83d32c
post: add move to another thread operation (#79)
Currently only support forum
2021-07-14 19:55:16 +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