Commit Graph

77 Commits

Author SHA1 Message Date
khm
972f1ba6f1 lib+css: update to html5 tags, classless css 2020-05-25 00:47:51 -07:00
uriel
4cf713e5a6 Start to convert templates to HTML 5 2009-07-19 04:02:30 +02:00
uriel
4b3e31dcce Remove the obsolete feed templates, they were moved to apps/blagh/ a while ago. 2009-06-13 06:28:12 +02:00
uriel
5e2170a691 Move shared .tpl files to tpl/ from lib/, this fixes a DoS vulneravility where master_template.tpl could be accessed as a standalone .tpl file that recursively called itself. 2009-06-06 16:20:02 +02:00
uriel
317e6429dc Add missing </a>. Thanks Josh! 2009-04-19 15:26:26 +00:00
uriel
3110edb0d3 Merge 2009-04-19 15:23:15 +00:00
uriel
2974398d8a Add missing space. 2009-04-19 15:22:33 +00:00
uriel
8a4951c5bb Reorg headers, http headers now are echo-ed from werc.rc instead of being part of headers.tpl.
This fixes some bugs in the handling HEAD and makes things a bit more clear.
2009-03-13 13:04:25 +01:00
uriel
927c4c9017 Simplify unused code. 2009-03-06 02:24:11 +00:00
uriel
83bb3e1088 Exit after printing http headers if request method is HEAD. 2009-03-03 20:24:25 +00:00
uriel
d93e9b1bf8 Style and html fixes for user login template. 2009-03-02 16:46:23 +00:00
uriel
89703c8776 Improve default sitemap template, including Google's enhanced 404 pages by default. 2009-02-25 05:24:05 +00:00
uriel
e0f4f8b5f3 Don't execute perm_redirects directly from conf_perm_redirect to avoid tripping over sitemaps and other code that sources config files but doesn't want to actually *do* anything. Also hide paths with simple or pattern redirects from sitemaps. 2009-02-14 07:09:27 +00:00
uriel
0ae1fb8278 Custom .css styles moved from /_style.css to _werc/pub/style.css 2009-02-13 02:32:24 +00:00
uriel
3c664ef47e Use new conf_enable_... interfaces, this also alos us to make the default for $enabled_apps nil. 2009-02-08 00:23:33 +00:00
uriel
d1426d3ae7 Fix sitemap.txt generation. 2009-02-06 21:20:36 +00:00
uriel
965557e19b Convert fltr_cache into a function. Enable output buffering which had been commented out for unknwon reasons. 2009-02-06 22:09:32 +01:00
uriel
0507bfa482 Rewrite most sitemap generation code, much cleaner, modularize file title/desc extraction, take advantage of new fproc_cache to cache sitemap. 2009-02-06 20:43:11 +01:00
uriel
f5f19776df Make conf_hide_path more flexible, and note a limitation in sitemap dirfilter handling. 2009-02-05 03:16:14 +00:00
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