-
Notifications
You must be signed in to change notification settings - Fork 16
/
CONST_CHANGELOG.txt
67 lines (45 loc) · 2.82 KB
/
CONST_CHANGELOG.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
This file includes migration steps for each release of c2cgeoportal.
Version 2.5.0
=============
Information
-----------
1. Basic authentication is disabled by default from this version onward.
To enable basic auth see:
https://camptocamp.github.io/c2cgeoportal/2.5/integrator/security.html#basic-auth
2. We change the secret name from `GITHUB_GOPASS_CI_TOKEN` to `GOPASS_CI_GITHUB_TOKEN` because we can't
anymore create create secret started with `GITHUB_`.
3. Layers which have any errors are not added to the theme anymore.
4. If a WMS version is given in an OGC server URL, it will be used for the GetCapabilities request
Supported versions: 1.1.1 and 1.3.0
Changes to apply
----------------
1. Now we need to have PyYAML python package installed in the home,
see the documentation for more information:
https://camptocamp.github.io/c2cgeoportal/2.5/integrator/requirements.html
2. The configuration vars `vars/functionalities/anonymous` and `vars/functionalities/registered` should
be moved to the new roles `anonymous` and `registered` that will be created once the database has been upgraded.
3. The 'INSTANCE' configuration variable is removed, it should be in the '.env' files, and also the
environment makefiles, these contents should also be moved to the '.env' files. In a multi-organisation
project you can have a chain of multiple '.env' files see the build configuration documentation.
4. A new PostgreSQL extension is required, install it by running in psql:
`CREATE EXTENSION IF NOT EXISTS hstore;`
5. The static files will be moved, therefore you should replace:
`request.static_url('geoportailv3_geoportal:static/` by:
`request.static_url('/etc/geomapfish/static/`.
6. Optional, change your mapfiles according the documentation:
https://camptocamp.github.io/c2cgeoportal/2.5/administrator/mapfile.html
Version 2.4.2
=============
Information
-----------
1. The SVG inclusion through Webpack has changed, See ngeo SVG example for more information:
https://camptocamp.github.io/ngeo/master/examples/svg.html
2. The WMTS capabilities is now generated on runtime.
3. If not already done the 'edit' and 'routing' interfaces and their relations will be removed from the
database, If you don't want that, you should rename the interfaces before applying the alembic scripts.
4. If not already done the 'api' and 'iframe_api' will be created. After the database upgrade you can run
the following request to fill e.-g. the api's interfaces with the desktop interface:
INSERT INTO main.interface_layer (interface_id, layer_id)
SELECT <api_interface_id>, layer_id FROM main.interface_layer WHERE interface_id = <other_interface_id>;
INSERT INTO main.interface_theme (interface_id, theme_id)
SELECT <api_interface_id>, theme_id FROM main.interface_theme WHERE interface_id = <other_interface_id>;