Commit Graph

  • e87cc5e8bf Add comment about minnor bug. uriel 2009-01-21 09:26:13 +0000
  • 2a7d3c1a0f Fix display of individual blog posts. uriel 2009-01-20 09:06:28 +0000
  • 3c0ef166e4 Fix debug printing of main handler. uriel 2009-01-20 09:05:57 +0000
  • b0a34ef595 More updates to new werc site. uriel 2009-01-20 08:24:36 +0100
  • 8fc2f30a3d Allow to set optional dir listing sorting (ls) options with the config var: dir_listing_ls_opts uriel 2009-01-20 06:55:17 +0100
  • 2b0b1a48e0 Start the rc template docs. uriel 2009-01-20 04:13:53 +0100
  • 258e864b42 Add apps pages to new werc site. uriel 2009-01-20 04:08:13 +0100
  • f233674bd2 Add werc.cat-v.org/ site, it serves as sample site. uriel 2009-01-20 03:52:21 +0100
  • a7625dbf9e 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/ uriel 2009-01-20 03:38:48 +0100
  • fa167fb273 Merge tags uriel 2009-01-17 09:44:03 +0100
  • cb73d98fd8 Dirdir wiki engine updates, cleaned up some code, now one can save from preview page. uriel 2009-01-17 09:43:31 +0100
  • 0c3e69ad8a Remove unused/debug code and rename comment var enable_comments uriel 2009-01-17 09:42:24 +0100
  • 56328cc611 Cosmetic changes to default_master.tpl uriel 2009-01-17 09:40:00 +0100
  • 9d352d49f5 Move some wiki code into dirdir app! uriel 2009-01-17 03:43:36 +0100
  • 6271d7a81a Fix cookie parsing if more than one cookie present, add optional user/loggin-info sidebar uriel 2009-01-17 03:43:05 +0100
  • 6aac4ce54c Make left sidebar into a list of handlers. uriel 2009-01-17 03:05:19 +0100
  • 85cf543972 Minor cosmetic css changes. uriel 2009-01-17 03:04:43 +0100
  • 61f224fe84 Added tag LATEST-RELEASE for changeset 71e051f0e8e0 uriel 2009-01-16 03:35:36 +0100
  • e0477a2ecf New release uriel 2009-01-16 03:35:36 +0100
  • e8707b03af Add comment on future issue for apps with 'synthetic' dirs. uriel 2009-01-16 03:18:10 +0100
  • e4c517160f Proper 404 for dirs too uriel 2009-01-16 01:24:58 +0100
  • 4eb1d92200 Fix handling of static /pub/ files. uriel 2009-01-16 01:08:54 +0100
  • c6ee6093f5 Add handling of static files for /pub/* uriel 2009-01-14 00:36:32 +0100
  • 80b80bfc8d Update atom and rss templates to work with new blagh format. uriel 2009-01-13 03:20:30 +0100
  • b425257491 Blagh: 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
  • 81ca7feb2d 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. uriel 2009-01-13 03:18:19 +0100
  • 679fefacac Various 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
  • f2e3d8b775 Remove some debug code, and fix a silly bug. uriel 2009-01-11 19:52:48 +0100
  • 8ea1a6b131 Minor updates to initrc comments. uriel 2009-01-11 07:41:24 +0100
  • 08d295a667 Move misplaced comment uriel 2009-01-11 07:13:25 +0100
  • 912dea9e6e Fix 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
  • bf16d2b4c8 Handler 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
  • 619ab918ab Fix sitemap.tpl to use the new split dirfilter uriel 2009-01-10 17:34:56 +0100
  • bc051f1b27 Handle 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
  • 65598e15d1 Move top header/title generation for werc.rc to default template. uriel 2009-01-10 04:57:41 +0100
  • 86ba2b9392 Minor reorg of handler selection, move comment code to bridge app. uriel 2009-01-09 03:08:02 +0100
  • 09575c869f Awk_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
  • 3e99d92b05 Delete some debug code in a function that is not used yet. uriel 2009-01-09 02:03:36 +0100
  • 74f63b6698 Very minor style fixes, and obfuscate local var in ll_add. uriel 2009-01-08 16:48:09 +0100
  • 900119d659 Add nested lists rc helper uriel 2009-01-08 16:46:00 +0100
  • cdaecd9238 Minor optimizations and reliability improvments to fproc_cache. uriel 2009-01-07 23:50:49 +0100
  • c09789caaf Make tabs/spaces indentation consistent. uriel 2009-01-05 05:49:45 +0100
  • 50874c7dee Two other minor code formating changes for readability. uriel 2009-01-05 05:48:23 +0100
  • e0178ea762 Remove 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
  • a9b49f9f61 Make perm redirect code a bit simpler and a bit less hideous. uriel 2009-01-05 05:41:10 +0100
  • efb5bdf499 Fix stupid bug in last commit. uriel 2009-01-04 23:24:35 +0100
  • 69c02ecfb9 Simplify and optimize some of the canonical-url-redirections. uriel 2009-01-04 23:21:55 +0100
  • 9478cec323 Simplify genbody/set_handler and reorg some env vars, including moving sitedirs/sitedir out of default initrc. uriel 2009-01-04 22:49:05 +0100
  • 5c8597ade4 Tag merge. uriel 2009-01-04 08:32:19 +0100
  • 25a624318c Very minor dirfilter cleanups and some extra comments. uriel 2009-01-04 07:57:13 +0100
  • 7e3a41152e Simplify .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
  • 3f77822d0a More 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
  • 5777383b25 Style fixes to default template uriel 2009-01-03 02:01:42 +0100
  • 04ad28aea7 Added tag LATEST-RELEASE for changeset 2a3ffd2518b8 uriel 2009-01-02 20:20:05 +0100
  • 4cdd9f7119 New release uriel 2009-01-02 20:20:05 +0100
  • 63816db0c6 Delete some deprecated code left over from the old blog system. uriel 2009-01-02 16:51:59 +0100
  • 884efc70f0 Minnor change, merge two lines and add a comment from the old blog code. uriel 2009-01-02 16:49:44 +0100
  • ba1eea3078 Fix handling of _werc/config in domain root. uriel 2009-01-01 08:14:38 +0100
  • 85e0153050 Move $local_path deffinition to a more correct place. uriel 2008-12-31 00:16:47 +0100
  • 159e53f1d6 Minor code simplificaton. uriel 2008-12-31 00:16:17 +0100
  • a0049a40cd Enable blagh app by default uriel 2008-12-29 00:04:07 +0100
  • f2b2c6dba9 Update template to use new variable names. uriel 2008-12-28 23:44:03 +0100
  • a066392d83 Fix blagh_init to fail when we should fail. uriel 2008-12-28 23:43:15 +0100
  • 1e72e6499f Two small simplifications to app handling. Specially merge _test and _setup functions into a single _init. uriel 2008-12-28 23:42:24 +0100
  • 1684a29bd2 Remove 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
  • a7dadbf916 Further progress with blagh app, atom feeds and rss feeds are mostly working. uriel 2008-12-28 21:37:03 +0100
  • 08d6044274 Rename $baseuri to $base_url uriel 2008-12-28 20:20:48 +0100
  • cfd4940d06 Replace 404_handler with a direct call to tpl_handler. uriel 2008-12-28 11:52:57 +0100
  • 713a591618 Minor comment cleanups. uriel 2008-12-28 11:51:03 +0100
  • de11460a52 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. 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
  • e45a6dee50 Make sure . is in $path, needed when sourcing config files so we can avoid the ./... dance. uriel 2008-12-27 11:48:46 +0100
  • 47f8de61c4 Further simplification/cleanup. uriel 2008-12-27 11:47:36 +0100
  • 330a40956d New blagh app uriel 2008-12-24 12:19:06 +0100
  • 921a67d8df New function to pick 'metadata' out of new .md convention for attributes. uriel 2008-12-24 12:18:44 +0100
  • b029c8774b Move app handler before default dir listing handler uriel 2008-12-24 12:18:05 +0100
  • 25995097ed Replace stat(1) with mtime(1) (disabled code for now) uriel 2008-12-24 09:36:52 +0100
  • 5d56e873b5 Added tag LATEST-RELEASE for changeset 9928c3b66873 uriel 2008-12-21 10:15:12 +0100
  • 74e0a81a06 New release uriel 2008-12-21 10:15:12 +0100
  • c63cb84e94 Only call select_apps if enabled_apps is not null. uriel 2008-12-21 09:47:08 +0100
  • 270c9999a0 Add sample 'hello world' app and enabled_apps config variable. uriel 2008-12-21 09:37:40 +0100
  • 8f5015605d Comment out unused line. uriel 2008-12-21 09:37:14 +0100
  • 14c33b7110 Style consistency fixes around bin/aux/* and bin/contrib/* uriel 2008-12-21 00:13:53 +0100
  • 8c10f7653a Explicitly 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
  • d052435688 New 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
  • b99d6ebf78 Add timezone to blog posts date, thanks to dho for the original patch. uriel 2008-12-20 22:36:25 +0100
  • c9c9a6f283 Tiny style fix. uriel 2008-12-20 22:29:32 +0100
  • 200307d77f Reorg debug printouts a bit. uriel 2008-12-20 13:31:19 +0100
  • 850e3ec5b9 Sitemap improvemnts and cleanups: uriel 2008-12-20 13:20:31 +0100
  • 4c56c67284 Move trailing * executable market strpping to dirfilter. uriel 2008-12-20 13:15:56 +0100
  • abb5df1d32 Make coding style more consistent. uriel 2008-12-20 06:32:37 +0100
  • 6095d57ab8 A 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
  • 4cd62ee394 Simplification of sidebar code: do away with fn menu, and merge code directly into gensidebar. uriel 2008-12-20 03:42:43 +0100
  • bb189a3a74 Simplify dir listing handler, and deal better with corner cases. uriel 2008-12-20 02:57:01 +0100
  • 8d8419cc24 Make sites/ dir configurable. uriel 2008-12-20 02:18:11 +0100
  • 54bb58bef7 First 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
  • d396e90262 Merge uriel 2008-12-16 08:12:49 +0100
  • d8e7405743 Merge tags uriel 2008-12-16 07:08:43 +0000
  • c857ea6d5a Add comment noting a possible bug in fproc. uriel 2008-12-16 07:08:05 +0000
  • 7f48cf458a Make fproc more reliable (fool-proof). uriel 2008-12-16 07:02:36 +0000