提交線圖

23 次程式碼提交

作者 SHA1 備註 日期
7a2f15cabe handlers: Introduce HandlerVersion to return the verison string 2021-10-10 22:39:35 +02:00
828d827c3d Adjust to new Template::getPage() returning value, not reference 2021-10-08 00:11:58 +02:00
8b044d712b Authenticator: Introduce AUTH_DEFAULT_SALT_SIZE 2021-10-03 17:01:03 +02:00
b995362d1f HandlerLogin: Remove dead code 2021-04-16 16:37:34 +02:00
70c4bfaffa Introduce HandlerUserSettings to change user settings, e. g. pw changes 2021-04-16 16:37:34 +02:00
ac99894157 HandlerLogin: Use Authenticator, drop own logic 2021-03-26 23:02:03 +01:00
d507c507e4 handlersearch: Allow all characters by escaping FTS
Escape FTS queries by simply treating everything as string.
Though this way a user cannot use operators, it's an improvement
over how it was done before.

Closes: #7
2021-03-25 21:44:02 +01:00
2aa11fc2b2 HandlerPageView: Add misisng check whether passed revision is most recent 2021-03-16 21:05:59 +01:00
e4562809a0 handlerpageedit: Retain comment when clicking preview 2021-03-08 11:37:45 +01:00
dac07d23a9 HandlerPageView: Use revision from db, not query param, as template value.
Not a vulnerability, but more correct this way.
2021-01-29 16:46:13 +01:00
0c66fdf70d Handler: queryOption: Take default sort order param. History: default descending 2020-12-31 16:15:36 +01:00
b9ff4068bd Handler: QueryOptions: Change default to more natural ascending sort 2020-12-29 23:36:07 +01:00
5abaaf67d0 HandlerPageView: Prevent viewing older revisions if not allowed 2020-09-21 21:44:26 +02:00
192c533f1f handlerlogin: Fix typo in error message 2020-08-23 17:29:33 +02:00
1c646fa165 make html <title></title> configurable 2019-10-02 21:40:58 +02:00
d9de46354e Handlers: set page title 2019-09-29 21:34:53 +02:00
8364ace683 Introduce proper HandlerFactory and reduce dependencies of RequestWorker 2019-09-29 20:57:46 +02:00
0ccc20454b Introducing HandlerConfig class to give handlers config values they need 2019-09-29 20:27:53 +02:00
15c5b66800 page view: fix messed up ul close tags 2019-08-26 20:51:59 +02:00
d7db1fbe39 handlerlogin: use std::atomic for counter and lockguard in ban check 2019-05-12 21:26:10 +02:00
7630301168 handlers: permisison check for all pages + retrieve user-specific permissions for pages (if any) 2019-05-03 15:59:29 +02:00
f3bb881b63 HandlerPageEdit: Support for renaming and visibility settings 2018-11-04 19:35:24 +01:00
3bfebfe8a8 Let's make (git) history! 2018-11-03 17:12:20 +01:00