uriel
b4cc8905a0
Handle extraHeaders being nil.
2009-02-01 20:04:28 +01:00
uriel
e65da1c486
Cosmetic improvements to login form and error msg.
2009-01-30 15:18:07 +01:00
uriel
829e3e36b0
Move form templates to where they blong.
2009-01-26 04:10:02 +01:00
uriel
0fb040dd2a
Cosmetic html fixes to user login form.
2009-01-26 04:09:23 +01:00
uriel
e6bc2ae37d
Improve the debug shell a bit.
2009-01-25 16:42:22 +01:00
uriel
0aa02bc15d
Add -s, print status when a command sets it.
2009-01-25 15:42:56 +01:00
uriel
4302232dd0
Add some comments and replace get_post_args with load_post_args
2009-01-24 07:11:39 +01:00
uriel
307d38e6ef
blaghDirs is now blagh_dirs.
2009-01-23 16:45:48 +01:00
uriel
c815037b70
Update urls to linke to werc.cat-v.org
2009-01-21 09:27:35 +00:00
uriel
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/
2009-01-20 03:38:48 +01:00
uriel
cb73d98fd8
Dirdir wiki engine updates, cleaned up some code, now one can save from preview page.
2009-01-17 09:43:31 +01:00
uriel
56328cc611
Cosmetic changes to default_master.tpl
2009-01-17 09:40:00 +01:00
uriel
6aac4ce54c
Make left sidebar into a list of handlers.
2009-01-17 03:05:19 +01:00
uriel
80b80bfc8d
Update atom and rss templates to work with new blagh format.
2009-01-13 03:20:30 +01:00
uriel
679fefacac
Various small cleanups: remove unused code, clarity and reliability fixes here and here, move code to more appropriate locations, improve some comments.
2009-01-12 02:07:31 +01:00
uriel
bf16d2b4c8
Handler interface reorg, take oportunity to cleanup default_master.tpl and move comments bits to bridge app.
2009-01-11 04:03:46 +01:00
uriel
619ab918ab
Fix sitemap.tpl to use the new split dirfilter
2009-01-10 17:34:56 +01:00
uriel
65598e15d1
Move top header/title generation for werc.rc to default template.
2009-01-10 04:57:41 +01:00
uriel
5777383b25
Style fixes to default template
2009-01-03 02:01:42 +01:00
uriel
f2b2c6dba9
Update template to use new variable names.
2008-12-28 23:44:03 +01:00
uriel
a7dadbf916
Further progress with blagh app, atom feeds and rss feeds are mostly working.
2008-12-28 21:37:03 +01:00
uriel
08d6044274
Rename $baseuri to $base_url
2008-12-28 20:20:48 +01:00
uriel
25995097ed
Replace stat(1) with mtime(1) (disabled code for now)
2008-12-24 09:36:52 +01:00
uriel
8f5015605d
Comment out unused line.
2008-12-21 09:37:14 +01:00
uriel
850e3ec5b9
Sitemap improvemnts and cleanups:
...
- Avoid nedless tests
- Replace reference to /bin/sed with faster, simpler and probably more correct plan9 sed call.
- Move inline html styling to style.css
- Various code cleanups, bring source style in line with other werc source.
2008-12-20 13:20:31 +01:00
uriel
10a7bdfc86
Tab/spaces consistency in atom template.
2008-12-16 03:46:19 +01:00
uriel
f1df14a011
Clean up atom feed template a bit.
2008-12-12 02:24:19 +01:00
uriel
e8a1787542
Make markdown.pl(!?) happy, not sure why or how.
2008-12-11 21:39:07 +00:00
uriel
1b404fd71d
Fix stupid typo, thanks 9soul for the catch!
2008-12-02 11:38:45 +01:00
uriel
202b26ca46
Tentative fix for post link URLs, thanks 9soul for reporting and first try at fixing it.
2008-12-02 08:06:07 +01:00
uriel
757f051c52
Add atom feeds, still needs some cleanup, but seems to mostly work.
2008-11-26 04:56:39 +01:00
uriel
e14abaf86c
Update blog post code, use new check_user function and remove now superfluous get_user call, thanks 9soul for the report!
2008-11-15 20:44:34 +01:00
uriel
8ac8f1eb4c
Remove leftover from old name for blog app (now 'brag')
2008-11-15 20:38:42 +01:00
uriel
584060f412
Remove some left over headers from default headers.tpl
2008-10-29 06:25:20 +01:00
uriel
def444ac29
New menu implementation, removes the recursive calls to rc/awk, also makes use of dirfilter more consistent and simplifies some code.
...
Other minnor cleanups.
2008-10-27 00:41:23 +01:00
uriel
2cf3a1ef2f
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.
2008-10-24 04:19:29 +02:00
uriel
dd7dbf028e
Update blog posting code to use new auth api, also create _apps/brag/
2008-10-22 09:21:53 +02:00
uriel
17a06ccfa3
Minor improvements to user login template to use new user auth api
2008-10-22 09:20:50 +02:00
uriel
d6536ea079
Improvements to wiki and comments code, take advantage of improvements in user auth interfaca
2008-10-22 09:20:06 +02:00
uriel
ebddb34a4e
Add edit template for dirdir
2008-10-21 16:59:26 +02:00
uriel
6dd409e59b
Add login link to default footer
2008-10-21 16:37:59 +02:00
uriel
e37305f63b
Add optional wiki sidebar
2008-10-21 16:37:43 +02:00
uriel
0b80637fe4
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
2008-10-21 16:31:22 +02:00
uriel
d5e9b2dcb0
Add initial templates for user login and blog post entry.
2008-10-18 03:40:30 +02:00
uriel
cb1cd1f2f9
Allow to set extra http headers!
2008-10-18 03:39:39 +02:00
uriel
02d615d015
Replace debug_handler with a template.
2008-10-18 03:36:22 +02:00
uriel
4fdbace4ec
Replace blog_dir_handler with a template in lib/feeds/html.tpl
2008-10-18 03:32:13 +02:00
uriel
d5e8c705ed
Add trailing / for directories in sitemap to make google crawler happy
2008-10-12 22:41:40 +00:00
uriel
55f7abf2e5
Add comment to in progress atom template for future reference
2008-10-10 02:08:58 +00:00
uriel
72f3dbc144
Brown paper bag bugfix, make rss feeds work again!
2008-09-30 15:28:48 +02:00