Commit graph

360 commits

Author SHA1 Message Date
Uriel
4b43af43ff Make comments form look less hideous 2009-01-24 07:22:43 +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
ce23320a4d Two minor handler changes: tpl_handler now can take multiple templates, md_handler can only take one .md file. 2009-01-23 17:51:23 +01:00
Uriel
0884966b4e Fix minor cosmetic bug in dir listing by passing req_path instead of local_path. 2009-01-23 17:48:09 +01:00
Uriel
d7bb2ec271 Fix and simplify config loading process. 2009-01-23 16:46:48 +01:00
Uriel
61be624c8c New helpful dprintvars deubg function. 2009-01-23 16:46:25 +01:00
Uriel
fc6fd5045f blaghDirs is now blagh_dirs. 2009-01-23 16:45:48 +01:00
Uriel
7028e84bf0 Simplify init code to take advantage of the new blagh_root variable. Fix and cleanup various things. 2009-01-23 16:44:42 +01:00
Uriel
d8ff0403e8 Move comment to where it belong and note deprecation. 2009-01-22 14:24:48 +01:00
Uriel
3bdb99773b Rewrite http post parsing code, this should be faster and cleaner, added a
get_post_args function to keep backwards compat but it is not really needed.

Fix a silly bug in urldecode.
2009-01-22 14:21:40 +01:00
Uriel
04f6550a53 Merge in werc.cat-v.org updates and css changes. 2009-01-22 09:24:10 +01:00
Uriel
af5a82774d Add conf_enable_blog function to blagh to be used to setup a blog. 2009-01-22 09:23:20 +01:00
Uriel
efac1136d0 Change app loading to be done in two passes, first source app files, then call init for enabled apps.
This makes it possible to call app functions at config time.
Provide $conf_wd variable at config time, which can in turn be used by apps to determine where in the tree we are at config/setup time.
2009-01-22 09:22:15 +01:00
Uriel
bd43bae45a Try to make default css font setup saner. 2009-01-21 10:26:09 +00:00
Uriel
3404cbd019 Silly cosmetic fix for werc site title 2009-01-21 10:25:39 +00:00
Uriel
9e4d99e025 Some more werc.cat-v.org content 2009-01-21 10:23:35 +00:00
Uriel
f6d574aaba Update urls to linke to werc.cat-v.org 2009-01-21 09:27:35 +00:00
Uriel
ca6eb56a79 Add comment about minnor bug. 2009-01-21 09:26:13 +00:00
Uriel
f2bfe0d665 Fix display of individual blog posts. 2009-01-20 09:06:28 +00:00
Uriel
034de66bd8 Fix debug printing of main handler. 2009-01-20 09:05:57 +00:00
Uriel
3e99f67bf0 More updates to new werc site. 2009-01-20 08:24:36 +01:00
Uriel
a20b90f0cd Allow to set optional dir listing sorting (ls) options with the config var: dir_listing_ls_opts 2009-01-20 06:55:17 +01:00
Uriel
cee8d01d9b Start the rc template docs. 2009-01-20 04:13:53 +01:00
Uriel
24074f3cf3 Add apps pages to new werc site. 2009-01-20 04:08:13 +01:00
Uriel
79357e5c5a Add werc.cat-v.org/ site, it serves as sample site. 2009-01-20 03:52:21 +01: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
69502370b3 Merge tags 2009-01-17 09:44:03 +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
ee170cca69 Remove unused/debug code and rename comment var enable_comments 2009-01-17 09:42:24 +01:00
Uriel
062fe9a479 Cosmetic changes to default_master.tpl 2009-01-17 09:40:00 +01:00
Uriel
b3d3f44c83 Move some wiki code into dirdir app! 2009-01-17 03:43:36 +01:00
Uriel
0fcaff04fe Fix cookie parsing if more than one cookie present, add optional user/loggin-info sidebar 2009-01-17 03:43:05 +01:00
Uriel
ec151a9902 Make left sidebar into a list of handlers. 2009-01-17 03:05:19 +01:00
Uriel
cfbe5850b2 Minor cosmetic css changes. 2009-01-17 03:04:43 +01:00
Uriel
d458d1a89b Added tag LATEST-RELEASE for changeset 71e051f0e8e0 2009-01-16 03:35:36 +01:00
Uriel
068e6ab699 New release 2009-01-16 03:35:36 +01:00
Uriel
9cb8bf97c9 Add comment on future issue for apps with 'synthetic' dirs. 2009-01-16 03:18:10 +01:00
Uriel
1f8874c269 Proper 404 for dirs too 2009-01-16 01:24:58 +01:00
Uriel
6e66e649b1 Fix handling of static /pub/ files. 2009-01-16 01:08:54 +01:00
Uriel
9d9bca8023 Add handling of static files for /pub/* 2009-01-14 00:36:32 +01:00
Uriel
ca4feb95a4 Update atom and rss templates to work with new blagh format. 2009-01-13 03:20:30 +01:00
Uriel
d4ecd11693 Blagh: improve handler setup for atom/rss feeds, also filter out blog posts with non-url-allowed path elements. 2009-01-13 03:19:45 +01:00
Uriel
96a115b37b Get rid of response_format which was only used by blagh feeds anyway, and we can emulate by setting $headers to nil plus adding a $res_tail var. 2009-01-13 03:18:19 +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
76bd359a11 Remove some debug code, and fix a silly bug. 2009-01-11 19:52:48 +01:00
Uriel
954d1c773d Minor updates to initrc comments. 2009-01-11 07:41:24 +01:00
Uriel
70d30f4375 Move misplaced comment 2009-01-11 07:13:25 +01:00
Uriel
889e844d73 Fix blah to work with new handler interfaces.
Remove outdated app-framework code.
Clanup some of the fallback handler setting code.
2009-01-11 04:40:40 +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
11900bdb0e - New static_file and select_mime functions.
- Minor improvements to get_post_args, set status unless one of the requested args is present.
2009-01-11 04:02:07 +01:00