Mercurial > p > roundup > code
diff MIGRATION.txt @ 475:a1a44636bace
Fix breakage caused by transaction changes.
Sorry for the huge checkin message - I was only intending to implement
[SF#496356] but I found a number of places where things had been
broken by transactions:
. modified ROUNDUPDBSENDMAILDEBUG to be SENDMAILDEBUG and hold a filename
for _all_ roundup-generated smtp messages to be sent to.
. the transaction cache had broken the roundupdb.Class set() reactors
. newly-created author users in the mailgw weren't being committed to the db
Stuff that made it into CHANGES.txt (ie. the stuff I was actually working
on when I found that stuff :):
. [SF#496356] Use threading in messages
. detectors were being registered multiple times
. added tests for mailgw
. much better attaching of erroneous messages in the mail gateway
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Wed, 02 Jan 2002 02:31:38 +0000 |
| parents | 00f120add0f7 |
| children | 25f2a3405739 c242455d9b46 |
line wrap: on
line diff
--- a/MIGRATION.txt Mon Dec 31 05:20:34 2001 +0000 +++ b/MIGRATION.txt Wed Jan 02 02:31:38 2002 +0000 @@ -1,14 +1,55 @@ Migrating to newer versions of Roundup ====================================== +Please read each section carefully and edit your instance home files +accordingly. + +This file contains information for users upgrading from: + 0.3.x -> 0.4.x + 0.2.x -> 0.3.x + + +Migrating from 0.3.x to 0.4.x +============================= + +Message-ID and In-Reply-To addition +----------------------------------- +0.4.0 adds the tracking of messages by message-id and allows threading +using in-reply-to. Most e-mail clients support threading using this +feature, and we hope to add support for it to the web gateway. If you +have not edited the dbinit.py file in your instance home directory, you may +simply copy the new dbinit.py file from the core code. If you used the +classic schema, the interfaces file is in: + + <roundup source>/roundup/templates/classic/dbinit.py + +If you used the extended schema, the file is in: + + <roundup source>/roundup/templates/extended/dbinit.pybinit.py needs updating from the original. + +If you have modified your dbinit.py file, you may use encoded passwords: + + 1. Edit the dbinit.py file in your instance home directory. Find the lines + which define the msg class: + + msg = FileClass(db, "msg", + author=Link("user"), recipients=Multilink("user"), + date=Date(), summary=String(), + files=Multilink("file")) + + and add the messageid and inreplyto properties like so: + + msg = FileClass(db, "msg", + author=Link("user"), recipients=Multilink("user"), + date=Date(), summary=String(), + files=Multilink("file"), + messageid=String(), inreplyto=String()) + + Migrating from 0.2.x to 0.3.x ============================= -Please read each section carefully and edit your instance home files -accordingly. - - Cookie Authentication changes ----------------------------- 0.3.0 introduces cookie authentication - you will need to copy the
