shithub: werc

RSS feed

19d6aa26 – uriel <uriel@engel.se.cat-v.org> authored on 2009/01/10 23:02
- New static_file and select_mime functions.

34820f18 – uriel <uriel@engel.se.cat-v.org> authored on 2009/01/10 12:34
Fix sitemap.tpl to use the new split dirfilter

c1bfeb11 – uriel <uriel@engel.se.cat-v.org> authored on 2009/01/10 00:23
Handle static files! (Should only be used as a fallback if static files are not handled by httpd)

6fdcbd3a – uriel <uriel@engel.se.cat-v.org> authored on 2009/01/09 23:57
Move top header/title generation for werc.rc to default template.

a1da6cc5 – uriel <uriel@engel.se.cat-v.org> authored on 2009/01/08 22:08
Minor reorg of handler selection, move comment code to bridge app.

2f73d1cc – uriel <uriel@engel.se.cat-v.org> authored on 2009/01/08 21:06
Awk_buffer does seem to improve things a bit, but changed the buffer side to an empirically determined value.

fc6cf885 – uriel <uriel@engel.se.cat-v.org> authored on 2009/01/08 21:03
Delete some debug code in a function that is not used yet.

6b816eea – uriel <uriel@engel.se.cat-v.org> authored on 2009/01/08 11:48
Very minor style fixes, and obfuscate local var in ll_add.

6c484dec – uriel <uriel@engel.se.cat-v.org> authored on 2009/01/08 11:46
Add nested lists rc helper

41bc14de – uriel <uriel@engel.se.cat-v.org> authored on 2009/01/07 18:50
Minor optimizations and reliability improvments to fproc_cache.

2d6dca48 – uriel <uriel@engel.se.cat-v.org> authored on 2009/01/05 00:49
Make tabs/spaces indentation consistent.

a4fde198 – uriel <uriel@engel.se.cat-v.org> authored on 2009/01/05 00:48
Two other minor code formating changes for readability.

b7275e2d – uriel <uriel@engel.se.cat-v.org> authored on 2009/01/05 00:46
Remove a debug tee(1) and split sidebar ls pipeline in three lines to make it more readable.

9e62f9b8 – uriel <uriel@engel.se.cat-v.org> authored on 2009/01/05 00:41
Make perm redirect code a bit simpler and a bit less hideous.

c7266dcc – uriel <uriel@engel.se.cat-v.org> authored on 2009/01/04 18:24
Fix stupid bug in last commit.

d97b856b – uriel <uriel@engel.se.cat-v.org> authored on 2009/01/04 18:21
Simplify and optimize some of the canonical-url-redirections.

5b1239bd – uriel <uriel@engel.se.cat-v.org> authored on 2009/01/04 17:49
Simplify genbody/set_handler and reorg some env vars, including moving sitedirs/sitedir out of default initrc.

d3824bd9 – uriel <uriel@engel.se.cat-v.org> authored on 2009/01/04 03:32
Tag merge.

cba00e07 – uriel <uriel@engel.se.cat-v.org> authored on 2009/01/04 02:57
Very minor dirfilter cleanups and some extra comments.

53c303ff – uriel <uriel@engel.se.cat-v.org> authored on 2009/01/03 22:59
Simplify .txt handler, and remove double spacing, if lines are too close we should use css to space them.

a2754a9e – uriel <uriel@engel.se.cat-v.org> authored on 2009/01/02 21:02
More consistent use of dirfilter in sidebar code.

89ae100e – uriel <uriel@engel.se.cat-v.org> authored on 2009/01/02 21:01
Style fixes to default template

cbde1eab – uriel <uriel@engel.se.cat-v.org> authored on 2009/01/02 15:20
Added tag LATEST-RELEASE for changeset 2a3ffd2518b8

59df718c – uriel <uriel@engel.se.cat-v.org> authored on 2009/01/02 15:20
New release

8cbc247e – uriel <uriel@engel.se.cat-v.org> authored on 2009/01/02 11:51
Delete some deprecated code left over from the old blog system.

eca96ac1 – uriel <uriel@engel.se.cat-v.org> authored on 2009/01/02 11:49
Minnor change, merge two lines and add a comment from the old blog code.

f0683157 – uriel <uriel@engel.se.cat-v.org> authored on 2009/01/01 03:14
Fix handling of _werc/config in domain root.

ed02341b – uriel <uriel@engel.se.cat-v.org> authored on 2008/12/30 19:16
Move $local_path deffinition to a more correct place.

e48ae260 – uriel <uriel@engel.se.cat-v.org> authored on 2008/12/30 19:16
Minor code simplificaton.

fa39c5d2 – uriel <uriel@engel.se.cat-v.org> authored on 2008/12/28 19:04
Enable blagh app by default

6b307b7e – uriel <uriel@engel.se.cat-v.org> authored on 2008/12/28 18:44
Update template to use new variable names.

c2eb3b5c – uriel <uriel@engel.se.cat-v.org> authored on 2008/12/28 18:43
Fix blagh_init to fail when we should fail.

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

Next