Yohan Boniface
5587632168
Merge pull request #1322 from jvmatl/ubuntu_from_scratch_feedback
...
Ran through the 'Ubuntu from Scratch' procedure using a fresh Ubuntu 22.04.3 LTS VM and took notes on what worked and what didn't.
2023-09-20 08:02:47 +02:00
Brian DeRocher
9c89c50560
Set a default property for features that the owner is the current user.
...
https://github.com/umap-project/umap/issues/430
2023-09-19 19:13:14 -04:00
David Larlet
408fcb7c0f
Revert "Add link to django docs for SECRET_KEY"
...
This reverts commit e2eb510854
.
2023-09-19 14:59:31 -04:00
John Martinez
7134269218
Update docs/ubuntu.md
...
Co-authored-by: David Larlet <3556+davidbgk@users.noreply.github.com>
2023-09-19 14:58:21 -04:00
David Larlet
84c00fa5ba
Better documentation for the SECRET_KEY setting
...
See https://github.com/umap-project/umap/pull/1322#issuecomment-1726300269
2023-09-19 14:52:57 -04:00
John Martinez
e2eb510854
Add link to django docs for SECRET_KEY
2023-09-19 18:49:21 +00:00
John Martinez
93cfe80370
Update docs/docker.md
...
typo
Co-authored-by: David Larlet <3556+davidbgk@users.noreply.github.com>
2023-09-19 14:44:31 -04:00
John Martinez
74fd3f4a66
Update docs/docker.md
...
Typo
Co-authored-by: David Larlet <3556+davidbgk@users.noreply.github.com>
2023-09-19 14:43:51 -04:00
John Martinez
2f21d7b821
Update docs/docker.md
...
punctuation
Co-authored-by: David Larlet <3556+davidbgk@users.noreply.github.com>
2023-09-19 14:41:14 -04:00
John Martinez
89cfa7d93d
Ran through the 'Ubuntu from Scratch' procedure using a fresh Ubuntu 22.04.3 LTS VM and took notes on what worked and what didn't.
...
Here's a summary of the changes and why
* added 'apt update' before the install -- only _needed_ on a completely fresh VM, but never hurts
* added an install of the virtualenv package, because it is used later but: do you still need it AND python3-venv? I'm assuming it was done that way for a reason.
* changed indentation on the mkdir so it will format correctly
* added `-D ~postgres` to the commands executed as postgres user because the postgres user does not, by default, have permission to read into real user's home directories (at least in 22.04) and so the commands would error out
* change `source <activate>` to `. activate` because the line `sudo -u umap -i` launches `sh`, not `bash`, and `sh` does not recognize the source command. `.` works in either.
* remove the instructions to change STATIC_ROOT and MEDIA_ROOT because they are already defaulted to those values in the current version sample of local.py
* added a notice to change the SECREY_KEY and ADMINS list just because it seemed like a good idea.
Side note: I have not seen any docs anywhere that explains exactly what the secret Key does, or where it is used. It's used a magic variable in the config file.. ?
I am not currently messing with nginx or wsgi, so I can't comment on those parts.
2023-09-19 18:32:13 +00:00
John Martinez
cc9004fbc2
Code review feedback
2023-09-19 17:43:13 +00:00
John Martinez
43a35ee5fd
A more newbie-friendly Docker HOWTO
2023-09-19 17:24:32 +00: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
466d955953
Merge pull request #1316 from umap-project/fullwidth-panel-close
...
Fix table editor not closing anymore from fullwidth
2023-09-18 15:33:13 +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
0fa834155d
changelog
2023-09-18 11:27:17 +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
Brian DeRocher
0c9d9f630e
Replace wait_for_database with depends_on and healthcheck.
2023-09-16 11:12:50 -04: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
4467b8ce2b
Merge pull request #1309 from umap-project/umap-footer-link
...
Add a `powered by uMap` footer
2023-09-13 17:06:18 -04: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
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
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
1975b93ad8
Bump playwright and pytest-playwright
2023-09-04 15:01:15 +02:00
Yohan Boniface
c35c6ee78c
test: allow to run playwright tests directly with py.test cli
2023-09-04 15:00:51 +02:00
Yohan Boniface
4c03f012bd
Bump playwright
2023-09-04 11:04:12 +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
Yohan Boniface
d8b63974f9
changelog
2023-09-01 17:37:26 +02:00
Yohan Boniface
dcb884f0d7
1.7.2
2023-09-01 17:35:24 +02:00
Yohan Boniface
33e1bb87ca
i18n
2023-09-01 17:35:05 +02:00
Yohan Boniface
d4c0bc0854
Merge pull request #1292 from umap-project/panel-portrait
...
Better distinguish panel behaviour in portrait vs landscape modes
2023-09-01 17:28:58 +02:00