Revīziju grafs

36 Revīzijas

Autors SHA1 Ziņojums Datums
efd7aff613 sandboxing: check whether debian specific patch disables user namespaces for unpriv users 2019-08-12 09:06:32 +02:00
cc47b2823e sandbox: paths must be bind mounted in order of their length 2019-08-11 21:03:50 +02:00
5656d3208f Begin sandboxing support, README updates. 2019-08-11 20:10:38 +02:00
232ff75ae0 handlerlogin: use std::atomic for counter and lockguard in ban check 2019-05-12 21:26:10 +02:00
d02e8d0dce httpgateway: set new max payload length config value 2019-05-04 00:02:17 +02:00
f7b8001546 sync httplib.h with its current master, but replace std::regex with boost:regex again 2019-05-03 23:34:15 +02:00
5f2c6c2e0f Fixed: inverted boolean in check for enabled anon user 2019-05-03 23:26:08 +02:00
2ee515945d permissionsdao: no silent fallback to user-permissions if we find none for user 2019-05-03 16:00:36 +02:00
7d1cae24a9 handlers: permisison check for all pages + retrieve user-specific permissions for pages (if any) 2019-05-03 15:59:29 +02:00
9c0dfd170e save anon-user permissions from config in database on startup (interim solution) 2019-05-03 15:58:22 +02:00
81816dd28c userdaosqlite: query enabled + implemented save 2019-05-03 15:56:52 +02:00
b29194f0d9 user model: added enabled column 2019-05-03 15:56:16 +02:00
a202c47336 httplib: upgrade to git master (but use boost regex still) 2019-02-22 10:40:20 +01:00
944e3a03cb template/quitesimple: hack to hide sidebar in portrait mode 2019-02-22 10:40:02 +01:00
66ae3f4f81 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
c56fc30543 Begin a basic Dockerfile 2019-02-21 10:48:36 +01:00
4a17102c68 httpgateway: take listen/port data from config file 2019-02-21 10:47:49 +01:00
05e5353501 httplib.h: use boost::regex, for some reasons as in 044ee8b32c87375fbd59735a13f082c8a037494e 2018-12-09 23:58:45 +01:00
ebbea6c4f7 proper prefix in templates: wikiqs -> qswiki 2018-11-16 16:54:35 +01:00
08968935a4 revisiondaosqlite: fix sorting 2018-11-16 16:50:39 +01:00
22f39eb8d8 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
daffc61de8 updated TODO 2018-11-10 22:44:26 +01:00
d3ab505f51 optimize/improve parser regex 2018-11-10 22:44:19 +01:00
9abfa1f2b7 Parser::extractCommand: parse with string_view instead of regex to avoid inconsistent behavior in libcs 2018-11-05 22:36:18 +01:00
0bd12d1684 listen on 127.0.0.1 instead of 'localhost' 2018-11-05 22:34:59 +01:00
a7137460f0 PageDaoSqlite::find: Return empty if not page found 2018-11-05 10:48:58 +01:00
c07d0f66ef execInt: rethrow if no_rows, so callers can handle it 2018-11-05 10:48:30 +01:00
f349c7dc00 Parser: Fix segfault in command extraction 2018-11-05 10:46:06 +01:00
89c662385d revisiondaosqlite: Don't ignore page visibility setting 2018-11-04 20:08:39 +01:00
879a9f1c24 updated TODO 2018-11-04 20:07:50 +01:00
1ec7285c6e remove greensimple template and fix page_history in quitesimple template 2018-11-04 20:06:37 +01:00
10524de1c1 HandlerPageEdit: Support for renaming and visibility settings 2018-11-04 19:35:24 +01:00
6ec857cf86 Parser: Function to exstract 'commands'/attributes (e. g. visible, renaming) 2018-11-04 19:33:06 +01:00
667776e3d7 Page: add id field 2018-11-04 19:31:58 +01:00
c93893a56e parser: fix multiline and nested parsing 2018-11-04 10:19:01 +01:00
076106ecb9 Let's make (git) history! 2018-11-03 17:12:20 +01:00