Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
4281464
#13038 Remove Social sharing and automatic counters
simboss Oct 23, 2026
bac1dde
#13038 Serve startup assets locally and avoid DXF storage
simboss Oct 23, 2026
2fa1794
#13038 Add privacy settings, consent lifecycle and policy templates
simboss Oct 23, 2026
da7c3e0
#13038 Load dxf-parser on demand and check Internet Explorer inline
offtherailz Oct 23, 2026
ba81bf2
#13038 Privacy settings from extensions, translations and review fixes
offtherailz Oct 23, 2026
00e6a32
#13038 Template policy pages with panel warning
offtherailz Oct 26, 2026
b760d26
#13038 Remove the legacy cookie notice
offtherailz Oct 26, 2026
b7e7caa
Apply batched suggestions from code review
offtherailz Oct 27, 2026
6fee956
Apply batched suggestions from code review
offtherailz Oct 27, 2026
6138f33
#13038 Drop build notes from privacy docs, list loglevel cookie
offtherailz Oct 27, 2026
656101f
Apply suggestion from @offtherailz
tdipisa Oct 27, 2026
ac67814
Apply suggestion from @offtherailz
tdipisa Oct 27, 2026
d8304af
Apply suggestion from @offtherailz
tdipisa Oct 27, 2026
9cce881
Update web/client/product/assets/privacy/cookie.html
tdipisa Oct 27, 2026
7c3ccfc
#13038 Drop legacy storage notes from docs
offtherailz Oct 27, 2026
3a7532d
#13038 Keep Social sharing tab as deprecated opt-in
offtherailz Oct 27, 2026
9855817
#13038 Bundle Noto Sans with the default theme
offtherailz Oct 27, 2026
30f1f48
#13038 List privacy choices in the cookie policy template
offtherailz Oct 27, 2026
7e48f1b
#13038 Document Social tab deprecation in user guide
offtherailz Oct 27, 2026
b866dae
#13038 Align privacy panel translations
offtherailz Oct 27, 2026
c278aa3
#13038 Emit theme fonts as separate files
offtherailz Oct 28, 2026
a49689c
#13038 No focus outline on the privacy panel title
offtherailz Oct 28, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions build/buildConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,21 @@ module.exports = (...args) => mapArgumentsToObject(args, ({
'less-loader'
]
},
{
// theme text fonts stay separate files, so the browser downloads only the subsets
// matched by the unicode-range of each @font-face, after the stylesheet
test: /themes[\\\/]default[\\\/]fonts[\\\/].+\.woff2$/,
type: 'asset/resource',
generator: {
filename: '[name].[contenthash:8][ext]',
outputPath: 'themes/fonts/',
// relative to the theme stylesheets, emitted in themes/
publicPath: 'fonts/'
}
},
{
test: /\.woff(2)?(\?v=[0-9].[0-9].[0-9])?$/,
exclude: /themes[\\\/]default[\\\/]fonts[\\\/]/,
use: [{
loader: 'url-loader',
options: {
Expand Down
49 changes: 49 additions & 0 deletions docs/developer-guide/mapstore-migration-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,55 @@ This is a list of things to check if you want to update from a previous version

## Migration from 2026.02.02 to 2026.03.00

### Privacy settings and standard sharing

Vanilla enables the common privacy panel of the `Cookie` plugin.

Until the installation configures its own policy pages, the panel links the template pages shipped with MapStore in `product/assets/privacy`, shows a warning visible to every user, and writes a warning in the browser console. The template pages are not the policy of the installation. To remove the warning, do one of the following:

- Disable the privacy panel with `"privacy": {"enabled": false}`, for example outside the European Union or when a custom plugin manages consent. MapStore then shows no cookie or privacy notice.
- Install a privacy settings extension.
- Configure `privacy.links`, also to copies of the template pages edited for the installation.

To complete the migration:

- Provide the policy pages of the installation: a Cookie Policy, a Privacy Policy when personal data are processed, and optionally Terms of Use. See [Which pages to provide](privacy-settings.md#which-pages-to-provide).
- Link them: in a project, in `privacy.links` of `localConfig.json`, from the project assets or as external urls; in a product installation, upload a privacy settings extension, created from the [mapstore-privacy-settings-extension](https://github.com/geosolutions-it/mapstore-privacy-settings-extension) template, which sets the links by itself. See [Policy pages](privacy-settings.md#policy-pages).
- Configure optional categories only for the optional tools actually used, and register their integrations before enabling them.

**MapStore projects**: the template pages are part of the MapStore submodule, so the project WAR must copy them, otherwise the default links return 404 until `privacy.links` is configured. Add this execution to the `maven-resources-plugin` of `web/pom.xml`, after the `config files` one:

```xml
<execution>
<id>privacy template pages</id>
<phase>process-classes</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${basedir}/target/mapstore/product/assets</outputDirectory>
<encoding>UTF-8</encoding>
<resources>
<resource>
<directory>${basedir}/../MapStore2/web/client/product/assets</directory>
<includes>
<include>privacy/*</include>
<include>img/logo.png</include>
</includes>
</resource>
</resources>
</configuration>
</execution>
```

Other changes:

- The Social tab of the `Share` plugin is deprecated and disabled by default, and it no longer shows share counters. It will be removed in the 2027.01 series. To show it again, set `"socialPanel": true` in the `cfg` of the `Share` plugin, and update the Cookie Policy of the installation accordingly. Link and embed sharing retain their existing resource permissions.
- The old cookie notice (Accept, More details and Leave) is removed, with its `externalCookieUrl` and `declineUrl` options and the `translations/fragments/cookie` pages. Remove these options from custom configurations. A `localConfig.json` without the `privacy` section shows no notice: copy the `privacy` section of the standard `localConfig.json` to show the privacy panel.
- The default theme includes the Noto Sans font, so the pages no longer download it from Google Fonts. Projects should remove the Google Fonts links from their HTML templates and replace the Bowser script with the inline Internet Explorer check of the standard templates. Custom themes that do not import the default theme must import `themes/default/fonts.less` to keep the same font.

See [Privacy and Consent Configuration](privacy-settings.md#privacy-and-consent-configuration) for browser storage, configuration and adapter requirements.

### Default users removed: initial administrator password

MapStore does not create the sample users `admin`/`admin` and `user`/`user` anymore (the `sample_users.xml` file is no longer shipped with the bundled GeoStore). On the first start with an empty database the `admin` user is created with the password taken from the `INITIAL_ADMIN_PASSWORD` environment variable; if the variable is not set, no administrator is created and start-up continues with a warning in the log. On a database that still contains an `admin` using the former default password, setting `INITIAL_ADMIN_PASSWORD` resets it to that value. See [Initial Administrator Password](initial-admin-password.md) for the details.
Expand Down
Loading
Loading