@@ -24,6 +24,33 @@ Contents:
2424Migrating from 1.5.1 to 1.6.0
2525=============================
2626
27+ Update tracker config file
28+ --------------------------
29+
30+ After installing the new version of roundup, you should
31+ update the ``config.ini`` file for your tracker. To do this:
32+
33+ 1. backup your existing ``config.ini`` file
34+ 2. using the newly installed code, run::
35+
36+ roundup-admin -i /path/to/tracker updateconfig config.ini.new
37+
38+ to create the file config.ini.new. Replace
39+ ``/path/to/tracker`` with the path to your tracker.
40+ 3. replace your tracker's config.ini with config.ini.new
41+
42+ Using updateconfig keeps all the settings from your
43+ tracker's config.ini file and adds settings for all the new
44+ options.
45+
46+ If you have added comments to your original config.ini file,
47+ merge the added comments into the config.ini.new file. Then
48+ replace your tracker's config.ini with config.ini.new.
49+
50+ Read the new config.ini and configure it to enable new
51+ features. Details on using these features can be found in
52+ this section.
53+
2754Make sure that user can view labelprop on classes (REQUIRED)
2855------------------------------------------------------------
2956
@@ -66,16 +93,16 @@ Http header verification against the tracker's ``web``
6693setting in the ``[tracker]`` section of config.ini for the
6794following headers:
6895
69- # Analyze the ``Referer`` HTTP header to make sure it
70- includes the web setting.
71- # Analyse the ``Origin`` HTTP header to make sure the
72- schema://host matches the web setting.
73- # Analyze the ``X-Forwarded-Host`` header set by a proxy
74- running in front of roundup to make sure it agrees with
75- the host part of the web setting.
76- # Analyze the ``Host`` header to make sure it agrees with
77- the host part of the web setting. This is not done if
78- ``X-Forwarded-Host`` is set.
96+ 1. Analyze the ``Referer`` HTTP header to make sure it
97+ includes the web setting.
98+ 2. Analyze the ``Origin`` HTTP header to make sure the
99+ schema://host matches the web setting.
100+ 3. Analyze the ``X-Forwarded-Host`` header set by a proxy
101+ running in front of roundup to make sure it agrees with
102+ the host part of the web setting.
103+ 4. Analyze the ``Host`` header to make sure it agrees with
104+ the host part of the web setting. This is not done if
105+ ``X-Forwarded-Host`` is set.
79106
80107By default roundup 1.6 does not require any specific header
81108to be present. However at least one of the headers above
@@ -114,14 +141,9 @@ an integer lifetime, for example:
114141sets the lifetime of that nonce to 10 minutes.
115142
116143If you want to change the default settings, you have to
117- update the web section in your tracker's config.ini's. To do
118- this backup your existing config.ini. Run:
119-
120- roundup-admin -i /path/to/tracker genconfig config.ini.new
121-
122- to create a new config.ini in the file config.ini.new. Then
123- merge the new csrf settings into your tracker's config.
124- Look for settings that start with csrf. The config.ini.new
144+ update the web section in your tracker's config.ini file. Follow the
145+ section above to generate an updated config.ini file. Then
146+ look for settings that start with csrf. The updated config.ini
125147file includes detailed descriptions of the settings.
126148
127149In general one of four values can be set for these
@@ -228,10 +250,15 @@ Note: the ``backend_name`` file may be located in a directory other than
228250``db/`` if you have configured the ``database`` option in the ``[main]``
229251section of the ``config.ini`` file to be something other than ``db``.
230252
253+ Note 2: if you are using the anydbm back end, you still set
254+ it using the backend option in the rdbms section of the
255+ config.ini file.
256+
231257New config file option 'indexer' added
232258--------------------------------------
233259
234- With support for the Whoosh indexer, a new config file option has been
260+ This release added support for the Whoosh indexer, so a new
261+ config file option has been
235262added. You can force Roundup to use a particular text indexer by
236263setting this value in the [main] section of the tracker's
237264``config.ini`` file (usually placed right before indexer_stopwords)::
0 commit comments