Commit Graph

702 Commits

Author SHA1 Message Date
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
uriel
3df8d389bb Documentation updates. 2009-03-03 12:32:39 +00:00
uriel
2a6f78ec4e New link_bar handler to be used in sidebars. 2009-03-03 12:32:03 +00:00
uriel
d93e9b1bf8 Style and html fixes for user login template. 2009-03-02 16:46:23 +00:00
uriel
cd21ca3429 Documentation updates. 2009-02-28 14:02:34 +00:00
uriel
ef8436e44f Groups are now simply users with a /members file with one member per file. 2009-02-28 13:27:16 +00:00
uriel
8c791b98ba Rename $blog_editors to $conf_blog_editors and give it the default value of 'blog-editors'. 2009-02-28 13:26:40 +00:00
uriel
a9d9828727 Be more careful when checking passwords, make sure that the password file exists and is not empty. 2009-02-28 12:56:13 +00:00
uriel
4278097581 Merge. 2009-02-27 22:39:19 +00:00
uriel
a32b568f63 Minor style changes. 2009-02-27 22:38:55 +00:00
uriel
4dfa1cfffc Site config minor simplification. 2009-02-26 11:51:22 +01:00
uriel
d82369e644 Big overhaul of dirdir rewriting most code to be much simpler, reliable and efficient.
Now we have a wiki engine in ~20 lines of code!
2009-02-26 11:50:18 +01:00
uriel
8633c51515 Make bridge app more correct: only activated when GET-ing pages which can have comments and don't get confused by other apps POSTs. Simplify code along the way. 2009-02-26 11:42:20 +01:00