Commit graph

  • 2e62c824cc 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 +01:00
  • 750a46f3fd Simplification of sidebar code: do away with fn menu, and merge code directly into gensidebar. Uriel 2008-12-20 03:42:43 +01:00
  • 33b98d278e Simplify dir listing handler, and deal better with corner cases. Uriel 2008-12-20 02:57:01 +01:00
  • 28b82f244b Make sites/ dir configurable. Uriel 2008-12-20 02:18:11 +01:00
  • 07d476321a 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 +01:00
  • 7ad2de8c38 Merge Uriel 2008-12-16 08:12:49 +01:00
  • 130f78fb5e Merge tags Uriel 2008-12-16 07:08:43 +00:00
  • 9b4598026c Add comment noting a possible bug in fproc. Uriel 2008-12-16 07:08:05 +00:00
  • 4d36a9a57d Make fproc more reliable (fool-proof). Uriel 2008-12-16 07:02:36 +00:00
  • 7012eb4128 Tab/spaces consistency in atom template. Uriel 2008-12-16 03:46:19 +01:00
  • ac0b6bfa2e Fix and cleanup dir listing regexp. Uriel 2008-12-16 03:45:44 +01:00
  • ba6c877f00 Added tag LATEST-RELEASE for changeset 6a6219ae0384 Uriel 2008-12-13 20:22:02 +01:00
  • 9a3de6ae7f New release Uriel 2008-12-13 20:22:02 +01:00
  • bd54b147f1 Fix: don't completely delete 'sort helper' delimiter, revert it back to a '/', and coalesce any extra '/' for tidiness Uriel 2008-12-13 16:16:10 +00:00
  • 43b5151215 Fix sortedBlogPostList to handle paths containing a '.', and strip the '/./' used as a sort delimiter from output Uriel 2008-12-13 16:58:08 +01:00
  • 2a9dbdbfe9 Fix bug in crop_text, and allow to set the 'ellipsis' text ('...' by default) Uriel 2008-12-12 02:25:10 +01:00
  • f02b126611 Clean up atom feed template a bit. Uriel 2008-12-12 02:24:19 +01:00
  • 69575287e3 Make markdown.pl(!?) happy, not sure why or how. Uriel 2008-12-11 21:39:07 +00:00
  • eecc4d2ea8 Fix and simplify code that generates rss/atom urls. Now it handles urls in / properly. Uriel 2008-12-11 21:38:31 +00:00
  • d289d6a5a4 Fix stupid typo, thanks 9soul for the catch! Uriel 2008-12-02 11:38:45 +01:00
  • effe855934 Tentative fix for post link URLs, thanks 9soul for reporting and first try at fixing it. Uriel 2008-12-02 08:06:07 +01:00
  • 1832258d47 Improve dirfilter, simplified and made more reliable. Also strip trailing * from ls -F output (not sure if this should be added to dirfilter itself. Uriel 2008-11-29 16:20:08 +01:00
  • 983a127aca Merge tags Uriel 2008-11-29 15:24:28 +01:00
  • bd44a5d891 Fix typo in dirfilter, thanks to soul9 for finding this! Uriel 2008-11-29 15:23:59 +01:00
  • d9e6503ebd Added tag LATEST-RELEASE for changeset 5b215822ce6d Uriel 2008-11-27 11:36:13 +01:00
  • db52fba268 New release Uriel 2008-11-27 11:36:13 +01:00
  • 4c1edbce01 Add atom feeds, still needs some cleanup, but seems to mostly work. Uriel 2008-11-26 04:56:39 +01:00
  • d381768c8f New helper function: crop_text Uriel 2008-11-26 04:50:03 +01:00
  • 1a0da5a633 Allow to hide 'by line' in blog posts by setting blogAuthor to ''. Uriel 2008-11-23 22:31:07 +01:00
  • c59743ff18 Fix display of dir_listing_handler headers. Thanks to soul9 and mycroftiv for reporting this. Uriel 2008-11-20 05:21:15 +01:00
  • c7460104dc Update blog post code, use new check_user function and remove now superfluous get_user call, thanks 9soul for the report! Uriel 2008-11-15 20:44:34 +01:00
  • 48d3734523 Remove leftover from old name for blog app (now 'brag') Uriel 2008-11-15 20:38:42 +01:00
  • da99ad0097 Update dirfilter to hide .html .txt and .tpl indexes from listing too. Uriel 2008-11-15 20:30:08 +01:00
  • 2c7fa44f97 Remove some left over headers from default headers.tpl Uriel 2008-10-29 06:25:20 +01:00
  • dfa47677bf Merge branches. Uriel 2008-10-28 01:42:00 +01:00
  • 0743fe7ce1 Update README, s/controller/werc/ Uriel 2008-10-28 01:41:25 +01:00
  • 42a5d6003e Update README s/controller/werc/ Uriel 2008-10-28 01:39:35 +01:00
  • 731dd1e5a1 Added tag LATEST-RELEASE for changeset 83f3423f678a Uriel 2008-10-28 01:21:34 +01:00
  • 524538b2cd New release Uriel 2008-10-28 01:21:34 +01:00
  • b7f33b8d07 New menu implementation, removes the recursive calls to rc/awk, also makes use of dirfilter more consistent and simplifies some code. Other minnor cleanups. Uriel 2008-10-27 00:41:23 +01:00
  • bdf9922a24 Use explicitly relative paths when sourcing now that . is not in path Add comment about perf issues with menu() Uriel 2008-10-26 05:29:42 +01:00
  • 9139cdafc6 Add back /usr/bin/ to default path (/usr/bin/awk makes us actually less portable *sigh*) And update to use the new fproc_cache.rc and expand the comment explaining how it works. Uriel 2008-10-26 04:58:20 +01:00
  • eac8d656f3 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 Uriel 2008-10-26 04:29:50 +01:00
  • 4f75a5b3b6 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 Uriel 2008-10-26 04:27:27 +01:00
  • 511fcd2416 Make some corrections to default initrc comments and update to use the renamed md_cache.rc Uriel 2008-10-26 04:02:33 +01:00
  • b940bc1744 Mark gensitemaptxt.rc as deprecated Uriel 2008-10-26 03:37:52 +01:00
  • 33597169a5 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. Uriel 2008-10-24 04:19:29 +02:00
  • 1ef35f74dd Update blog posting code to use new auth api, also create _apps/brag/ Uriel 2008-10-22 09:21:53 +02:00
  • 5fb2596467 Minor improvements to user login template to use new user auth api Uriel 2008-10-22 09:20:50 +02:00
  • 3d2be79505 Improvements to wiki and comments code, take advantage of improvements in user auth interfaca Uriel 2008-10-22 09:20:06 +02:00
  • 746b70d971 Improvements to auth code, now the interface and implemenation are much cleaner. Uriel 2008-10-22 09:18:55 +02:00
  • 9d72114f26 Update comments code to use new comment dir format and the new user auth system Uriel 2008-10-22 09:17:08 +02:00
  • db99e070dd Add edit template for dirdir Uriel 2008-10-21 16:59:26 +02:00
  • efa8fb4648 Merge tags Uriel 2008-10-21 16:38:21 +02:00
  • c57e9b0d45 Add login link to default footer Uriel 2008-10-21 16:37:59 +02:00
  • eba666e184 Add optional wiki sidebar Uriel 2008-10-21 16:37:43 +02:00
  • f24f05896d New req_path var Uriel 2008-10-21 16:37:16 +02:00
  • 34a99124a9 Replace debug and 'false' calls with setting $status Uriel 2008-10-21 16:36:45 +02:00
  • 840cb9effa 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 Uriel 2008-10-21 16:31:22 +02:00
  • 82ba7e59ae Added tag LATEST-RELEASE for changeset 732be9c66be6 Uriel 2008-10-19 01:24:15 +02:00
  • f07dd22288 New release Uriel 2008-10-19 01:24:15 +02:00
  • 3a90da4af9 Add initial templates for user login and blog post entry. Uriel 2008-10-18 03:40:30 +02:00
  • b91bcda71f Allow to set extra http headers! Uriel 2008-10-18 03:39:39 +02:00
  • 3c8fc5fdf6 Replace debug_handler with a template. Uriel 2008-10-18 03:36:22 +02:00
  • a891993160 Replace blog_dir_handler with a template in lib/feeds/html.tpl Uriel 2008-10-18 03:32:13 +02:00
  • a1dd162124 Many big changes: * Cache arg list in get_post_args so it can be called more than once and from inside templates. * Get/set_cookie functions. * New user auth system that actually works. * Make_blog_post actually works now. * Many other fixes and improvments. Uriel 2008-10-18 03:26:54 +02:00
  • 20339633b0 Minnor READMe/TODO updates Uriel 2008-10-14 08:15:16 +02:00
  • 351da977a9 Make rc happy and comment work in progress code Uriel 2008-10-14 06:59:19 +02:00
  • 5dfce814f6 More minnor comment and code formatting changes Uriel 2008-10-14 01:59:10 +02:00
  • 0837caa70a Fix bug where blogDir wouldn't be set properly Uriel 2008-10-14 01:49:35 +02:00
  • 4ceb1e936d Minnor comment change Uriel 2008-10-14 01:48:17 +02:00
  • 8877df8fe1 If we get a request for a .html file, redirect to the 'canonical' url for that file Uriel 2008-10-14 01:46:52 +02:00
  • 339a7a5b4d Minnor code format and comment cleanups, remove duplicated code Uriel 2008-10-14 01:40:20 +02:00
  • 916b093502 Simplify dir listing code Uriel 2008-10-14 01:25:37 +02:00
  • 88d1d5f4b2 Remove some clumsy commented out code to change menu item order in blog dirs Uriel 2008-10-14 01:16:41 +02:00
  • 93c2239178 Minnor code style cleanup Uriel 2008-10-14 01:13:00 +02:00
  • f0bfff3f6c Properly test if msterSite is set when looking for templates Uriel 2008-10-14 01:10:34 +02:00
  • e4ad62e733 Remove deprecated code to handle old config and teomplate locations Uriel 2008-10-14 01:09:12 +02:00
  • e78e2d2c73 Add trailing / for directories in sitemap to make google crawler happy Uriel 2008-10-12 22:41:40 +00:00
  • 818379cf80 Add comment to in progress atom template for future reference Uriel 2008-10-10 02:08:58 +00:00
  • a9fedfd6cb Silly stylesheet changes Uriel 2008-10-10 02:07:42 +00:00
  • 795504c0e5 Merge tags Uriel 2008-09-30 15:29:21 +02:00
  • ea2ab9de56 Brown paper bag bugfix, make rss feeds work again! Uriel 2008-09-30 15:28:48 +02:00
  • 8ffd8523a8 Added tag LATEST-RELEASE for changeset c39c10c98412 Uriel 2008-09-30 13:44:49 +02:00
  • fe3a79d75b New release Uriel 2008-09-30 13:44:49 +02:00
  • a2342d38b9 Allo to override the blog post author by setting the conf blogAuthor and use file owner as a fallback only for blogs that are not 'agregators'. Remove some blog info related dead code. Uriel 2008-09-30 10:41:10 +02:00
  • 92c0e7b4d5 Use /tmp to store temporay sitemap.txt files Uriel 2008-09-26 14:48:31 +02:00
  • 3d3df98d31 Experimental comments system Uriel 2008-09-26 14:23:19 +02:00
  • 272840da52 Syntax fix and other minnor improvements Uriel 2008-09-26 11:09:18 +02:00
  • 1f376ad60a Further cleanup and code reorganization, move generic cgi related functions to cgilib.rc, start to add code to be used for handing comments and wiki editing. Uriel 2008-09-26 10:35:12 +02:00
  • ff35f9ebf6 Big reorganization of blog and rss code, now much better integrated with the rest of the handler system, plus fixed a few bugs along the way. This will make it easier to add things like .atom feeds and comments later. Uriel 2008-09-25 11:06:14 +02:00
  • 692f272645 Dynamically generate a sitemap.txt when the sitemap page is requested Uriel 2008-09-25 11:04:57 +02:00
  • 842dc4e0cb Add sample Atom feed file as basis for future template. Uriel 2008-09-25 07:02:58 +02:00
  • b6086753db Add master, footer and header templates to lib. Uriel 2008-09-25 07:02:16 +02:00
  • 431b8c7eae Enable search for lib files in deprecated paths only if disableDeprecated is not true. Uriel 2008-09-25 07:01:30 +02:00
  • 83a10c526a Reorganization of included and template files, made more consistent and logical. inc/ is now called lib/, and all non-staic files in pub/ have moved to lib/. Uriel 2008-09-24 20:21:32 +02:00
  • de1d5b1e54 Merge branches Uriel 2008-09-22 11:10:21 +02:00
  • 2a4ff92bd6 Minnor updates to README Uriel 2008-09-22 11:09:44 +02:00
  • 7123501859 Rename dummy file in sites/ Uriel 2008-09-22 11:05:02 +02:00
  • 34c8b5435d Added tag LATEST-RELEASE for changeset 308022a5eb91 Uriel 2008-09-22 05:58:27 +02:00