Commit Graph

622 Commits

Author SHA1 Message Date
uriel
3bb3a29070 Be smarter about when to enable comments, and make it configurable. 2009-01-26 06:12:45 +01:00
uriel
a4df183f4e Only allow comments for .md files, this avoids silly things like comments for
loggin form pages, but will need to be improved to become more general.

Simplify some code a bit and cosmetic improvements.
2009-01-26 04:56:05 +01:00
uriel
98d37b2283 Handle dir listing of site root. 2009-01-26 04:51:06 +01:00
uriel
829e3e36b0 Move form templates to where they blong. 2009-01-26 04:10:02 +01:00
uriel
0fb040dd2a Cosmetic html fixes to user login form. 2009-01-26 04:09:23 +01:00
uriel
b8c8cb9e9d Upgrade and cleanup dirdir, move to app framework, and its implementation more elegant and reliable. 2009-01-26 03:37:47 +01:00
uriel
267dd6a33d Fix syntax error, and some cosmetic improvments to html form. 2009-01-25 16:54:03 +01:00
uriel
0147485944 Add tempalte for blog posting via web interface. 2009-01-25 16:53:21 +01:00
uriel
e364bbdde0 Move blagh feed templates to app dir, be smarter when enabling 'implicit' blogs, and upgrade the web interface for blog posting. 2009-01-25 16:52:19 +01:00
uriel
e6bc2ae37d Improve the debug shell a bit. 2009-01-25 16:42:22 +01:00
uriel
0aa02bc15d Add -s, print status when a command sets it. 2009-01-25 15:42:56 +01:00
uriel
b25406c592 Various changes:
- New generic http_redirect function, and two shortcuts for 303: post_redirect and 301: perm_redirect
- Allow get_lib_file to take a default value, and change where master_template is set.
- Fix bugs in auth code and properly trim ^M from post data.
- Other cosmetic/minor improvements.
2009-01-25 13:56:53 +01:00
uriel
6b8aa06dbb Make comments form look less hideous 2009-01-24 07:22:43 +01:00
uriel
4302232dd0 Add some comments and replace get_post_args with load_post_args 2009-01-24 07:11:39 +01:00
uriel
a8fd3560fd 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
ca0507992e Fix minor cosmetic bug in dir listing by passing req_path instead of local_path. 2009-01-23 17:48:09 +01:00
uriel
19fb976b75 Fix and simplify config loading process. 2009-01-23 16:46:48 +01:00
uriel
5c742826b7 New helpful dprintvars deubg function. 2009-01-23 16:46:25 +01:00
uriel
307d38e6ef blaghDirs is now blagh_dirs. 2009-01-23 16:45:48 +01:00
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