Commit graph

54 commits

Author SHA1 Message Date
Uriel
f795f9e1d3 Improve the debug shell a bit. 2009-01-25 16:42:22 +01:00
Uriel
c17e89246e Add -s, print status when a command sets it. 2009-01-25 15:42:56 +01:00
Uriel
f87339e98b Add some comments and replace get_post_args with load_post_args 2009-01-24 07:11:39 +01:00
Uriel
fc6fd5045f blaghDirs is now blagh_dirs. 2009-01-23 16:45:48 +01:00
Uriel
f6d574aaba Update urls to linke to werc.cat-v.org 2009-01-21 09:27:35 +00:00
Uriel
9f1f4ca37f 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
fa7cff78cd Dirdir wiki engine updates, cleaned up some code, now one can save from preview page. 2009-01-17 09:43:31 +01:00
Uriel
062fe9a479 Cosmetic changes to default_master.tpl 2009-01-17 09:40:00 +01:00
Uriel
ec151a9902 Make left sidebar into a list of handlers. 2009-01-17 03:05:19 +01:00
Uriel
ca4feb95a4 Update atom and rss templates to work with new blagh format. 2009-01-13 03:20:30 +01:00
Uriel
ae20a466a3 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
e75232761a 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
f785c96fbb Fix sitemap.tpl to use the new split dirfilter 2009-01-10 17:34:56 +01:00
Uriel
24920f1c81 Move top header/title generation for werc.rc to default template. 2009-01-10 04:57:41 +01:00
Uriel
39fa2f806a Style fixes to default template 2009-01-03 02:01:42 +01:00
Uriel
572290ba1f Update template to use new variable names. 2008-12-28 23:44:03 +01:00
Uriel
7f7da84b09 Further progress with blagh app, atom feeds and rss feeds are mostly working. 2008-12-28 21:37:03 +01:00
Uriel
2028076c80 Rename $baseuri to $base_url 2008-12-28 20:20:48 +01:00
Uriel
e2ee3bdf6e Replace stat(1) with mtime(1) (disabled code for now) 2008-12-24 09:36:52 +01:00
Uriel
2928632eba Comment out unused line. 2008-12-21 09:37:14 +01:00
Uriel
f1f653f876 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
7012eb4128 Tab/spaces consistency in atom template. 2008-12-16 03:46:19 +01:00
Uriel
f02b126611 Clean up atom feed template a bit. 2008-12-12 02:24:19 +01:00
Uriel
69575287e3 Make markdown.pl(!?) happy, not sure why or how. 2008-12-11 21:39:07 +00:00
Uriel
d289d6a5a4 Fix stupid typo, thanks 9soul for the catch! 2008-12-02 11:38:45 +01:00
Uriel
effe855934 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
4c1edbce01 Add atom feeds, still needs some cleanup, but seems to mostly work. 2008-11-26 04:56:39 +01:00
Uriel
c7460104dc 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
48d3734523 Remove leftover from old name for blog app (now 'brag') 2008-11-15 20:38:42 +01:00
Uriel
2c7fa44f97 Remove some left over headers from default headers.tpl 2008-10-29 06:25:20 +01:00
Uriel
b7f33b8d07 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
33597169a5 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
1ef35f74dd Update blog posting code to use new auth api, also create _apps/brag/ 2008-10-22 09:21:53 +02:00
Uriel
5fb2596467 Minor improvements to user login template to use new user auth api 2008-10-22 09:20:50 +02:00
Uriel
3d2be79505 Improvements to wiki and comments code, take advantage of improvements in user auth interfaca 2008-10-22 09:20:06 +02:00
Uriel
db99e070dd Add edit template for dirdir 2008-10-21 16:59:26 +02:00
Uriel
c57e9b0d45 Add login link to default footer 2008-10-21 16:37:59 +02:00
Uriel
eba666e184 Add optional wiki sidebar 2008-10-21 16:37:43 +02:00
Uriel
840cb9effa 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
3a90da4af9 Add initial templates for user login and blog post entry. 2008-10-18 03:40:30 +02:00
Uriel
b91bcda71f Allow to set extra http headers! 2008-10-18 03:39:39 +02:00
Uriel
3c8fc5fdf6 Replace debug_handler with a template. 2008-10-18 03:36:22 +02:00
Uriel
a891993160 Replace blog_dir_handler with a template in lib/feeds/html.tpl 2008-10-18 03:32:13 +02:00
Uriel
e78e2d2c73 Add trailing / for directories in sitemap to make google crawler happy 2008-10-12 22:41:40 +00:00
Uriel
818379cf80 Add comment to in progress atom template for future reference 2008-10-10 02:08:58 +00:00
Uriel
ea2ab9de56 Brown paper bag bugfix, make rss feeds work again! 2008-09-30 15:28:48 +02:00
Uriel
92c0e7b4d5 Use /tmp to store temporay sitemap.txt files 2008-09-26 14:48:31 +02:00
Uriel
3d3df98d31 Experimental comments system 2008-09-26 14:23:19 +02:00
Uriel
1f376ad60a 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
ff35f9ebf6 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