Commit Graph

531 Commits

Author SHA1 Message Date
uriel
7f12eb95a8 Strip title from rss/atom 'summary'(ie., body).
This used to look really ugly in most feed readers.
2009-06-13 15:59:43 +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
861c35f7d5 Allo to set blagh conf_ options from initrc.local as well. 2009-06-12 23:59:47 +02:00
uriel
0cf525b85d Optimization/fix to only pass the content of all blog posts at once to $formatter
This seems to some how fix a strange bug I have seen on my test setup, need to investigate more.
2009-06-12 23:56:48 +02:00
uriel
cd07f595c8 Merge tags. 2009-06-12 23:45:27 +02:00
uriel
bcbdb852f2 New configuration variable for blagh: conf_max_posts_per_page sets the maximum numbers to display in a blog feed, default is 32. Note that this also affects rss feeds. 2009-06-12 23:44:21 +02:00
uriel
76014cf63e Added tag LATEST-RELEASE for changeset 9fc8f17498d1 2009-06-10 04:23:16 +02:00
uriel
1114422292 New release 2009-06-10 04:23:16 +02:00
uriel
85e7156d9d Urldecode '_' (ie., %5F) in request paths to make stackoverflow.com links happy. 2009-06-10 02:58:36 +02:00
uriel
a745a8bd28 I'm a retard, fix brown paper bag bug from the last commit. 2009-06-07 10:40:35 +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
8f1a306a8a Add a simple wrapper to log stderr in broken http servers. 2009-06-06 16:15:56 +02:00
uriel
9c37554a9f Optimization: avoid using a temporary file to calculate the hash in md_handler. 2009-06-01 07:00:11 +02:00
uriel
939eec5452 Add hiawatha sample config. 2009-05-31 11:46:28 +00:00
uriel
808c48d7f0 Documentation spelling fixes. 2009-05-31 04:52:59 +00:00
uriel
5ab035a922 Document setup for nginx. 2009-05-31 06:48:48 +02:00
uriel
58b48192a4 Move setup of main handler for 404 to a setup_404_handler function that can be more easily overriden, for example from config files! 2009-05-29 10:07:01 +00:00
uriel
310c350d3f Do not set handler if man page doesn't exist so we can provide proper 404 (or other fall-back)
Make 'Intro' page title fixing case-insensitive to deal with Plan B man pages.
2009-05-29 10:04:27 +00:00
uriel
013523e980 Minor update to 'Add This' link in site's top header. 2009-05-28 22:00:28 +00:00
uriel
6e52eed94b Don't add extra / to url when we redirect to proper path in wman 2009-04-19 23:56:05 +00: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
db26c83407 Add missing new line separating http headers from body, thanks Nsz and Arg for pointing this regresion. 2009-03-21 21:08:49 +01:00
uriel
8631689bcc Fix umask for newly created dirdir pages. 2009-03-17 01:02:35 +00:00
uriel
9facd7c1b1 Fix null concat in wman search code. 2009-03-16 23:42:44 +00:00
uriel
2c2a0e20a8 Added tag LATEST-RELEASE for changeset e0679b8be504 2009-03-15 18:41:09 +01:00
uriel
e63e2acead New release 2009-03-15 18:41:09 +01:00
uriel
0ccee39ddb Add comment on auth docs to review in the futre. 2009-03-14 14:32:22 +01:00
uriel
4e00043ef0 Clean up dirdir, less code, and less bugs! 2009-03-14 14:25:54 +01:00
uriel
10477bcbb4 Rewrite redirect handling code with nested lists.
New ll_addh to add items to the head of a nested list (use with care!).
2009-03-14 00:28:34 +01: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
e562e98824 Change the order in which redirects are evaluated, so one can override them on config files. 2009-03-13 10:51:43 +00:00
uriel
a068071801 More wman updates, new search functionality and handle better corner cases. 2009-03-13 10:51:07 +00:00
uriel
ecd3ab13aa Yet another version of wman, templatized, and now Unix man pages use the same path style as Plan 9/Inferno. 2009-03-10 01:16:13 +00:00
uriel
627a0024b2 Big update to wman app. Many fixes and improvements. 2009-03-09 22:16:39 +00:00
uriel
fc307bb7b7 Remove add_synth_paths function, not really needed, can manipulate variable directly for now. 2009-03-09 22:16:11 +00:00
uriel
bb891e524b Doc and website fixes. 2009-03-09 22:10:26 +00:00
uriel
232aefb7ff Fix a bug where check_user would not work properly when called from config files. 2009-03-09 22:08:22 +00:00
uriel
812ffcf8aa New api to allow 'synthetic' dirs, only for sidebar for now. 2009-03-08 23:58:49 +01:00
uriel
87a5e54723 Ok, I give up, reverting part of last checking because CSS sucks.
Also make style of top-mini-bar more minimal.
2009-03-07 23:14:33 +00:00
uriel
049b761355 Make sidebar borders more light, and remove a superfluous double-border. 2009-03-07 21:53:55 +00:00
uriel
159dd5d171 Minmal docs for wman. 2009-03-07 21:20:22 +00:00
uriel
3bbbd04f2d Minor docs update. 2009-03-06 17:34:34 +00:00
uriel
5b3f2400dc Remove trailing / from path elements to make nsz happy 2009-03-06 16:58:51 +00:00
uriel
4abcd9fe5b First draft of wman app to browse and display manpages. 2009-03-06 16:32:33 +00:00
uriel
da09237e09 Ops, uncomment the IE6 hack. 2009-03-06 02:53:42 +00:00
uriel
6934f8bdfa Update TODO 2009-03-06 02:24:26 +00:00
uriel
927c4c9017 Simplify unused code. 2009-03-06 02:24:11 +00:00
uriel
1e51629dc4 Comment on how this IE hack makes other browsers ugly. 2009-03-06 02:23:35 +00:00