Commit Graph

323 Commits

Author SHA1 Message Date
uriel
71f59e4ea1 Fix display of dir_listing_handler headers. Thanks to soul9 and mycroftiv for reporting this. 2008-11-20 05:21:15 +01:00
uriel
e14abaf86c 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
8ac8f1eb4c Remove leftover from old name for blog app (now 'brag') 2008-11-15 20:38:42 +01:00
uriel
fdf008b7ce Update dirfilter to hide .html .txt and .tpl indexes from listing too. 2008-11-15 20:30:08 +01:00
uriel
584060f412 Remove some left over headers from default headers.tpl 2008-10-29 06:25:20 +01:00
uriel
b18ddfa92c Merge branches. 2008-10-28 01:42:00 +01:00
uriel
48179e9a90 Update README, s/controller/werc/ 2008-10-28 01:41:25 +01:00
uriel
6ca427079a Update README s/controller/werc/ 2008-10-28 01:39:35 +01:00
uriel
49fc0c9bf9 Added tag LATEST-RELEASE for changeset 83f3423f678a 2008-10-28 01:21:34 +01:00
uriel
a276630462 New release 2008-10-28 01:21:34 +01:00
uriel
def444ac29 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
a8f056f052 Use explicitly relative paths when sourcing now that . is not in path
Add comment about perf issues with menu()
2008-10-26 05:29:42 +01:00
uriel
f171e094ff Add back /usr/bin/ to default path (/usr/bin/awk makes us actually less portable *sigh*)
And update to use the new fproc_cache.rc and expand the comment explaining how it works.
2008-10-26 04:58:20 +01:00
uriel
8f59aebdcf Big cleanup of bin/, move external programs to contrib/, move minor useful scripts to aux/, and most important of all move controller.rc to werc.rc 2008-10-26 04:29:50 +01:00
uriel
d682ff5731 Tighten default path setting, this forces us to make references to /usr/bin/ programs explicit, which should help become more portable... it also messes up awk until we can get it into p9p 2008-10-26 04:27:27 +01:00
uriel
6a93828f9c Make some corrections to default initrc comments and update to use the renamed md_cache.rc 2008-10-26 04:02:33 +01:00
uriel
f94838cdbd Mark gensitemaptxt.rc as deprecated 2008-10-26 03:37:52 +01:00
uriel
2cf3a1ef2f 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
dd7dbf028e Update blog posting code to use new auth api, also create _apps/brag/ 2008-10-22 09:21:53 +02:00
uriel
17a06ccfa3 Minor improvements to user login template to use new user auth api 2008-10-22 09:20:50 +02:00
uriel
d6536ea079 Improvements to wiki and comments code, take advantage of improvements in user auth interfaca 2008-10-22 09:20:06 +02:00
uriel
a42e7ad88b Improvements to auth code, now the interface and implemenation are much cleaner. 2008-10-22 09:18:55 +02:00
uriel
29e035ec53 Update comments code to use new comment dir format and the new user auth system 2008-10-22 09:17:08 +02:00
uriel
ebddb34a4e Add edit template for dirdir 2008-10-21 16:59:26 +02:00
uriel
38b6927608 Merge tags 2008-10-21 16:38:21 +02:00
uriel
6dd409e59b Add login link to default footer 2008-10-21 16:37:59 +02:00
uriel
e37305f63b Add optional wiki sidebar 2008-10-21 16:37:43 +02:00
uriel
1e42eabd6d New req_path var 2008-10-21 16:37:16 +02:00
uriel
75336c57a5 Replace debug and 'false' calls with setting $status 2008-10-21 16:36:45 +02:00
uriel
0b80637fe4 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
5959390f22 Added tag LATEST-RELEASE for changeset 732be9c66be6 2008-10-19 01:24:15 +02:00
uriel
01df291a19 New release 2008-10-19 01:24:15 +02:00
uriel
d5e9b2dcb0 Add initial templates for user login and blog post entry. 2008-10-18 03:40:30 +02:00
uriel
cb1cd1f2f9 Allow to set extra http headers! 2008-10-18 03:39:39 +02:00
uriel
02d615d015 Replace debug_handler with a template. 2008-10-18 03:36:22 +02:00
uriel
4fdbace4ec Replace blog_dir_handler with a template in lib/feeds/html.tpl 2008-10-18 03:32:13 +02:00
uriel
3e2903b4e3 Many big changes:
* Cache arg list in get_post_args so it can be called more than once and from inside templates.
* Get/set_cookie functions.
* New user auth system that actually works.
* Make_blog_post actually works now.
* Many other fixes and improvments.
2008-10-18 03:26:54 +02:00
uriel
59e0b8049c Minnor READMe/TODO updates 2008-10-14 08:15:16 +02:00
uriel
934412c67f Make rc happy and comment work in progress code 2008-10-14 06:59:19 +02:00
uriel
ba321ad6f1 More minnor comment and code formatting changes 2008-10-14 01:59:10 +02:00
uriel
852c4c3ace Fix bug where blogDir wouldn't be set properly 2008-10-14 01:49:35 +02:00
uriel
3359120260 Minnor comment change 2008-10-14 01:48:17 +02:00
uriel
2430d25379 If we get a request for a .html file, redirect to the 'canonical' url for that file 2008-10-14 01:46:52 +02:00
uriel
7bf53de8f4 Minnor code format and comment cleanups, remove duplicated code 2008-10-14 01:40:20 +02:00
uriel
9ebc2b44de Simplify dir listing code 2008-10-14 01:25:37 +02:00
uriel
801e66c4ee Remove some clumsy commented out code to change menu item order in blog dirs 2008-10-14 01:16:41 +02:00
uriel
c80b39c56d Minnor code style cleanup 2008-10-14 01:13:00 +02:00
uriel
bc560ebfc1 Properly test if msterSite is set when looking for templates 2008-10-14 01:10:34 +02:00
uriel
f43b3303b3 Remove deprecated code to handle old config and teomplate locations 2008-10-14 01:09:12 +02:00
uriel
d5e8c705ed Add trailing / for directories in sitemap to make google crawler happy 2008-10-12 22:41:40 +00:00