Commit graph

1847 commits

Author SHA1 Message Date
Yohan Boniface
f6f765e52f Catch empty attribution in overlay 2023-03-01 17:35:07 +01:00
Yohan Boniface
b589787dc1 bump psycopg2 2023-03-01 17:30:42 +01:00
Yohan Boniface
5da96a490c Pump Pillow 2023-03-01 17:29:21 +01:00
Yohan Boniface
d2161a3d09 black on utils.py
o
2023-02-28 17:29:11 +01:00
Yohan Boniface
90607c7581 Black on test_datalayer_views 2023-02-28 17:14:57 +01:00
Yohan Boniface
849e50abc7 changelog 2023-02-28 15:44:01 +01:00
Yohan Boniface
492f0dc59c bump leaflet.formbuilder 2023-02-28 14:14:43 +01:00
Yohan Boniface
169f7e954c Allow to add an overlay tilelayer
cf #71 #976
2023-02-28 14:08:34 +01:00
Yohan Boniface
1c3fe61aa4 Split L.Map.edit function 2023-02-28 11:02:07 +01:00
Yohan Boniface
0cb72fb5f6 i18n 2023-02-27 18:54:51 +01:00
Yohan Boniface
238401f983 i18n 2023-02-27 14:39:59 +01:00
Yohan Boniface
41e40a1ea8 i18n 2023-02-27 13:52:05 +01:00
Yohan Boniface
9fad415c9f Add missing migration 2023-02-27 13:51:33 +01:00
Yohan Boniface
1c39245af8 iwyu 2023-02-27 13:50:37 +01:00
Yohan Boniface
e343ddb636 Do not deal with gzip while serving without x-accel-redirect
Let's keep this path simple, as it should not be used in normal
production context.
2023-02-27 13:49:21 +01:00
Yohan Boniface
6694306660 Use If-Unmodified-Since istead of If-Match
If-Match relies on ETag, which depends on the Content-Encoding,
which is more fragile given we updated the etag on save, while normal
files are served by nginx. So this may occurs false mismatch.
2023-02-27 13:45:15 +01:00
Yohan Boniface
894facc7e3 Document x-accel-redirect and ajax-proxy cache configuration 2023-02-27 12:32:35 +01:00
Yohan Boniface
5b7f08ed08 Refactor gzip creation 2023-02-27 12:04:09 +01:00
Yohan Boniface
abc1f119d5 black on views.py 2023-02-27 11:38:59 +01:00
Yohan Boniface
122e9de3a3 Use ipdb with pytest --pdb 2023-02-27 11:01:01 +01:00
Yohan Boniface
3aa34d124e black on views.py 2023-02-27 11:00:33 +01:00
Yohan Boniface
97e2df0a8d Prevent caching datalayer's data for owners/editors
cf #1038
2023-02-25 22:17:10 +01:00
Yohan Boniface
2bd4008f97 Use Nginx ETag algo
There is a situation where the ETag can be generated by Nginx,
but then used by Django: when the user starts editing a layer,
the js client will send the ETag received from Nginx to uMap
as value to check is there is an editing conflict.
2023-02-25 21:50:39 +01:00
Yohan Boniface
a8dee3fa07 Add Vary: Accept-Encoding header 2023-02-23 11:17:19 +01:00
Yohan Boniface
0300a5f962 ETag must be between double quotes per spec 2023-02-23 11:10:44 +01:00
Yohan Boniface
cfcb83dbfb black on urls.py 2023-02-23 11:10:24 +01:00
Yohan Boniface
e60227f7da
Merge pull request #1041 from k-3st3ban/master
New asked features: checkbox filters, permanent credits, and caption menus options
2023-02-23 10:28:53 +01:00
3st3ban3
eed12fdf87 Update wording to avoid confusion for data checkboxes 2023-02-22 17:36:22 +01:00
Yohan Boniface
2fc30b117b Prepare for Django 4.x 2023-02-22 15:19:38 +01:00
Yohan Boniface
96a194e1f4 i18n 2023-02-22 15:18:56 +01:00
Yohan Boniface
bd1dd4e233 i18n 2023-02-22 10:23:03 +01:00
3st3ban3
6d900ac79f Show filters menu only if filter keys are defined 2023-02-18 10:13:12 +01:00
3st3ban3
ce17f8dfe0 Fix undefined error without refreshing page after creating advanced filters 2023-02-15 18:46:20 +01:00
3st3ban3
2221806b7e Update permanent credits alignement and shape 2023-02-13 17:33:50 +01:00
3st3ban3
ced62d8eed Fix controls errors with permanent credits 2023-01-22 00:28:56 +01:00
3st3ban3
423084e9ea Interface option to hide caption menus 2023-01-14 23:15:27 +01:00
3st3ban3
57ba42061c Permanent credits feature in the bottom left corner 2023-01-14 22:48:16 +01:00
3st3ban3
d69f965f79 Filters checkboxes using features' properties 2023-01-14 22:31:39 +01:00
Duvel
96e2c94e2d
Install tini with package manager to allow arm64 2022-11-27 17:01:08 +01:00
Duvel
c6677ce0c8
Copy statement didn't work in build container 2022-11-27 16:25:04 +01:00
Duvel
4f98297c99
Removed suspended phantomjs and allows for arm64 2022-11-27 16:23:47 +01:00
Duvel
2deb5597fd
Use latest Node JS LTS 2022-11-27 16:21:26 +01:00
Duvel
af8fc0ad54
Merge branch 'umap-project:master' into master 2022-11-27 15:25:00 +01:00
Yohan Boniface
9b0986c16b
Merge pull request #1031 from aleksejspopovs/use-locatecontrol
Use Leaflet.Locate instead of a custom locate control
2022-11-24 21:50:01 +01:00
Aleksejs Popovs
4155dd27d0 Switch to an actually unused class name 2022-11-24 15:38:23 -05:00
Yohan Boniface
41b68ab7b4
Merge pull request #1032 from aleksejspopovs/avoid-django4
Declare incompatibility with Django 4
2022-11-24 21:12:32 +01:00
Aleksejs Popovs
5d2709b055 Declare incompatibility with Django 4 2022-11-24 14:37:50 -05:00
Aleksejs Popovs
7f4f5b460a Delete custom locate control 2022-11-24 14:27:41 -05:00
Aleksejs Popovs
864abf9f46 Replace custom locate control with Leaflet.Locate 2022-11-24 14:26:49 -05:00
Aleksejs Popovs
c4415e1e99 Vendor leaflet.locatecontrol 2022-11-24 13:55:09 -05:00