Commit Graph

11 次程式碼提交

作者 SHA1 備註 提交日期
Albert S. 3d0fce590b Introduce CLI
main: Parse args using getopt_long() in main().

Begin implementation of a CLI. It can be launched
using ./qswiki config --cli.

Allow connecting to another instance using "attach" command.
This uses Unix domain sockets, and in the future can be used
to drop caches, reload template, etc.

Closes: #21
2021-10-03 17:05:46 +02:00
Albert S. 10f00aeb45 main: Pass absolute path of config file
As sandboxing code chroots and chdirs away,
2021-09-23 17:13:08 +02:00
Albert S. 75f76f58eb sandbox: First version using qssb.h 2020-09-26 17:13:29 +02:00
Albert S. ec10c764d5 RequestWorker: take unique ptr (fixes regression) 2019-09-29 21:34:21 +02:00
Albert S. 8364ace683 Introduce proper HandlerFactory and reduce dependencies of RequestWorker 2019-09-29 20:57:46 +02:00
Albert S. 0ccc20454b Introducing HandlerConfig class to give handlers config values they need 2019-09-29 20:27:53 +02:00
Albert S. 364d82a99f Begin removing several dependencies on Config object 2019-09-29 17:12:36 +02:00
Albert S. f83c705230 Begin sandboxing support, README updates. 2019-08-11 20:10:38 +02:00
Albert S. b751e0ba92 Fixed: inverted boolean in check for enabled anon user 2019-05-03 23:26:08 +02:00
Albert S. e87c3a0f4d save anon-user permissions from config in database on startup (interim solution) 2019-05-03 15:58:22 +02:00
Albert S. 3bfebfe8a8 Let's make (git) history! 2018-11-03 17:12:20 +01:00