Graf commitů

56 Commity

Autor SHA1 Zpráva Datum
b44ca5bd79 Makefile: remove redundancies 2020-04-19 17:03:06 +02:00
21eba8ab69 add qssb.h submodule 2020-04-19 17:03:06 +02:00
d671bc15e2 don't link with boost anymore as regex is handled by std now 2020-04-19 17:02:21 +02:00
c1991f15a3 get header-only library dependencies using git submodules 2020-03-18 22:21:03 +01:00
f6258b2412 replace boost regex with std 2020-03-18 22:00:15 +01:00
b563f124c8 template: remove some unnecessary newlines 2019-10-31 21:43:57 +01:00
21834b2414 Permissions: Fix missing initialization with 0 in some cases 2019-10-02 23:36:35 +02:00
1549603c9b remove spaces etc. at end of line (no functional change) 2019-10-02 22:06:19 +02:00
ad6fb8d731 remove straying tabs on line end (no functional change) 2019-10-02 21:53:32 +02:00
4de7236aca make html <title></title> configurable 2019-10-02 21:40:58 +02:00
31991f7bb0 sync dependencies with upstream 2019-09-30 20:20:41 +02:00
c7a8b733ed Handlers: set page title 2019-09-29 21:34:53 +02:00
9bb1fa5a33 RequestWorker: take unique ptr (fixes regression) 2019-09-29 21:34:21 +02:00
bae6ae73bf Introduce proper HandlerFactory and reduce dependencies of RequestWorker 2019-09-29 20:57:46 +02:00
7c7b8bf5ed Introducing HandlerConfig class to give handlers config values they need 2019-09-29 20:27:53 +02:00
083f7ff842 Begin removing several dependencies on Config object 2019-09-29 17:12:36 +02:00
3b312c7d9e template: move js session refresh to single file ; use fetch API 2019-08-26 21:21:47 +02:00
2b460105dc remove outdated, unmaintained template 'default' 2019-08-26 21:03:43 +02:00
5147283a32 page view: fix messed up ul close tags 2019-08-26 20:51:59 +02:00
116fe5aecc sandbox-linux: call seccomp_release, remove unnecessary iteration 2019-08-21 20:14:44 +02:00
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