e87cc5e8bfAdd comment about minnor bug.
uriel
2009-01-21 09:26:13 +0000
2a7d3c1a0fFix display of individual blog posts.
uriel
2009-01-20 09:06:28 +0000
3c0ef166e4Fix debug printing of main handler.
uriel
2009-01-20 09:05:57 +0000
b0a34ef595More updates to new werc site.
uriel
2009-01-20 08:24:36 +0100
8fc2f30a3dAllow to set optional dir listing sorting (ls) options with the config var: dir_listing_ls_opts
uriel
2009-01-20 06:55:17 +0100
2b0b1a48e0Start the rc template docs.
uriel
2009-01-20 04:13:53 +0100
258e864b42Add apps pages to new werc site.
uriel
2009-01-20 04:08:13 +0100
f233674bd2Add werc.cat-v.org/ site, it serves as sample site.
uriel
2009-01-20 03:52:21 +0100
a7625dbf9eRename $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/
uriel
2009-01-20 03:38:48 +0100
e8707b03afAdd comment on future issue for apps with 'synthetic' dirs.
uriel
2009-01-16 03:18:10 +0100
e4c517160fProper 404 for dirs too
uriel
2009-01-16 01:24:58 +0100
4eb1d92200Fix handling of static /pub/ files.
uriel
2009-01-16 01:08:54 +0100
c6ee6093f5Add handling of static files for /pub/*
uriel
2009-01-14 00:36:32 +0100
80b80bfc8dUpdate atom and rss templates to work with new blagh format.
uriel
2009-01-13 03:20:30 +0100
b425257491Blagh: improve handler setup for atom/rss feeds, also filter out blog posts with non-url-allowed path elements.
uriel
2009-01-13 03:19:45 +0100
81ca7feb2dGet 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.
uriel
2009-01-13 03:18:19 +0100
679fefacacVarious small cleanups: remove unused code, clarity and reliability fixes here and here, move code to more appropriate locations, improve some comments.
uriel
2009-01-12 02:07:31 +0100
f2e3d8b775Remove some debug code, and fix a silly bug.
uriel
2009-01-11 19:52:48 +0100
8ea1a6b131Minor updates to initrc comments.
uriel
2009-01-11 07:41:24 +0100
912dea9e6eFix blah to work with new handler interfaces. Remove outdated app-framework code. Clanup some of the fallback handler setting code.
uriel
2009-01-11 04:40:40 +0100
bf16d2b4c8Handler interface reorg, take oportunity to cleanup default_master.tpl and move comments bits to bridge app.
uriel
2009-01-11 04:03:46 +0100
116d7c3931- New static_file and select_mime functions. - Minor improvements to get_post_args, set status unless one of the requested args is present.
uriel
2009-01-11 04:02:07 +0100
619ab918abFix sitemap.tpl to use the new split dirfilter
uriel
2009-01-10 17:34:56 +0100
bc051f1b27Handle static files! (Should only be used as a fallback if static files are not handled by httpd)
uriel
2009-01-10 05:23:44 +0100
65598e15d1Move top header/title generation for werc.rc to default template.
uriel
2009-01-10 04:57:41 +0100
86ba2b9392Minor reorg of handler selection, move comment code to bridge app.
uriel
2009-01-09 03:08:02 +0100
09575c869fAwk_buffer does seem to improve things a bit, but changed the buffer side to an empirically determined value.
uriel
2009-01-09 02:06:41 +0100
3e99d92b05Delete some debug code in a function that is not used yet.
uriel
2009-01-09 02:03:36 +0100
74f63b6698Very minor style fixes, and obfuscate local var in ll_add.
uriel
2009-01-08 16:48:09 +0100
50874c7deeTwo other minor code formating changes for readability.
uriel
2009-01-05 05:48:23 +0100
e0178ea762Remove a debug tee(1) and split sidebar ls pipeline in three lines to make it more readable.
uriel
2009-01-05 05:46:37 +0100
a9b49f9f61Make perm redirect code a bit simpler and a bit less hideous.
uriel
2009-01-05 05:41:10 +0100
efb5bdf499Fix stupid bug in last commit.
uriel
2009-01-04 23:24:35 +0100
69c02ecfb9Simplify and optimize some of the canonical-url-redirections.
uriel
2009-01-04 23:21:55 +0100
9478cec323Simplify genbody/set_handler and reorg some env vars, including moving sitedirs/sitedir out of default initrc.
uriel
2009-01-04 22:49:05 +0100
25a624318cVery minor dirfilter cleanups and some extra comments.
uriel
2009-01-04 07:57:13 +0100
7e3a41152eSimplify .txt handler, and remove double spacing, if lines are too close we should use css to space them.
uriel
2009-01-04 03:59:52 +0100
3f77822d0aMore consistent use of dirfilter in sidebar code. This shoudl allow dots in path elements to show up in sidebar properly!
uriel
2009-01-03 02:02:50 +0100
5777383b25Style fixes to default template
uriel
2009-01-03 02:01:42 +0100
04ad28aea7Added tag LATEST-RELEASE for changeset 2a3ffd2518b8
uriel
2009-01-02 20:20:05 +0100
a0049a40cdEnable blagh app by default
uriel
2008-12-29 00:04:07 +0100
f2b2c6dba9Update template to use new variable names.
uriel
2008-12-28 23:44:03 +0100
a066392d83Fix blagh_init to fail when we should fail.
uriel
2008-12-28 23:43:15 +0100
1e72e6499fTwo small simplifications to app handling. Specially merge _test and _setup functions into a single _init.
uriel
2008-12-28 23:42:24 +0100
1684a29bd2Remove blog-related code from werc.rc Make variable use more consistent: * $REQUEST_URI and $uri are replaced with $req_path * $body is replaced with $local_path Other simplifications and cleanups.
uriel
2008-12-28 23:40:57 +0100
a7dadbf916Further progress with blagh app, atom feeds and rss feeds are mostly working.
uriel
2008-12-28 21:37:03 +0100
08d6044274Rename $baseuri to $base_url
uriel
2008-12-28 20:20:48 +0100
cfd4940d06Replace 404_handler with a direct call to tpl_handler.
uriel
2008-12-28 11:52:57 +0100
de11460a52Source _werc/config files with their container dir as working directory (allows for relative references in config variables, for example: blaghDirs=(../people/*/blog/)). NOTE: this require some config files to be updated, specially ones with blogDirs in them, $sitedir/ references and full paths are not required anymore. Added two new global vars: $werc_root and $req_paths_list. Change sidebar menu generation to use $req_paths_list.
uriel
2008-12-27 11:53:58 +0100
e45a6dee50Make sure . is in $path, needed when sourcing config files so we can avoid the ./... dance.
uriel
2008-12-27 11:48:46 +0100
8f5015605dComment out unused line.
uriel
2008-12-21 09:37:14 +0100
14c33b7110Style consistency fixes around bin/aux/* and bin/contrib/*
uriel
2008-12-21 00:13:53 +0100
8c10f7653aExplicitly call awk when running template.awk so we can use p9p's awk if available and improve portability to native Plan 9.
uriel
2008-12-21 00:08:49 +0100
d052435688New html_handler that replaces gnu/sed with awk by sqweek, sorry for taking so long and thanks!
uriel
2008-12-20 22:56:49 +0100
b99d6ebf78Add timezone to blog posts date, thanks to dho for the original patch.
uriel
2008-12-20 22:36:25 +0100
abb5df1d32Make coding style more consistent.
uriel
2008-12-20 06:32:37 +0100
6095d57ab8A couple of minor code simplifications and add a comment about some code that probably should be killed.
uriel
2008-12-20 05:46:41 +0100
4cd62ee394Simplification of sidebar code: do away with fn menu, and merge code directly into gensidebar.
uriel
2008-12-20 03:42:43 +0100
bb189a3a74Simplify dir listing handler, and deal better with corner cases.
uriel
2008-12-20 02:57:01 +0100
8d8419cc24Make sites/ dir configurable.
uriel
2008-12-20 02:18:11 +0100
54bb58bef7First bits of minimal 'modular' app framework, move some blog code out of werc.rc and other minnor code cleanups.
uriel
2008-12-20 02:08:12 +0100