rich [Sun, 17 Oct 2004 19:43:19 +0000 (19:43 +0000)]
Fixes a couple of personal bugbears:
(1) On the sitemenu, each <li> has an automatically generated, unique ID, to
ease styling.
(2) Sitemenu entries are no longer linked if they refer to the currently
displayed page.
rich [Sun, 17 Oct 2004 17:30:50 +0000 (17:30 +0000)]
Updated MANIFEST.
rich [Sun, 17 Oct 2004 17:30:18 +0000 (17:30 +0000)]
Bumped version for release.
rich [Sun, 17 Oct 2004 17:29:48 +0000 (17:29 +0000)]
New, cleaner stylesheet:
* Added div#content_div around the main content of each page, making
it easier to style that content as a whole.
* New standard stylesheet.
* Indented paragraphs, except for the first paragraph after a heading
or a list.
* Added high contrast, 200% font alternate stylesheet on every page.
* Checked easy web marketing style (easyweb.css) still works.
* Checked execellence style still works.
* Checked Judy's style still works.
* Tested all the above on IE 6.
rich [Sat, 16 Oct 2004 12:12:46 +0000 (12:12 +0000)]
Fixed CSS in the navigation menu in IE. This uses the "* html selector"
bug in IE to ensure the rule only gets applied to IE 5/6.
Bumped version for release.
rich [Fri, 15 Oct 2004 20:11:58 +0000 (20:11 +0000)]
Bumped version for release.
rich [Fri, 15 Oct 2004 20:11:41 +0000 (20:11 +0000)]
Allow src and alt on input buttons in forms - used primarily for <input type=image ...>
rich [Fri, 15 Oct 2004 16:03:00 +0000 (16:03 +0000)]
Refuse to serve deleted files or images to other sites. Stops bandwidth
theft on Wikis.
Send correct Content-Length header for files and images.
Bumped version for release.
rich [Fri, 15 Oct 2004 13:52:48 +0000 (13:52 +0000)]
Bumped for release.
rich [Fri, 15 Oct 2004 12:47:17 +0000 (12:47 +0000)]
Allow username field to be prepopulated.
rich [Thu, 14 Oct 2004 18:05:12 +0000 (18:05 +0000)]
Bumped version for release.
rich [Thu, 14 Oct 2004 18:04:56 +0000 (18:04 +0000)]
Somewhat fundamental and experimental change to the handling of
hostnames. The host.hostname field is now always the actual hostname
that the user arrived on. The host.canonical_hostname field is the
canonical hostname.
rich [Thu, 14 Oct 2004 15:59:11 +0000 (15:59 +0000)]
Bumped version for release.
rich [Thu, 14 Oct 2004 15:57:15 +0000 (15:57 +0000)]
User invites.
Login form is more stern when the site doesn't allow free signups.
Mail2wiki - not working, commented out of the Makefile.
URLs which begin with '/' are now treated as internal URLs relative
to the current site.
Updated MANIFEST.
Updated deps.
rich [Tue, 12 Oct 2004 10:00:36 +0000 (10:00 +0000)]
Command-line tools for importing mail (uses 'curl').
Fixed the ok/error page - multiple HTML problems.
Error page now sets HTTP status code to 400, allowing us to detect
errors programmatically.
rich [Mon, 11 Oct 2004 16:55:45 +0000 (16:55 +0000)]
Added a tool for deleting all imported mail in the Merjis wiki. (Just for testing, obviously ...)
rich [Mon, 11 Oct 2004 16:07:25 +0000 (16:07 +0000)]
Mark up links within the body of the mail.
rich [Mon, 11 Oct 2004 15:21:49 +0000 (15:21 +0000)]
Import all the header fields and the body of the message.
Updated MANIFEST.
Updated deps.
rich [Mon, 11 Oct 2004 14:13:03 +0000 (14:13 +0000)]
BIG, experimental patch.
(1) Factored out the common page creation and editing code into a
separate library. edit.ml now uses this library, although nothing
else does (yet).
(2) Import_mail script (first part of Mail2Wiki) imports mails and
saves them in the database. Much missing at the moment.
(3) Added a 'can_import_mail' permission.
Code now depends on Netstring library (for mail and date parsing).
rich [Sun, 10 Oct 2004 20:57:02 +0000 (20:57 +0000)]
Database support for implementing JWZ's message threading
algorithm. [http://www.jwz.org/doc/threading.html]
When we use mail2wiki to import a message, we will add the subject and
inet message ID to the database.
After importing messages, we will rebuild the thread and subject
indexes for any affected months.
rich [Sun, 10 Oct 2004 19:20:47 +0000 (19:20 +0000)]
Bumped for release.
rich [Sun, 10 Oct 2004 19:19:58 +0000 (19:19 +0000)]
Strict limit on the number of links in the 'what links here' section.
rich [Sun, 10 Oct 2004 16:48:25 +0000 (16:48 +0000)]
Print media fix.
rich [Sun, 10 Oct 2004 16:40:32 +0000 (16:40 +0000)]
If the navigation box would show as empty, disable it.
rich [Sun, 10 Oct 2004 16:31:52 +0000 (16:31 +0000)]
Another critical bug fix.
rich [Sun, 10 Oct 2004 16:29:23 +0000 (16:29 +0000)]
Couple of critical bug fixes. Bumped version for release.
rich [Sun, 10 Oct 2004 16:14:43 +0000 (16:14 +0000)]
Added the navigation box (see email).
Can be configured on a host basis through 'global settings'.
Added separate "recently visited" table and page to show this.
Updated deps.
Updated MANIFEST.
Bumped version number for release.
rich [Sun, 10 Oct 2004 15:33:36 +0000 (15:33 +0000)]
Start new pages off with
<b>Title</b> is ...
rich [Sun, 10 Oct 2004 14:44:50 +0000 (14:44 +0000)]
Factored out the 'what links here' code into cocanwiki_links library.
Fixed it so that it can discover links mediated by redirects.
max_redirect moved from page.ml because it's used in other places.
rich [Sat, 9 Oct 2004 16:25:03 +0000 (16:25 +0000)]
Added 'broken links' script.
rich [Sat, 9 Oct 2004 15:46:29 +0000 (15:46 +0000)]
Nice, standards-compliant print-media CSS.
rich [Sat, 9 Oct 2004 15:02:28 +0000 (15:02 +0000)]
Updated deps.
rich [Sat, 9 Oct 2004 15:01:57 +0000 (15:01 +0000)]
ErrorDocument handling.
rich [Sat, 9 Oct 2004 12:24:47 +0000 (12:24 +0000)]
Allow callers to create_host to specify an email address for the admin
account.
rich [Sat, 9 Oct 2004 12:20:57 +0000 (12:20 +0000)]
Forgot password script shouldn't fail if the user doesn't have an email address.
rich [Sat, 9 Oct 2004 11:05:21 +0000 (11:05 +0000)]
Bumped for release.
rich [Sat, 9 Oct 2004 11:03:58 +0000 (11:03 +0000)]
Allow <s>, <strike>, <big>, <small> and <tt>.
rich [Sat, 9 Oct 2004 09:53:01 +0000 (09:53 +0000)]
Updated MANIFEST.
rich [Sat, 9 Oct 2004 09:52:30 +0000 (09:52 +0000)]
Bumped version for release.
rich [Sat, 9 Oct 2004 09:52:10 +0000 (09:52 +0000)]
Fixed the cancel button on the edit page.
rich [Sat, 9 Oct 2004 09:48:37 +0000 (09:48 +0000)]
Links to empty template pages are now shown as ordinary links.
rich [Sat, 9 Oct 2004 09:41:38 +0000 (09:41 +0000)]
One-step create & edit.
rich [Sat, 9 Oct 2004 08:33:02 +0000 (08:33 +0000)]
Daily view.
rich [Sat, 9 Oct 2004 08:19:42 +0000 (08:19 +0000)]
Move yearly events to the top of the page and style them properly.
rich [Thu, 7 Oct 2004 20:50:21 +0000 (20:50 +0000)]
Version 1.2.0 for release.
rich [Thu, 7 Oct 2004 18:56:47 +0000 (18:56 +0000)]
Year view.
rich [Thu, 7 Oct 2004 16:54:24 +0000 (16:54 +0000)]
Monthly calendar view.
rich [Thu, 7 Oct 2004 12:49:15 +0000 (12:49 +0000)]
Templates table added to the database.
rich [Thu, 7 Oct 2004 12:22:11 +0000 (12:22 +0000)]
The links table now records links to non-existant pages.
rich [Thu, 7 Oct 2004 11:50:24 +0000 (11:50 +0000)]
Dropped links_to constraint.
rich [Thu, 7 Oct 2004 11:36:45 +0000 (11:36 +0000)]
About to remove the links_to constraint from the links table.
This allows us to add links to yet-to-be-created pages.
rich [Wed, 6 Oct 2004 11:31:35 +0000 (11:31 +0000)]
Bumped for release of new stylesheet.
rich [Wed, 6 Oct 2004 10:34:29 +0000 (10:34 +0000)]
The 'create host' code is now in a separate library so TNAAA can call it.
rich [Tue, 5 Oct 2004 14:51:11 +0000 (14:51 +0000)]
Backported the standard stylesheet from TNAAA. Tables and forms are a
lot less hideous now.
rich [Mon, 4 Oct 2004 15:20:15 +0000 (15:20 +0000)]
Bumped for release.
rich [Mon, 4 Oct 2004 15:19:56 +0000 (15:19 +0000)]
Added a new global permission for viewing the site anonymously.
Added code to use and manage this permission.
Fixed certain scripts which are "CanView"-only.
rich [Mon, 4 Oct 2004 14:46:51 +0000 (14:46 +0000)]
When copying a template during site creation, force the hosts.is_template
feature to false.
rich [Thu, 30 Sep 2004 15:00:53 +0000 (15:00 +0000)]
Bumped release. Want to release the <br> fix as soon as possible.
rich [Thu, 30 Sep 2004 14:58:14 +0000 (14:58 +0000)]
Allow <br> for linebreaks.
rich [Thu, 30 Sep 2004 09:43:51 +0000 (09:43 +0000)]
The "robots noindex" directive crept into a lot of pages where it
didn't really belong. Removed it from a few places.
rich [Wed, 29 Sep 2004 15:03:10 +0000 (15:03 +0000)]
Write out the fixed themes table into the SQL file.
Updated MANIFEST.
Bumped release no.
rich [Wed, 29 Sep 2004 09:44:51 +0000 (09:44 +0000)]
Added the "visualise links" script. It's disabled because it doesn't
work well at the moment. We need to find a good way to draw lines on
an HTML div.
rich [Tue, 28 Sep 2004 11:56:52 +0000 (11:56 +0000)]
Improved this script so it also notes if a page is used in the site menu.
rich [Tue, 28 Sep 2004 11:51:38 +0000 (11:51 +0000)]
Leveraging the links table:
* 'What links here?' and 'Dead ends'
Don't compile 00-TEMPLATE.ml each time.
Change restrict clause in 00-TEMPLATE.ml so it will cause a compile
error if we don't set up the permissions for each script.
Updated MANIFEST.
Updated deps.
rich [Tue, 28 Sep 2004 11:28:38 +0000 (11:28 +0000)]
Links table is now kept in synch when pages are edited and restored.
Updated deps.
Updated manifest.
rich [Tue, 28 Sep 2004 10:56:39 +0000 (10:56 +0000)]
Script for rebuilding the links table from scratch.
rich [Tue, 28 Sep 2004 09:28:29 +0000 (09:28 +0000)]
Added 'links' table which will contain the link structure of the wiki.
The links table will be updated whenever we edit a page, and there
will be a central way to rebuild links too. This means that the links
data might become slightly out of synch with the true wiki structure,
but this is considered unimportant.
rich [Mon, 27 Sep 2004 18:08:56 +0000 (18:08 +0000)]
Version and release were completely wrong - fixed.
rich [Mon, 27 Sep 2004 18:08:01 +0000 (18:08 +0000)]
Fix search highlighting.
rich [Mon, 27 Sep 2004 16:21:09 +0000 (16:21 +0000)]
Added a search box on every page, controlled by a global setting
hosts.search_box.
Version 1.1.2.
Bumped release number.
rich [Mon, 27 Sep 2004 14:41:41 +0000 (14:41 +0000)]
Fixed manifest.
rich [Mon, 27 Sep 2004 14:40:26 +0000 (14:40 +0000)]
Removed SET AUTHORIZATION statements from SQL.
rich [Mon, 27 Sep 2004 12:37:54 +0000 (12:37 +0000)]
Fixed up to work with mod_caml 1.3.0-2.
rich [Mon, 27 Sep 2004 09:46:00 +0000 (09:46 +0000)]
If there is no row in the server_settings table, use a default value
instead of crashing horribly.
rich [Sun, 26 Sep 2004 17:49:46 +0000 (17:49 +0000)]
send_feedback_form can be used by anyone.
SQL doesn't use SET AUTHORIZATION statements any more.
rich [Sun, 26 Sep 2004 13:13:14 +0000 (13:13 +0000)]
Default encoding for contact forms is multipart/form-data.
rich [Sat, 25 Sep 2004 16:05:12 +0000 (16:05 +0000)]
Updated deps.
rich [Sat, 25 Sep 2004 16:05:03 +0000 (16:05 +0000)]
Edit page title.
Updated MANIFEST.
Bumped for release.
rich [Sat, 25 Sep 2004 13:17:00 +0000 (13:17 +0000)]
Change password form.
"Force password change" now implemented.
Experimentally reduced the font size on the edit menu.
rich [Sat, 25 Sep 2004 12:53:55 +0000 (12:53 +0000)]
Contact form now identified by name, not ID field.
rich [Sat, 25 Sep 2004 12:44:36 +0000 (12:44 +0000)]
Fix copying of contact forms.
rich [Sat, 25 Sep 2004 11:45:59 +0000 (11:45 +0000)]
Create new site by copying from an existing template site.
rich [Fri, 24 Sep 2004 17:19:39 +0000 (17:19 +0000)]
Silly mistake in the CSV file
rich [Fri, 24 Sep 2004 17:12:18 +0000 (17:12 +0000)]
Bumped release.
rich [Fri, 24 Sep 2004 17:11:57 +0000 (17:11 +0000)]
Added a "name" field to the mailing list entries.
rich [Fri, 24 Sep 2004 17:07:10 +0000 (17:07 +0000)]
View/download the mailing list.
rich [Fri, 24 Sep 2004 16:48:34 +0000 (16:48 +0000)]
Link to mailing list in global settings menu.
rich [Fri, 24 Sep 2004 16:45:02 +0000 (16:45 +0000)]
Fixed up a few stupid mistakes from that last check-in.
rich [Fri, 24 Sep 2004 16:41:34 +0000 (16:41 +0000)]
Updated deps.
rich [Fri, 24 Sep 2004 16:41:16 +0000 (16:41 +0000)]
Mailing list sub/unsub with double opt-in.
rich [Fri, 24 Sep 2004 16:30:07 +0000 (16:30 +0000)]
Site-wide mailing list setting enabled mailing list functionality to
be turned off and on (off by default).
Added mailing_lists table to the database.
rich [Fri, 24 Sep 2004 15:53:57 +0000 (15:53 +0000)]
Per-page email notification, with double opt-in/-out.
rich [Fri, 24 Sep 2004 10:45:07 +0000 (10:45 +0000)]
Updated deps.
rich [Fri, 24 Sep 2004 10:44:55 +0000 (10:44 +0000)]
Highlighting of search terms.
Updated MANIFEST.
Bumped release.
rich [Thu, 23 Sep 2004 15:16:27 +0000 (15:16 +0000)]
Bumped release.
rich [Thu, 23 Sep 2004 15:16:20 +0000 (15:16 +0000)]
Linked RA stats into the site.
rich [Thu, 23 Sep 2004 11:56:47 +0000 (11:56 +0000)]
Global replace 'raise CgiExit' -> 'return ()' to match a future version of mod_caml.
rich [Thu, 23 Sep 2004 11:51:17 +0000 (11:51 +0000)]
Table for server-side configuration settings. Will be used to store location of RA log files.
rich [Thu, 23 Sep 2004 09:48:45 +0000 (09:48 +0000)]
Link to stats.
rich [Wed, 22 Sep 2004 12:04:28 +0000 (12:04 +0000)]
Edit all host-specific settings.
Version 1.1.1.
Updated deps.
Updated MANIFEST.