Yohan Boniface
2a460f03b2
wip: add test to make sure saving also save remote dirty datalayers
2025-03-26 18:05:16 +01:00
Yohan Boniface
bbde111fdf
wip: do not call document during JS unittests
2025-03-26 18:05:16 +01:00
Yohan Boniface
9c4287ac1e
wip: allow to sync/undo filter added/removed from table editor
2025-03-26 18:05:16 +01:00
Yohan Boniface
e9f2ff9a6c
wip: permissions does not inherit from ServerStored anymore
2025-03-26 18:05:16 +01:00
Yohan Boniface
12e456d24e
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-26 18:05:16 +01:00
Yohan Boniface
e004cd461d
wip: uncreated map should always appear as dirty
2025-03-26 18:05:16 +01:00
Yohan Boniface
6bea9339b6
wip: DataLayer does not inherit anymore from ServerStored
2025-03-26 18:05:16 +01:00
Yohan Boniface
90ea3737f2
wip: allow DataLayer.clear to be sync and undone
2025-03-26 18:05:16 +01:00
Yohan Boniface
a7b750740c
wip: uMap does not inherit anymore from ServerStored
...
Co-authored-by: David Larlet <david@larlet.fr>
2025-03-26 18:05:16 +01:00
Yohan Boniface
101b036a66
wip: remove not effective code
...
Co-authored-by: David Larlet <david@larlet.fr>
2025-03-26 18:05:16 +01:00
Yohan Boniface
983f7f8cb1
wip: add permissions related fields in schema
...
Co-authored-by: David Larlet <david@larlet.fr>
2025-03-26 18:05:16 +01:00
Yohan Boniface
9718f11faf
wip: allow to mark an operation as not undoable
...
Co-authored-by: David Larlet <david@larlet.fr>
2025-03-26 18:05:16 +01:00
Yohan Boniface
88382ab00b
wip: tests pass
...
Co-authored-by: David Larlet <david@larlet.fr>
2025-03-26 18:05:16 +01:00
Yohan Boniface
0b84084c6b
fixup: make sure to toggle remote client state at save too
...
Co-authored-by: David Larlet <david@larlet.fr>
2025-03-26 18:05:16 +01:00
Yohan Boniface
8b2454936b
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-26 18:05:16 +01:00
Yohan Boniface
98f2f8df65
Update the tests and remove cancel edits
...
Co-authored-by: Alexis Métaireau <alexis@notmyidea.org>
2025-03-26 18:05:16 +01:00
757cb375d1
Add integration test for batch undo/redo
2025-03-26 18:05:16 +01:00
Yohan Boniface
4ef1411102
Batch operations
...
Co-authored-by: Alexis Métaireau <alexis@notmyidea.org>
Co-authored-by: David Larlet <david@larlet.fr>
2025-03-26 18:05:16 +01:00
Yohan Boniface
01b2053030
wip: undo redo
...
Co-authored-by: Alexis Métaireau <alexis@notmyidea.org>
2025-03-26 18:05:16 +01: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
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
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
Yohan Boniface
9d4069d9ae
chore: order importers by name instead of id
...
Co-authored-by: David Larlet <david@larlet.fr>
2025-03-17 16:44:23 +01:00
Yohan Boniface
167bab70c5
feat: add experimental BAN importer ( #2565 )
...
This importer takes a CSV as input, sends it to the BAN API, and then
paste it into the import textarea, so it can be imported as usual.
https://github.com/user-attachments/assets/c13f8580-5c09-4b35-b092-baac664a57a1
2025-03-17 16:39:55 +01:00
Yohan Boniface
d3ed46356d
feat: add experimental BAN importer
...
This importer takes a CSV as input, sends it to the BAN API, and
then paste it into the import textarea, so it can be imported as usual.
Co-authored-by: David Larlet <david@larlet.fr>
2025-03-17 16:20:57 +01:00
Yohan Boniface
dd5add96b4
fix: iconUrl field was broken on older browsers ( #2575 )
...
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
fix #2554
2025-03-14 15:07:14 +01:00
Yohan Boniface
f26536bff3
fix: iconUrl field was broken on older browsers
...
fix #2554
2025-03-14 14:50:47 +01:00
Yohan Boniface
1b058ce862
fixup: hide home button in edit mode ( #2562 )
...
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
The button is already on the edit bar.
Would be nicer to have a css transition (like for the bar itself), but
at least with this change it is not duplicated.
2025-03-13 16:52:41 +01:00
Yohan Boniface
a46430c420
fix: import iconUrl as absolute when possible ( #2563 )
...
This will only cover the cases where the icon is set at the map or at
the layer level, not the one of the marker itself.
cf #2552
2025-03-13 16:52:19 +01:00
Yohan Boniface
05e3f5ce3d
fix: use real redraw for datalayer, instead of hide/show ( #2568 )
...
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
The problem we've tried to fix is, during sync:
- peer A is editing a feature
- peer B changes the datalayer of this feature
- edit panel is closed for peer A
2025-03-12 17:41:18 +01:00
Yohan Boniface
c417e94698
fix(sync): fix tilelayer change not synced ( #2569 )
2025-03-12 17:39:19 +01:00
Yohan Boniface
e53d208d7c
fix: cast value to string before calling trim ( #2567 )
...
fix #2566
2025-03-12 17:36:42 +01:00
Yohan Boniface
e20648104b
fix: fix tilelayer change not synced
...
Co-authored-by: Alexis Métaireau <alexis@notmyidea.org>
2025-03-12 13:01:26 +01:00
Yohan Boniface
0c9d5325ba
fix: use real redraw for datalayer, instead of hide/show
...
The problem we've tried to fix is, during sync:
- peer A is editing a feature
- peer B changes the datalayer of this feature
- edit panel is closed for peer A
Co-authored-by: Alexis Métaireau <alexis@notmyidea.org>
2025-03-12 12:23:54 +01:00
Yohan Boniface
90be14ae89
fix: cast value to string before calling trim
...
fix #2566
2025-03-11 21:43:21 +01:00
Yohan Boniface
003b25d5e0
fix: import iconUrl as absolute when possible
...
This will only cover the cases where the icon is set at the map or
at the layer level, not the one of the marker itself.
cf #2552
2025-03-11 16:20:58 +01:00
Yohan Boniface
ef80396784
fixup: hide home button in edit mode
...
The button is already on the edit bar.
Would be nicer to have a css transition, but at least with this
change it is not duplicated.
2025-03-11 15:32:01 +01:00
Yohan Boniface
d85fc648b1
feat: add new "Back to home" icon ( #2551 )
...
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-10 22:31:42 +01:00
Yohan Boniface
b037915aae
chore: bump django-storages[s3] from 1.14.4 to 1.14.5 ( #2560 )
2025-03-10 22:06:29 +01:00
Yohan Boniface
17bbbe38bd
chore: new icon, colors and title for search buttons ( #2556 )
...

2025-03-10 22:05:39 +01:00
Yohan Boniface
6cbe8cb9ad
chore: bump pytest from 8.3.4 to 8.3.5 ( #2559 )
2025-03-10 22:04:29 +01:00