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.
Add comment noting a possible bug in fproc.
Make fproc more reliable (fool-proof).
Tab/spaces consistency in atom template.
Fix and cleanup dir listing regexp.
Added tag LATEST-RELEASE for changeset 6a6219ae0384
Fix: don't completely delete 'sort helper' delimiter, revert it back to a '/', and coalesce any extra '/' for tidiness
Fix sortedBlogPostList to handle paths containing a '.', and strip the '/./' used as a sort delimiter from output
Fix bug in crop_text, and allow to set the 'ellipsis' text ('...' by default)
Clean up atom feed template a bit.
Make markdown.pl(!?) happy, not sure why or how.
Fix and simplify code that generates rss/atom urls. Now it handles urls in / properly.
Fix stupid typo, thanks 9soul for the catch!
Tentative fix for post link URLs, thanks 9soul for reporting and first try at fixing it.
Improve dirfilter, simplified and made more reliable. Also strip trailing * from ls -F output (not sure if this should be added to dirfilter itself.
Fix typo in dirfilter, thanks to soul9 for finding this!
Added tag LATEST-RELEASE for changeset 5b215822ce6d
Add atom feeds, still needs some cleanup, but seems to mostly work.
Allow to hide 'by line' in blog posts by setting blogAuthor to ''.