Commit Graph

  • 09ac87736d utils: localtime is not threadsafe, use localtime_r Albert S 2020-04-19 23:18:30 +0200
  • 3b2578b7f9 utils: simplify/optimize escaping Albert S 2020-04-19 22:45:51 +0200
  • 0792d8890f random: cleanup, assume getrandom libc wrapper exists Albert S 2020-04-19 16:55:25 +0200
  • e435e84bfa random: cleanup, assume getrandom libc wrapper exists Albert S 2020-04-19 16:55:25 +0200
  • b44ca5bd79 Makefile: remove redundancies Albert S 2020-04-07 21:33:26 +0200
  • f73dd3b295 Makefile: remove redundancies Albert S 2020-04-07 21:33:26 +0200
  • 21eba8ab69 add qssb.h submodule Albert S 2020-03-29 21:26:57 +0200
  • c507c200a6 add qssb.h submodule Albert S 2020-03-29 21:26:57 +0200
  • d671bc15e2 don't link with boost anymore as regex is handled by std now Albert S 2020-03-29 21:24:31 +0200
  • b53aeadb8e don't link with boost anymore as regex is handled by std now Albert S 2020-03-29 21:24:31 +0200
  • c1991f15a3 get header-only library dependencies using git submodules Albert S 2020-03-18 22:15:06 +0100
  • 8595978560 get header-only library dependencies using git submodules Albert S 2020-03-18 22:15:06 +0100
  • f6258b2412 replace boost regex with std Albert S 2020-03-18 22:00:15 +0100
  • 5df89f0491 replace boost regex with std Albert S 2020-03-18 22:00:15 +0100
  • b563f124c8 template: remove some unnecessary newlines Albert S 2019-10-31 21:43:57 +0100
  • 71bfa56e3b template: remove some unnecessary newlines Albert S 2019-10-31 21:43:57 +0100
  • 21834b2414 Permissions: Fix missing initialization with 0 in some cases Albert S 2019-10-02 23:36:30 +0200
  • 0a2a943e5b Permissions: Fix missing initialization with 0 in some cases Albert S 2019-10-02 23:36:30 +0200
  • 1549603c9b remove spaces etc. at end of line (no functional change) Albert S 2019-10-02 22:06:19 +0200
  • 0f6d1abbd5 remove spaces etc. at end of line (no functional change) Albert S 2019-10-02 22:06:19 +0200
  • ad6fb8d731 remove straying tabs on line end (no functional change) Albert S 2019-10-02 21:53:32 +0200
  • 559baf65da remove straying tabs on line end (no functional change) Albert S 2019-10-02 21:53:32 +0200
  • 4de7236aca make html <title></title> configurable Albert S 2019-10-02 21:40:58 +0200
  • 1c646fa165 make html <title></title> configurable Albert S 2019-10-02 21:40:58 +0200
  • 31991f7bb0 sync dependencies with upstream Albert S 2019-09-30 20:20:41 +0200
  • 7fc9c090ed sync dependencies with upstream Albert S 2019-09-30 20:20:41 +0200
  • c7a8b733ed Handlers: set page title Albert S 2019-09-29 21:34:53 +0200
  • d9de46354e Handlers: set page title Albert S 2019-09-29 21:34:53 +0200
  • 9bb1fa5a33 RequestWorker: take unique ptr (fixes regression) Albert S 2019-09-29 21:34:21 +0200
  • ec10c764d5 RequestWorker: take unique ptr (fixes regression) Albert S 2019-09-29 21:34:21 +0200
  • bae6ae73bf Introduce proper HandlerFactory and reduce dependencies of RequestWorker Albert S 2019-09-29 20:57:46 +0200
  • 8364ace683 Introduce proper HandlerFactory and reduce dependencies of RequestWorker Albert S 2019-09-29 20:57:46 +0200
  • 7c7b8bf5ed Introducing HandlerConfig class to give handlers config values they need Albert S 2019-09-29 20:27:53 +0200
  • 0ccc20454b Introducing HandlerConfig class to give handlers config values they need Albert S 2019-09-29 20:27:53 +0200
  • 083f7ff842 Begin removing several dependencies on Config object Albert S 2019-09-29 17:12:36 +0200
  • 364d82a99f Begin removing several dependencies on Config object Albert S 2019-09-29 17:12:36 +0200
  • 3b312c7d9e template: move js session refresh to single file ; use fetch API Albert S 2019-08-26 21:21:47 +0200
  • 327c0793d1 template: move js session refresh to single file ; use fetch API Albert S 2019-08-26 21:21:47 +0200
  • 2b460105dc remove outdated, unmaintained template 'default' Albert S 2019-08-26 21:03:43 +0200
  • 5c3dc9982f remove outdated, unmaintained template 'default' Albert S 2019-08-26 21:03:43 +0200
  • 5147283a32 page view: fix messed up ul close tags Albert S 2019-08-26 20:51:59 +0200
  • 15c5b66800 page view: fix messed up ul close tags Albert S 2019-08-26 20:51:59 +0200
  • 116fe5aecc sandbox-linux: call seccomp_release, remove unnecessary iteration Albert S 2019-08-21 20:14:44 +0200
  • 2d0bd713e5 sandbox-linux: call seccomp_release, remove unnecessary iteration Albert S 2019-08-21 20:14:44 +0200
  • efd7aff613 sandboxing: check whether debian specific patch disables user namespaces for unpriv users Albert S 2019-08-12 09:06:32 +0200
  • 1e150144e6 sandboxing: check whether debian specific patch disables user namespaces for unpriv users Albert S 2019-08-12 09:06:32 +0200
  • cc47b2823e sandbox: paths must be bind mounted in order of their length Albert S 2019-08-11 21:03:50 +0200
  • e14aa99a4b sandbox: paths must be bind mounted in order of their length Albert S 2019-08-11 21:03:50 +0200
  • 5656d3208f Begin sandboxing support, README updates. Albert S 2019-08-11 20:10:38 +0200
  • f83c705230 Begin sandboxing support, README updates. Albert S 2019-08-11 20:10:38 +0200
  • 232ff75ae0 handlerlogin: use std::atomic for counter and lockguard in ban check Albert S 2019-05-12 21:14:26 +0200
  • d7db1fbe39 handlerlogin: use std::atomic for counter and lockguard in ban check Albert S 2019-05-12 21:14:26 +0200
  • d02e8d0dce httpgateway: set new max payload length config value Albert S 2019-05-04 00:02:17 +0200
  • 93aea9ed7b httpgateway: set new max payload length config value Albert S 2019-05-04 00:02:17 +0200
  • f7b8001546 sync httplib.h with its current master, but replace std::regex with boost:regex again Albert S 2019-05-03 23:33:57 +0200
  • 8fe7e98aaa sync httplib.h with its current master, but replace std::regex with boost:regex again Albert S 2019-05-03 23:33:57 +0200
  • 5f2c6c2e0f Fixed: inverted boolean in check for enabled anon user Albert S 2019-05-03 23:26:08 +0200
  • b751e0ba92 Fixed: inverted boolean in check for enabled anon user Albert S 2019-05-03 23:26:08 +0200
  • 2ee515945d permissionsdao: no silent fallback to user-permissions if we find none for user Albert S 2019-05-03 16:00:36 +0200
  • 611ef12ca6 permissionsdao: no silent fallback to user-permissions if we find none for user Albert S 2019-05-03 16:00:36 +0200
  • 7d1cae24a9 handlers: permisison check for all pages + retrieve user-specific permissions for pages (if any) Albert S 2019-05-03 15:59:29 +0200
  • 7630301168 handlers: permisison check for all pages + retrieve user-specific permissions for pages (if any) Albert S 2019-05-03 15:59:29 +0200
  • 9c0dfd170e save anon-user permissions from config in database on startup (interim solution) Albert S 2019-05-03 15:58:22 +0200
  • e87c3a0f4d save anon-user permissions from config in database on startup (interim solution) Albert S 2019-05-03 15:58:22 +0200
  • 81816dd28c userdaosqlite: query enabled + implemented save Albert S 2019-05-03 15:56:52 +0200
  • 7c435d61d4 userdaosqlite: query enabled + implemented save Albert S 2019-05-03 15:56:52 +0200
  • b29194f0d9 user model: added enabled column Albert S 2019-05-03 15:56:08 +0200
  • 2f7a87ce6d user model: added enabled column Albert S 2019-05-03 15:56:08 +0200
  • a202c47336 httplib: upgrade to git master (but use boost regex still) Albert S 2019-02-22 10:40:20 +0100
  • 632f689b3e httplib: upgrade to git master (but use boost regex still) Albert S 2019-02-22 10:40:20 +0100
  • 944e3a03cb template/quitesimple: hack to hide sidebar in portrait mode Albert S 2019-02-22 10:40:02 +0100
  • 23c01303b4 template/quitesimple: hack to hide sidebar in portrait mode Albert S 2019-02-22 10:40:02 +0100
  • 66ae3f4f81 Makefile: do not hard code g++ version. On ancient systems left up to user to set it properly... Albert S 2019-02-21 10:51:07 +0100
  • 78a1d5d1aa Makefile: do not hard code g++ version. On ancient systems left up to user to set it properly... Albert S 2019-02-21 10:51:07 +0100
  • c56fc30543 Begin a basic Dockerfile Albert S 2019-02-21 10:48:36 +0100
  • ba8815a3eb Begin a basic Dockerfile Albert S 2019-02-21 10:48:36 +0100
  • 4a17102c68 httpgateway: take listen/port data from config file Albert S 2019-02-21 10:47:49 +0100
  • 8b125c7775 httpgateway: take listen/port data from config file Albert S 2019-02-21 10:47:49 +0100
  • 05e5353501 httplib.h: use boost::regex, for some reasons as in 044ee8b32c87375fbd59735a13f082c8a037494e Albert S 2018-12-09 23:58:45 +0100
  • f5b594449d httplib.h: use boost::regex, for some reasons as in 044ee8b32c87375fbd59735a13f082c8a037494e Albert S 2018-12-09 23:58:45 +0100
  • ebbea6c4f7 proper prefix in templates: wikiqs -> qswiki Albert S 2018-11-16 16:54:35 +0100
  • f992f4d20b proper prefix in templates: wikiqs -> qswiki Albert S 2018-11-16 16:54:35 +0100
  • 08968935a4 revisiondaosqlite: fix sorting Albert S 2018-11-16 16:50:39 +0100
  • d3af8d8c53 revisiondaosqlite: fix sorting Albert S 2018-11-16 16:50:39 +0100
  • 22f39eb8d8 Temporarily switch to boost::regex Albert S 2018-11-11 21:28:45 +0100
  • 882871c34f Temporarily switch to boost::regex Albert S 2018-11-11 21:28:45 +0100
  • daffc61de8 updated TODO Albert S 2018-11-10 22:44:26 +0100
  • 28bf5ab6d4 updated TODO Albert S 2018-11-10 22:44:26 +0100
  • d3ab505f51 optimize/improve parser regex Albert S 2018-11-10 22:44:19 +0100
  • c1812edd07 optimize/improve parser regex Albert S 2018-11-10 22:44:19 +0100
  • 9abfa1f2b7 Parser::extractCommand: parse with string_view instead of regex to avoid inconsistent behavior in libcs Albert S 2018-11-05 22:36:18 +0100
  • da2a5b10fe Parser::extractCommand: parse with string_view instead of regex to avoid inconsistent behavior in libcs Albert S 2018-11-05 22:36:18 +0100
  • 0bd12d1684 listen on 127.0.0.1 instead of 'localhost' Albert S 2018-11-05 22:34:59 +0100
  • bcf9d605d2 listen on 127.0.0.1 instead of 'localhost' Albert S 2018-11-05 22:34:59 +0100
  • a7137460f0 PageDaoSqlite::find: Return empty if not page found Albert S 2018-11-05 10:48:58 +0100
  • ebdb71343c PageDaoSqlite::find: Return empty if not page found Albert S 2018-11-05 10:48:58 +0100
  • c07d0f66ef execInt: rethrow if no_rows, so callers can handle it Albert S 2018-11-05 10:48:30 +0100
  • 6aadd43ff4 execInt: rethrow if no_rows, so callers can handle it Albert S 2018-11-05 10:48:30 +0100
  • f349c7dc00 Parser: Fix segfault in command extraction Albert S 2018-11-05 10:46:06 +0100
  • 538d9e8b2d Parser: Fix segfault in command extraction Albert S 2018-11-05 10:46:06 +0100