Commit graph

485 commits

Author SHA1 Message Date
Yohan Boniface
a421698a60 Pull el i18n 2018-10-13 14:06:16 +02:00
Yohan Boniface
a64d918d80 i18n 2018-10-02 23:28:22 +02:00
Yohan Boniface
bf8fb1d3c8 1.0.0-rc.6 2018-09-23 12:02:32 +02:00
Yohan Boniface
4c8d1c3826 de i18n 2018-09-23 12:02:23 +02:00
Yohan Boniface
90aba2ed15 Remove context parameter from DictField.from_db_value (RemovedInDjango30Warning) 2018-09-23 11:56:25 +02:00
Yohan Boniface
706967d982 Keep python 3.5 compat for now 2018-09-23 11:02:36 +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
e1844483d7 Always force flatProperties in osmtogeojson call
fix #641

See https://github.com/tyrasd/osmtogeojson/issues/100
2018-09-22 07:33:00 +02:00
Yohan Boniface
81830f8f7b 1.0.0-rc.5 2018-09-11 20:08:07 +02:00
Yohan Boniface
d041001168 fixed ternary choice dealing with unknown values (fix #633) 2018-09-11 20:06:35 +02:00
Yohan Boniface
b72650fafe Fix user autocompletion in permissions panel (fix #635) 2018-09-11 19:56:45 +02:00
Yohan Boniface
b54f4efce5 1.0.0-rc.4 2018-09-10 22:42:59 +02:00
Yohan Boniface
a03aa4860d Fix dark button hover (cf #586) 2018-09-10 12:58:15 +02:00
Yohan Boniface
6dc3181ed9 Fix umap alert close link CSS targeting 2018-09-10 12:50:03 +02:00
Yohan Boniface
17afb5c47d Fix label on hover not working (fix #631) 2018-09-10 12:43:39 +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
709387d985 i18n 2018-09-08 17:09:10 +02:00
Yohan Boniface
0798b708a8 1.0.0-rc.3 2018-09-08 17:07:54 +02:00
Yohan Boniface
fb85a6c93c i18n 2018-09-08 17:01:22 +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
4c446998e7 Fix control hover color (fix #586) 2018-09-07 22:49:06 +02:00
Yohan Boniface
7941e8fa60 Add a readonly mode
Activable with UMAP_READONLY=True
2018-09-07 22:12:39 +02:00
Yohan Boniface
3537670221 1.0.0-rc.2 2018-09-05 22:31:01 +02:00
Yohan Boniface
08ff6e53a3 Update Leaflet to 1.3.4 2018-09-05 21:35:16 +02:00
Yohan Boniface
2d9fd3ed46 pull translations 2018-09-05 20:15:11 +02:00
Yohan Boniface
a0fb623661 Remove deprecated use of L.Mixin.Events 2018-08-30 09:38:59 +02:00
Yohan Boniface
01fa7543a2 Pass a binded function to zoomToSeeLayer MarkerCluster function
fix #611
2018-08-17 09:30:18 +02:00
Yohan Boniface
6ae91d2f53 Pull hu translations fix #615 2018-08-15 18:00:42 +02:00
Yohan Boniface
d63e92fee8 Upgrade to Django 2.1 2018-08-15 17:42:51 +02:00
Yohan Boniface
6ad9df8044 Split popupTemplate in popupShape + popupTemplate
cf #600
2018-08-15 17:07:21 +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
e319fa963e Make sure map name is always read from backend
fix #605
2018-08-04 15:26:12 +02:00
Yohan Boniface
c143c2c7ab Poor man escaping of an URL used as query string
fix #607
2018-08-04 14:24:34 +02:00
Yohan Boniface
9539aa0efc Naive support for nested variables in templates
cf #600
2018-08-01 09:43:55 +02:00
Yohan Boniface
1cbf140f57 Do not display data:image/ src as text 2018-07-20 09:39:29 +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
d021ce239f 1.0.0-rc.1 2018-07-07 23:25:43 +02:00
Yohan Boniface
c2d2751cdf i18n 2018-07-07 23:08:33 +02:00
Yohan Boniface
2eb909ba3d i18n 2018-07-07 23:03:10 +02:00
Yohan Boniface
afb195d923 pull de locale 2018-07-07 22:56:46 +02:00
Yohan Boniface
f05f3ace37 Add TablePanel popup template (fix #481) 2018-07-07 21:44:19 +02:00
Yohan Boniface
d6d52dcddb Do not rely on L.Browser.touch to disable click propagation 2018-07-07 19:46:12 +02:00
Yohan Boniface
f11fe36865 Fix button bar on home 2018-07-07 19:35:02 +02:00
Yohan Boniface
8dad057598 Fix caption panel loaded to early in some situations
fix #504
2018-07-07 19:10:13 +02:00
Yohan Boniface
1ec47894f3 i18n 2018-07-07 17:22:38 +02:00
Yohan Boniface
aaaa339e9c Add allowfullscreen attribute to the iframe; fix fullscreen icon
when active in touch screen

fix #516
2018-07-07 16:53:14 +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
563839b9a6 Add rank in feature.extendedProperties() and use it for icon symbol
cf #527
2018-07-07 15:12:30 +02:00
Yohan Boniface
af6c7fba26 Allow to use an unicode char as marker icon symbol
One can also use a property to have a dynamic value (eg.
to display numbers:, 1, 2, 3, 4…).

fix #527
2018-07-07 14:57:56 +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
1aca24ed0c Only list https ready tilelayers when page is in https
fix #567
2018-07-07 09:31:50 +02:00
Yohan Boniface
f96f08fc36 Allow to clone markers also
cc @deuzeffe
2018-07-06 23:05:05 +02:00
Yohan Boniface
73b8b60068 Fix cluster text color on Chrome and Co
fix #547

We need to call getComputedStyle only when element is
already added to the DOM.
2018-06-28 08:08:56 +02:00
Yohan Boniface
048c2afcc1 Fix deprecated date.toLocaleFormat 2018-06-27 22:29:46 +02:00
Yohan Boniface
f0af796e45 Fix labelKey not saved (fix #595) 2018-06-27 22:16:20 +02:00
Yohan Boniface
e20eeba89a Reflect data browser filter in displayed features
fix #550
2018-06-27 22:13:04 +02:00
Yohan Boniface
b804b5bc41 Move openPanel after this.permissions has been set 2018-06-27 09:29:54 +02:00
Yohan Boniface
fded9d6201 Fix inheritable select not properly reset (fix #551) 2018-06-19 12:41:37 +02:00
Yohan Boniface
67d7ab962c Use a ternary choice for showLabel
fix #553
2018-06-19 09:11:54 +02:00
Yohan Boniface
fc2549fce6 Add missing icon titles
fix #554
2018-06-16 23:03:40 +02:00
Yohan Boniface
fc9ffdf228 Change URL at each save in case the map name has changed
fix #555
2018-06-16 22:56:23 +02:00
Yohan Boniface
725e42c597 Set r variable in tilelayer preview 2018-06-16 22:55:57 +02:00
Yohan Boniface
cfbe5c0b88 Make TileLayerControl always aware of the map
fix #587
2018-06-16 14:00:27 +02:00
Yohan Boniface
eeb9fe97c2 Basic documentation on how to customize uMap look&feel 2018-06-16 13:28:13 +02:00
Yohan Boniface
9877b31f43 Fix some touch related icon CSS issues
fix #586
2018-06-16 12:58:48 +02:00
Yohan Boniface
68fc62ddbd Fix close button vertical alignment 2018-06-16 12:51:50 +02:00
Yohan Boniface
cc71c40670 Add download button in advanced actins for map and datalayer 2018-06-16 12:45:19 +02:00
Yohan Boniface
ac8b68b0e5 Remove OldMapUrl 2018-06-15 23:31:45 +02:00
Yohan Boniface
48185650b0 Move permissions form building to JS 2018-06-15 23:25:38 +02:00
Yohan Boniface
6b3d45064c Fix wrong class in auth panel 2018-06-02 19:17:57 +02:00
Yohan Boniface
a7ec9b173d Add a basic language switcher in the home footer
fix #74
2018-06-02 19:04:32 +02:00
Yohan Boniface
27bb306fd3 Consolidate CSS files after merge 2018-06-02 18:24:19 +02:00
Yohan Boniface
81919ce0f7 Add UMAP_CUSTOM_TEMPLATES and UMAP_CUSTOM_STATICS 2018-06-02 17:20:44 +02:00
Yohan Boniface
c0f6fcb448 iwyu 2018-06-02 16:53:27 +02:00
Yohan Boniface
cc1a4f93dc Add hr (Croatian) locale 2018-06-02 16:53:13 +02:00
Yohan Boniface
9083e3a437 Add pl (Polish) locale 2018-06-02 16:51:04 +02:00
Yohan Boniface
2f00da60d5 Add hu (Hungarian) locale 2018-06-02 16:48:17 +02:00
Yohan Boniface
2f9a62ad7f Add sl (Slovenian) locale 2018-06-02 16:41:45 +02:00
Yohan Boniface
0b91390e07 Add el (Greek) locale 2018-06-02 16:39:44 +02:00
Yohan Boniface
abd40fe178 Add gl (Galician) locale 2018-06-02 16:33:56 +02:00
Yohan Boniface
afe55fbf3c Update transifex after merge + now also commit js locales 2018-06-02 16:17:42 +02:00
Yohan Boniface
8655061817 Rename in JS/CSS: storage_ => umap_ storage- => umap- 2018-06-02 15:47:57 +02:00
Yohan Boniface
1eadf4b7ed JS tests pass 2018-06-02 14:44:59 +02:00
Yohan Boniface
a0bff73401 Fix generate_js_locale paths 2018-06-02 14:44:01 +02:00
Yohan Boniface
887a9fc7e0 Renamed L.Storage in L.U 2018-06-02 12:36:28 +02:00
Yohan Boniface
8049bc74b8 Fix url paths in css 2018-06-02 12:36:14 +02:00
Yohan Boniface
19d2b39423 Leaflet.Storage is now integrated inside this repository 2018-06-02 12:21:40 +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
1ef5e13f48 Remove duplicate short_url declarations 2018-05-19 12:01:53 +02:00
Yohan Boniface
53c738abaf Merge leaflet_storage tests 2018-05-19 11:54:08 +02:00
Yohan Boniface
65e939c4ee Reset migrations
There are two files:
- the initial one that create everyting, but TileLayer.tms
- one for TileLayer.tms, because it was not released so people
  upgrading will need to fake the first, but really run the second
2018-05-19 11:29:30 +02:00
Yohan Boniface
cb470198e6 Merge leaflet_storage locales 2018-05-19 11:12:19 +02:00
Yohan Boniface
e55d03bd5e Django 2.0
And update other deps
2018-05-19 10:05:18 +02:00
Ltrlg
2de13a8dfa Mark a string for translation 2017-12-09 11:02:04 +01:00
Yohan Boniface
c854c98e49 Merge pull request #488 from umap-project/travis
Add travis.yml
2017-05-12 10:49:13 +02:00
Yohan Boniface
0104337406 Add travis.yml 2017-05-12 10:42:02 +02:00
Yohan Boniface
96ace64672 Merge pull request #484 from davidbgk/font-strategy
Change CSS font strategy + better fallback
2017-05-10 19:17:03 +02:00
Yohan Boniface
32ae155001 Merge branch 'master' of github.com:umap-project/umap 2017-05-10 19:15:00 +02:00
Yohan Boniface
4c8b6f79de Fallback looking for settings file at /etc/umap/umap.conf
fix #487
2017-05-10 19:14:35 +02:00
David Larlet
45b90a35b6
Change CSS font strategy + better fallback
Fix @cartes.data.gouv.fr/#25

* Only keep useful woff/woff2 fonts: http://davidensinger.com/2014/10/update-your-font-face-file-formats-to-just-use-woff-and-woff2/
* Fallback to system fonts: https://www.smashingmagazine.com/2015/11/using-system-ui-fonts-practical-guide/
* Declare fonts with correct weight/style to avoid the change to all elements: http://stackoverflow.com/a/21614532
* Switch from Bold to SemiBold to be consistent with the use of Light by default
2017-05-04 17:57:11 -04:00
David Larlet
ef024c772d
Deal with ordered list as unordered ones in CSS 2017-05-04 11:27:02 -04:00
David Larlet
732ede7aab
Remove useless leaflet tags from templates 2017-04-26 17:07:16 -04:00
David Larlet
cac01cff13
Bigger, stronger font
Not yet faster but it’s coming!
2017-04-26 16:35:04 -04:00
David Larlet
445abf0fff
Switch to Flexbox for main navigation 2017-04-26 16:01:08 -04:00
Yohan Boniface
cb185a4500 More theming hooks 2017-04-24 18:56:31 +02:00
Yohan Boniface
fee614a789 Update social settings in local sample 2017-02-07 10:11:21 +01:00
Yohan Boniface
3782822a90 0.8.2 2017-02-06 16:33:14 +01:00
Yohan Boniface
888816faa8 0.8.1 2017-02-03 09:40:12 +01:00
Yohan Boniface
d86a168478 0.8.0 2017-02-03 09:25:47 +01:00
Yohan Boniface
e3dfed002e i18n 2017-02-02 22:45:07 +01:00
Harry Wood
37d0b3287c fix feedback anchor link to wiki (httpS)
Swap this wiki link to httpS
The wiki is now on httpS and sadly the httpS redirect causes #anchor links to be lost
2017-01-10 15:57:21 +00:00
Yohan Boniface
f87fca3588 Bump to new social-auth
cf https://github.com/omab/python-social-auth/blob/master/MIGRATING_TO_SOCIAL.md
2017-01-09 10:13:21 +01:00
Yohan Boniface
957c6b25d8 Add pl locale 2016-12-11 16:27:45 +01:00
Yohan Boniface
7023207192 0.8.0-rc.13 2016-11-29 16:33:50 +01:00
Yohan Boniface
bc6ed20ca0 0.8.0-rc.12 2016-11-29 09:20:10 +01:00
Yohan Boniface
ca709f7241 0.8.0-rc.11 2016-11-28 21:47:49 +01:00
Yohan Boniface
8b3d8c5ece Add a migration to create a Licence if none exists 2016-11-26 17:29:00 +01:00
Yohan Boniface
3c32377c42 Add a migration to create a TileLayer if none exists 2016-11-26 17:25:59 +01:00
Yohan Boniface
d1af699ddb Add sk_SK translation files 2016-11-06 22:52:33 +01:00
Yohan Boniface
1af1846cfd 0.8.0-rc.10 2016-11-05 12:42:51 +01:00
Yohan Boniface
ad95a3fb47 0.8.0-rc9 2016-11-05 12:23:53 +01:00
Yohan Boniface
29ad169359 i18n 2016-11-05 10:59:01 +01:00
Yohan Boniface
5e720f1622 Bum autocomplete zindex (fix #389) 2016-10-09 18:01:48 +02:00
Yohan Boniface
c3cb8b47be 0.8.0-rc8 2016-10-07 13:31:09 +02:00
Yohan Boniface
6c0cef0f08 0.8.0-rc.7 2016-09-30 14:37:58 +02:00
Yohan Boniface
d08e7f289c 0.8.0-rc.6 2016-09-30 13:07:50 +02:00
Yohan Boniface
6474f59bf4 0.8.0-rc5 2016-09-30 12:12:39 +02:00
Yohan Boniface
3058fcb25f 0.8.0-rc4 2016-09-24 08:44:00 +02:00
Yohan Boniface
7fdd3e2746 Add missing default button background color 2016-09-22 15:18:23 +02:00
Yohan Boniface
3f30530d5c Use django-leaflet-storage rc3 2016-09-21 23:06:57 +02:00
Yohan Boniface
ff9232de7c Fix neutral button color 2016-09-18 15:30:09 +02:00
Yohan Boniface
af8745e2d7 Do use an ancestors of maps for ui
Otherwise, each map will react to the `.storage-ui xxx` css rule.
2016-09-18 15:27:18 +02:00
Yohan Boniface
d4f7837ee5 Remove dark strips from home 2016-09-17 22:56:45 +02:00
Yohan Boniface
81735efd85 0.8.0-rc.1 2016-09-11 18:25:16 +02:00
Yohan Boniface
07e6b62012 Ubuntu installation turorial draft 2016-09-10 16:21:09 +02:00
Yohan Boniface
5f403a3d80 Add a umap entry point, so we can pip install umap 2016-09-10 08:26:48 +02:00
Yohan Boniface
86c3fdc334 Allow to load setting from a non python path 2016-09-10 08:26:23 +02:00
Yohan Boniface
b13df195a1 Remove unused packages 2016-09-10 07:49:46 +02:00
Yohan Boniface
e27e53fd75 i18n 2016-09-09 21:44:11 +02:00
Yohan Boniface
6b207e2811 Add minimal tests for password login 2016-09-09 21:30:05 +02:00
Yohan Boniface
f0e97913d5 Add field errors in login form 2016-09-09 21:09:24 +02:00
Yohan Boniface
a0bc6e7e3a ENABLE_ACCOUNT_LOGIN=False by default 2016-09-09 21:00:32 +02:00
Yohan Boniface
5e35a9799b No need for a specific context processor 2016-09-09 20:59:25 +02:00
Yohan Boniface
2437334940 Merge branch 'auth-login' of https://github.com/plepe/umap into plepe-auth-login 2016-09-09 20:55:16 +02:00
Yohan Boniface
e5e0ad8823 Add LEAFLET_STORAGE_KEEP_VERSIONS 2016-09-09 20:42:17 +02:00
Yohan Boniface
5ca8b3f6a1 Always select matching result in autocomplete (fix #357) 2016-09-09 20:41:34 +02:00
Yohan Boniface
805bca7a97 Switch to pytest 2016-08-20 12:33:05 +02:00
Yohan Boniface
5822a3cfb6 Django 1.10: django.core.context_processors => django.template.context_processors 2016-08-20 12:04:08 +02:00