Commit Graph

514 Commits

Author SHA1 Message Date
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
uriel
862e0706b1 Minor CSS cosmetic fix, add white left-border to sidebar items so their width doesn't change on hover. 2009-03-06 01:35:06 +00:00
uriel
584364a3d4 Reverse the RSS/ATOM discovery tag order, make ATOM the default. 2009-03-06 00:15:26 +00:00
uriel
6b483de1a4 Add files in sites/default.cat-v.org/ as complement to sites/werc.cat-v.org/ 2009-03-06 00:03:41 +00:00
uriel
467a5ce15c Update nhttpd setup docs. 2009-03-06 00:02:53 +00:00
uriel
11fb85c016 Added tag LATEST-RELEASE for changeset 884e94ecf23c 2009-03-05 23:56:32 +01:00
uriel
c5348127bb New release 2009-03-05 23:56:32 +01:00
uriel
ff0d26117f Merge 2009-03-04 09:03:09 +00:00
uriel
8f3cbc3b0d Only display Edit button when no other handler_body_main has been set (ie., if file really doesn't exist). 2009-03-04 09:05:40 +01:00
uriel
d21e6caeb7 Implement file creation for dirdir. 2009-03-04 03:12:54 +01:00
uriel
bd8c80efa3 Correct <ul> and <li> nesting in navigation sidebar. 2009-03-03 22:34:26 +00:00
uriel
467b4182d4 Revert the <ul> fix which was not really correct, and fix another missing </li>. 2009-03-03 22:04:17 +00:00
uriel
009b173ebd Stop generating an extra superfluous <ul></ul> in sidebar menu. 2009-03-03 21:38:22 +00:00
uriel
a2d3a65c2a Add mising </p>. 2009-03-03 21:37:36 +00:00
uriel
83bb3e1088 Exit after printing http headers if request method is HEAD. 2009-03-03 20:24:25 +00:00
uriel
669e9355b9 Cosmetic code fix. 2009-03-03 20:23:51 +00:00
uriel
2f3b982ff0 Preserve ifs when calling other functions after temporary altering it. Fixes a couple of minor bugs.
Added difs env var that can be used anywhere to restore default ifs.
2009-03-03 20:23:00 +00:00
uriel
5a1f4aafb0 Further cleanup and simplification of redirect code. 2009-03-03 13:15:46 +00:00