Commit graph

752 commits

Author SHA1 Message Date
Uriel
fed2cc5c2e Merge. 2009-02-06 21:03:58 +00:00
Uriel
2e1f0dd32f Convert fltr_cache into a function. Enable output buffering which had been commented out for unknwon reasons. 2009-02-06 22:09:32 +01:00
Uriel
9ff545ec83 Rewrite most sitemap generation code, much cleaner, modularize file title/desc extraction, take advantage of new fproc_cache to cache sitemap. 2009-02-06 20:43:11 +01:00
Uriel
a0a7645022 Make fproc_cache take an optional second arg that can be a file or dir name, if provided that file/path will be used as input for the first argument removing the need for a temporary file. 2009-02-06 20:42:15 +01:00
Uriel
077795756c Add TODO item. 2009-02-05 03:17:30 +00:00
Uriel
602819f2fa Make conf_hide_path more flexible, and note a limitation in sitemap dirfilter handling. 2009-02-05 03:16:14 +00:00
Uriel
4811a4555b Gramar fix, thanks lejatorn. 2009-02-05 03:02:56 +00:00
Uriel
3f8988a1f8 Expand documentation in werc website. 2009-02-05 03:02:10 +00:00
Uriel
272c9901d0 Merge tags 2009-02-04 17:54:42 +00:00
Uriel
0f6e858549 Make all margins of main body equal. 2009-02-04 17:54:32 +00:00
Uriel
e72677183e Added tag LATEST-RELEASE for changeset c221ac21cf85 2009-02-04 16:43:25 +01:00
Uriel
190f61b8f8 New release 2009-02-04 16:43:25 +01:00
Uriel
da948ed34d Some more werc website updates. 2009-02-02 20:57:57 +00:00
Uriel
e3cccff7c0 Another minor readme update. 2009-02-02 21:33:02 +01:00
Uriel
9249d564c1 Minor readme updates. 2009-02-02 21:31:12 +01:00
Uriel
e2286b144d Add todo to werc website. 2009-02-02 19:49:51 +01:00
Uriel
a314407a8d Merge. 2009-02-01 19:23:55 +00:00
Uriel
e084b89cae Reorg code in five source files: werc.rc, cgilib.rc, corehandlers.rc, wercconf.rc and werclib.rc. 2009-02-01 20:06:51 +01:00
Uriel
eb190a1a0b Use new conf_enable_comments directive in werc website. 2009-02-01 20:05:00 +01:00
Uriel
1020b8b669 Handle extraHeaders being nil. 2009-02-01 20:04:28 +01:00
Uriel
64e3d86654 Display date in post listing. 2009-02-01 20:03:27 +01:00
Uriel
64311bb30b Store and display comment posted date/time. 2009-02-01 20:02:22 +01:00
Uriel
ce05a61921 Werc site config updates. 2009-02-01 18:23:31 +00:00
Uriel
7069e2af93 add comment about how note is never displayed due to subsequent redirect. 2009-01-30 16:48:49 +01:00
Uriel
7702c8ed9b Fix txt_handler that was broken due to idiotic overzealous 'optimization', thanks mycroftiv for finding and fixing this! 2009-01-30 16:19:48 +01:00
Uriel
590816c6d4 Replace $redirectPermanent with new conf_perm_redirect function. New notices_handler for error/note/success notification boxes. Rename hide_paths to conf_hide_paths. Reorder variable setting, all req-specifc vars are set after initrc and app sourcing, moved request handling code to its own function, this makes us ready to do scgi and other optimizations. 2009-01-30 16:18:07 +01:00
Uriel
2ee4609eb1 Styles for new notification boxes. 2009-01-30 16:13:39 +01:00
Uriel
39b0cc06f6 Make http_redirect resolve non-absolute uris. Only allow safe chars for user names. Reliability fixes when checking $status (don't check $#status!). Check user suceeds always if user in admin group. 2009-01-30 16:13:06 +01:00
Uriel
f71c7866f4 New version of comments module, must more reliable and polished. 2009-01-30 16:10:14 +01:00
Uriel
75ca494424 Cosmetic improvements to login form and error msg. 2009-01-30 15:18:07 +01:00
Uriel
f5af1b5fe8 Be smarter about when to enable comments, and make it configurable. 2009-01-26 06:12:45 +01:00
Uriel
219ec79f69 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
55d12e5dac Handle dir listing of site root. 2009-01-26 04:51:06 +01:00
Uriel
f23d0176ce Move form templates to where they blong. 2009-01-26 04:10:02 +01:00
Uriel
6329ebd8b7 Cosmetic html fixes to user login form. 2009-01-26 04:09:23 +01:00
Uriel
93d4483939 Upgrade and cleanup dirdir, move to app framework, and its implementation more elegant and reliable. 2009-01-26 03:37:47 +01:00
Uriel
a7c9b41901 Fix syntax error, and some cosmetic improvments to html form. 2009-01-25 16:54:03 +01:00
Uriel
86af4c88d2 Add tempalte for blog posting via web interface. 2009-01-25 16:53:21 +01:00
Uriel
5755022405 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
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
316d4c4e57 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
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