Commit gráf

  • 433b5da2bb template: Adjust after renaming: Use utils::toISODateTime() Albert S 2022-03-27 08:30:20 +02:00
  • c5435c52f4 utils: Rename/Add date functions Albert S 2022-03-27 08:29:13 +02:00
  • b2a7ea4031 Parser: Take 'content' by const reference. Albert S 2022-01-23 10:12:37 +01:00
  • 1d5bf80710 HandlerPageView: Add [cmd:pagetitle] to set custom per-page titles Albert S 2022-01-23 10:02:46 +01:00
  • ca0c8a94fb sandbox: Use exile.h vow promises Albert S 2021-12-29 11:13:47 +01:00
  • 5870102aa9 submodules: cpp-httplib: Update to v0.10.1 Albert S 2021-12-29 11:13:05 +01:00
  • 32544c8f68 submodules: cpp-httplib: Update module Albert S 2021-12-02 10:15:36 +01:00
  • d0e7ff0a8c sandbox: Switch to exile.h (former qssb.h) Albert S 2021-12-02 10:15:11 +01:00
  • 696ff9b7e7 sandbox: Allow TIME group Albert S 2021-12-02 10:06:21 +01:00
  • 5570154113 fscache: Fix starts_with() broken by b41a5f4e5b Albert S 2021-11-30 19:14:59 +01:00
  • 4f6bcd27b4 sandbox: Sync iwth qssb.h upstream: Use whitelisting and groups Albert S 2021-11-14 21:53:52 +01:00
  • bbe74a2c50 handlers: HandlerSearch: Add missing call to setGeneralVars() Albert S 2021-11-14 21:19:04 +01:00
  • 5db9305408 template: display headers inline (backport from production) Albert S 2021-10-26 23:32:02 +02:00
  • c90e26a374 template: Remove space between header links Albert S 2021-10-26 23:22:05 +02:00
  • b297498ca9 template: Don't render searchbar in portrait. Show link instead Albert S 2021-10-26 23:06:47 +02:00
  • fdcef18861 HandlerSearch: Render a form when no q= given Albert S 2021-10-26 23:05:52 +02:00
  • 75268e0073 sandbox: Disable Landlock due to qssb.h issue #19 Albert S 2021-10-26 22:42:32 +02:00
  • cc4506b918 submodules: sync with latest upstream WIP/cpp20 Albert S 2021-10-26 10:47:02 +02:00
  • 017932e673 Fix -wreturn-type warnings Albert S 2021-10-25 18:13:25 +02:00
  • ed61003636 C++20: Avoid implicit capture Albert S 2021-10-25 18:09:46 +02:00
  • ad42c0f046 handlers: HandlerPageEdit: canAccess(): Check with effectivePermisisons() Albert S 2021-10-25 18:07:23 +02:00
  • 6304554358 Add [[maybe_unused]] to silence unhelpful warnings Albert S 2021-10-25 17:56:37 +02:00
  • 0aa4bca6cc Fix gcc-11 etc. compilation errors Albert S 2021-10-25 13:30:46 +02:00
  • b41a5f4e5b fscache: removePrefix(): use starts_with() Albert S 2021-10-19 15:07:10 +02:00
  • 873401694e Remove utils::hasKey(), as we now have .contains() Albert S 2021-10-19 12:48:45 +02:00
  • d035579da7 Makefile: Switch to C++20 Albert S 2021-10-19 12:47:57 +02:00
  • eb292a7d79 CategoryDaoSqlite: deleteCategory(): Fix broken query Albert S 2021-10-12 20:10:18 +02:00
  • 420e541e75 CLI: Implement category delete,show,list Albert S 2021-10-12 20:02:43 +02:00
  • c18178a50f SqliteQueryOption: build(): Handle includeInvisible = true properly Albert S 2021-10-12 20:02:03 +02:00
  • 7a2f15cabe handlers: Introduce HandlerVersion to return the verison string Albert S 2021-10-10 22:39:35 +02:00
  • c9dc3416d7 TemplatePage: Change 'content' to shared_ptr Albert S 2021-10-10 22:32:13 +02:00
  • 92be470545 Makefile: Remove LDFLAGS from .o compilation Albert S 2021-10-10 20:17:38 +02:00
  • d5485a833f CLIConsole: On 'exit', ask whether to quit attached instance Albert S 2021-10-10 12:17:29 +02:00
  • 0bdb22c170 gateway: HttpGateway: convertRequest(): Don't convert param to std::string Albert S 2021-10-10 12:05:01 +02:00
  • eb49b013a7 Makefile: Add profile target Albert S 2021-10-10 12:01:52 +02:00
  • 9593429f95 utils: trim(): Take string_view Albert S 2021-10-10 12:01:16 +02:00
  • 86ac86b83f Response: addHeader(): Pass by value, not reference Albert S 2021-10-09 00:31:14 +02:00
  • 92e7390056 utils: Pass by value where it makes sense Albert S 2021-10-09 00:24:22 +02:00
  • b1a8572eb6 utils: hasKey(), getKeyOrEmpty(), getAll(): Take params as references Albert S 2021-10-09 00:10:55 +02:00
  • 44ade88cae Template: createPage(): Take std::string_view Albert S 2021-10-09 00:10:19 +02:00
  • aadb623bf7 UserDaoSqlite: Remove redundant std::move Albert S 2021-10-08 23:38:22 +02:00
  • 828d827c3d Adjust to new Template::getPage() returning value, not reference Albert S 2021-10-08 00:11:58 +02:00
  • 8ffa64beea Template: Use MapCache, getPage(): Return value, not reference Albert S 2021-10-08 00:10:20 +02:00
  • e970ba1682 cache: MapCache: Introduce MapCache, thread-safe cache (key/value store) Albert S 2021-10-08 00:08:00 +02:00
  • b59e81a41d CLI: Begin 'page' and 'pageperms' commands Albert S 2021-10-05 21:57:20 +02:00
  • f002969cc1 PermissionsDao: Add save() Albert S 2021-10-05 21:51:31 +02:00
  • c4072a7e95 Sandbox: Remove multiple stages Albert S 2021-10-03 23:46:40 +02:00
  • 257675485d Template: Remove redundant debug output Albert S 2021-10-03 23:13:59 +02:00
  • 94ade7238e CLI: Add 'version' command Albert S 2021-10-03 23:04:46 +02:00
  • fa5e75893f Add version.{h,cpp}: Returning version info Albert S 2021-10-03 23:01:19 +02:00
  • 3d0fce590b Introduce CLI Albert S 2021-10-03 17:03:22 +02:00
  • 1082f8ac5a Permissions: Add toString() Albert S 2021-10-03 17:01:44 +02:00
  • 8b044d712b Authenticator: Introduce AUTH_DEFAULT_SALT_SIZE Albert S 2021-10-03 17:01:03 +02:00
  • 5037a17fba utils: introduce trim() Albert S 2021-10-03 16:47:35 +02:00
  • 164b2c19ee userDao: Implement list() Albert S 2021-09-26 15:05:15 +02:00
  • 8d685dc581 Makefile: Remove -lseccomp as we don't need it anymore Albert S 2021-09-29 18:33:37 +02:00
  • ed43f5f700 submodules: update cpp-httplib Albert S 2021-09-29 18:28:18 +02:00
  • 10f00aeb45 main: Pass absolute path of config file Albert S 2021-09-23 13:14:21 +02:00
  • 67eb8b6428 sandbox: adjust to latest qssb.h Albert S 2021-09-23 12:44:35 +02:00
  • f26fd19fb4 submodules: sync with latest upstream Albert S 2021-09-23 12:43:55 +02:00
  • 204a72da1f setup: Fix broken FTS DELETE op Albert S 2021-06-19 20:07:38 +02:00
  • 88816a4015 utils: html_xss(): Add ' and & Albert S 2021-06-15 18:21:47 +02:00
  • ebd4adf22f ParserMarkdown: Inherit from interface, not ParserLegacy feature/markdown Albert S 2021-04-25 12:10:00 +02:00
  • 3745a778e5 Read parser from config and inject it to handlers Albert S 2021-04-25 12:06:37 +02:00
  • cec56d5a73 Rename 'Parser' to 'ParserLegacy' Albert S 2021-04-25 11:39:38 +02:00
  • 534d9f74e7 ParserMarkdown: Implement processLink Albert S 2021-04-24 12:10:57 +02:00
  • 5f674cfe6f Remove maddy submodule, replace it with own qsmaddy fork Albert S 2021-04-18 12:41:11 +02:00
  • ea7476a882 ParserMarkdown: Begin new markdown parser Albert S 2021-04-17 12:14:21 +02:00
  • ab9e5fb0bd Parser: use utils::regex_callback_extractor Albert S 2021-04-17 12:11:54 +02:00
  • 7ca04fbf45 utils: Add regex_callback_extractor() Albert S 2021-04-17 12:10:59 +02:00
  • 8b44dd4e94 submodules: Add maddy markdown parser (header-only library) Albert S 2021-04-17 12:10:35 +02:00
  • a930b7aea6 submodules: sync with latest upstream Albert S 2021-04-18 13:27:11 +02:00
  • 250e4a94a6 Authenticator: pbkd5(): Mark as const Albert S 2021-04-18 12:35:42 +02:00
  • ac56b2f61d Random: Mark getRandom* const Albert S 2021-04-17 12:44:43 +02:00
  • 4dc688f9eb utils: split: Rename all splitBy*() variants to split() Albert S 2021-04-17 12:41:22 +02:00
  • b995362d1f HandlerLogin: Remove dead code Albert S 2021-04-16 16:32:57 +02:00
  • 9f9fd2920b template: Remove user_changepw, it's usersettings now Albert S 2021-03-26 22:51:35 +01:00
  • 70c4bfaffa Introduce HandlerUserSettings to change user settings, e. g. pw changes Albert S 2021-03-26 22:50:55 +01:00
  • ac99894157 HandlerLogin: Use Authenticator, drop own logic Albert S 2021-03-26 22:49:26 +01:00
  • 5693911e01 Introduce Authenticator: Centralizes Authentication/password check logic Albert S 2021-03-26 22:48:26 +01:00
  • e322587d07 Add usersettings template and config values Albert S 2021-03-26 22:45:09 +01:00
  • 9840dbbeff Random: add getRandom(), returning std::vector<char> Albert S 2021-03-26 22:44:08 +01:00
  • d507c507e4 handlersearch: Allow all characters by escaping FTS Albert S 2021-03-25 21:40:05 +01:00
  • 2aa11fc2b2 HandlerPageView: Add misisng check whether passed revision is most recent Albert S 2021-03-16 21:05:59 +01:00
  • e4562809a0 handlerpageedit: Retain comment when clicking preview Albert S 2021-03-08 11:37:45 +01:00
  • 00392e2469 Parser: Add category to tagfinder to replace it with an empty str Albert S 2021-03-02 23:36:19 +01:00
  • dac07d23a9 HandlerPageView: Use revision from db, not query param, as template value. Albert S 2021-01-29 16:45:04 +01:00
  • 0c66fdf70d Handler: queryOption: Take default sort order param. History: default descending Albert S 2020-12-31 16:15:36 +01:00
  • b9ff4068bd Handler: QueryOptions: Change default to more natural ascending sort Albert S 2020-12-29 23:36:07 +01:00
  • 821d799e3e submodules: sync each with latest repo HEAD Albert S 2020-11-20 15:53:16 +01:00
  • a6c08a3447 Parser: reformat and remove dead code Albert S 2020-11-15 20:27:48 +01:00
  • cd7e99bf30 template/quitesimple: insert missing space Albert S 2020-10-12 22:13:10 +02:00
  • bc24035f4d submodule/cpp-httplib: update to current release Albert S 2020-09-26 17:28:57 +02:00
  • 75f76f58eb sandbox: First version using qssb.h Albert S 2020-09-26 17:03:26 +02:00
  • 5abaaf67d0 HandlerPageView: Prevent viewing older revisions if not allowed Albert S 2020-09-21 21:44:26 +02:00
  • d974d4bfb6 Update git submodules Albert S 2020-09-06 12:19:12 +02:00
  • 721348268a template/quitesimple: footer: Don't show login and edit time in portrait mode Albert S 2020-08-23 22:03:21 +02:00
  • de240786c7 Update README.md: Document build with git submodules Albert S 2020-08-23 17:38:06 +02:00
  • 192c533f1f handlerlogin: Fix typo in error message Albert S 2020-08-23 17:29:33 +02:00
  • 84b55f6e96 gitmodules: update qssb.h repo location Albert S 2020-08-23 17:18:56 +02:00