Commit graph

2535 commits

Author SHA1 Message Date
David Larlet
49b240a3db
2.2.2 2024-05-01 14:08:56 -04:00
David Larlet
0cd039fce2
Merge pull request #1787 from umap-project/fix-dompurify-map
fix: vendorize the .map too for dompurify
2024-05-01 14:07:41 -04:00
David Larlet
5bdfc708ee
fix: vendorize the .map too for dompurify
Fix up for  2c1cd46167

We keep the `.mjs` fragment within the filename to avoid changing it manually within the renamed `purify.es.js` file. Given the `.map` extension, it will not affect the nginx (or others) mimetypes configuration.
2024-05-01 13:59:42 -04:00
David Larlet
c05282f19c
2.2.1 2024-05-01 13:36:00 -04:00
David Larlet
05213f1158
Merge pull request #1786 from umap-project/no-mjs
fix: no .mjs extension for JS modules
2024-05-01 13:33:50 -04:00
David Larlet
2c1cd46167
fix: no .mjs extension for JS modules
It requires a special nginx configuration that we want to avoid for all instances deployments:

```
include mime.types;
types {
  application/javascript mjs;
}
```
2024-05-01 13:27:45 -04:00
Yohan Boniface
22e38d6a3d changelog 2024-05-01 18:13:39 +02:00
Yohan Boniface
dc69ec55c8 2.2.0 2024-05-01 18:05:44 +02:00
Yohan Boniface
55dc083866 i18n 2024-05-01 18:04:01 +02:00
Yohan Boniface
0f798d4cc6
Merge pull request #1774 from umap-project/browser-tabs
feat: add browser tabs submenu
2024-05-01 17:54:22 +02:00
Yohan Boniface
85e2a8ef5b
Merge pull request #1785 from umap-project/fix-modifier-macos
fix: deal with the modifier key under macOS
2024-05-01 17:51:58 +02:00
Yohan Boniface
5bfc65167a wip: refactor credits css in caption 2024-05-01 17:48:35 +02:00
Yohan Boniface
6cc34d1f97 wip: change flat tags colors (in browser/caption/iconUrl field) 2024-05-01 17:43:20 +02:00
Yohan Boniface
4e7f1e43c0 wip: make owner closer to title in caption box 2024-05-01 17:43:20 +02:00
Yohan Boniface
00a3c2fe34 wip: change tabs rendering in browser and iconUrl form field 2024-05-01 17:43:20 +02:00
Yohan Boniface
b550c93b87 wip: move owner link above tabs in caption 2024-05-01 17:43:20 +02:00
Yohan Boniface
d013d6b0e3 wip: add browser tabs submenu 2024-05-01 17:43:20 +02:00
David Larlet
d00c394a99
fix: deal with the modifier key under macOS 2024-05-01 11:40:37 -04:00
Yohan Boniface
2cb22dc4b0
Merge pull request #1778 from umap-project/dependabot/pip/pytest-8.2.0
chore: bump pytest from 8.1.1 to 8.2.0
2024-05-01 17:08:36 +02:00
Yohan Boniface
0421c9947d
Merge pull request #1779 from umap-project/dependabot/pip/hatch-1.9.7
chore: bump hatch from 1.9.4 to 1.9.7
2024-05-01 17:08:15 +02:00
Yohan Boniface
cd10a6259f
Merge pull request #1784 from umap-project/fix-alert-anonymous
fix: make sure to display anonymous edit link even if email is not configured
2024-05-01 17:07:57 +02:00
Yohan Boniface
713214e258
Merge pull request #1782 from umap-project/fix-caption
fix: ensure tilelayer attribution with smart text is displayed as HMTL
2024-05-01 17:05:24 +02:00
Yohan Boniface
0002b22f5c chore: skip failing test for now
This test was relying on changing DEFAULT_FROM_EMAIL in the test,
but given this setting is used at load from urls.py, it has no
effect.
2024-05-01 16:57:46 +02:00
dependabot[bot]
b75d1e47df
chore: bump hatch from 1.9.4 to 1.9.7
Bumps [hatch](https://github.com/pypa/hatch) from 1.9.4 to 1.9.7.
- [Release notes](https://github.com/pypa/hatch/releases)
- [Commits](https://github.com/pypa/hatch/compare/hatch-v1.9.4...hatch-v1.9.7)

---
updated-dependencies:
- dependency-name: hatch
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-01 14:30:49 +00:00
Yohan Boniface
8c6f7d6a3f
Merge pull request #1780 from umap-project/dependabot/pip/pymdown-extensions-10.8.1
chore: bump pymdown-extensions from 10.8 to 10.8.1
2024-05-01 16:30:06 +02:00
Yohan Boniface
53ec78eed5
Merge pull request #1781 from umap-project/dependabot/pip/ruff-0.4.2
chore: bump ruff from 0.4.1 to 0.4.2
2024-05-01 16:29:53 +02:00
Yohan Boniface
596004c8c0
Merge pull request #1783 from umap-project/fix-name-click
fix: open caption form when clicking on map name, not advanced props
2024-05-01 16:28:40 +02:00
Yohan Boniface
fedb083612 chore: be more explicit on what HTML we allow when escaping 2024-05-01 16:26:38 +02:00
Yohan Boniface
200ee6ea10 chore: fix formatting 2024-05-01 16:26:38 +02:00
Yohan Boniface
c3516516cd chore: change DomUtil.element signature 2024-05-01 16:26:37 +02:00
Yohan Boniface
8c20397209 fix: make sure to display anonymous edit link even if email is not configured 2024-05-01 15:43:10 +02:00
Yohan Boniface
757cc1ee6c fix: open caption form when clicking on map name, not advanced props 2024-05-01 15:31:32 +02:00
Yohan Boniface
dccb93c8a8 fix: make sure we escape all innerHTML calls 2024-04-30 23:19:19 +02:00
Yohan Boniface
cdb46752a9 fix: ensure tilelayer attribution with smart text is displayed as HMTL 2024-04-30 20:02:13 +02:00
dependabot[bot]
8157be0f7d
chore: bump ruff from 0.4.1 to 0.4.2
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.4.1 to 0.4.2.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/v0.4.1...v0.4.2)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-29 17:19:32 +00:00
dependabot[bot]
37283a2a4d
chore: bump pymdown-extensions from 10.8 to 10.8.1
Bumps [pymdown-extensions](https://github.com/facelessuser/pymdown-extensions) from 10.8 to 10.8.1.
- [Release notes](https://github.com/facelessuser/pymdown-extensions/releases)
- [Commits](https://github.com/facelessuser/pymdown-extensions/compare/10.8...10.8.1)

---
updated-dependencies:
- dependency-name: pymdown-extensions
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-29 17:19:17 +00:00
dependabot[bot]
373c999f8f
chore: bump pytest from 8.1.1 to 8.2.0
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.1.1 to 8.2.0.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/8.1.1...8.2.0)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-29 17:19:06 +00:00
Yohan Boniface
4ca1450cc6
Merge pull request #1775 from umap-project/fix-layer-back
fix: fix back button in the layer edit form
2024-04-26 16:58:06 +02:00
Yohan Boniface
acb5a68755 fix: fix back button in the layer edit form 2024-04-25 10:56:51 +02:00
Yohan Boniface
45812432fc chore: bump python-social-auth
cf https://github.com/python-social-auth/social-app-django/issues/568
2024-04-25 09:21:24 +02:00
Yohan Boniface
9478b0c248 changelog 2024-04-24 21:35:31 +02:00
Yohan Boniface
6a48d641c9 2.2.0b0 2024-04-24 21:29:21 +02:00
Yohan Boniface
ec7bf88a43
Merge pull request #1773 from umap-project/dependabot/pip/social-auth-app-django-5.4.1
chore: bump social-auth-app-django from 5.4.0 to 5.4.1
2024-04-24 21:15:34 +02:00
Yohan Boniface
bd84922338 chore: remove -x from make test 2024-04-24 21:12:45 +02:00
Yohan Boniface
6c70081794
Merge pull request #1770 from umap-project/dependabot/pip/uwsgi-2.0.25.1
chore: bump uwsgi from 2.0.25 to 2.0.25.1
2024-04-24 21:11:00 +02:00
David Larlet
1def6ad075
Merge pull request #1769 from umap-project/dependabot/pip/ruff-0.4.1
chore: bump ruff from 0.3.7 to 0.4.1
2024-04-24 15:10:50 -04:00
Yohan Boniface
1eb10b0fd3
Merge pull request #1768 from umap-project/dependabot/pip/pymdown-extensions-10.8
chore: bump pymdown-extensions from 10.7.1 to 10.8
2024-04-24 21:10:23 +02:00
Yohan Boniface
e817f1cb0e
Merge pull request #1772 from umap-project/remove-description
feat: remove Map.description
2024-04-24 21:09:26 +02:00
dependabot[bot]
2682f13e1f
chore: bump social-auth-app-django from 5.4.0 to 5.4.1
Bumps [social-auth-app-django](https://github.com/python-social-auth/social-app-django) from 5.4.0 to 5.4.1.
- [Release notes](https://github.com/python-social-auth/social-app-django/releases)
- [Changelog](https://github.com/python-social-auth/social-app-django/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python-social-auth/social-app-django/compare/5.4.0...5.4.1)

---
updated-dependencies:
- dependency-name: social-auth-app-django
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-24 18:56:50 +00:00
Yohan Boniface
453056cb15 feat: remove Map.description
The field was not populated since years, and we already have the
info inside the JSONB `settings`.
2024-04-24 16:39:59 +02:00