cocanwiki.git
19 years agoBumped version for release.
rich [Thu, 21 Oct 2004 20:45:15 +0000 (20:45 +0000)]
Bumped version for release.

19 years agoSame for numbered lists.
rich [Thu, 21 Oct 2004 20:44:53 +0000 (20:44 +0000)]
Same for numbered lists.

19 years agoDon't indent paras. Although it's recommended by Bringhurst, I don't
rich [Thu, 21 Oct 2004 20:39:48 +0000 (20:39 +0000)]
Don't indent paras.  Although it's recommended by Bringhurst, I don't
think it works well with the short (often single-line) paragraphs
which predominate on intranets.

Hang the bullet points in the left margin.

Multiple fixes for IE, which is a piece of crap.

19 years agoDrop table email_notify
rich [Thu, 21 Oct 2004 20:22:04 +0000 (20:22 +0000)]
Drop table email_notify

19 years agoUpdated MANIFEST. Bumped version for release.
rich [Thu, 21 Oct 2004 19:54:57 +0000 (19:54 +0000)]
Updated MANIFEST.  Bumped version for release.

19 years agoRemoved use of the email_notify table (prior to actually removing the
rich [Thu, 21 Oct 2004 19:54:28 +0000 (19:54 +0000)]
Removed use of the email_notify table (prior to actually removing the
table).  Emails are now sent to all registered users for a host,
unless they opt out of receiving them.

19 years agoBumped version for release.
rich [Thu, 21 Oct 2004 18:35:19 +0000 (18:35 +0000)]
Bumped version for release.

19 years agoRecent changes is now page-based, making it work much faster when
rich [Thu, 21 Oct 2004 18:35:01 +0000 (18:35 +0000)]
Recent changes is now page-based, making it work much faster when
we have 1000s of changes in the list.

19 years agoOutdent the headers only when inside the content_div.
rich [Thu, 21 Oct 2004 18:02:48 +0000 (18:02 +0000)]
Outdent the headers only when inside the content_div.

19 years agoBumped to version 1.3.0 for release.
rich [Thu, 21 Oct 2004 11:53:51 +0000 (11:53 +0000)]
Bumped to version 1.3.0 for release.
Updated MANIFEST.

19 years agoFixed 'make install', and link with cocanwiki_version.
rich [Thu, 21 Oct 2004 11:48:21 +0000 (11:48 +0000)]
Fixed 'make install', and link with cocanwiki_version.

19 years agoCorrected a crashing bug in mail threading.
rich [Thu, 21 Oct 2004 11:42:04 +0000 (11:42 +0000)]
Corrected a crashing bug in mail threading.

Added mail_rebuild script, which rebuilds the indexes.

Wider filename field in mail import form.

Don't allow ? characters in URLs.

Imported around 1,500 mail messages successfully to test.

Changed the build system to use ocamldsort to produce the correct
build order.  Moved the library code into lib/ so that it is
conveniently separate from the script code.  Scripts and library
modules no longer need to be listed in the Makefile.

Debian: Build-depends on ocamldsort.

19 years agoMail2wiki - hairy, slow, but working.
rich [Wed, 20 Oct 2004 15:17:17 +0000 (15:17 +0000)]
Mail2wiki - hairy, slow, but working.

19 years agoUpdated MANIFEST.
rich [Mon, 18 Oct 2004 13:55:23 +0000 (13:55 +0000)]
Updated MANIFEST.

19 years agoBumped version for release.
rich [Mon, 18 Oct 2004 13:54:52 +0000 (13:54 +0000)]
Bumped version for release.

19 years agoNew "basic" theme which includes only the necessary CSS.
rich [Mon, 18 Oct 2004 13:34:21 +0000 (13:34 +0000)]
New "basic" theme which includes only the necessary CSS.

Modularised the other stylesheets so that parts can be more easily
included in custom styles.

See also: http://wiki.merjis.com/_image/css_relationships.gif

Lengthened the expiry time for static things to reduce frequency of
refetches from the server.

Updated MANIFEST.

19 years agoOverride default negative left margin in standard.css.
rich [Sun, 17 Oct 2004 21:14:13 +0000 (21:14 +0000)]
Override default negative left margin in standard.css.

19 years agoNote small bug in cocanwiki_links.
rich [Sun, 17 Oct 2004 20:03:23 +0000 (20:03 +0000)]
Note small bug in cocanwiki_links.

19 years agoBumped version for release.
rich [Sun, 17 Oct 2004 19:43:45 +0000 (19:43 +0000)]
Bumped version for release.

19 years agoFixes a couple of personal bugbears:
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.

19 years agoUpdated MANIFEST.
rich [Sun, 17 Oct 2004 17:30:50 +0000 (17:30 +0000)]
Updated MANIFEST.

19 years agoBumped version for release.
rich [Sun, 17 Oct 2004 17:30:18 +0000 (17:30 +0000)]
Bumped version for release.

19 years agoNew, cleaner stylesheet:
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.

19 years agoFixed CSS in the navigation menu in IE. This uses the "* html selector"
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.

19 years agoBumped version for release.
rich [Fri, 15 Oct 2004 20:11:58 +0000 (20:11 +0000)]
Bumped version for release.

19 years agoAllow src and alt on input buttons in forms - used primarily for <input type=image...
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 ...>

19 years agoRefuse to serve deleted files or images to other sites. Stops bandwidth
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.

19 years agoBumped for release.
rich [Fri, 15 Oct 2004 13:52:48 +0000 (13:52 +0000)]
Bumped for release.

19 years agoAllow username field to be prepopulated.
rich [Fri, 15 Oct 2004 12:47:17 +0000 (12:47 +0000)]
Allow username field to be prepopulated.

19 years agoBumped version for release.
rich [Thu, 14 Oct 2004 18:05:12 +0000 (18:05 +0000)]
Bumped version for release.

19 years agoSomewhat fundamental and experimental change to the handling of
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.

19 years agoBumped version for release.
rich [Thu, 14 Oct 2004 15:59:11 +0000 (15:59 +0000)]
Bumped version for release.

19 years agoUser invites.
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.

19 years agoCommand-line tools for importing mail (uses 'curl').
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.

19 years agoAdded a tool for deleting all imported mail in the Merjis wiki. (Just for testing...
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 ...)

19 years agoMark up links within the body of the mail.
rich [Mon, 11 Oct 2004 16:07:25 +0000 (16:07 +0000)]
Mark up links within the body of the mail.

19 years agoImport all the header fields and the body of the message.
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.

19 years agoBIG, experimental patch.
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).

19 years agoDatabase support for implementing JWZ's message threading
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.

19 years agoBumped for release.
rich [Sun, 10 Oct 2004 19:20:47 +0000 (19:20 +0000)]
Bumped for release.

19 years agoStrict limit on the number of links in the 'what links here' section.
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.

19 years agoPrint media fix.
rich [Sun, 10 Oct 2004 16:48:25 +0000 (16:48 +0000)]
Print media fix.

19 years agoIf the navigation box would show as empty, disable it.
rich [Sun, 10 Oct 2004 16:40:32 +0000 (16:40 +0000)]
If the navigation box would show as empty, disable it.

19 years agoAnother critical bug fix.
rich [Sun, 10 Oct 2004 16:31:52 +0000 (16:31 +0000)]
Another critical bug fix.

19 years agoCouple of critical bug fixes. Bumped version for release.
rich [Sun, 10 Oct 2004 16:29:23 +0000 (16:29 +0000)]
Couple of critical bug fixes.  Bumped version for release.

19 years agoAdded the navigation box (see email).
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.

19 years agoStart new pages off with
rich [Sun, 10 Oct 2004 15:33:36 +0000 (15:33 +0000)]
Start new pages off with

  <b>Title</b> is ...

19 years agoFactored out the 'what links here' code into cocanwiki_links library.
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.

19 years agoAdded 'broken links' script.
rich [Sat, 9 Oct 2004 16:25:03 +0000 (16:25 +0000)]
Added 'broken links' script.

19 years agoNice, standards-compliant print-media CSS.
rich [Sat, 9 Oct 2004 15:46:29 +0000 (15:46 +0000)]
Nice, standards-compliant print-media CSS.

19 years agoUpdated deps.
rich [Sat, 9 Oct 2004 15:02:28 +0000 (15:02 +0000)]
Updated deps.

19 years agoErrorDocument handling.
rich [Sat, 9 Oct 2004 15:01:57 +0000 (15:01 +0000)]
ErrorDocument handling.

19 years agoAllow callers to create_host to specify an email address for the admin
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.

19 years agoForgot password script shouldn't fail if the user doesn't have an email address.
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.

19 years agoBumped for release.
rich [Sat, 9 Oct 2004 11:05:21 +0000 (11:05 +0000)]
Bumped for release.

19 years agoAllow <s>, <strike>, <big>, <small> and <tt>.
rich [Sat, 9 Oct 2004 11:03:58 +0000 (11:03 +0000)]
Allow <s>, <strike>, <big>, <small> and <tt>.

19 years agoUpdated MANIFEST.
rich [Sat, 9 Oct 2004 09:53:01 +0000 (09:53 +0000)]
Updated MANIFEST.

19 years agoBumped version for release.
rich [Sat, 9 Oct 2004 09:52:30 +0000 (09:52 +0000)]
Bumped version for release.

19 years agoFixed the cancel button on the edit page.
rich [Sat, 9 Oct 2004 09:52:10 +0000 (09:52 +0000)]
Fixed the cancel button on the edit page.

19 years agoLinks to empty template pages are now shown as ordinary links.
rich [Sat, 9 Oct 2004 09:48:37 +0000 (09:48 +0000)]
Links to empty template pages are now shown as ordinary links.

19 years agoOne-step create & edit.
rich [Sat, 9 Oct 2004 09:41:38 +0000 (09:41 +0000)]
One-step create & edit.

19 years agoDaily view.
rich [Sat, 9 Oct 2004 08:33:02 +0000 (08:33 +0000)]
Daily view.

19 years agoMove yearly events to the top of the page and style them properly.
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.

19 years agoVersion 1.2.0 for release.
rich [Thu, 7 Oct 2004 20:50:21 +0000 (20:50 +0000)]
Version 1.2.0 for release.

19 years agoYear view.
rich [Thu, 7 Oct 2004 18:56:47 +0000 (18:56 +0000)]
Year view.

19 years agoMonthly calendar view.
rich [Thu, 7 Oct 2004 16:54:24 +0000 (16:54 +0000)]
Monthly calendar view.

19 years agoTemplates table added to the database.
rich [Thu, 7 Oct 2004 12:49:15 +0000 (12:49 +0000)]
Templates table added to the database.

19 years agoThe links table now records links to non-existant pages.
rich [Thu, 7 Oct 2004 12:22:11 +0000 (12:22 +0000)]
The links table now records links to non-existant pages.

19 years agoDropped links_to constraint.
rich [Thu, 7 Oct 2004 11:50:24 +0000 (11:50 +0000)]
Dropped links_to constraint.

19 years agoAbout to remove the links_to constraint from the links table.
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.

19 years agoBumped for release of new stylesheet.
rich [Wed, 6 Oct 2004 11:31:35 +0000 (11:31 +0000)]
Bumped for release of new stylesheet.

19 years agoThe 'create host' code is now in a separate library so TNAAA can call it.
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.

19 years agoBackported the standard stylesheet from TNAAA. Tables and forms are a
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.

19 years agoBumped for release.
rich [Mon, 4 Oct 2004 15:20:15 +0000 (15:20 +0000)]
Bumped for release.

19 years agoAdded a new global permission for viewing the site anonymously.
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.

19 years agoWhen copying a template during site creation, force the hosts.is_template
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.

19 years agoBumped release. Want to release the <br> fix as soon as possible.
rich [Thu, 30 Sep 2004 15:00:53 +0000 (15:00 +0000)]
Bumped release.  Want to release the <br> fix as soon as possible.

19 years agoAllow <br> for linebreaks.
rich [Thu, 30 Sep 2004 14:58:14 +0000 (14:58 +0000)]
Allow <br> for linebreaks.

19 years agoThe "robots noindex" directive crept into a lot of pages where it
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.

19 years agoWrite out the fixed themes table into the SQL file.
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.

19 years agoAdded the "visualise links" script. It's disabled because it doesn't
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.

19 years agoImproved this script so it also notes if a page is used in the site menu.
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.

19 years agoLeveraging the links table:
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.

19 years agoLinks table is now kept in synch when pages are edited and restored.
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.

19 years agoScript for rebuilding the links table from scratch.
rich [Tue, 28 Sep 2004 10:56:39 +0000 (10:56 +0000)]
Script for rebuilding the links table from scratch.

19 years agoAdded 'links' table which will contain the link structure of the wiki.
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.

19 years agoVersion and release were completely wrong - fixed.
rich [Mon, 27 Sep 2004 18:08:56 +0000 (18:08 +0000)]
Version and release were completely wrong - fixed.

19 years agoFix search highlighting.
rich [Mon, 27 Sep 2004 18:08:01 +0000 (18:08 +0000)]
Fix search highlighting.

19 years agoAdded a search box on every page, controlled by a global setting
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.

19 years agoFixed manifest.
rich [Mon, 27 Sep 2004 14:41:41 +0000 (14:41 +0000)]
Fixed manifest.

19 years agoRemoved SET AUTHORIZATION statements from SQL.
rich [Mon, 27 Sep 2004 14:40:26 +0000 (14:40 +0000)]
Removed SET AUTHORIZATION statements from SQL.

19 years agoFixed up to work with mod_caml 1.3.0-2.
rich [Mon, 27 Sep 2004 12:37:54 +0000 (12:37 +0000)]
Fixed up to work with mod_caml 1.3.0-2.

19 years agoIf there is no row in the server_settings table, use a default value
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.

19 years agosend_feedback_form can be used by anyone.
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.

19 years agoDefault encoding for contact forms is multipart/form-data.
rich [Sun, 26 Sep 2004 13:13:14 +0000 (13:13 +0000)]
Default encoding for contact forms is multipart/form-data.

19 years agoUpdated deps.
rich [Sat, 25 Sep 2004 16:05:12 +0000 (16:05 +0000)]
Updated deps.

19 years agoEdit page title.
rich [Sat, 25 Sep 2004 16:05:03 +0000 (16:05 +0000)]
Edit page title.
Updated MANIFEST.
Bumped for release.

19 years agoChange password form.
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.

19 years agoContact form now identified by name, not ID field.
rich [Sat, 25 Sep 2004 12:53:55 +0000 (12:53 +0000)]
Contact form now identified by name, not ID field.

19 years agoFix copying of contact forms.
rich [Sat, 25 Sep 2004 12:44:36 +0000 (12:44 +0000)]
Fix copying of contact forms.