Yohan Boniface
50f2c08ecb
wip: do not call document during JS unittests
2025-03-28 18:00:14 +01:00
Yohan Boniface
d61e045903
wip: allow to sync/undo filter added/removed from table editor
2025-03-28 18:00:14 +01:00
Yohan Boniface
6b2038e83e
wip: permissions does not inherit from ServerStored anymore
2025-03-28 18:00:14 +01:00
Yohan Boniface
0389e9a185
wip: allow to undo/sync rules
...
When editing Rule(s), we are not editing the map data itself, but a
sort of proxy objects. This was done mainly because map.properties.rules
is an array of object, and at this time Leaflet.FormBuilder did not know
how to edit an array (something like properties.rules.0.condition).
Now that we integrated FormBuilder, it still does not know how to do this
but we could teach it, or find another way (real Proxy or use reference
to the original object in the Rule).
2025-03-28 18:00:14 +01:00
Yohan Boniface
a2e864ad73
wip: uncreated map should always appear as dirty
2025-03-28 18:00:14 +01:00
Yohan Boniface
d0fb85d552
wip: DataLayer does not inherit anymore from ServerStored
2025-03-28 18:00:14 +01:00
Yohan Boniface
fa83764c8b
wip: allow DataLayer.clear to be sync and undone
2025-03-28 18:00:14 +01:00
Yohan Boniface
d438a007e4
wip: uMap does not inherit anymore from ServerStored
...
Co-authored-by: David Larlet <david@larlet.fr>
2025-03-28 18:00:14 +01:00
Yohan Boniface
be52e7ca2f
wip: remove not effective code
...
Co-authored-by: David Larlet <david@larlet.fr>
2025-03-28 18:00:14 +01:00
Yohan Boniface
172de0e2d0
wip: add permissions related fields in schema
...
Co-authored-by: David Larlet <david@larlet.fr>
2025-03-28 18:00:14 +01:00
Yohan Boniface
77da6425c2
wip: allow to mark an operation as not undoable
...
Co-authored-by: David Larlet <david@larlet.fr>
2025-03-28 18:00:14 +01:00
Yohan Boniface
093ed061c1
wip: tests pass
...
Co-authored-by: David Larlet <david@larlet.fr>
2025-03-28 18:00:14 +01:00
Yohan Boniface
5cb7cb2738
fixup: make sure to toggle remote client state at save too
...
Co-authored-by: David Larlet <david@larlet.fr>
2025-03-28 18:00:14 +01:00
Yohan Boniface
dfdfae0080
wip: derive the dirty status from the undoManager
...
This should pave the way for removing the SaveManager.
Co-authored-by: David Larlet <david@larlet.fr>
2025-03-28 18:00:14 +01:00
Yohan Boniface
4fd066387d
Update the tests and remove cancel edits
...
Co-authored-by: Alexis Métaireau <alexis@notmyidea.org>
2025-03-28 18:00:14 +01:00
fa3ba46ca8
Add integration test for batch undo/redo
2025-03-28 18:00:14 +01:00
Yohan Boniface
cb46a5f875
Batch operations
...
Co-authored-by: Alexis Métaireau <alexis@notmyidea.org>
Co-authored-by: David Larlet <david@larlet.fr>
2025-03-28 18:00:14 +01:00
Yohan Boniface
cc2625bfac
wip: undo redo
...
Co-authored-by: Alexis Métaireau <alexis@notmyidea.org>
2025-03-28 18:00:14 +01:00
Yohan Boniface
8292608365
chore: fix HLC comparison
...
Test & Docs / tests (postgresql, 3.10) (push) Has been cancelled
Test & Docs / tests (postgresql, 3.12) (push) Has been cancelled
Test & Docs / lint (push) Has been cancelled
This change was made by biome, but it breaks unittests, not
sure why but let's revert for now.
2025-03-28 17:59:35 +01:00
Yohan Boniface
ae8cbf39ad
feat: display maps list as a grid now ( #2590 )
...

2025-03-28 16:15:51 +01:00
Yohan Boniface
7c5d821ec8
feat: layers selector in bottom bar ( #2579 )
2025-03-28 16:15:20 +01:00
Yohan Boniface
4e9e828c8f
feat: display maps list as a grid now
...
Co-authored-by: David Larlet <david@larlet.fr>
2025-03-28 16:05:11 +01:00
Yohan Boniface
79d60d0995
fix: update datalayers switcher when datalayer visibility changes
...
Co-authored-by: David Larlet <david@larlet.fr>
2025-03-28 15:56:28 +01:00
Yohan Boniface
75457b6d5c
fix: do not fail when trying to read metadata of a missing geojson ( #2592 )
...
Some geojson have been removed by mistake time ago (cf #1003 ), when
someone tries to load a map referencing them, it was until recently just
showing an error message, but since recently we try to get the metadata
from it, and this will crash.
2025-03-28 15:28:13 +01:00
Yohan Boniface
8538db278d
feat: add titles in the text formatting dialog ( #2584 )
...

fix #813
2025-03-28 15:27:30 +01:00
Yohan Boniface
ba9e8ffe9b
chore: apply Biome check ( #2588 )
...
This is mostly imports ordering but there are a couple of subtleties 🐉
There are still 9 errors before we can automatize the check with the CI!
2025-03-28 15:26:52 +01:00
Yohan Boniface
dcf5f1a763
fix: make sure umap.properties.slideshow is defined ( #2583 )
2025-03-28 15:25:19 +01:00
Yohan Boniface
41264e740f
fix: do not fail when trying to read metadata of a missing geojson
...
Some geojson have been removed by mistake time ago (cf #1003 ), when someone
tries to load a map referencing them, it was until recently just
showing an error message, but since recently we try to get the
metadata from it, and this will crash.
2025-03-28 12:58:07 +01:00
Yohan Boniface
953b37a181
fixup: fix tests
2025-03-27 13:14:20 +01:00
Yohan Boniface
9eaf33c118
wip: only show layer selector if there are at least two layers
2025-03-27 13:11:24 +01:00
David Larlet
f2cde6af4e
fixup: positionning of caption bar elements
2025-03-27 13:11:24 +01:00
Yohan Boniface
a4abecbd2c
fixup: only show datalayers with inCaption=true in switcher
2025-03-27 13:11:24 +01:00
Yohan Boniface
254a2018f5
chore: use toggle to switch visibility in datalayer switcher
2025-03-27 13:11:24 +01:00
Yohan Boniface
3df52e002d
wip
2025-03-27 13:11:24 +01:00
David Larlet
82208d618a
chore: apply Biome check
2025-03-26 14:37:56 -04:00
Yohan Boniface
64c7fe1ec9
fix: fix icon and button for version restore
...
Test & Docs / tests (postgresql, 3.10) (push) Has been cancelled
Test & Docs / tests (postgresql, 3.12) (push) Has been cancelled
Test & Docs / lint (push) Has been cancelled
Co-authored-by: David Larlet <david@larlet.fr>
2025-03-26 18:05:01 +01:00
Yohan Boniface
e993aa7dbc
chore: bump eslint ecmaVersion from 2020 to 2021
2025-03-26 11:30:08 +01:00
Yohan Boniface
be83eddbd0
chore: bump ruff from 0.11.0 to 0.11.2 ( #2587 )
Test & Docs / tests (postgresql, 3.10) (push) Has been cancelled
Test & Docs / tests (postgresql, 3.12) (push) Has been cancelled
Test & Docs / lint (push) Has been cancelled
2025-03-25 13:04:07 +01:00
dependabot[bot]
4df201107e
chore: bump ruff from 0.11.0 to 0.11.2
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.11.0 to 0.11.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/0.11.0...0.11.2 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-03-24 17:42:02 +00:00
Yohan Boniface
60f16cbc76
chore: remove old JS tests ( #2585 )
...
Test & Docs / tests (postgresql, 3.10) (push) Has been cancelled
Test & Docs / tests (postgresql, 3.12) (push) Has been cancelled
Test & Docs / lint (push) Has been cancelled
Those are not run since more than one year, so let's trash.
fix #2260
2025-03-20 11:50:48 +01:00
Yohan Boniface
2fa88c36f8
chore: bump ruff from 0.9.10 to 0.11.0 ( #2582 )
Test & Docs / tests (postgresql, 3.10) (push) Waiting to run
Test & Docs / tests (postgresql, 3.12) (push) Waiting to run
Test & Docs / lint (push) Waiting to run
2025-03-19 08:22:32 +01:00
Yohan Boniface
47c5c0a2f0
chore: remove old JS tests
...
Those are not ran since more than one year, so let's trash.
fix #2260
2025-03-19 08:16:38 +01:00
Yohan Boniface
ecca66ccc2
feat: add titles in the text formatting dialog
...
fix #813
2025-03-19 08:14:33 +01:00
Yohan Boniface
360ca100ba
fix: make sure umap.properties.slideshow is defined
2025-03-18 07:35:10 +01:00
dependabot[bot]
e548ec60f1
chore: bump ruff from 0.9.10 to 0.11.0
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.9.10 to 0.11.0.
- [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/0.9.10...0.11.0 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-03-18 05:58:20 +00:00
Yohan Boniface
190acbfaf0
chore: bump mkdocs-material from 9.6.7 to 9.6.9 ( #2580 )
Test & Docs / tests (postgresql, 3.10) (push) Has been cancelled
Test & Docs / tests (postgresql, 3.12) (push) Has been cancelled
Test & Docs / lint (push) Has been cancelled
2025-03-18 06:57:13 +01:00
Yohan Boniface
1370b1a0e8
chore: bump psycopg from 3.2.5 to 3.2.6 ( #2581 )
Test & Docs / tests (postgresql, 3.10) (push) Waiting to run
Test & Docs / tests (postgresql, 3.12) (push) Waiting to run
Test & Docs / lint (push) Waiting to run
2025-03-17 21:27:56 +01:00
dependabot[bot]
aa75b323c8
chore: bump psycopg from 3.2.5 to 3.2.6
...
Bumps [psycopg](https://github.com/psycopg/psycopg ) from 3.2.5 to 3.2.6.
- [Changelog](https://github.com/psycopg/psycopg/blob/master/docs/news.rst )
- [Commits](https://github.com/psycopg/psycopg/compare/3.2.5...3.2.6 )
---
updated-dependencies:
- dependency-name: psycopg
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-03-17 18:07:46 +00:00
dependabot[bot]
1c00545095
chore: bump mkdocs-material from 9.6.7 to 9.6.9
...
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material ) from 9.6.7 to 9.6.9.
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases )
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG )
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.6.7...9.6.9 )
---
updated-dependencies:
- dependency-name: mkdocs-material
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-03-17 18:07:38 +00:00
Yohan Boniface
54a3aae912
chore: order importers by name instead of id ( #2578 )
2025-03-17 16:46:22 +01:00