Gráfico de commits

202 Commits

Autor SHA1 Mensagem Data
995a980d49 HandlerPageEdit: Add 'frompage' GET parameter to use a page as a template 2022-08-20 12:41:30 +02:00
2ee760d9ca submodules: cpp-httplib: Update 2022-08-20 12:31:15 +02:00
ffeea8cfd1 submodules: exile.h: Update 2022-08-20 12:31:15 +02:00
a81963181a RevisionDaoSqlite: Fix cases where we got pageid instead of the page name 2022-08-20 12:31:15 +02:00
d18c0669ce handlers: HandlerPageEdit: Use RevisionRenderer 2022-08-20 12:31:15 +02:00
ecd45a61c8 HandlerPageView: Use RevisionRenderer 2022-08-20 12:30:47 +02:00
2b1c3c71b7 HandlerFeedGenerator: Use RevisionRenderer 2022-08-20 12:30:47 +02:00
a1042720a7 Add RevisionRenderer 2022-08-20 12:30:47 +02:00
6dbe8d34dc Add DynamicContentFactory 2022-08-20 10:24:23 +02:00
51b259f385 HandlerPageView: Set 'pagetitle' dynamic variable 2022-08-17 22:41:15 +02:00
0cad11004f HandlerPageView: Drop partial caches
Anonymous access is the common case, this is already cached.

For other cases this logic cannot be justified as there
is hardly a practical gain for that extra complexity.
2022-08-17 21:57:19 +02:00
2102cf4e6b Add [cmd:allowinclude]
Pages must specify whether they want to be included or not.

Otherwise there too many surprises possibe, enforcing access
restrictions will get more complicated
2022-08-17 21:54:34 +02:00
86890660f4 HandlerPageView: Set 'createdon' dynamic variable 2022-08-17 19:35:52 +02:00
0325cdf936 Parser: Add code,blockquote and begin img tag 2022-04-19 19:50:22 +02:00
b0c715c4ea Parser: Add cmd:visible, it's also a tag 2022-04-03 14:35:14 +02:00
63a4437de7 HandlerFeedGenerator: Fix comparator condition 2022-04-03 12:07:43 +02:00
c88889b10b Parser: Fix headline extraction for the default case broken by fbca85e5 2022-04-03 11:48:16 +02:00
634cb2d7ee Handlers: HandlerAllPages / HandlerCategory: Use PageListRenderer 2022-04-03 11:15:02 +02:00
1c1416934b UrlProvider: Add Links to specify rendertype in allpages / category view 2022-04-03 11:15:02 +02:00
622ef5af6a Database: PageDao/CategoryDao: Return 'Page' object, not pagename string 2022-04-03 11:15:02 +02:00
5f83981d68 utils: readCompleteFile(): Fix error string which is too generic without context 2022-04-03 11:07:26 +02:00
b5b2a42839 Add PageListRenderer: Allow rendering pagelist by creationdate and A-Z as before 2022-04-03 11:06:19 +02:00
e217218a3f Add Grouper: Maps a key to a vectors 2022-04-03 11:05:13 +02:00
82c081385b Request: createPairFromVar(): Explicitly decode value
May not be the case on POST requests.
2022-03-30 22:59:20 +02:00
91951abe9c Revert "dynamic: DynamicContentPostList: Link using UrlProvider::pageByTitle()"
This reverts commit 9b35e43161.
2022-03-29 22:45:17 +02:00
9b35e43161 dynamic: DynamicContentPostList: Link using UrlProvider::pageByTitle() 2022-03-29 22:37:45 +02:00
73a4e4c10f UrlProvider: Add pageByTitle() 2022-03-29 22:37:20 +02:00
1e224fdac6 HandlerPageView: First resolve all dynamics before parsing tags
Should make more sense this way, especially to extract headlines.
2022-03-29 22:36:05 +02:00
fbca85e5ed Parser: Seperate parseDynamcis(), fix headline extraction with tags inside them 2022-03-29 22:35:45 +02:00
15e4f081cc HandlerPage: Support lookup by title 2022-03-29 22:34:22 +02:00
e876b15c5d dynamic: Add DynamicContent{Get,Set}Var 2022-03-29 22:33:32 +02:00
3e736db0ef database: pagedao: Add findByTitle() 2022-03-29 22:30:20 +02:00
03c5646858 HandlerPageView: Parse dynamically included pages recursively 2022-03-28 21:25:37 +02:00
ba06d04a08 HandlerFeedGenerator: Error when cat does not exists (instead of empty feed) 2022-03-28 20:24:57 +02:00
5bb3f55945 HandlerFeedGenerator: Improvements to make feed vlaid 2022-03-28 20:06:42 +02:00
1ae5495e61 Dynamic: Add DynamicContentIncludePage to allow including pages 2022-03-27 21:36:53 +02:00
7bb7600d39 HandlerFeedGenerator: Add caching 2022-03-27 21:22:00 +02:00
f5eb36e7bb DynamicContentPostList: Ignore invisible entries 2022-03-27 20:03:28 +02:00
c891b36339 Makefile: Build dynamic content generators, adjust for exile update 2022-03-27 20:00:21 +02:00
d17e596563 sandbox-linux: include exile.hpp 2022-03-27 19:59:52 +02:00
761471f243 template: Add template for atom feed 2022-03-27 19:54:07 +02:00
9ac0ad0ccd template: Add template for dynamic postlist 2022-03-27 19:53:48 +02:00
c30e09d44d HandlerFactory: Wire up HandlerFeedGenerator 2022-03-27 19:52:45 +02:00
bcc3737d88 UrlProvider: Introduce combine(), rootUrl(), atomFeed() 2022-03-27 19:51:53 +02:00
9520aabe5c Config: Require rooturl,atomurl 2022-03-27 19:50:51 +02:00
4854ea85f2 Begin HandlerFeedGenerator: Generates Atom feeds for categories (or all pages) 2022-03-27 19:48:57 +02:00
16c352c6af utils: readCompleteFile(): Throw exception if file can't be opened 2022-03-27 19:47:52 +02:00
f7cf06cdd5 Page: Add 'title' column, storing title of last revision 2022-03-27 09:23:35 +02:00
ac793c6d39 handlers: HandlerPageView: Add '[dynamic:postlist]' tag by callback 2022-03-27 08:37:55 +02:00
a524674149 Begin dynamic content generators 2022-03-27 08:36:25 +02:00