BIG, experimental patch.
authorrich <rich>
Mon, 11 Oct 2004 14:13:03 +0000 (14:13 +0000)
committerrich <rich>
Mon, 11 Oct 2004 14:13:03 +0000 (14:13 +0000)
commit6eacefcb7258db7b56fe796af84961cafac90eac
treea016a0cdca9138325eb6a5d18d86e8286cf455cf
parentbb882f46f4f695469eb05d56fb5aee7bef0077df
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 files changed:
cocanwiki.sql
scripts/.depend
scripts/Makefile
scripts/cocanwiki.ml
scripts/cocanwiki_pages.ml [new file with mode: 0644]
scripts/cocanwiki_pages.mli [new file with mode: 0644]
scripts/create_user.ml
scripts/edit.ml
scripts/edit_user.ml
scripts/edit_user_form.ml
scripts/mail_import.ml [new file with mode: 0644]
scripts/mail_import_form.ml [new file with mode: 0644]
scripts/users.ml
scripts/wikilib.ml
templates/create_user_form.html
templates/edit_user_form.html
templates/mail_import_form.html [new file with mode: 0644]
templates/mail_import_header.txt [new file with mode: 0644]
templates/users.html