Commit Graph

133 Commits

Author SHA1 Message Date
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
da2a5b10fe Parser::extractCommand: parse with string_view instead of regex to avoid inconsistent behavior in libcs 2018-11-05 22:36:18 +01:00
bcf9d605d2 listen on 127.0.0.1 instead of 'localhost' 2018-11-05 22:34:59 +01:00
ebdb71343c PageDaoSqlite::find: Return empty if not page found 2018-11-05 10:48:58 +01:00
6aadd43ff4 execInt: rethrow if no_rows, so callers can handle it 2018-11-05 10:48:30 +01:00
538d9e8b2d Parser: Fix segfault in command extraction 2018-11-05 10:46:06 +01:00
e863b5261b revisiondaosqlite: Don't ignore page visibility setting 2018-11-04 20:08:39 +01:00
791de88324 updated TODO 2018-11-04 20:07:50 +01:00
78ee5360a0 remove greensimple template and fix page_history in quitesimple template 2018-11-04 20:06:37 +01:00
f3bb881b63 HandlerPageEdit: Support for renaming and visibility settings 2018-11-04 19:35:24 +01:00
beafde74d0 Parser: Function to exstract 'commands'/attributes (e. g. visible, renaming) 2018-11-04 19:33:06 +01:00
099f6533f8 Page: add id field 2018-11-04 19:31:58 +01:00
b6cdf9a088 parser: fix multiline and nested parsing 2018-11-04 10:19:01 +01:00
3bfebfe8a8 Let's make (git) history! 2018-11-03 17:12:20 +01:00