Commit Graph

50 Commits

Author SHA1 Message Date
uriel
c815037b70 Update urls to linke to werc.cat-v.org 2009-01-21 09:27:35 +00:00
uriel
a7625dbf9e Rename $wiki to $enable_wiki to be consistent with $enable_comments, also add a note that dirdir templates should move from lib/_apps/dirdir/ to apps/diridri/ 2009-01-20 03:38:48 +01:00
uriel
cb73d98fd8 Dirdir wiki engine updates, cleaned up some code, now one can save from preview page. 2009-01-17 09:43:31 +01:00
uriel
56328cc611 Cosmetic changes to default_master.tpl 2009-01-17 09:40:00 +01:00
uriel
6aac4ce54c Make left sidebar into a list of handlers. 2009-01-17 03:05:19 +01:00
uriel
80b80bfc8d Update atom and rss templates to work with new blagh format. 2009-01-13 03:20:30 +01:00
uriel
679fefacac Various small cleanups: remove unused code, clarity and reliability fixes here and here, move code to more appropriate locations, improve some comments. 2009-01-12 02:07:31 +01:00
uriel
bf16d2b4c8 Handler interface reorg, take oportunity to cleanup default_master.tpl and move comments bits to bridge app. 2009-01-11 04:03:46 +01:00
uriel
619ab918ab Fix sitemap.tpl to use the new split dirfilter 2009-01-10 17:34:56 +01:00
uriel
65598e15d1 Move top header/title generation for werc.rc to default template. 2009-01-10 04:57:41 +01:00
uriel
5777383b25 Style fixes to default template 2009-01-03 02:01:42 +01:00
uriel
f2b2c6dba9 Update template to use new variable names. 2008-12-28 23:44:03 +01:00
uriel
a7dadbf916 Further progress with blagh app, atom feeds and rss feeds are mostly working. 2008-12-28 21:37:03 +01:00
uriel
08d6044274 Rename $baseuri to $base_url 2008-12-28 20:20:48 +01:00
uriel
25995097ed Replace stat(1) with mtime(1) (disabled code for now) 2008-12-24 09:36:52 +01:00
uriel
8f5015605d Comment out unused line. 2008-12-21 09:37:14 +01:00
uriel
850e3ec5b9 Sitemap improvemnts and cleanups:
- Avoid nedless tests
- Replace reference to /bin/sed with faster, simpler and probably more correct plan9 sed call.
- Move inline html styling to style.css
- Various code cleanups, bring source style in line with other werc source.
2008-12-20 13:20:31 +01:00
uriel
10a7bdfc86 Tab/spaces consistency in atom template. 2008-12-16 03:46:19 +01:00
uriel
f1df14a011 Clean up atom feed template a bit. 2008-12-12 02:24:19 +01:00
uriel
e8a1787542 Make markdown.pl(!?) happy, not sure why or how. 2008-12-11 21:39:07 +00:00
uriel
1b404fd71d Fix stupid typo, thanks 9soul for the catch! 2008-12-02 11:38:45 +01:00
uriel
202b26ca46 Tentative fix for post link URLs, thanks 9soul for reporting and first try at fixing it. 2008-12-02 08:06:07 +01:00
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