Yohan Boniface
|
822e2a96cf
|
Use datalayer.isDataReadOnly in feature.isReadOnly
|
2023-09-20 09:54:06 +02:00 |
|
Yohan Boniface
|
a53dc2f5b1
|
Tests: reuse name var
|
2023-09-20 09:50:13 +02:00 |
|
Yohan Boniface
|
a0ccb768f3
|
Fix typo in tests
|
2023-09-20 09:46:05 +02:00 |
|
Yohan Boniface
|
a6f2e9e51d
|
Add DataLayer.isDataReadonly
In some places we need to know if a given datalayer can accept new
features, or not, whether because being readonly or being remote
|
2023-09-20 09:01:58 +02:00 |
|
Yohan Boniface
|
a38c2c6c20
|
Expose DataLayer.edit_status separately to the front
They now differ from the Map.edit_status ones
|
2023-09-19 08:37:06 +02:00 |
|
Yohan Boniface
|
1771572bd7
|
Reset DataLayer.edit_status migration
|
2023-09-19 08:22:11 +02:00 |
|
Yohan Boniface
|
e0caddf9d8
|
Add DataLayer.INHERIT edit status option
|
2023-09-19 08:19:20 +02:00 |
|
Yohan Boniface
|
7a412f8374
|
Add back Map.edit_status
Revert "Fix existing permissions related tests"
This reverts commit 36d7d87301 .
WIP
|
2023-09-18 20:55:21 +02:00 |
|
Yohan Boniface
|
6f85cb82aa
|
Remove data migration for edit_status
|
2023-09-18 20:01:24 +02:00 |
|
Yohan Boniface
|
882a767405
|
Make OWNER mode the default edit_status for anonymous owned maps
|
2023-09-18 20:01:24 +02:00 |
|
Yohan Boniface
|
83c2c6f73a
|
Make sure to select only editable layers for attachin to features
|
2023-09-18 20:01:23 +02:00 |
|
Yohan Boniface
|
af5459f75f
|
Include layer name in translation
|
2023-09-13 17:16:28 +02:00 |
|
Yohan Boniface
|
4a198caaff
|
Fix permissions related frontend tests
|
2023-09-13 16:53:48 +02:00 |
|
Yohan Boniface
|
03763aaf20
|
Add default value for DataLayer.options.editMode
|
2023-09-13 16:53:19 +02:00 |
|
Yohan Boniface
|
6026b31824
|
Make sure only owner see the delete map button
|
2023-09-13 12:00:20 +02:00 |
|
David Larlet
|
d26cd05d9e
|
Remove the hasDirty concept
And only save the map in case of an `advanced` `editMode`.
|
2023-09-12 11:31:54 -04:00 |
|
Yohan Boniface
|
21f19a7ded
|
Rename allowEdit in editMode
|
2023-09-12 17:02:18 +02:00 |
|
Yohan Boniface
|
acf7aec1f0
|
Remove console.log
|
2023-09-12 16:15:30 +02:00 |
|
Yohan Boniface
|
e3cf017033
|
Add SQL migration to populate DataLayer.edit_status from Map.edit_status
|
2023-09-12 11:38:05 +02:00 |
|
Yohan Boniface
|
b84a457cda
|
Add playwright test for editor's permissions form
|
2023-09-12 11:19:03 +02:00 |
|
Yohan Boniface
|
db766c9d1d
|
Add playwright tests for anonymous map
|
2023-09-12 11:07:10 +02:00 |
|
Yohan Boniface
|
71c7217eba
|
Add map update playwright tests
|
2023-09-11 12:19:42 +02:00 |
|
Yohan Boniface
|
4d14cf6589
|
Do not try to access self.object in MapCreate
|
2023-09-10 09:34:13 +02:00 |
|
Yohan Boniface
|
c40ef38ea9
|
Add more tests for datalayer permissions
|
2023-09-09 11:53:25 +02:00 |
|
Yohan Boniface
|
36d7d87301
|
Fix existing permissions related tests
|
2023-09-09 11:53:25 +02:00 |
|
Yohan Boniface
|
f41037cafd
|
Expose correct edit statuses in anonymous mode
|
2023-09-09 11:53:25 +02:00 |
|
Yohan Boniface
|
db4255fd63
|
Fix helptext not displayed in anonymous permissions panel
|
2023-09-09 11:53:25 +02:00 |
|
Yohan Boniface
|
73e95dcf07
|
Hide create/delete datalayers button + map settings to users without rights
|
2023-09-09 11:53:25 +02:00 |
|
Yohan Boniface
|
05726236ce
|
Remove unused icon in 16.svg
|
2023-09-09 11:53:25 +02:00 |
|
Yohan Boniface
|
fba114a0ff
|
Do not try to save map itself unless it has been modified
|
2023-09-09 11:53:22 +02:00 |
|
Yohan Boniface
|
fc80dcd758
|
Fix map check in DataLayerUpdate view
|
2023-09-09 11:47:10 +02:00 |
|
Yohan Boniface
|
1af10f4c4c
|
Move copyToClipboard to L.Util
|
2023-09-09 11:47:10 +02:00 |
|
Yohan Boniface
|
f10924c1a0
|
Make DataLayer.isReadOnly explicit and true by default
|
2023-09-09 11:47:10 +02:00 |
|
Yohan Boniface
|
f752f2e13f
|
Do not use Map.edit_status anymore
But keep it for now, for data migration, and just in case
|
2023-09-09 11:47:10 +02:00 |
|
Yohan Boniface
|
784d77d677
|
Do not expose readonly datalayers for features
|
2023-09-09 11:47:10 +02:00 |
|
Yohan Boniface
|
c3b67962c9
|
WIP: move edit_status from Map to DataLayer
|
2023-09-09 11:47:10 +02:00 |
|
David Larlet
|
2152ca3d1a
|
Merge pull request #1069 from umap-project/playwright-integration-tests
Setup to create integration tests with Playwright
|
2023-09-08 11:24:35 -04:00 |
|
Yohan Boniface
|
aa1b04b3ad
|
Merge pull request #1298 from umap-project/fix-remotelayer-with-zoom-onload
Try to fix remote datalayer not sending dataloaded
|
2023-09-08 16:02:37 +02:00 |
|
Yohan Boniface
|
aca473692a
|
Merge pull request #1303 from umap-project/icons-quick-changes
Enhance icon selector form
|
2023-09-08 16:01:25 +02:00 |
|
Yohan Boniface
|
a9cd424f05
|
Merge pull request #1306 from umap-project/popup-img-width
Use css width for img custom width
|
2023-09-08 15:09:53 +02:00 |
|
Yohan Boniface
|
4857d7c29c
|
Use css width for img custom width
The width attribute is the intrinsic width of the image, and thus
it will not overwrite the default CSS
cf https://forum.openstreetmap.fr/t/bugs-divers-relevees-sur-une-umap-absent-sur-une-autre/17254/5
|
2023-09-07 07:16:55 +02:00 |
|
Yohan Boniface
|
4009e759dc
|
Prevent HTML blinking when loading icons list
|
2023-09-05 11:21:17 +02:00 |
|
Yohan Boniface
|
d72ae3fc34
|
Very minimal search input for icons list
fix #1302
|
2023-09-05 10:55:35 +02:00 |
|
Yohan Boniface
|
ce7575c5eb
|
But back icon preview
|
2023-09-05 10:29:44 +02:00 |
|
Yohan Boniface
|
c5084c4332
|
Add toggle link to show/hide iconUrl raw input
|
2023-09-05 10:14:24 +02:00 |
|
Yohan Boniface
|
91e71eccda
|
Change button look in icon form
|
2023-09-05 09:41:09 +02:00 |
|
Yohan Boniface
|
bfd36bc0e1
|
Do not reset icon list on icon choice
cf #1302
|
2023-09-05 09:38:07 +02:00 |
|
Yohan Boniface
|
c08e7c5527
|
Remove duplicate help text in icon advanced free field
|
2023-09-05 09:36:30 +02:00 |
|
Yohan Boniface
|
09d0891318
|
Change link color in dark mode
|
2023-09-05 09:36:05 +02:00 |
|
Yohan Boniface
|
2f7ff46a38
|
test: no need for mirations anymore
|
2023-09-04 15:07:43 +02:00 |
|