Yohan Boniface
f57ef51bf6
Merge pull request #1295 from umap-project/load-all-before-download
...
Make sure we load all data before downloading it
2023-09-01 16:59:30 +02:00
Yohan Boniface
562f516272
Minimap exports tests
2023-08-31 17:48:59 +02:00
Yohan Boniface
bf66036b7b
Make sure we load all data before downloading it
...
fix #980
2023-08-31 16:36:34 +02:00
Yohan Boniface
d78f2e087e
Restore help button icon
...
While changing the edit header help link, I've changed all help
buttons, which was not intended.
2023-08-31 15:24:21 +02:00
Yohan Boniface
3d32bf206b
i18n
2023-08-31 12:07:33 +02:00
Yohan Boniface
96d6b45734
Put focus on name when opening feature edit panel
...
cf #243
2023-08-30 13:26:16 +02:00
Yohan Boniface
f3b5c82767
Better distinguish panel behaviour in portrait vs landscape modes
...
fix #870
2023-08-30 12:36:40 +02:00
Yohan Boniface
7ed6cfb2a4
Better position for disable icon
2023-08-30 11:35:52 +02:00
David Larlet
6cacc7122b
Avoid using a tuple as a content type when guessed
...
Only use the content type with mimetypes.guess_type
2023-08-29 15:24:58 -04:00
David Larlet
c122ecf5e4
Merge pull request #1287 from umap-project/edit-header-polish
...
Edit header polish: move "My Dashboard" and "Help" to the right, display asterisk in dirty mode
2023-08-29 13:14:30 -04:00
Yohan Boniface
4c8b4c66d0
Add border around minor button in edit toolbar
2023-08-29 18:14:36 +02:00
Yohan Boniface
2986e8cec9
Merge pull request #1288 from umap-project/clean-onbeforeunload
...
Remove custom message from onbeforeunload event
2023-08-29 17:52:11 +02:00
Yohan Boniface
4d3c516eda
Merge pull request #1289 from umap-project/load-remotedata
...
Fix remote data not fetched on first save and add a button to manually fetch data
2023-08-29 17:51:54 +02:00
Yohan Boniface
51c1990681
Explicitly set DataLayer._dataloaded status, instead of guessing it
...
fix #438
2023-08-29 17:49:19 +02:00
Yohan Boniface
02eb69a280
Add a button to load remote data from configuration form
...
cf #438
2023-08-29 16:56:04 +02:00
Yohan Boniface
ed7181ba24
Remove custom message from onbeforeunload event
...
It's not supported anymore by browsers.
2023-08-29 16:36:04 +02:00
Yohan Boniface
38bed0a6cf
Move "My Dashboard" and "Help" to the right of the edit toolbar
2023-08-29 13:57:00 +02:00
Yohan Boniface
fc42eb2573
Add a small asterisk near map title when it's dirty
2023-08-29 11:22:23 +02:00
Yohan Boniface
597b3bb10f
Change proxy_cache_key value in documentation
...
Now that the case is done in the internal redirect part, there is
no more args, the URL is on the path
2023-08-29 10:37:12 +02:00
Yohan Boniface
5156da6107
doc: add resolver where needed in nginx configuration
2023-08-28 18:10:22 +02:00
Yohan Boniface
949f245c00
1.7.1
2023-08-28 18:00:58 +02:00
Yohan Boniface
bcdac413be
ajax proxy: quote URL before passing it to Nginx
2023-08-28 18:00:40 +02:00
Yohan Boniface
8c9ee91b42
Add test for ajax-proxy internal redirect
2023-08-28 16:49:32 +02:00
Yohan Boniface
eb9aebc4e5
changelog
2023-08-28 16:43:49 +02:00
Yohan Boniface
a4b0961163
1.7.0
2023-08-28 16:42:24 +02:00
Yohan Boniface
dbba8d2744
Merge pull request #1280 from umap-project/ajax-proxy-redirect
...
Use X-Accel-Redirect for serving ajax-proxy request
2023-08-28 16:37:19 +02:00
Yohan Boniface
2904bcc617
More documentation about "ajax-proxy"
2023-08-28 16:36:50 +02:00
David Larlet
c454bcc070
Documentation for the release process
2023-08-25 09:58:41 -04:00
David Larlet
8d0f3bfe2c
Documentation for the release process
2023-08-25 09:46:26 -04:00
Yohan Boniface
e745a7c89b
Changelog
2023-08-25 14:24:05 +02:00
Yohan Boniface
6f3803cce3
1.6.1
2023-08-25 10:19:45 +02:00
Yohan Boniface
174e6ddc6b
i18n
2023-08-25 10:18:22 +02:00
Yohan Boniface
1b769bf07c
Change "My Maps" to "My Dashboard" in navigation
2023-08-25 10:11:04 +02:00
Yohan Boniface
77a13eb0f0
Merge pull request #1284 from umap-project/fix-minimap-changing-center-3
...
Remove default center to prevent multiple map initialisations
2023-08-25 10:07:23 +02:00
Yohan Boniface
bdbde7cfd2
Ensure default view when map as no data at load
2023-08-25 09:59:02 +02:00
Yohan Boniface
3815e63b9c
Merge pull request #1283 from umap-project/datalayer-onload-zoomend
...
Fix datalayers being shown on zoom even if displayOnLoad is false
2023-08-24 21:48:50 +02:00
Yohan Boniface
e636ced4c6
Set default center in case of location error at load
2023-08-24 21:24:02 +02:00
Yohan Boniface
9c16bbfe51
Remove default center to prevent multiple map initialisations
...
We want to init the map view once, in our initCenter method,
so we remove any center from the option, to prevent Leaflet
to init the map on this centers
fix #1277
2023-08-24 20:48:24 +02:00
Yohan Boniface
f12e87e727
Fix datalayers being shown on zoom even if displayOnLoad is false
...
fix #1276
2023-08-24 19:57:47 +02:00
Yohan Boniface
7210b1ddb9
Remove useless resolver from nginx config in doc
2023-08-24 17:48:41 +02:00
Yohan Boniface
c4bdb04795
Use X-Accel-Redirect for serving ajax-proxy request
...
uMap allows to use remote URL as data sources, but those URLs
are not always CORS open, so this is why there is this "ajax-proxy"
feature, where the URL is passed to the backend.
Additionally, there is a caching feature, which duration is configurable
through frontend settings. Valid values are: disabled, 5 min, 1 hour,
1 day.
Initially, I wanted this to be totally handled by Nginx, but I never
found a wayt to set the proxy_cache_valid value from a query string.
Since then, at least in OSM France servers, the ajax-proxy is still
handled by a Django view, which then opens the remote URL and transfert
the data. This is not optimal. And I suppose this is what is causing
hicups on the OSM France servers lately.
This PR provides a mix option, where python deals with validating the
URL and parsing the TTL parameter, and then it passes the hand to
nginx which will serve the remote content.
So, roughtly:
- the client calls /ajax-proxy/?url=xxx&ttl=300
- python will validate the URL (not internal calls…)
- if UMAP_SENDFILE_HEADER is set, then the python returns an empty
response with the path /proxy/http://url plus it will set the
cache ttl through the header X-Accel-Expires
- this /proxy/ location is then handled by nginx
2023-08-24 13:41:34 +02:00
David Larlet
981f727281
Merge pull request #1278 from umap-project/mkdocs-autolink
...
Use magiclink extension for changelog with links
2023-08-23 11:45:43 -04:00
David Larlet
ccaaa467f1
Use magiclink extension for changelog with links
2023-08-23 09:45:44 -04:00
Yohan Boniface
74cfd18a2f
Merge pull request #1275 from eMerzh/fix_changelog
...
fix: correct changelog link
2023-08-23 08:51:27 +02:00
Brice Maron
cd29486b84
fix: correct changelog link
2023-08-23 08:31:15 +02:00
David Larlet
3b736c2b02
Merge pull request #1274 from umap-project/dependabot/npm_and_yarn/growl-and-mocha--removed
...
Bump growl and mocha
2023-08-22 12:30:38 -04:00
David Larlet
29a96e5fdc
Fix tests with the latest version of mocha
2023-08-22 12:29:13 -04:00
dependabot[bot]
b7b160c808
Bump growl and mocha
...
Removes [growl](https://github.com/tj/node-growl ). It's no longer used after updating ancestor dependency [mocha](https://github.com/mochajs/mocha ). These dependencies need to be updated together.
Removes `growl`
Updates `mocha` from 2.5.3 to 10.2.0
- [Release notes](https://github.com/mochajs/mocha/releases )
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mochajs/mocha/compare/v2.5.3...v10.2.0 )
---
updated-dependencies:
- dependency-name: growl
dependency-type: indirect
- dependency-name: mocha
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-08-22 16:20:54 +00:00
Yohan Boniface
798aea100f
Bump leaflet.locatecontrol
2023-08-22 18:10:41 +02:00
Yohan Boniface
7f7951ec79
Bump Leaflet.MarkerCluster to 1.5.3
2023-08-22 18:08:37 +02:00