Yohan Boniface
949f245c00
1.7.1
2023-08-28 18:00:58 +02:00
Yohan Boniface
eb9aebc4e5
changelog
2023-08-28 16:43:49 +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
Yohan Boniface
e745a7c89b
Changelog
2023-08-25 14:24:05 +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
ccaaa467f1
Use magiclink extension for changelog with links
2023-08-23 09:45:44 -04:00
Yohan Boniface
e73b269217
changelog
2023-08-22 15:38:20 +02:00
Yohan Boniface
ea21857bd3
1.5.1
2023-08-15 23:09:42 +02:00
Yohan Boniface
4acb1aa71e
changelog
...
(Automatically generated by Github)
2023-08-15 16:53:25 +02:00
Yohan Boniface
0c3dc02fc1
Allow to configure default share and edit status
...
fix #1244
2023-08-07 08:16:49 +02:00
Yohan Boniface
a9d612bf6c
1.4.4
2023-07-22 09:15:21 +02:00
Yohan Boniface
0ec481ed07
1.4.3
2023-07-20 11:49:31 +02:00
Yohan Boniface
34175b89a8
1.4.2
2023-07-19 15:47:25 +02:00
Yohan Boniface
6f667f2749
1.4.1
2023-07-17 16:22:28 +02:00
Yohan Boniface
891c23747f
1.4.0
2023-07-15 11:36:42 +02:00
Yohan Boniface
6429e10110
1.3.7
2023-07-03 22:08:06 +02:00
David Larlet
e03bbeadfc
1.3.6
2023-07-01 11:44:24 -04:00
Yohan Boniface
8c56b91256
Mention UMAP_CUSTOM_* in docs/settings.md
2023-06-29 18:22:09 +02:00
Yohan Boniface
2618b081f7
Add links to Django doc for standard settings
2023-06-29 15:37:40 +02:00
Yohan Boniface
44af4b769b
Proofreading settings.md
2023-06-29 15:33:34 +02:00
Yohan Boniface
24de573053
Update docs/settings.md
...
Co-authored-by: David Larlet <3556+davidbgk@users.noreply.github.com>
2023-06-29 15:28:48 +02:00
Yohan Boniface
b5681f4566
Update docs/settings.md
...
Co-authored-by: David Larlet <3556+davidbgk@users.noreply.github.com>
2023-06-29 15:28:31 +02:00
Yohan Boniface
a281ea9cb2
Update docs/settings.md
...
Co-authored-by: David Larlet <3556+davidbgk@users.noreply.github.com>
2023-06-29 15:26:54 +02:00
Yohan Boniface
00796a42f1
Update docs/docker.md
...
Co-authored-by: David Larlet <3556+davidbgk@users.noreply.github.com>
2023-06-29 15:26:34 +02:00
Yohan Boniface
2084401b6c
Add basic doc about settings
2023-06-29 10:30:36 +02:00
Yohan Boniface
93568d6da3
Quick doc about how to upgrade
...
fix #804
2023-06-23 18:44:06 +02:00
Yohan Boniface
247efc5345
1.3.5
2023-06-17 16:00:57 +02:00
David Larlet
020f805fbe
🚀 1.3.4
2023-06-17 09:46:04 -04:00
David Larlet
e23f1dd3c2
From to setup.cfg+setuptools to pyproject.toml+hatch
2023-06-17 09:09:36 -04:00
Yohan Boniface
81fcc080d9
Allow to customize user display name and URL slug
2023-06-16 14:59:59 +02:00
remco
c0063d2fa2
Fix permisson problem, use suggestion from #407
2023-06-14 21:47:37 +02:00
Yohan Boniface
8ab1c4ea2d
1.3.3
2023-06-07 10:49:27 +02:00
David Larlet
c5b6f8d191
Add dates to the recent changelog
2023-06-06 12:41:11 -04:00
Yohan Boniface
4b502e9857
Merge branch 'docker'
2023-06-05 17:00:46 +02:00
Yohan Boniface
7dac5b2994
Very minimal doc for Docker install
2023-06-05 16:59:49 +02:00
Yohan Boniface
6f1fb4a6ad
1.3.2
2023-06-04 08:54:42 +02:00
Yohan Boniface
90f7680d8d
1.3.1
2023-06-03 08:29:18 +02:00
Yohan Boniface
7c2ba9d3e8
Add doc for email sending
2023-05-31 17:26:48 +02:00
Yohan Boniface
7713281f8c
1.3.0
2023-05-31 10:36:01 +02:00
Yohan Boniface
71293d3d8b
changelog
2023-05-31 09:35:00 +02:00
Yohan Boniface
a6a9ff528a
changelog
2023-05-16 10:34:43 +02:00
Yohan Boniface
1038836a72
Use Django full text instead of custom SQL
2023-05-11 11:33:08 +02:00
Yohan Boniface
7384fda61a
Allow to create search index without changing unaccent mutability
...
cf #519
2023-05-10 11:47:29 +02:00
Yohan Boniface
b81bbfd3a7
changelog
2023-05-05 18:44:21 +02:00
Yohan Boniface
89e0900148
Review ubuntu packages after fresh install
2023-05-05 15:57:32 +02:00
Yohan Boniface
0f971010bd
changelog
2023-05-03 10:10:29 +02:00
Yohan Boniface
5e3a92d173
Control which version of mkdocs is install on readthedocs
2023-04-30 11:35:23 +02:00
David Larlet
2b91373207
[docs] Update the contributing page with DB setup
2023-03-24 11:35:14 -04:00