Commit graph

26 commits

Author SHA1 Message Date
Yohan Boniface
462e7a8a0f Try to upgrade Postgis on travis 2019-04-07 14:05:56 +02:00
Yohan Boniface
17db76d003 Specify Postgis version in settings for Travis 2019-04-07 13:59:00 +02:00
Yohan Boniface
5b8a8904cc Add Map.BLOCKED share status 2019-04-07 11:12:38 +02:00
Yohan Boniface
7e38a08fb8 Switch from DictField to JSONField 2019-04-07 10:40:30 +02:00
Yohan Boniface
f3ecc8ce28 Update permissions metadata at each map save
This fix the issue where the permissions panel was not available
on first save (without reloading the page).
2018-09-23 09:57:00 +02:00
Yohan Boniface
c5ca7e5d73 Change Map.center.widget SRID to 4326 as it should be
By default, a PointField uses a OpenLayersWidget, which forces the
SRID to 3857 when casting geojson (no idea why, given geojson SRID
is 4326).
2018-09-08 22:42:11 +02:00
Yohan Boniface
da4ee13deb Display a message on the site when trying to do a POST in readonly mode 2018-09-08 16:49:25 +02:00
Yohan Boniface
7941e8fa60 Add a readonly mode
Activable with UMAP_READONLY=True
2018-09-07 22:12:39 +02:00
Yohan Boniface
81f6b429bc allow to cache proxied remote data requests
cf #513
cf #510
cf #160
2018-08-04 20:50:03 +02:00
Yohan Boniface
408bbd81aa Fix map/id/geojson content_type 2018-07-14 23:55:21 +02:00
Yohan Boniface
72b943d779 Remove Map.tilelayer foreignkey
Map tilelayer is saved in the settings since a long time now.
2018-07-14 13:59:40 +02:00
Yohan Boniface
1a815b313d Add an explicit button to attach an owner to an anonymous map
fix #568
2018-07-07 16:44:40 +02:00
Yohan Boniface
705d0cbb73 Add back TileLayer and Licence creation migration
Lost during merge with django-leaflet-storage
2018-07-07 14:42:25 +02:00
Yohan Boniface
ac8b68b0e5 Remove OldMapUrl 2018-06-15 23:31:45 +02:00
Yohan Boniface
8655061817 Rename in JS/CSS: storage_ => umap_ storage- => umap- 2018-06-02 15:47:57 +02:00
Yohan Boniface
62a825e6ed Replace LEAFLET_STORAGE_XXX settings by UMAP_XXXX
We keep a retrocompatibility for now.
2018-05-19 17:16:34 +02:00
Yohan Boniface
8fd541955e Disable compressor during unittests for now 2018-05-19 16:28:56 +02:00
Yohan Boniface
53c738abaf Merge leaflet_storage tests 2018-05-19 11:54:08 +02:00
Yohan Boniface
e55d03bd5e Django 2.0
And update other deps
2018-05-19 10:05:18 +02:00
Yohan Boniface
0104337406 Add travis.yml 2017-05-12 10:42:02 +02:00
Yohan Boniface
6b207e2811 Add minimal tests for password login 2016-09-09 21:30:05 +02:00
Yohan Boniface
805bca7a97 Switch to pytest 2016-08-20 12:33:05 +02:00
Yohan Boniface
7b5ea8df67 First shot in Django 1.8 / python 3 support
This also replaced pg_index with a simple builting seach
based on tsvector, as pg_index is not compliant with Django 1.8,
and as some old dependencies that would need to be upgrade too.
2015-08-02 18:08:31 +02:00
Yohan Boniface
469187e4f1 Catch unkown domain in validate_url 2014-07-18 23:26:16 +02:00
Yohan Boniface
3ca24f5838 Quick hack to prevent django from adding vary:cookie on proxy view 2014-04-20 12:24:13 +02:00
Yohan Boniface
1fd245830e iwyu 2014-04-19 20:26:28 +02:00