Brian DeRocher
204db34282
Replace bash based waiting with python based django-probes.
2023-09-20 09:45:26 -04:00
Brice Maron
cd29486b84
fix: correct changelog link
2023-08-23 08:31:15 +02:00
Yohan Boniface
15e9cf0b5f
Protect back username field from being modified by social auth login
2023-08-21 17:05:01 +02:00
Yohan Boniface
2b471be171
Very lite "My Profile" page to allow changing username
2023-08-21 15:09:30 +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
6abc088121
i18n
2023-07-17 16:16:08 +02:00
Yohan Boniface
c1f8684a29
Replace si_LK by si
2023-07-17 16:00:55 +02:00
David Larlet
a87309cee6
Add a setting for the number of maps per search
...
Useful for https://github.com/umap-project/umap-dsfr
2023-06-27 18:41:00 -04:00
Yohan Boniface
81fcc080d9
Allow to customize user display name and URL slug
2023-06-16 14:59:59 +02:00
Yohan Boniface
453a7b5616
Remove unused settings from social auth
...
I cannot find any reference of those settings while looking
at social-core code.
2023-06-16 14:52:12 +02:00
David Larlet
bb8d233411
Remove DIRS
from settings.TEMPLATES
...
It’s more convenient to let the sub-themes declare their own templates (especially with `'APP_DIRS': True`).
2023-06-14 21:15:37 -04:00
Yohan Boniface
4b502e9857
Merge branch 'docker'
2023-06-05 17:00:46 +02:00
Yohan Boniface
faebeebbdf
INTERNAL_IPS should default to a list
2023-06-05 15:08:19 +02:00
Yohan Boniface
00f34c45ba
Handle OpenStreetMap OAuth by default
2023-06-05 14:48:55 +02:00
Yohan Boniface
5e201b44fb
Use django-environ to make part of the settings available throught env vars
2023-06-05 11:48:21 +02:00
Yohan Boniface
e0760ca403
Only ask to send edit link if email has been set up
2023-05-31 17:20:22 +02:00
Yohan Boniface
8f52d34bb2
WIP: final bit to make sending edit link working
2023-05-31 17:05:57 +02:00
Yohan Boniface
a462a58ae0
Remove SOCIAL_AUTH_PIPELINE from settings/base.py
...
We are using the default, so not need to define them on our
side.
2023-05-30 08:42:23 +02:00
Yohan Boniface
9ca5ba974b
Auth: mark id as protected, otherwise social-core try to create
...
new account at each login:
```
File "/srv/umap/venv/lib/python3.10/site-packages/social_core/backends/base.py", line 83, in pipeline
out = self.run_pipeline(pipeline, pipeline_index, *args, **kwargs)
File "/srv/umap/venv/lib/python3.10/site-packages/social_core/backends/base.py", line 113, in run_pipeline
result = func(*args, **out) or {}
File "/srv/umap/venv/lib/python3.10/site-packages/social_core/pipeline/user.py", line 122, in user_details
strategy.storage.user.changed(user)
File "/srv/umap/venv/lib/python3.10/site-packages/social_django/storage.py", line 16, in changed
user.save()
django.db.utils.IntegrityError: duplicate key value violates unique constraint "auth_user_username_key"
DETAIL: Key (username)=(xxxxx) already exists.
```
2023-05-30 08:42:23 +02:00
Yohan Boniface
1038836a72
Use Django full text instead of custom SQL
2023-05-11 11:33:08 +02:00
Yohan Boniface
edc97f4cc7
Initialize STATICFILES_DIRS
...
fix #1060
2023-04-04 09:11:12 +02:00
Yohan Boniface
5b7f08ed08
Refactor gzip creation
2023-02-27 12:04:09 +01:00
Yohan Boniface
2fc30b117b
Prepare for Django 4.x
2023-02-22 15:19:38 +01:00
Yohan Boniface
bd1dd4e233
i18n
2023-02-22 10:23:03 +01:00
Yohan Boniface
91cfc39cb6
Make Django with DEFAULT_AUTO_FIELD setting
2021-09-16 12:15:18 +02:00
Yohan Boniface
1200b82838
First attempt to upgrade to Django 3.X
...
Bloqued by https://github.com/peopledoc/django-agnocomplete/issues/119
2021-05-17 10:51:24 +02:00
Yohan Boniface
3927a845a4
Control search API URL from uMap config
...
cf #842
2020-11-08 15:10:13 +01:00
Yohan Boniface
7f0454fce0
Use new settings of social-auth
...
cf #754
2020-03-22 18:00:47 +01:00
Yohan Boniface
8b65a12383
i18n: add "sv" (Swedish)
2020-03-09 17:25:45 +01:00
Yohan Boniface
03cc738056
i18n: Add "et" (Estonian)
2020-03-09 17:24:07 +01:00
Yohan Boniface
be809acbc6
i18n: add "no"
2020-03-09 17:19:16 +01:00
Yohan Boniface
401cb6db6e
Merge pull request #761 from umap-project/si-lk
...
Add "si" to LANG_INFO
2020-03-09 17:16:08 +01:00
Yohan Boniface
4000da1d41
Merge pull request #754 from Binnette/sync-username-on-connect
...
Update username with value from OAuth provider
2020-03-09 17:06:00 +01:00
Yohan Boniface
4a43b870c1
Add "si" to LANG_INFO
...
cf https://github.com/django/django/blob/master/django/conf/locale/__init__.py#L10
"get_language_info_list" would not run otherwise.
2020-03-09 16:22:51 +01:00
Binnette
d68c1c2553
Translation update
...
* Update all translations
* Add: ar, ast, he, id, is, pt-br, pt-pt, si-lk, sr, th-th, tr
* Remove: pt (replaced by pt-pt and pt-br)
2020-03-03 19:46:10 +01:00
Binnette
b0e06fccfe
add comment and change pipeline method name
2020-03-01 11:11:27 +01:00
Binnette
179e8c7e97
Update username with value from OAuth provider
2020-03-01 00:12:10 +01:00
Yohan Boniface
6236e37652
Add ko i18n
2019-05-11 11:32:33 +02:00
Yohan Boniface
8f775faf73
Bump django to 2.2
2019-04-07 11:39:03 +02:00
Yohan Boniface
f6b2469566
i18n
...
fix #665
2019-01-30 11:23:57 +01:00
Yohan Boniface
fb85a6c93c
i18n
2018-09-08 17:01:22 +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
48185650b0
Move permissions form building to JS
2018-06-15 23:25:38 +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
81919ce0f7
Add UMAP_CUSTOM_TEMPLATES and UMAP_CUSTOM_STATICS
2018-06-02 17:20:44 +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
a0bff73401
Fix generate_js_locale paths
2018-06-02 14:44:01 +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
1ef5e13f48
Remove duplicate short_url declarations
2018-05-19 12:01:53 +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
Yohan Boniface
0104337406
Add travis.yml
2017-05-12 10:42:02 +02: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
d1af699ddb
Add sk_SK translation files
2016-11-06 22:52:33 +01:00
Yohan Boniface
07e6b62012
Ubuntu installation turorial draft
2016-09-10 16:21:09 +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
5822a3cfb6
Django 1.10: django.core.context_processors => django.template.context_processors
2016-08-20 12:04:08 +02:00
Yohan Boniface
da6cff729c
Allow to override site name in pages title
2016-06-30 14:41:10 +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
72202b0d3d
Small CSS/HTML tricks to follow changes in Leaflet.Storage
2016-05-17 22:37:20 +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
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
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
Yohan Boniface
d99a208226
Add am_ET on base settings
2015-11-17 14:35:59 +01:00
Yohan Boniface
6fe7119cbb
0.8.0-beta.0
2015-10-17 08:52:29 +02:00
Yohan Boniface
6960299d21
Use osm.org for routing instead of OSRM demo site ( fix #219 )
2015-10-11 10:23:48 +02:00
Yohan Boniface
cfb7eb8a44
Add MAPQUEST_KEY setting
2015-10-06 12:19:20 +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
65fc239406
Missing ukrainian in base.py…
2014-09-17 10:54:44 +02:00
Yohan Boniface
acd8c2dd8a
Display current version in footer
2014-08-25 10:09:39 +02:00
Yohan Boniface
3ae4b86893
Allow to override the feedback link
2014-08-25 09:42:17 +02:00
Yohan Boniface
1e6431146b
Add Chinese (Taiwan)
2014-08-24 19:51:20 +02:00
Yohan Boniface
e7caca84b9
Add Vietnamese entry
2014-08-13 23:56:01 +02:00
Yohan Boniface
0058410c71
iwyu
2014-07-20 16:10:32 +02:00
Yohan Boniface
bf758ff67a
Add russian locale
2014-07-10 23:46:06 +02:00
Yohan Boniface
cb60b8df06
Adding Chinese
2014-06-26 20:40:44 +02:00
Yohan Boniface
e0e5707906
0.6.0
2014-06-16 14:02:18 +02:00
Yohan Boniface
21122dba4f
Get rid of sesql and upgrade to django 1.6
2014-05-02 00:13:33 +02:00
Yohan Boniface
3ce48d43d6
Add catalan translation
2014-04-25 11:54:17 +02:00
Yohan Boniface
26e9f39748
Better order for middleware
...
See https://docs.djangoproject.com/en/1.6/topics/i18n/translation/#how-django-discovers-language-preference
2014-04-24 23:20:25 +02:00
Yohan Boniface
7d3d9d27cf
Use template cache_loader
2014-04-19 20:26:41 +02:00
Yohan Boniface
9bf587a765
Use a query string for URL
2014-04-19 12:28:24 +02:00
Yohan Boniface
39f672641c
First shot in GeoRSS support
2014-04-19 11:48:54 +02:00
Yohan Boniface
c68fca4910
Correct way of declaring cs_CZ in settings
2014-04-14 10:03:46 +02:00
Yohan Boniface
03507066a5
Add cs_CZ
2014-04-14 09:47:42 +02:00
Yohan Boniface
40d5ac7e3a
Upgrade django-social-auth to python-social-auth
2014-03-06 23:22:37 +01:00
Yohan Boniface
452270724a
0.5.0
2014-02-10 16:54:01 +01:00
Yohan Boniface
c8798abb4e
Send locale to routing
2014-01-09 15:59:19 +01:00