Commit graph

466 commits

Author SHA1 Message Date
Uriel
c9b9e4e9bf 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
d12c13ee25 Further cleanup and simplification of redirect code. 2009-03-03 13:15:46 +00:00
Uriel
e74f2966ca Documentation updates. 2009-03-03 12:32:39 +00:00
Uriel
a4c7445523 New link_bar handler to be used in sidebars. 2009-03-03 12:32:03 +00:00
Uriel
94a777ef1f Style and html fixes for user login template. 2009-03-02 16:46:23 +00:00
Uriel
1fafe877e8 Documentation updates. 2009-02-28 14:02:34 +00:00
Uriel
835d392f0c Groups are now simply users with a /members file with one member per file. 2009-02-28 13:27:16 +00:00
Uriel
8c932c3a55 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
32706e97c7 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
2573838f1b Merge. 2009-02-27 22:39:19 +00:00
Uriel
2313a0851b Minor style changes. 2009-02-27 22:38:55 +00:00
Uriel
30a9ac3b00 Site config minor simplification. 2009-02-26 11:51:22 +01:00
Uriel
a3c2c71275 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
b00107e3b8 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
Uriel
b9d64d6bd2 Fix incorrect recording of author on edits. And write a note on a very minnor bug that adds extra new lines at the end of edited files. 2009-02-25 17:15:00 +00:00
Uriel
3933a744b3 Mention file perms in readme. 2009-02-25 17:04:00 +00:00
Uriel
436cf4f131 Improve default sitemap template, including Google's enhanced 404 pages by default. 2009-02-25 05:24:05 +00:00
Uriel
a77855a2ca CSS tunning: Slightly lower default font size, and change vertical align for images in top_bar. 2009-02-24 11:44:22 +00:00
Uriel
32dd50dff9 Add hr abobe comments login request message. 2009-02-23 08:23:35 +00:00
Uriel
525c4afe1f Document updates. 2009-02-23 08:17:42 +00:00
Uriel
c50e12f058 Merge tags. 2009-02-23 05:25:51 +00:00
Uriel
325621e87f Todo updated. 2009-02-23 05:25:29 +00:00
Uriel
c31e6f176a Allow : and , in urls, but strip them and redirect them if they are last char. This fixes some autogenerated links in other sites that will include . and , if they follow an url in an email for example. 2009-02-23 05:25:08 +00:00
Uriel
2b4ec97a23 Added tag LATEST-RELEASE for changeset 8b746644a5fb 2009-02-22 22:26:43 +01:00
Uriel
952f090692 Added tag LATEST-RELEASE for changeset 6edb1b62afba 2009-02-22 22:22:19 +01:00
Uriel
9362293b96 Added tag LATEST-RELEASE for changeset 164d1aec6edc 2009-02-22 22:21:06 +01:00
Uriel
66b6b59dd7 Added tag LATEST-RELEASE for changeset 656fdaf320d6 2009-02-22 22:13:02 +01:00
Uriel
77a65f304c New release 2009-02-22 22:13:02 +01:00
Uriel
6f20bf679b Add reddit button to werc site. 2009-02-21 03:46:37 +00:00
Uriel
001037ee32 Minor TODO notoe: maybe we should treat relative and absolute url redirect arguments differently. 2009-02-21 00:05:30 +00:00
Uriel
492f3b96f1 Atumatically expand conf_hide_paths arguments with $sitedir 2009-02-21 00:04:48 +00:00
Uriel
e77352dafc In the sidebar tree, remove sitedir *after* we apply dirfilter. 2009-02-21 00:03:11 +00:00
Uriel
ef3eeca673 Minor correction to atom and rss link urls. 2009-02-20 23:15:08 +00:00
Uriel
bab24f9cdf Improve the atom and rss templates: fix bugs in link attirbutes, simplify code, and include html posts in rss feeds instead of raw markdown. 2009-02-18 09:28:20 +00:00
Uriel
ac18ad7f4e Add link to ohloh werc page. 2009-02-18 09:27:00 +00:00
Uriel
5f9347f245 Add note to review and compare html post parsing code with another implementation. 2009-02-18 09:26:19 +00:00
Uriel
31006aa484 Add urlencode.awk to contrib/, not used for now. 2009-02-18 09:25:10 +00:00
Uriel
77f2dcce59 Move comments display to a template. Show a link to login page when required for posting comments. 2009-02-16 03:46:21 +00:00
Uriel
47955dd43a Replace switch with series of if, makes the code slightly cleaner, I think. 2009-02-16 02:27:28 +00:00
Uriel
5c9fadef99 Remove xml comments from atom feed output and convert them to rc comments instead. Remove limit on atom post sized. 2009-02-15 14:50:50 +00:00
Uriel
a57e5f6a5a Fix dates display in blogs. 2009-02-14 20:34:23 +00:00
Uriel
b58dcb96ed Correct dirfilter matching of /sitemap.txt and /robots.txt, note that we match them even if not in site root. 2009-02-14 07:26:52 +00:00
Uriel
7ba725cf92 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
af66a69dd9 Minor docs update. 2009-02-14 07:06:10 +00:00
Uriel
a646e5bf99 Fix silly html syntax error that all browsers but opera ignored. 2009-02-13 23:22:02 +00:00
Uriel
58982018d4 Updates to blagh: Allow setting date of new posts, blog-editors default group, provide better error repporting using new notification framework, plus other bug fixes. 2009-02-13 23:21:15 +00:00
Uriel
070ba578f4 Use correct post title in rss feeds. 2009-02-13 23:19:24 +00:00
Uriel
89682cafa1 Fix bug in crop_text and make length argument optional (default is 512 chars). 2009-02-13 23:18:34 +00:00
Uriel
1c4d6ff8bd Minor style change and delete debug print. 2009-02-13 23:17:49 +00:00
Uriel
1f98c49a68 Fix syntax error. 2009-02-13 23:16:56 +00:00