Commit graph

352 commits

Author SHA1 Message Date
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
Yohan Boniface
fe9d99550b Remove Leaflet.Label 2016-07-19 08:46:07 +02:00
Yohan Boniface
0c86f7a132 Add Path.Drag.js 2016-07-19 08:45:59 +02:00
Yohan Boniface
da6cff729c Allow to override site name in pages title 2016-06-30 14:41:10 +02:00
Yohan Boniface
a34d163449 Do not override "content" block in content.html template 2016-06-29 17:20:47 +02:00
Yohan Boniface
a1676d56ca Use a specific prefix for maps ids in search results 2016-06-27 15:16:55 +02:00
Yohan Boniface
65b771a362 Make TEMPLATES.DIRS a list to make overridable more easily 2016-06-24 11:17:17 +02:00
Yohan Boniface
0bca23cca4 Put back bottom_js block removed by mistake 2016-05-20 11:11:31 +02:00
Yohan Boniface
2f77c08465 Use our own fork of Leaflet.Label 2016-05-20 09:45:26 +02:00
Yohan Boniface
72202b0d3d Small CSS/HTML tricks to follow changes in Leaflet.Storage 2016-05-17 22:37:20 +02:00
Yohan Boniface
bd0fff41ad Add link for Leaflet.Fullscreen 2016-04-26 09:54:45 +02:00
Yohan Boniface
5aa853761c Follow Leaflet.Storage UI refactoring
cf umap-project/Leaflet.Storage/commit/59583db7bef28b2fd13ac98c0a62e1a770d3fb66
2016-04-26 00:07:06 +02:00
Yohan Boniface
e2dfcdb336 Django 1.9 wants a TEMPLATE entry in the settings 2016-04-25 23:53:58 +02:00
Yohan Boniface
94d2bbb65e Upgrade to Django 1.9 and bumps deps 2016-04-24 16:14:47 +02:00
Yohan Boniface
bfe26adfad Add Leaflet.Photon to js 2016-04-24 14:31:11 +02:00
Yohan Boniface
5f63de9561 Remove print (cf #301) 2016-03-30 12:22:24 +02:00
Yohan Boniface
c4287bf39e Also use plainto_tsquery when using unaccent 2016-03-10 22:47:28 +01:00
Stephan Bösch-Plepelits
5f63943458 Authentication: configure availability of account login (default True) 2016-02-05 05:44:15 +01:00
Stephan Bösch-Plepelits
8f5b59604e Authentication: show errors for username / password login failures 2016-01-14 21:26:44 +01:00
Stephan Bösch-Plepelits
7477adec05 Authentication: custom templates for password change 2016-01-14 21:26:43 +01:00
Stephan Bösch-Plepelits
2f2e0f510d Authentication: include a change password menu entry 2016-01-14 21:26:43 +01:00
Stephan Bösch-Plepelits
0d3046e711 Authentication: hide block with OAuth providers, when no providers configured 2016-01-14 21:26:43 +01:00
Stephan Bösch-Plepelits
5ed0361998 Authentication: login via username / password 2016-01-14 21:26:43 +01:00
Stephan Bösch-Plepelits
e8c7b41e6d Configuration: settings to configure count of showcased maps
- UMAP_MAPS_PER_PAGE
- UMAP_MAPS_PER_PAGE_OWNER
2016-01-03 21:47:31 +01:00
Stephan Bösch-Plepelits
d783366d9d Configuration: new setting UMAP_EXCLUDE_DEFAULT_MAPS
- This setting will exclude default maps (maps where the default center
  has not been updated)
- until now, the default was to exclude default maps - new default: not
  exclude
2016-01-03 21:44:14 +01:00
Stephan Bösch-Plepelits
ca36ecfc10 Configuration: default map location for new maps 2016-01-02 13:24:35 +01:00
Yohan Boniface
d7649b3a66 Use plainto_tsquery instead of to_tsquery to allow multiple words 2015-12-23 22:03:09 +01:00
Yohan Boniface
d99a208226 Add am_ET on base settings 2015-11-17 14:35:59 +01:00
Yohan Boniface
968de12dd1 Update Amharic translation 2015-11-15 16:33:16 +01:00
Yohan Boniface
e6e605dda4 Add am_ET locale (Amharic) 2015-11-15 10:29:24 +01:00
Yohan Boniface
d09e798dd6 Gives HttpResponse bytes 2015-10-17 13:09:58 +02:00
Yohan Boniface
6fe7119cbb 0.8.0-beta.0 2015-10-17 08:52:29 +02:00
Yohan Boniface
f566247b91 Paginage by 10 in "My Maps" page (cf #211) 2015-10-11 22:19:51 +02:00
Yohan Boniface
a5c6efa5ad Do not reset padding on form elements 2015-10-11 11:08:33 +02:00