Commit Graph

403 Commits

Author SHA1 Message Date
uriel
a12260bc19 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
d349b81ee7 Move comment to where it belong and note deprecation. 2009-01-22 14:24:48 +01:00
uriel
dddc77d560 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
582c8efc8a Merge in werc.cat-v.org updates and css changes. 2009-01-22 09:24:10 +01:00
uriel
3c3f9627ff Add conf_enable_blog function to blagh to be used to setup a blog. 2009-01-22 09:23:20 +01:00
uriel
41c4279bd1 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
86da4525a2 Try to make default css font setup saner. 2009-01-21 10:26:09 +00:00
uriel
7141cb368f Silly cosmetic fix for werc site title 2009-01-21 10:25:39 +00:00
uriel
75a35ffb40 Some more werc.cat-v.org content 2009-01-21 10:23:35 +00:00
uriel
c815037b70 Update urls to linke to werc.cat-v.org 2009-01-21 09:27:35 +00:00
uriel
e87cc5e8bf Add comment about minnor bug. 2009-01-21 09:26:13 +00:00
uriel
2a7d3c1a0f Fix display of individual blog posts. 2009-01-20 09:06:28 +00:00
uriel
3c0ef166e4 Fix debug printing of main handler. 2009-01-20 09:05:57 +00:00
uriel
b0a34ef595 More updates to new werc site. 2009-01-20 08:24:36 +01:00
uriel
8fc2f30a3d 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
2b0b1a48e0 Start the rc template docs. 2009-01-20 04:13:53 +01:00
uriel
258e864b42 Add apps pages to new werc site. 2009-01-20 04:08:13 +01:00
uriel
f233674bd2 Add werc.cat-v.org/ site, it serves as sample site. 2009-01-20 03:52:21 +01: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
fa167fb273 Merge tags 2009-01-17 09:44:03 +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
0c3e69ad8a Remove unused/debug code and rename comment var enable_comments 2009-01-17 09:42:24 +01:00
uriel
56328cc611 Cosmetic changes to default_master.tpl 2009-01-17 09:40:00 +01:00
uriel
9d352d49f5 Move some wiki code into dirdir app! 2009-01-17 03:43:36 +01:00
uriel
6271d7a81a Fix cookie parsing if more than one cookie present, add optional user/loggin-info sidebar 2009-01-17 03:43:05 +01:00
uriel
6aac4ce54c Make left sidebar into a list of handlers. 2009-01-17 03:05:19 +01:00
uriel
85cf543972 Minor cosmetic css changes. 2009-01-17 03:04:43 +01:00
uriel
61f224fe84 Added tag LATEST-RELEASE for changeset 71e051f0e8e0 2009-01-16 03:35:36 +01:00
uriel
e0477a2ecf New release 2009-01-16 03:35:36 +01:00
uriel
e8707b03af Add comment on future issue for apps with 'synthetic' dirs. 2009-01-16 03:18:10 +01:00
uriel
e4c517160f Proper 404 for dirs too 2009-01-16 01:24:58 +01:00
uriel
4eb1d92200 Fix handling of static /pub/ files. 2009-01-16 01:08:54 +01:00
uriel
c6ee6093f5 Add handling of static files for /pub/* 2009-01-14 00:36:32 +01:00
uriel
80b80bfc8d Update atom and rss templates to work with new blagh format. 2009-01-13 03:20:30 +01:00
uriel
b425257491 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
81ca7feb2d 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
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
f2e3d8b775 Remove some debug code, and fix a silly bug. 2009-01-11 19:52:48 +01:00
uriel
8ea1a6b131 Minor updates to initrc comments. 2009-01-11 07:41:24 +01:00
uriel
08d295a667 Move misplaced comment 2009-01-11 07:13:25 +01:00
uriel
912dea9e6e 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
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
116d7c3931 - 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
uriel
619ab918ab Fix sitemap.tpl to use the new split dirfilter 2009-01-10 17:34:56 +01:00
uriel
bc051f1b27 Handle static files! (Should only be used as a fallback if static files are not handled by httpd) 2009-01-10 05:23:44 +01:00
uriel
65598e15d1 Move top header/title generation for werc.rc to default template. 2009-01-10 04:57:41 +01:00
uriel
86ba2b9392 Minor reorg of handler selection, move comment code to bridge app.
Bigger changes still to come.
2009-01-09 03:08:02 +01:00
uriel
09575c869f Awk_buffer does seem to improve things a bit, but changed the buffer side to an empirically determined value. 2009-01-09 02:06:41 +01:00
uriel
3e99d92b05 Delete some debug code in a function that is not used yet. 2009-01-09 02:03:36 +01:00
uriel
74f63b6698 Very minor style fixes, and obfuscate local var in ll_add. 2009-01-08 16:48:09 +01:00