Yohan Boniface
db72bfad8d
wip: sort tags by label, not by value
2025-04-03 11:10:36 +02:00
Yohan Boniface
738af24dfc
chore: fix tags related test
2025-04-03 11:10:36 +02:00
Yohan Boniface
06f963c07f
chore: align search form elements
...
Co-authored-by: David Larlet <david@larlet.fr>
2025-04-03 11:10:36 +02:00
Yohan Boniface
c6ed896a6d
feat: associate icons to tags
...
Co-authored-by: David Larlet <david@larlet.fr>
2025-04-03 11:10:36 +02:00
Yohan Boniface
1344fe6b46
feat: basic filtering by tags
2025-04-03 11:10:36 +02:00
Yohan Boniface
39f38a9cdf
feat: add Map.tags and allow to edit from client
...
cf #2283
2025-04-03 11:10:33 +02:00
Yohan Boniface
e2f154f62e
feat: add atomic undo redo ( #2570 )
...
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
Todo:
- [ ] undo/sync a version restore
- [x] add test for scenario where two peers create a layer and one click
on save (both should be saved)
- [x] undo/sync of conditional rules
- [x] undo/sync of filter management from table editor
2025-04-03 10:32:47 +02:00
Yohan Boniface
7196ffe101
chore: bump mkdocs-material from 9.6.9 to 9.6.10 ( #2593 )
2025-04-03 08:55:19 +02:00
Yohan Boniface
99ea09e79e
chore: bump pydantic from 2.10.6 to 2.11.1 ( #2594 )
2025-04-03 08:55:01 +02:00
Yohan Boniface
b3f587ccf3
chore: bump django from 5.1.7 to 5.1.8 ( #2595 )
2025-04-03 08:49:20 +02:00
dependabot[bot]
64cf408233
chore: bump django from 5.1.7 to 5.1.8
...
Bumps [django](https://github.com/django/django ) from 5.1.7 to 5.1.8.
- [Commits](https://github.com/django/django/compare/5.1.7...5.1.8 )
---
updated-dependencies:
- dependency-name: django
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-04-02 20:41:42 +00:00
dependabot[bot]
e26e8edc8a
chore: bump pydantic from 2.10.6 to 2.11.1
...
Bumps [pydantic](https://github.com/pydantic/pydantic ) from 2.10.6 to 2.11.1.
- [Release notes](https://github.com/pydantic/pydantic/releases )
- [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md )
- [Commits](https://github.com/pydantic/pydantic/compare/v2.10.6...v2.11.1 )
---
updated-dependencies:
- dependency-name: pydantic
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-03-31 17:38:06 +00:00
dependabot[bot]
1b8e217768
chore: bump mkdocs-material from 9.6.9 to 9.6.10
...
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material ) from 9.6.9 to 9.6.10.
- [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.9...9.6.10 )
---
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-31 17:38:01 +00:00
Yohan Boniface
5259cab027
chore: remove saving.js import added by mistake during rebase
2025-03-28 18:00:14 +01:00
Yohan Boniface
7ede27bf0f
chore: top edit bar responsiveness
...
Co-authored-by: David Larlet <david@larlet.fr>
2025-03-28 18:00:14 +01:00
Yohan Boniface
5807cfbbcd
wip: move undo/redo buttons to the left
...
Co-authored-by: David Larlet <david@larlet.fr>
2025-03-28 18:00:14 +01:00
Yohan Boniface
e41ad4e069
wip: allow to sync version restore
...
Co-authored-by: David Larlet <david@larlet.fr>
2025-03-28 18:00:14 +01:00
Yohan Boniface
c933df585c
wip: add test to make sure saving also save remote dirty datalayers
2025-03-28 18:00:14 +01:00
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