Commit Graph

213 Commits

Author SHA1 Message Date
721348268a template/quitesimple: footer: Don't show login and edit time in portrait mode 2020-08-23 22:03:21 +02:00
de240786c7 Update README.md: Document build with git submodules 2020-08-23 17:38:06 +02:00
192c533f1f handlerlogin: Fix typo in error message 2020-08-23 17:29:33 +02:00
84b55f6e96 gitmodules: update qssb.h repo location 2020-08-23 17:20:25 +02:00
09ac87736d utils: localtime is not threadsafe, use localtime_r 2020-04-20 16:29:34 +02:00
3b2578b7f9 utils: simplify/optimize escaping 2020-04-19 22:45:51 +02:00
e435e84bfa random: cleanup, assume getrandom libc wrapper exists 2020-04-19 17:03:06 +02:00
f73dd3b295 Makefile: remove redundancies 2020-04-19 17:03:06 +02:00
c507c200a6 add qssb.h submodule 2020-04-19 17:03:06 +02:00
b53aeadb8e don't link with boost anymore as regex is handled by std now 2020-04-19 17:02:21 +02:00
8595978560 get header-only library dependencies using git submodules 2020-03-18 22:21:03 +01:00
5df89f0491 replace boost regex with std 2020-03-18 22:00:15 +01:00
71bfa56e3b template: remove some unnecessary newlines 2019-10-31 21:43:57 +01:00
0a2a943e5b Permissions: Fix missing initialization with 0 in some cases 2019-10-02 23:36:35 +02:00
0f6d1abbd5 remove spaces etc. at end of line (no functional change) 2019-10-02 22:06:19 +02:00
559baf65da remove straying tabs on line end (no functional change) 2019-10-02 21:53:32 +02:00
1c646fa165 make html <title></title> configurable 2019-10-02 21:40:58 +02:00
7fc9c090ed sync dependencies with upstream 2019-09-30 20:20:41 +02:00
d9de46354e Handlers: set page title 2019-09-29 21:34:53 +02:00
ec10c764d5 RequestWorker: take unique ptr (fixes regression) 2019-09-29 21:34:21 +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
364d82a99f Begin removing several dependencies on Config object 2019-09-29 17:12:36 +02:00
327c0793d1 template: move js session refresh to single file ; use fetch API 2019-08-26 21:21:47 +02:00
5c3dc9982f remove outdated, unmaintained template 'default' 2019-08-26 21:03:43 +02:00
15c5b66800 page view: fix messed up ul close tags 2019-08-26 20:51:59 +02:00
2d0bd713e5 sandbox-linux: call seccomp_release, remove unnecessary iteration 2019-08-21 20:14:44 +02:00
1e150144e6 sandboxing: check whether debian specific patch disables user namespaces for unpriv users 2019-08-12 09:06:32 +02:00
e14aa99a4b sandbox: paths must be bind mounted in order of their length 2019-08-11 21:03:50 +02:00
f83c705230 Begin sandboxing support, README updates. 2019-08-11 20:10:38 +02:00
d7db1fbe39 handlerlogin: use std::atomic for counter and lockguard in ban check 2019-05-12 21:26:10 +02:00
93aea9ed7b httpgateway: set new max payload length config value 2019-05-04 00:02:17 +02:00
8fe7e98aaa sync httplib.h with its current master, but replace std::regex with boost:regex again 2019-05-03 23:34:15 +02:00
b751e0ba92 Fixed: inverted boolean in check for enabled anon user 2019-05-03 23:26:08 +02:00
611ef12ca6 permissionsdao: no silent fallback to user-permissions if we find none for user 2019-05-03 16:00:36 +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
e87c3a0f4d save anon-user permissions from config in database on startup (interim solution) 2019-05-03 15:58:22 +02:00
7c435d61d4 userdaosqlite: query enabled + implemented save 2019-05-03 15:56:52 +02:00
2f7a87ce6d user model: added enabled column 2019-05-03 15:56:16 +02:00
632f689b3e httplib: upgrade to git master (but use boost regex still) 2019-02-22 10:40:20 +01:00
23c01303b4 template/quitesimple: hack to hide sidebar in portrait mode 2019-02-22 10:40:02 +01:00
78a1d5d1aa Makefile: do not hard code g++ version. On ancient systems left up to user to set it properly... 2019-02-21 10:51:07 +01:00
ba8815a3eb Begin a basic Dockerfile 2019-02-21 10:48:36 +01:00
8b125c7775 httpgateway: take listen/port data from config file 2019-02-21 10:47:49 +01:00
f5b594449d httplib.h: use boost::regex, for some reasons as in 044ee8b32c87375fbd59735a13f082c8a037494e 2018-12-09 23:58:45 +01:00
f992f4d20b proper prefix in templates: wikiqs -> qswiki 2018-11-16 16:54:35 +01:00
d3af8d8c53 revisiondaosqlite: fix sorting 2018-11-16 16:50:39 +01:00
882871c34f Temporarily switch to boost::regex
In combination with musl, parser crashed. glibc fine. Could not pinpoint
down the exact reason mainly due to time constraints. Strange, in both
cases actually libstdc++ is used, so this is very odd.
2018-11-11 21:37:59 +01:00
28bf5ab6d4 updated TODO 2018-11-10 22:44:26 +01:00
c1812edd07 optimize/improve parser regex 2018-11-10 22:44:19 +01:00