Commit Graph

  • d1358f7e77 Remove whitespace from id links, fix <br> closing master Albert S. 2024-12-23 10:43:58 +01:00
  • 79d69f4b65 cache: Introduce StringCache, switch to unordered_map, default to memory cache if fs cache dir not given Albert S. 2024-10-13 15:14:19 +02:00
  • bfeacb0510 submodules: cpp-httplib: Update Albert S. 2024-09-20 20:25:55 +02:00
  • c6013338a9 HandlerFeedGenerator: Remove 'entryUpdated' as it requires another approach Albert S. 2024-06-09 15:42:38 +02:00
  • dab0b94ec4 submodules: cpp-httplib: Update Albert S. 2024-06-09 10:42:03 +02:00
  • 2ebdbd0b6d parser: Consume superfluous newlines, add [br] and [p] Albert S. 2024-06-09 10:32:25 +02:00
  • 61e84a98c7 dynamic: Add dynamicpostrenderer Albert S. 2024-03-16 22:06:53 +01:00
  • 61f289625c RevisionRenderer: Add 'dynamicpostrenderer' Albert S. 2024-03-16 22:04:33 +01:00
  • 6a12070d0d add cmd:feedlisted and cmd:listed Albert S. 2024-03-16 22:03:40 +01:00
  • 03c6816528 tree: visible => listed Albert S. 2024-03-16 22:03:22 +01:00
  • 18f4ad9d51 setup: sqlite: Rename visible => listed, Add 'feedlisted' to indicate whether page should be listed in feeds Albert S. 2023-12-16 21:29:54 +01:00
  • 84adaa934a template: getPartPath(): Ensure return path isn't outside template dir Albert S. 2023-11-27 22:33:55 +01:00
  • 579fadfb10 parser: Add [content] tag, add extractFirstTag() method Albert S. 2023-11-27 21:37:54 +01:00
  • ff01a00217 cache: mapcache: Add <string> header Albert S. 2023-11-27 21:35:52 +01:00
  • daed17848c handlers: handlerpageedit: Handle [cmd:parentpage] Albert S. 2023-11-23 18:25:57 +01:00
  • 0fb0457dbb setup: sqlite: Add "parent" refere to "page" Albert S. 2023-11-23 18:25:03 +01:00
  • 2d5d483790 database: pagedao: Add-support for subpages Albert S. 2023-11-23 18:24:40 +01:00
  • f08e235d03 HandlerPageEdit: Use clearForPage() before setting Permissions Albert S 2023-08-11 09:22:04 +02:00
  • 8998fb8793 PermissionsDao: Add clearForPage() Albert S 2023-08-11 09:21:02 +02:00
  • 9088154372 submodules: cpp-httplib: Update Albert S 2023-08-09 13:56:04 +02:00
  • 8a2d9fdc58 {page,categorydao}sqlite: Add missing ROLLBACK Albert S 2023-08-09 13:53:49 +02:00
  • c0049fc7b6 sqlite: Use per-thread connections Albert S 2023-07-29 10:00:22 +02:00
  • fe533a5076 Disable caching if no cache dir given Albert S 2023-07-29 09:52:07 +02:00
  • ec3cbe3f76 cache: Add dummy NoCache class Albert S 2023-07-29 09:45:51 +02:00
  • 1095d38b02 Add [cmd:permissions] Albert S 2023-07-28 15:04:58 +02:00
  • 234db99ef5 dynamic,HandlerFeedGenerator: Check for read permissions Albert S 2023-07-26 22:46:14 +02:00
  • 32af0e2857 handlers: HandlerPageEdit: Add transaction rollback on exception Albert S 2023-07-26 20:21:44 +02:00
  • aa362331a5 submodules: cpp-httplib: Update Albert S 2023-05-31 21:16:58 +02:00
  • 64b6e7e61c parser: Add [s] Albert S 2023-04-01 13:48:11 +02:00
  • 3bc51b9d34 submodules: cpp-httplib: Update Albert S 2023-03-09 09:03:22 +01:00
  • 7dee7bc06b Update .gitignore Albert S 2023-02-03 16:05:14 +01:00
  • afea31f231 revisionrenderer: renderContent(): Add modifydatetime var Albert S 2023-02-01 18:55:51 +01:00
  • 004665e943 qswiki: Add background worker, currently to clean old sessions mainly Albert S 2023-02-01 18:55:13 +01:00
  • b9595bd513 database: Add fetch() for SessionDao Albert S 2023-02-01 18:54:11 +01:00
  • 48e3614e78 Retire javascript session refresh Albert S 2023-02-03 16:07:11 +01:00
  • 7c086e0d78 logger: Initialize members with default vals Albert S 2023-01-19 12:17:52 +01:00
  • 24121a1618 Makefile: Add libstdc++ assertions + randomize link order Albert S 2023-01-16 20:43:34 +01:00
  • 172129179e submodules: cpp-httplib: Update Albert S 2022-12-13 10:18:10 +01:00
  • 8603e55c59 config: Adjust default payload length Albert S 2022-12-13 10:17:40 +01:00
  • e326e09a36 gateway: httpgateway: Adjust default payload length for urlencoded content Albert S 2022-12-13 10:16:30 +01:00
  • a71c3da129 template: Enable syntax highlighting using highlight.js Albert S 2022-11-08 08:48:19 +01:00
  • fbfe5510a1 parser: Render <code> and <blockquote> preformated Albert S 2022-11-08 08:47:53 +01:00
  • 78b9e5e043 README: update Albert S 2022-10-30 11:30:27 +01:00
  • ef8eebdbaa database: Add missing virtual destructors for some classes Albert S 2022-10-24 15:16:59 +02:00
  • 7ef9d7f020 sandbox: Use exile_vows_from_str() for seccomp policy Albert S 2022-10-23 21:36:54 +02:00
  • d3bd5f79cc HandlerFeedGenerator: Don't escape title again Albert S 2022-08-20 12:57:54 +02:00
  • 995a980d49 HandlerPageEdit: Add 'frompage' GET parameter to use a page as a template Albert S 2022-08-20 12:41:17 +02:00
  • 2ee760d9ca submodules: cpp-httplib: Update Albert S 2022-08-20 11:27:56 +02:00
  • ffeea8cfd1 submodules: exile.h: Update Albert S 2022-08-20 11:25:18 +02:00
  • a81963181a RevisionDaoSqlite: Fix cases where we got pageid instead of the page name Albert S 2022-08-20 11:24:08 +02:00
  • d18c0669ce handlers: HandlerPageEdit: Use RevisionRenderer Albert S 2022-08-20 12:30:28 +02:00
  • ecd45a61c8 HandlerPageView: Use RevisionRenderer Albert S 2022-08-20 11:23:27 +02:00
  • 2b1c3c71b7 HandlerFeedGenerator: Use RevisionRenderer Albert S 2022-08-20 10:26:14 +02:00
  • a1042720a7 Add RevisionRenderer Albert S 2022-08-20 10:24:51 +02:00
  • 6dbe8d34dc Add DynamicContentFactory Albert S 2022-08-20 10:24:23 +02:00
  • 51b259f385 HandlerPageView: Set 'pagetitle' dynamic variable Albert S 2022-08-17 22:06:09 +02:00
  • 0cad11004f HandlerPageView: Drop partial caches Albert S 2022-08-17 21:55:55 +02:00
  • 2102cf4e6b Add [cmd:allowinclude] Albert S 2022-08-17 21:54:32 +02:00
  • 86890660f4 HandlerPageView: Set 'createdon' dynamic variable Albert S 2022-08-17 19:35:52 +02:00
  • 0325cdf936 Parser: Add code,blockquote and begin img tag Albert S 2022-04-19 19:50:22 +02:00
  • b0c715c4ea Parser: Add cmd:visible, it's also a tag Albert S 2022-04-03 14:35:14 +02:00
  • 63a4437de7 HandlerFeedGenerator: Fix comparator condition Albert S 2022-04-03 12:07:43 +02:00
  • c88889b10b Parser: Fix headline extraction for the default case broken by fbca85e5 Albert S 2022-04-03 11:48:16 +02:00
  • 634cb2d7ee Handlers: HandlerAllPages / HandlerCategory: Use PageListRenderer Albert S 2022-04-03 11:14:09 +02:00
  • 1c1416934b UrlProvider: Add Links to specify rendertype in allpages / category view Albert S 2022-04-03 11:13:01 +02:00
  • 622ef5af6a Database: PageDao/CategoryDao: Return 'Page' object, not pagename string Albert S 2022-04-03 11:11:28 +02:00
  • 5f83981d68 utils: readCompleteFile(): Fix error string which is too generic without context Albert S 2022-04-03 11:07:26 +02:00
  • b5b2a42839 Add PageListRenderer: Allow rendering pagelist by creationdate and A-Z as before Albert S 2022-04-03 11:06:19 +02:00
  • e217218a3f Add Grouper: Maps a key to a vectors Albert S 2022-04-03 11:05:13 +02:00
  • 82c081385b Request: createPairFromVar(): Explicitly decode value Albert S 2022-03-30 22:59:18 +02:00
  • 91951abe9c Revert "dynamic: DynamicContentPostList: Link using UrlProvider::pageByTitle()" Albert S 2022-03-29 22:45:17 +02:00
  • 9b35e43161 dynamic: DynamicContentPostList: Link using UrlProvider::pageByTitle() Albert S 2022-03-29 22:37:45 +02:00
  • 73a4e4c10f UrlProvider: Add pageByTitle() Albert S 2022-03-29 22:37:20 +02:00
  • 1e224fdac6 HandlerPageView: First resolve all dynamics before parsing tags Albert S 2022-03-29 22:36:03 +02:00
  • fbca85e5ed Parser: Seperate parseDynamcis(), fix headline extraction with tags inside them Albert S 2022-03-29 22:35:45 +02:00
  • 15e4f081cc HandlerPage: Support lookup by title Albert S 2022-03-29 22:34:22 +02:00
  • e876b15c5d dynamic: Add DynamicContent{Get,Set}Var Albert S 2022-03-29 22:33:32 +02:00
  • 3e736db0ef database: pagedao: Add findByTitle() Albert S 2022-03-29 22:30:20 +02:00
  • 03c5646858 HandlerPageView: Parse dynamically included pages recursively Albert S 2022-03-28 21:25:37 +02:00
  • ba06d04a08 HandlerFeedGenerator: Error when cat does not exists (instead of empty feed) Albert S 2022-03-28 20:24:57 +02:00
  • 5bb3f55945 HandlerFeedGenerator: Improvements to make feed vlaid Albert S 2022-03-28 20:06:42 +02:00
  • 1ae5495e61 Dynamic: Add DynamicContentIncludePage to allow including pages Albert S 2022-03-27 21:36:53 +02:00
  • 7bb7600d39 HandlerFeedGenerator: Add caching Albert S 2022-03-27 21:22:00 +02:00
  • f5eb36e7bb DynamicContentPostList: Ignore invisible entries next Albert S 2022-03-27 20:03:28 +02:00
  • c891b36339 Makefile: Build dynamic content generators, adjust for exile update Albert S 2022-03-27 20:00:21 +02:00
  • d17e596563 sandbox-linux: include exile.hpp Albert S 2022-03-27 19:59:52 +02:00
  • 761471f243 template: Add template for atom feed Albert S 2022-03-27 19:54:07 +02:00
  • 9ac0ad0ccd template: Add template for dynamic postlist Albert S 2022-03-27 19:53:48 +02:00
  • c30e09d44d HandlerFactory: Wire up HandlerFeedGenerator Albert S 2022-03-27 19:52:45 +02:00
  • bcc3737d88 UrlProvider: Introduce combine(), rootUrl(), atomFeed() Albert S 2022-03-27 19:51:53 +02:00
  • 9520aabe5c Config: Require rooturl,atomurl Albert S 2022-03-27 19:50:51 +02:00
  • 4854ea85f2 Begin HandlerFeedGenerator: Generates Atom feeds for categories (or all pages) Albert S 2022-03-27 19:48:57 +02:00
  • 16c352c6af utils: readCompleteFile(): Throw exception if file can't be opened Albert S 2022-03-27 19:47:52 +02:00
  • f7cf06cdd5 Page: Add 'title' column, storing title of last revision Albert S 2022-03-27 09:23:35 +02:00
  • ac793c6d39 handlers: HandlerPageView: Add '[dynamic:postlist]' tag by callback Albert S 2022-03-27 08:37:55 +02:00
  • a524674149 Begin dynamic content generators Albert S 2022-03-27 08:36:25 +02:00
  • a4a45d9add Parser: Add callback support for unknown "tags" Albert S 2022-03-27 08:31:59 +02:00
  • 44c27ed8b4 Template: Make loadResolvedPart() public Albert S 2022-03-27 08:30:51 +02:00
  • 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