Yohan Boniface
af44b3a0a6
Add playwright test for editor's permissions form
2023-09-22 17:30:07 +02:00
Yohan Boniface
a15aa3566a
Add playwright tests for anonymous map
2023-09-22 17:30:07 +02:00
Yohan Boniface
d902546da4
Add map update playwright tests
2023-09-22 17:30:07 +02:00
Yohan Boniface
168cc01c2e
Do not try to access self.object in MapCreate
2023-09-22 17:30:07 +02:00
Yohan Boniface
42eb0e6ded
Add more tests for datalayer permissions
2023-09-22 17:30:06 +02:00
Yohan Boniface
d6d55e619a
Fix existing permissions related tests
2023-09-22 17:26:57 +02:00
Yohan Boniface
e52b40807a
Expose correct edit statuses in anonymous mode
2023-09-22 17:26:57 +02:00
Yohan Boniface
e06da18f1e
Fix helptext not displayed in anonymous permissions panel
2023-09-22 17:26:57 +02:00
Yohan Boniface
1cefd4e851
Hide create/delete datalayers button + map settings to users without rights
2023-09-22 17:26:57 +02:00
Yohan Boniface
35d7a5c550
Remove unused icon in 16.svg
2023-09-22 17:26:57 +02:00
Yohan Boniface
9189262855
Do not try to save map itself unless it has been modified
2023-09-22 17:26:57 +02:00
Yohan Boniface
ee9acf3427
Fix map check in DataLayerUpdate view
2023-09-22 17:26:57 +02:00
Yohan Boniface
70a1a1d584
Move copyToClipboard to L.Util
2023-09-22 17:26:57 +02:00
Yohan Boniface
76239ef55c
Make DataLayer.isReadOnly explicit and true by default
2023-09-22 17:26:56 +02:00
Yohan Boniface
3d2e62c858
Do not use Map.edit_status anymore
...
But keep it for now, for data migration, and just in case
2023-09-22 17:26:55 +02:00
Yohan Boniface
de907dcb50
Do not expose readonly datalayers for features
2023-09-22 17:25:55 +02:00
Yohan Boniface
89ab029cab
WIP: move edit_status from Map to DataLayer
2023-09-22 17:25:55 +02:00
Yohan Boniface
73d19e849f
Refactor share_status check in datalayers views
2023-09-22 17:24:01 +02:00
Yohan Boniface
9bcc18b790
Merge pull request #1329 from umap-project/prune-gz
...
Prune old .gz when saving a datalayer
2023-09-22 17:14:31 +02:00
Yohan Boniface
b6b9943264
Prune old .gz when saving a datalayer
...
We'll not consume them.
fix #1317
2023-09-21 19:12:07 +02:00
Yohan Boniface
5b7fec5f9b
Merge pull request #1314 from openbrian/docker-compose-app-depends-on-db
...
Replace wait_for_database with depends_on and healthcheck.
2023-09-21 10:11:56 +02:00
Brian DeRocher
204db34282
Replace bash based waiting with python based django-probes.
2023-09-20 09:45:26 -04:00
Yohan Boniface
f6730a9829
Update umap/views.py
...
Co-authored-by: David Larlet <3556+davidbgk@users.noreply.github.com>
2023-09-20 15:17:29 +02:00
Yohan Boniface
43e5391c49
Fix map displayed more than once in user dashboard when multiple editors
...
fix #1325
2023-09-20 11:30:05 +02:00
Yohan Boniface
038a1a3c4d
Merge pull request #1315 from umap-project/dot-in-property
...
Remove dot in property name
2023-09-19 07:35:10 +02:00
Yohan Boniface
9120d54be7
Fix table editor not closing anymore from fullwidth
...
(From f3b5c82767
)
2023-09-18 13:02:19 +02:00
Yohan Boniface
647d8910c0
Remove dot in property name
...
Otherwise it will break when trying to access it in FormBuilder
2023-09-18 12:21:06 +02:00
Yohan Boniface
417dde04b0
1.7.3
2023-09-18 11:19:59 +02:00
Yohan Boniface
9f47b0fc55
i18n
2023-09-18 11:19:40 +02:00
Yohan Boniface
0a83c42724
Merge pull request #1313 from jschleic/feature-1312
...
Add outlinkTarget to default interactionProperties
2023-09-15 12:15:47 +02:00
Yohan Boniface
13d398318d
Tests: fix toggle edit panel check
...
We do not remove the panel content anymore
2023-09-15 12:11:13 +02:00
Joachim Schleicher
db31aa119e
Add outlinkTarget to default interactionProperties
...
Fix #1312
2023-09-14 10:36:23 +02:00
David Larlet
f535993201
Add a powered by uMap
footer
...
Fix #1304
2023-09-08 17:17:11 -04: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
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
3a5174c003
Fix tests with playwright
...
Basically:
- when using playwright, we use live_server
- live_server make django-pytest switch in "transactional db" mode
- when in this mode, it will reset all data of all tables in db
- we relied on data created during the migrations, so only available
for first test run
2023-09-04 15:04:00 +02:00
Yohan Boniface
c35c6ee78c
test: allow to run playwright tests directly with py.test cli
2023-09-04 15:00:51 +02:00
David Larlet
29547d0bd6
Add a test to verify marker creation at position
2023-09-04 11:03:31 +02:00
David Larlet
95bf685159
Setup to create integration tests with Playwright
2023-09-04 11:03:28 +02:00
Yohan Boniface
648fe65f14
WIP: try to fix remote datalayer not sending dataloaded
...
This occurs when the remote datalayer has a min or maxZoom defined,
and the map is loaded outside those zooms. In this case, when
calling fetchRemoteData, the fetch was never done, nor the final
call to fromGeoJSON, which would have sent the dataloaded event.
2023-09-01 20:31:34 +02:00