Commit graph

14 commits

Author SHA1 Message Date
Uriel
01876141f3 Properly handle dashes in paths the same way we treated underscores when generating page titles. This includes sitemaps, sidebar nav trees and the page title header itself. 2009-07-19 08:01:42 +02:00
Uriel
c0689e595a I'm a retard, fix brown paper bag bug from the last commit. 2009-06-07 10:40:35 +02:00
Uriel
e91609e301 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
e8cd9a1978 Optimization: avoid using a temporary file to calculate the hash in md_handler. 2009-06-01 07:00:11 +02:00
Uriel
1d320ebf61 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
29ecc0b153 Remove add_synth_paths function, not really needed, can manipulate variable directly for now. 2009-03-09 22:16:11 +00:00
Uriel
b1df2966e3 New api to allow 'synthetic' dirs, only for sidebar for now. 2009-03-08 23:58:49 +01:00
Uriel
feb444fc1c Correct <ul> and <li> nesting in navigation sidebar. 2009-03-03 22:34:26 +00:00
Uriel
547f98328f Revert the <ul> fix which was not really correct, and fix another missing </li>. 2009-03-03 22:04:17 +00:00
Uriel
54395f790d Stop generating an extra superfluous <ul></ul> in sidebar menu. 2009-03-03 21:38:22 +00:00
Uriel
a4c7445523 New link_bar handler to be used in sidebars. 2009-03-03 12:32:03 +00:00
Uriel
2313a0851b Minor style changes. 2009-02-27 22:38:55 +00:00
Uriel
e77352dafc In the sidebar tree, remove sitedir *after* we apply dirfilter. 2009-02-21 00:03:11 +00:00
Uriel
e084b89cae Reorg code in five source files: werc.rc, cgilib.rc, corehandlers.rc, wercconf.rc and werclib.rc. 2009-02-01 20:06:51 +01:00