Commit Graph

78 Commits

Author SHA1 Message Date
uriel
757f051c52 Add atom feeds, still needs some cleanup, but seems to mostly work. 2008-11-26 04:56:39 +01:00
uriel
e14abaf86c Update blog post code, use new check_user function and remove now superfluous get_user call, thanks 9soul for the report! 2008-11-15 20:44:34 +01:00
uriel
8ac8f1eb4c Remove leftover from old name for blog app (now 'brag') 2008-11-15 20:38:42 +01:00
uriel
584060f412 Remove some left over headers from default headers.tpl 2008-10-29 06:25:20 +01:00
uriel
def444ac29 New menu implementation, removes the recursive calls to rc/awk, also makes use of dirfilter more consistent and simplifies some code.
Other minnor cleanups.
2008-10-27 00:41:23 +01:00
uriel
2cf3a1ef2f Update sitemap.tpl to use _werc/config instead of the deprecated _config, also don't include in sitemap sub-tress where permanentRedirect is set to make Google happy. 2008-10-24 04:19:29 +02:00
uriel
dd7dbf028e Update blog posting code to use new auth api, also create _apps/brag/ 2008-10-22 09:21:53 +02:00
uriel
17a06ccfa3 Minor improvements to user login template to use new user auth api 2008-10-22 09:20:50 +02:00
uriel
d6536ea079 Improvements to wiki and comments code, take advantage of improvements in user auth interfaca 2008-10-22 09:20:06 +02:00
uriel
ebddb34a4e Add edit template for dirdir 2008-10-21 16:59:26 +02:00
uriel
6dd409e59b Add login link to default footer 2008-10-21 16:37:59 +02:00
uriel
e37305f63b Add optional wiki sidebar 2008-10-21 16:37:43 +02:00
uriel
0b80637fe4 Split $body into two vars, this allows to more easily retrive the intra-site path for the request as req_path, then use this to fix a bug in 404.tpl 2008-10-21 16:31:22 +02:00
uriel
d5e9b2dcb0 Add initial templates for user login and blog post entry. 2008-10-18 03:40:30 +02:00
uriel
cb1cd1f2f9 Allow to set extra http headers! 2008-10-18 03:39:39 +02:00
uriel
02d615d015 Replace debug_handler with a template. 2008-10-18 03:36:22 +02:00
uriel
4fdbace4ec Replace blog_dir_handler with a template in lib/feeds/html.tpl 2008-10-18 03:32:13 +02:00
uriel
d5e8c705ed Add trailing / for directories in sitemap to make google crawler happy 2008-10-12 22:41:40 +00:00
uriel
55f7abf2e5 Add comment to in progress atom template for future reference 2008-10-10 02:08:58 +00:00
uriel
72f3dbc144 Brown paper bag bugfix, make rss feeds work again! 2008-09-30 15:28:48 +02:00
uriel
20dbcf307e Use /tmp to store temporay sitemap.txt files 2008-09-26 14:48:31 +02:00
uriel
7a33f7dfb3 Experimental comments system 2008-09-26 14:23:19 +02:00
uriel
e3a70a73fc Further cleanup and code reorganization, move generic cgi related functions to cgilib.rc, start to add code to be used for handing comments and wiki editing. 2008-09-26 10:35:12 +02:00
uriel
b11c5d52b2 Big reorganization of blog and rss code, now much better integrated with the rest of the handler system, plus fixed a few bugs along the way.
This will make it easier to add things like .atom feeds and comments later.
2008-09-25 11:06:14 +02:00
uriel
fa3df9d5ac Dynamically generate a sitemap.txt when the sitemap page is requested 2008-09-25 11:04:57 +02:00
uriel
113873a67d Add sample Atom feed file as basis for future template. 2008-09-25 07:02:58 +02:00
uriel
39a13f7dfa Add master, footer and header templates to lib. 2008-09-25 07:02:16 +02:00
uriel
346b758756 Reorganization of included and template files, made more consistent and logical. inc/ is now called lib/, and all non-staic files in pub/ have moved to lib/.
In site dirs _config and _default.tpl have moved to _werc/ in preparation for things like comments.
2008-09-24 20:21:32 +02:00