cocanwiki.git
19 years agoEdit the description fields (metadata) for images and files.
rich [Mon, 1 Nov 2004 17:05:14 +0000 (17:05 +0000)]
Edit the description fields (metadata) for images and files.

Email notify for deleted files now includes the name.

Replaced homebrew 'string_is_whitespace' function with one from the
libraries.

Updated MANIFEST.

Updated deps.

19 years agoAllow images and files to be replaced.
rich [Mon, 1 Nov 2004 16:24:50 +0000 (16:24 +0000)]
Allow images and files to be replaced.
Allow - and . to appear in image names.

19 years agoLess restrictive anti-bandwidth-theft code. Fixes a problem
rich [Mon, 1 Nov 2004 16:24:32 +0000 (16:24 +0000)]
Less restrictive anti-bandwidth-theft code.  Fixes a problem
where this code would trigger on the restore image/file pages.

19 years agoStarted to fix a bunch of usability problems on the file and image
rich [Mon, 1 Nov 2004 16:05:26 +0000 (16:05 +0000)]
Started to fix a bunch of usability problems on the file and image
upload forms.

19 years agoRemoved the diff_sidebyside preference for now. It had a really
rich [Mon, 1 Nov 2004 12:57:53 +0000 (12:57 +0000)]
Removed the diff_sidebyside preference for now.  It had a really
fundamental bug which means it didn't work properly.  Needs to be
fixed up properly at a later date.

19 years agoAdded a "side-by-side" mode using ''diff -y''. Disabled by default,
rich [Sat, 30 Oct 2004 10:16:09 +0000 (10:16 +0000)]
Added a "side-by-side" mode using ''diff -y''.  Disabled by default,
can be selected through user preferences.

User object now contains extra preferences field, which contains the
preferences from the database.

19 years agoBumped version for release.
rich [Thu, 28 Oct 2004 14:51:25 +0000 (14:51 +0000)]
Bumped version for release.

19 years agoAlways set a 24 hour expires period on images, even though this means editors will...
rich [Thu, 28 Oct 2004 14:51:03 +0000 (14:51 +0000)]
Always set a 24 hour expires period on images, even though this means editors will need to hit [Reload] a bit more often.

19 years agoUpdated deps.
rich [Wed, 27 Oct 2004 21:14:23 +0000 (21:14 +0000)]
Updated deps.

19 years agoAdded machine-parsable links database, per-page links and page source.
rich [Wed, 27 Oct 2004 21:14:05 +0000 (21:14 +0000)]
Added machine-parsable links database, per-page links and page source.

Updated MANIFEST.
Updated deps.

19 years agoChange cursor to a pointer or hand when over an edit button.
rich [Wed, 27 Oct 2004 08:42:30 +0000 (08:42 +0000)]
Change cursor to a pointer or hand when over an edit button.

19 years agoFixed a problem where it would jump up and down the page when
rich [Tue, 26 Oct 2004 17:50:23 +0000 (17:50 +0000)]
Fixed a problem where it would jump up and down the page when
buttons were pressed.

19 years agoWarning message if nothing is selected before hitting a button.
rich [Tue, 26 Oct 2004 17:42:08 +0000 (17:42 +0000)]
Warning message if nothing is selected before hitting a button.

19 years agoBumped version for release.
rich [Tue, 26 Oct 2004 17:19:00 +0000 (17:19 +0000)]
Bumped version for release.

19 years agoLink, bold, italic, strikeout, bullet, numbered list buttons.
rich [Tue, 26 Oct 2004 17:17:08 +0000 (17:17 +0000)]
Link, bold, italic, strikeout, bullet, numbered list buttons.

19 years agoAdded <span> for FIR.
rich [Tue, 26 Oct 2004 13:29:25 +0000 (13:29 +0000)]
Added <span> for FIR.

19 years agoAdded <h1><span> for FIR.
rich [Tue, 26 Oct 2004 13:27:58 +0000 (13:27 +0000)]
Added <h1><span> for FIR.

19 years agoBumped version for release.
rich [Tue, 26 Oct 2004 11:05:36 +0000 (11:05 +0000)]
Bumped version for release.

19 years agoAdded <span> around menu items for FIR.
rich [Tue, 26 Oct 2004 11:05:19 +0000 (11:05 +0000)]
Added <span> around menu items for FIR.

**NB** Same change must be made in all the other template files.  This
will fall apart as soon as someone clicks to any of the other pages.

19 years agoBumped version for release.
rich [Tue, 26 Oct 2004 10:17:41 +0000 (10:17 +0000)]
Bumped version for release.

19 years agoAdd <span> inside <h1> and <h2> to allow FIR.
rich [Tue, 26 Oct 2004 10:17:25 +0000 (10:17 +0000)]
Add <span> inside <h1> and <h2> to allow FIR.

19 years agoBetter README file - points to online resources.
rich [Mon, 25 Oct 2004 16:39:09 +0000 (16:39 +0000)]
Better README file - points to online resources.

19 years agoFix for crashing bug: When one user hits "cancel" on a page which
rich [Mon, 25 Oct 2004 07:44:55 +0000 (07:44 +0000)]
Fix for crashing bug: When one user hits "cancel" on a page which
another user has edited.

19 years agoBumped version for release.
rich [Sun, 24 Oct 2004 19:26:12 +0000 (19:26 +0000)]
Bumped version for release.

19 years agoUse the GregorianDate library.
rich [Sun, 24 Oct 2004 19:25:20 +0000 (19:25 +0000)]
Use the GregorianDate library.

19 years ago"New page" button for creating new pages interactively.
rich [Sun, 24 Oct 2004 17:32:54 +0000 (17:32 +0000)]
"New page" button for creating new pages interactively.

19 years agoNon-existant files and images throw 404, instead of 500, errors.
rich [Sun, 24 Oct 2004 11:34:37 +0000 (11:34 +0000)]
Non-existant files and images throw 404, instead of 500, errors.
Bumped version for release.

19 years agoBumped version for release.
rich [Sun, 24 Oct 2004 11:13:11 +0000 (11:13 +0000)]
Bumped version for release.

19 years agoMore image spam. All image spam seen so far comes from people
rich [Sun, 24 Oct 2004 11:12:42 +0000 (11:12 +0000)]
More image spam.  All image spam seen so far comes from people
searching on google for the phrase "upload image".  Adding noindex
headers to the relevant images and files pages should eliminate this
entirely.

Bumped version for release.

19 years agoFor image/file theft, throw 404 instead of 500 error.
rich [Sun, 24 Oct 2004 08:48:38 +0000 (08:48 +0000)]
For image/file theft, throw 404 instead of 500 error.
Crash report shows canonical hostname.
Bumped version for release.

19 years agoFixed MANIFEST.
rich [Sat, 23 Oct 2004 16:35:20 +0000 (16:35 +0000)]
Fixed MANIFEST.

19 years agoFixed some annoying showstopper bugs with stats:
rich [Sat, 23 Oct 2004 16:34:57 +0000 (16:34 +0000)]
Fixed some annoying showstopper bugs with stats:

* Stats top frame now has styling so you can actually see the buttons.
* Redirect to the canonical_hostname page, so we actually go to the right place.

Updated MANIFEST.

Bumped version for release.

19 years agoFixed a few bugs in the previous check-in.
rich [Sat, 23 Oct 2004 15:05:07 +0000 (15:05 +0000)]
Fixed a few bugs in the previous check-in.
Updated deps.

19 years agoMultiple changes and improvements to the handling of users:
rich [Sat, 23 Oct 2004 15:00:13 +0000 (15:00 +0000)]
Multiple changes and improvements to the handling of users:
  User preferences.
    User can change their email address, and it is verified.
    User can change their email notification status.
  Invite user to join is now much less of a hack.
    This option has moved to the front page.
    Don't send email notifications to non-accepting users.
    Administrator can see who has not yet accepted their invitations.
  Delete user works again.
  Stylesheet fixes throughout user management.

In the database:
  Added users.invite
  Added pending_email_changes table.

Updated MANIFEST.

19 years agoNew release of mod_caml.
rich [Sat, 23 Oct 2004 12:00:16 +0000 (12:00 +0000)]
New release of mod_caml.

19 years agoAdded the 'powered by' tag at the bottom of the page.
rich [Sat, 23 Oct 2004 10:13:20 +0000 (10:13 +0000)]
Added the 'powered by' tag at the bottom of the page.

19 years agoAdded stats icon.
rich [Sat, 23 Oct 2004 09:47:24 +0000 (09:47 +0000)]
Added stats icon.

19 years agoSimplified edit menu.
rich [Sat, 23 Oct 2004 09:36:10 +0000 (09:36 +0000)]
Simplified edit menu.

"Sitewide settings" menu now gets the other entries which used be on
the edit menu.

When creating new users, don't allow setting email address.

Fixed permissions problem with edit_host_css scripts.

19 years agoUpdated MANIFEST.
rich [Fri, 22 Oct 2004 17:19:17 +0000 (17:19 +0000)]
Updated MANIFEST.

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

19 years agoAdded the images to the various menu links.
rich [Fri, 22 Oct 2004 17:17:42 +0000 (17:17 +0000)]
Added the images to the various menu links.

19 years agoFixed to use 8-bit transparency.
rich [Fri, 22 Oct 2004 17:08:34 +0000 (17:08 +0000)]
Fixed to use 8-bit transparency.

19 years agoMove the menus into the footer.
rich [Fri, 22 Oct 2004 15:56:11 +0000 (15:56 +0000)]
Move the menus into the footer.
Removed all menus from the edit page.
Added the new images.

19 years agoIsolate all footers into footer.html, so we can more easily change it.
rich [Thu, 21 Oct 2004 21:51:31 +0000 (21:51 +0000)]
Isolate all footers into footer.html, so we can more easily change it.

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>.