Skip to content

Commit df2a5b2

Browse files
author
Richard Jones
committed
Migration note for the new config vars.
1 parent 3dfb7cb commit df2a5b2

File tree

1 file changed

+24
-4
lines changed

1 file changed

+24
-4
lines changed

MIGRATION.txt

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,26 @@ permission to auto-register users in the mail gateway is now called
3131
ANONYMOUS_REGISTER_MAIL rather than overloading ANONYMOUS_REGISTER. If the
3232
variable doesn't exist, then ANONYMOUS_REGISTER is tested as before.
3333

34+
Configuring the links in the web header is now easier too. The following
35+
variables have been added to the classic instance_config.py:
36+
37+
HEADER_INDEX_LINKS - defines the "index" links to be made available
38+
HEADER_ADD_LINKS - defines the "add" links
39+
DEFAULT_INDEX - specifies the index view for DEFAULT
40+
UNASSIGNED_INDEX - specifies the index view for UNASSIGNED
41+
USER_INDEX - specifies the index view for USER
42+
43+
See the <roundup source>/roundup/templates/classic/instance_config.py for more
44+
information - including how the variables are to be set up. Most users will
45+
just be able to copy the variables from the source to their instance home. If
46+
you've modified the header by changing the source of the interfaces.py file in
47+
the instance home, you'll need to remove that customisation and move it into
48+
the appropriate variables in instance_config.py.
49+
50+
The extended schema has similar variables added too - see the source for more
51+
info.
52+
53+
3454

3555
Alternate E-Mail Addresses
3656
--------------------------
@@ -41,7 +61,7 @@ communicate with roundup as. All email from roundup will continue to be sent
4161
to their primary address.
4262

4363
If you have not edited the dbinit.py file in your instance home directory,
44-
you may simply copy the new dbinit.py file from the core code. If you used
64+
YOU MAY Simply copy the new dbinit.py file from the core code. If you used
4565
the classic schema, the interfaces file is in:
4666

4767
<roundup source>/roundup/templates/classic/dbinit.py
@@ -56,9 +76,9 @@ class:
5676

5777
user = Class(db, "msg",
5878
username=String(), password=Password(),
59-
address=String(), realname=String(),
60-
phone=String(), organisation=String(),
61-
alternate_addresses=String())
79+
address=String(), realname=String(),
80+
phone=String(), organisation=String(),
81+
alternate_addresses=String())
6282

6383
You will also want to add the property to the user's details page. The
6484
template for this is the "user.item" file in your instance home "html"

0 commit comments

Comments
 (0)