Update urls to linke to werc.cat-v.org
Fix display of individual blog posts.
Allow to set optional dir listing sorting (ls) options with the config var: dir_listing_ls_opts
Add werc.cat-v.org/ site, it serves as sample site.
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/
Dirdir wiki engine updates, cleaned up some code, now one can save from preview page.
Remove unused/debug code and rename comment var enable_comments
Cosmetic changes to default_master.tpl
Move some wiki code into dirdir app!
Fix cookie parsing if more than one cookie present, add optional user/loggin-info sidebar
Make left sidebar into a list of handlers.
Added tag LATEST-RELEASE for changeset 71e051f0e8e0
Add comment on future issue for apps with 'synthetic' dirs.
Fix handling of static /pub/ files.
Add handling of static files for /pub/*
Update atom and rss templates to work with new blagh format.
Blagh: improve handler setup for atom/rss feeds, also filter out blog posts with non-url-allowed path elements.
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.
Various small cleanups: remove unused code, clarity and reliability fixes here and here, move code to more appropriate locations, improve some comments.
Remove some debug code, and fix a silly bug.
Fix blah to work with new handler interfaces.
Handler interface reorg, take oportunity to cleanup default_master.tpl and move comments bits to bridge app.
- New static_file and select_mime functions.
Fix sitemap.tpl to use the new split dirfilter
Handle static files! (Should only be used as a fallback if static files are not handled by httpd)
Move top header/title generation for werc.rc to default template.
Minor reorg of handler selection, move comment code to bridge app.
Awk_buffer does seem to improve things a bit, but changed the buffer side to an empirically determined value.
Delete some debug code in a function that is not used yet.
Very minor style fixes, and obfuscate local var in ll_add.
Minor optimizations and reliability improvments to fproc_cache.
Make tabs/spaces indentation consistent.
Two other minor code formating changes for readability.
Remove a debug tee(1) and split sidebar ls pipeline in three lines to make it more readable.
Make perm redirect code a bit simpler and a bit less hideous.
Simplify and optimize some of the canonical-url-redirections.
Simplify genbody/set_handler and reorg some env vars, including moving sitedirs/sitedir out of default initrc.
Very minor dirfilter cleanups and some extra comments.
Simplify .txt handler, and remove double spacing, if lines are too close we should use css to space them.
More consistent use of dirfilter in sidebar code.
Added tag LATEST-RELEASE for changeset 2a3ffd2518b8
Delete some deprecated code left over from the old blog system.
Minnor change, merge two lines and add a comment from the old blog code.
Fix handling of _werc/config in domain root.
Move $local_path deffinition to a more correct place.
Update template to use new variable names.
Fix blagh_init to fail when we should fail.
Two small simplifications to app handling. Specially merge _test and _setup functions into a single _init.
Remove blog-related code from werc.rc
Further progress with blagh app, atom feeds and rss feeds are mostly working.
Replace 404_handler with a direct call to tpl_handler.
Source _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.
Make sure . is in $path, needed when sourcing config files so we can avoid the ./... dance.
New function to pick 'metadata' out of new .md convention for attributes.
Move app handler before default dir listing handler
Replace stat(1) with mtime(1) (disabled code for now)
Added tag LATEST-RELEASE for changeset 9928c3b66873
Only call select_apps if enabled_apps is not null.
Add sample 'hello world' app and enabled_apps config variable.
Style consistency fixes around bin/aux/* and bin/contrib/*
Explicitly call awk when running template.awk so we can use p9p's awk if available and improve portability to native Plan 9.
New html_handler that replaces gnu/sed with awk by sqweek, sorry for taking so long and thanks!
Add timezone to blog posts date, thanks to dho for the original patch.
Move trailing * executable market strpping to dirfilter.
Make coding style more consistent.
A couple of minor code simplifications and add a comment about some code that probably should be killed.
Simplification of sidebar code: do away with fn menu, and merge code directly into gensidebar.
Simplify dir listing handler, and deal better with corner cases.
First bits of minimal 'modular' app framework, move some blog code out of werc.rc and other minnor code cleanups.