shithub: werc

RSS feed

787cf818 – uriel <uriel@engel.se.cat-v.org> authored on 2008/12/28 18:42
Two small simplifications to app handling. Specially merge _test and _setup functions into a single _init.

d0d649b9 – uriel <uriel@engel.se.cat-v.org> authored on 2008/12/28 18:40
Remove blog-related code from werc.rc

17a3f5b9 – uriel <uriel@engel.se.cat-v.org> authored on 2008/12/28 16:37
Further progress with blagh app, atom feeds and rss feeds are mostly working.

86cf6b56 – uriel <uriel@engel.se.cat-v.org> authored on 2008/12/28 15:20
Rename $baseuri to $base_url

48db5a9c – uriel <uriel@engel.se.cat-v.org> authored on 2008/12/28 06:52
Replace 404_handler with a direct call to tpl_handler.

cf074093 – uriel <uriel@engel.se.cat-v.org> authored on 2008/12/28 06:51
Minor comment cleanups.

d2861fd8 – uriel <uriel@engel.se.cat-v.org> authored on 2008/12/27 06:53
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.

f909031c – uriel <uriel@engel.se.cat-v.org> authored on 2008/12/27 06:48
Make sure . is in $path, needed when sourcing config files so we can avoid the ./... dance.

94c0205e – uriel <uriel@engel.se.cat-v.org> authored on 2008/12/27 06:47
Further simplification/cleanup.

e9d149ec – uriel <uriel@engel.se.cat-v.org> authored on 2008/12/24 07:19
New blagh app

188a226b – uriel <uriel@engel.se.cat-v.org> authored on 2008/12/24 07:18
New function to pick 'metadata' out of new .md convention for attributes.

3a8421bf – uriel <uriel@engel.se.cat-v.org> authored on 2008/12/24 07:18
Move app handler before default dir listing handler

14dbbf16 – uriel <uriel@engel.se.cat-v.org> authored on 2008/12/24 04:36
Replace stat(1) with mtime(1) (disabled code for now)

6af551c9 – uriel <uriel@engel.se.cat-v.org> authored on 2008/12/21 05:15
Added tag LATEST-RELEASE for changeset 9928c3b66873

f811e657 – uriel <uriel@engel.se.cat-v.org> authored on 2008/12/21 05:15
New release

70ed9a45 – uriel <uriel@engel.se.cat-v.org> authored on 2008/12/21 04:47
Only call select_apps if enabled_apps is not null.

f9707f32 – uriel <uriel@engel.se.cat-v.org> authored on 2008/12/21 04:37
Add sample 'hello world' app and enabled_apps config variable.

db0bd05e – uriel <uriel@engel.se.cat-v.org> authored on 2008/12/21 04:37
Comment out unused line.

ad9ac1c1 – uriel <uriel@engel.se.cat-v.org> authored on 2008/12/20 19:13
Style consistency fixes around bin/aux/* and bin/contrib/*

f40bff88 – uriel <uriel@engel.se.cat-v.org> authored on 2008/12/20 19:08
Explicitly call awk when running template.awk so we can use p9p's awk if available and improve portability to native Plan 9.

56b994b4 – uriel <uriel@engel.se.cat-v.org> authored on 2008/12/20 17:56
New html_handler that replaces gnu/sed with awk by sqweek, sorry for taking so long and thanks!

a1eb9e24 – uriel <uriel@engel.se.cat-v.org> authored on 2008/12/20 17:36
Add timezone to blog posts date, thanks to dho for the original patch.

8149c041 – uriel <uriel@engel.se.cat-v.org> authored on 2008/12/20 17:29
Tiny style fix.

44a318e2 – uriel <uriel@engel.se.cat-v.org> authored on 2008/12/20 08:31
Reorg debug printouts a bit.

b22c5073 – uriel <uriel@engel.se.cat-v.org> authored on 2008/12/20 08:20
Sitemap improvemnts and cleanups:

2b31fa78 – uriel <uriel@engel.se.cat-v.org> authored on 2008/12/20 08:15
Move trailing * executable market strpping to dirfilter.

d212cd5e – uriel <uriel@engel.se.cat-v.org> authored on 2008/12/20 01:32
Make coding style more consistent.

1f53110e – uriel <uriel@engel.se.cat-v.org> authored on 2008/12/20 00:46
A couple of minor code simplifications and add a comment about some code that probably should be killed.

b862d004 – uriel <uriel@engel.se.cat-v.org> authored on 2008/12/19 22:42
Simplification of sidebar code: do away with fn menu, and merge code directly into gensidebar.

6d6caadf – uriel <uriel@engel.se.cat-v.org> authored on 2008/12/19 21:57
Simplify dir listing handler, and deal better with corner cases.

fe8bbc2c – uriel <uriel@engel.se.cat-v.org> authored on 2008/12/19 21:18
Make sites/ dir configurable.

c412aeda – uriel <uriel@engel.se.cat-v.org> authored on 2008/12/19 21:08
First bits of minimal 'modular' app framework, move some blog code out of werc.rc and other minnor code cleanups.

cade4179 – uriel <uriel@engel.se.cat-v.org> authored on 2008/12/16 03:12
Merge

cc8cf1e4 – sl <uriel@engel.se.cat-v.org> authored on 2008/12/16 02:08
Merge tags

49d389ea – sl <uriel@engel.se.cat-v.org> authored on 2008/12/16 02:08
Add comment noting a possible bug in fproc.

36755242 – sl <uriel@engel.se.cat-v.org> authored on 2008/12/16 02:02
Make fproc more reliable (fool-proof).

f9c038af – uriel <uriel@engel.se.cat-v.org> authored on 2008/12/15 22:46
Tab/spaces consistency in atom template.

e58c3bfe – uriel <uriel@engel.se.cat-v.org> authored on 2008/12/15 22:45
Fix and cleanup dir listing regexp.

6a05ef6b – uriel <uriel@engel.se.cat-v.org> authored on 2008/12/13 15:22
Added tag LATEST-RELEASE for changeset 6a6219ae0384

750c7b34 – uriel <uriel@engel.se.cat-v.org> authored on 2008/12/13 15:22
New release

f50734a6 – sl <uriel@engel.se.cat-v.org> authored on 2008/12/13 11:16
Fix: don't completely delete 'sort helper' delimiter, revert it back to a '/', and coalesce any extra '/' for tidiness

e45824d3 – uriel <uriel@engel.se.cat-v.org> authored on 2008/12/13 11:58
Fix sortedBlogPostList to handle paths containing a '.', and strip the '/./' used as a sort delimiter from output

04da70c7 – uriel <uriel@engel.se.cat-v.org> authored on 2008/12/11 21:25
Fix bug in crop_text, and allow to set the 'ellipsis' text ('...' by default)

159d4eb8 – uriel <uriel@engel.se.cat-v.org> authored on 2008/12/11 21:24
Clean up atom feed template a bit.

141fdd0d – sl <uriel@engel.se.cat-v.org> authored on 2008/12/11 16:39
Make markdown.pl(!?) happy, not sure why or how.

739a87e1 – sl <uriel@engel.se.cat-v.org> authored on 2008/12/11 16:38
Fix and simplify code that generates rss/atom urls. Now it handles urls in / properly.

9f45db11 – uriel <uriel@engel.se.cat-v.org> authored on 2008/12/02 06:38
Fix stupid typo, thanks 9soul for the catch!

3a4faa9d – uriel <uriel@engel.se.cat-v.org> authored on 2008/12/02 03:06
Tentative fix for post link URLs, thanks 9soul for reporting and first try at fixing it.

01626cf3 – uriel <uriel@engel.se.cat-v.org> authored on 2008/11/29 11:20
Improve dirfilter, simplified and made more reliable. Also strip trailing * from ls -F output (not sure if this should be added to dirfilter itself.

6c0f2001 – uriel <uriel@engel.se.cat-v.org> authored on 2008/11/29 10:24
Merge tags

0feb54f6 – uriel <uriel@engel.se.cat-v.org> authored on 2008/11/29 10:23
Fix typo in dirfilter, thanks to soul9 for finding this!

197f4d97 – uriel <uriel@engel.se.cat-v.org> authored on 2008/11/27 06:36
Added tag LATEST-RELEASE for changeset 5b215822ce6d

df8500e3 – uriel <uriel@engel.se.cat-v.org> authored on 2008/11/27 06:36
New release

d41eac7b – uriel <uriel@engel.se.cat-v.org> authored on 2008/11/25 23:56
Add atom feeds, still needs some cleanup, but seems to mostly work.

a3f5b4ba – uriel <uriel@engel.se.cat-v.org> authored on 2008/11/25 23:50
New helper function: crop_text

e1a653d8 – uriel <uriel@engel.se.cat-v.org> authored on 2008/11/23 17:31
Allow to hide 'by line' in blog posts by setting blogAuthor to ''.

a77c9544 – uriel <uriel@engel.se.cat-v.org> authored on 2008/11/20 00:21
Fix display of dir_listing_handler headers. Thanks to soul9 and mycroftiv for reporting this.

c6935b93 – uriel <uriel@engel.se.cat-v.org> authored on 2008/11/15 15:44
Update blog post code, use new check_user function and remove now superfluous get_user call, thanks 9soul for the report!

25faa49d – uriel <uriel@engel.se.cat-v.org> authored on 2008/11/15 15:38
Remove leftover from old name for blog app (now 'brag')

ab030344 – uriel <uriel@engel.se.cat-v.org> authored on 2008/11/15 15:30
Update dirfilter to hide .html .txt and .tpl indexes from listing too.

f7a4596a – uriel <uriel@engel.se.cat-v.org> authored on 2008/10/29 02:25
Remove some left over headers from default headers.tpl

707630cf – uriel <uriel@engel.se.cat-v.org> authored on 2008/10/27 21:42
Merge branches.

b21914ed – uriel <uriel@engel.se.cat-v.org> authored on 2008/10/27 21:41
Update README, s/controller/werc/

53b8d0ad – uriel <uriel@engel.se.cat-v.org> authored on 2008/10/27 21:39
Update README s/controller/werc/

9a68b517 – uriel <uriel@engel.se.cat-v.org> authored on 2008/10/27 21:21
Added tag LATEST-RELEASE for changeset 83f3423f678a

d9b87835 – uriel <uriel@engel.se.cat-v.org> authored on 2008/10/27 21:21
New release

cb525c91 – uriel <uriel@engel.se.cat-v.org> authored on 2008/10/26 20:41
New menu implementation, removes the recursive calls to rc/awk, also makes use of dirfilter more consistent and simplifies some code.

a9c97770 – uriel <uriel@engel.se.cat-v.org> authored on 2008/10/26 01:29
Use explicitly relative paths when sourcing now that . is not in path

615ddef2 – uriel <uriel@engel.se.cat-v.org> authored on 2008/10/26 00:58
Add back /usr/bin/ to default path (/usr/bin/awk makes us actually less portable *sigh*)

86407394 – uriel <uriel@engel.se.cat-v.org> authored on 2008/10/26 00:29
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

2a1b90b3 – uriel <uriel@engel.se.cat-v.org> authored on 2008/10/26 00:27
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

c4248c37 – uriel <uriel@engel.se.cat-v.org> authored on 2008/10/26 00:02
Make some corrections to default initrc comments and update to use the renamed md_cache.rc

ffef948a – uriel <uriel@engel.se.cat-v.org> authored on 2008/10/25 23:37
Mark gensitemaptxt.rc as deprecated

07f70447 – uriel <uriel@engel.se.cat-v.org> authored on 2008/10/24 00:19
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.

9a2300d0 – uriel <uriel@engel.se.cat-v.org> authored on 2008/10/22 05:21
Update blog posting code to use new auth api, also create _apps/brag/

cb93d332 – uriel <uriel@engel.se.cat-v.org> authored on 2008/10/22 05:20
Minor improvements to user login template to use new user auth api

f0a9a6d6 – uriel <uriel@engel.se.cat-v.org> authored on 2008/10/22 05:20
Improvements to wiki and comments code, take advantage of improvements in user auth interfaca

dddf12c5 – uriel <uriel@engel.se.cat-v.org> authored on 2008/10/22 05:18
Improvements to auth code, now the interface and implemenation are much cleaner.

d83c0aee – uriel <uriel@engel.se.cat-v.org> authored on 2008/10/22 05:17
Update comments code to use new comment dir format and the new user auth system

b1b24632 – uriel <uriel@engel.se.cat-v.org> authored on 2008/10/21 12:59
Add edit template for dirdir

134e75cd – uriel <uriel@engel.se.cat-v.org> authored on 2008/10/21 12:38
Merge tags

52c5d474 – uriel <uriel@engel.se.cat-v.org> authored on 2008/10/21 12:37
Add login link to default footer

d6c51f8b – uriel <uriel@engel.se.cat-v.org> authored on 2008/10/21 12:37
Add optional wiki sidebar

9212f4b6 – uriel <uriel@engel.se.cat-v.org> authored on 2008/10/21 12:37
New req_path var

2845f7d9 – uriel <uriel@engel.se.cat-v.org> authored on 2008/10/21 12:36
Replace debug and 'false' calls with setting $status

877b014a – uriel <uriel@engel.se.cat-v.org> authored on 2008/10/21 12:31
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

a0e1c9f5 – uriel <uriel@engel.se.cat-v.org> authored on 2008/10/18 21:24
Added tag LATEST-RELEASE for changeset 732be9c66be6

d88598cf – uriel <uriel@engel.se.cat-v.org> authored on 2008/10/18 21:24
New release

733c0f37 – uriel <uriel@engel.se.cat-v.org> authored on 2008/10/17 23:40
Add initial templates for user login and blog post entry.

67285813 – uriel <uriel@engel.se.cat-v.org> authored on 2008/10/17 23:39
Allow to set extra http headers!

72475062 – uriel <uriel@engel.se.cat-v.org> authored on 2008/10/17 23:36
Replace debug_handler with a template.

00991322 – uriel <uriel@engel.se.cat-v.org> authored on 2008/10/17 23:32
Replace blog_dir_handler with a template in lib/feeds/html.tpl

3f89cfc1 – uriel <uriel@engel.se.cat-v.org> authored on 2008/10/17 23:26
Many big changes:

2cb54b9f – uriel <uriel@engel.se.cat-v.org> authored on 2008/10/14 04:15
Minnor READMe/TODO updates

1f64d2d6 – uriel <uriel@engel.se.cat-v.org> authored on 2008/10/14 02:59
Make rc happy and comment work in progress code

5ad6bbe3 – uriel <uriel@engel.se.cat-v.org> authored on 2008/10/13 21:59
More minnor comment and code formatting changes

6976b1fa – uriel <uriel@engel.se.cat-v.org> authored on 2008/10/13 21:49
Fix bug where blogDir wouldn't be set properly

68871120 – uriel <uriel@engel.se.cat-v.org> authored on 2008/10/13 21:48
Minnor comment change

9b2054f1 – uriel <uriel@engel.se.cat-v.org> authored on 2008/10/13 21:46
If we get a request for a .html file, redirect to the 'canonical' url for that file

d52d0b75 – uriel <uriel@engel.se.cat-v.org> authored on 2008/10/13 21:40
Minnor code format and comment cleanups, remove duplicated code

Next