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 ''.
Fix display of dir_listing_handler headers. Thanks to soul9 and mycroftiv for reporting this.
Update blog post code, use new check_user function and remove now superfluous get_user call, thanks 9soul for the report!
Remove leftover from old name for blog app (now 'brag')
Update dirfilter to hide .html .txt and .tpl indexes from listing too.
Remove some left over headers from default headers.tpl
Added tag LATEST-RELEASE for changeset 83f3423f678a
New menu implementation, removes the recursive calls to rc/awk, also makes use of dirfilter more consistent and simplifies some code.
Use explicitly relative paths when sourcing now that . is not in path
Add back /usr/bin/ to default path (/usr/bin/awk makes us actually less portable *sigh*)
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
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
Make some corrections to default initrc comments and update to use the renamed md_cache.rc
Mark gensitemaptxt.rc as deprecated
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.
Update blog posting code to use new auth api, also create _apps/brag/
Minor improvements to user login template to use new user auth api
Improvements to wiki and comments code, take advantage of improvements in user auth interfaca
Improvements to auth code, now the interface and implemenation are much cleaner.
Update comments code to use new comment dir format and the new user auth system
Replace debug and 'false' calls with setting $status
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
Added tag LATEST-RELEASE for changeset 732be9c66be6
Add initial templates for user login and blog post entry.
Replace debug_handler with a template.
Replace blog_dir_handler with a template in lib/feeds/html.tpl