mirror of
https://github.com/umap-project/umap.git
synced 2025-05-17 19:21:50 +02:00
Compare commits
No commits in common. "c0f7e9d50d772f83e184f465e25e33fd553574c3" and "ce024d57fdf8b67489ed75d79f25b47a181a9389" have entirely different histories.
c0f7e9d50d
...
ce024d57fd
29 changed files with 116 additions and 156 deletions
|
@ -1,10 +1,5 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
## 2.9.1 - 2025-03-03
|
|
||||||
|
|
||||||
* be more persuasive in deprecating twitter login backend by @yohanboniface in #2538
|
|
||||||
|
|
||||||
|
|
||||||
## 2.9.0 - 2025-03-03
|
## 2.9.0 - 2025-03-03
|
||||||
|
|
||||||
This release is mainly about making the sync feature deployable and more stable (but still
|
This release is mainly about making the sync feature deployable and more stable (but still
|
||||||
|
|
|
@ -28,13 +28,13 @@ Can be set through env var too: `ALLOWED_HOSTS=umap.mydomain.org,u.mydomain.org`
|
||||||
|
|
||||||
Set it to `True` for easier debugging in case of error.
|
Set it to `True` for easier debugging in case of error.
|
||||||
|
|
||||||
#### DEPRECATED_AUTHENTICATION_BACKENDS
|
#### DEPRECATED_AUTHENTICATION_PROVIDERS
|
||||||
|
|
||||||
List of auth backends to deprecate. Defining this will display a message to
|
List of auth providers to deprecate. Defining this will display a message to
|
||||||
all users using this provider, to encourage them to configure another provider to
|
all users using this provider, to encourage them to configure another provider to
|
||||||
their account.
|
their account.
|
||||||
|
|
||||||
DEPRECATED_AUTHENTICATION_BACKENDS = ["social_core.backends.twitter_oauth2.TwitterOAuth2"]
|
DEPRECATED_AUTHENTICATION_PROVIDERS = ["social_core.backends.twitter_oauth2.TwitterOAuth2"]
|
||||||
|
|
||||||
#### EMAIL_BACKEND
|
#### EMAIL_BACKEND
|
||||||
|
|
||||||
|
|
|
@ -44,14 +44,14 @@ dependencies = [
|
||||||
[project.optional-dependencies]
|
[project.optional-dependencies]
|
||||||
dev = [
|
dev = [
|
||||||
"hatch==1.14.0",
|
"hatch==1.14.0",
|
||||||
"ruff==0.9.9",
|
"ruff==0.9.6",
|
||||||
"djlint==1.36.4",
|
"djlint==1.36.4",
|
||||||
"mkdocs==1.6.1",
|
"mkdocs==1.6.1",
|
||||||
"mkdocs-material==9.6.4",
|
"mkdocs-material==9.6.4",
|
||||||
"mkdocs-static-i18n==1.3.0",
|
"mkdocs-static-i18n==1.3.0",
|
||||||
"vermin==1.6.0",
|
"vermin==1.6.0",
|
||||||
"pymdown-extensions==10.14.3",
|
"pymdown-extensions==10.14.3",
|
||||||
"isort==6.0.1",
|
"isort==6.0.0",
|
||||||
]
|
]
|
||||||
test = [
|
test = [
|
||||||
"daphne==4.1.2",
|
"daphne==4.1.2",
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
VERSION = "2.9.1"
|
VERSION = "2.9.0"
|
||||||
|
|
Binary file not shown.
|
@ -16,7 +16,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: uMap\n"
|
"Project-Id-Version: uMap\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2025-03-03 17:36+0000\n"
|
"POT-Creation-Date: 2025-03-03 14:11+0000\n"
|
||||||
"PO-Revision-Date: 2013-11-22 14:00+0000\n"
|
"PO-Revision-Date: 2013-11-22 14:00+0000\n"
|
||||||
"Last-Translator: Jiří Podhorecký <jirka.p@volny.cz>, 2018-2019,2023-2025\n"
|
"Last-Translator: Jiří Podhorecký <jirka.p@volny.cz>, 2018-2019,2023-2025\n"
|
||||||
"Language-Team: Czech (Czech Republic) (http://app.transifex.com/openstreetmap/umap/language/cs_CZ/)\n"
|
"Language-Team: Czech (Czech Republic) (http://app.transifex.com/openstreetmap/umap/language/cs_CZ/)\n"
|
||||||
|
@ -34,18 +34,10 @@ msgstr "CSV Export"
|
||||||
msgid "This map is not publicly available"
|
msgid "This map is not publicly available"
|
||||||
msgstr "Tato mapa není veřejně dostupná"
|
msgstr "Tato mapa není veřejně dostupná"
|
||||||
|
|
||||||
#: middleware.py:19
|
#: middleware.py:13
|
||||||
msgid "Site is readonly for maintenance"
|
msgid "Site is readonly for maintenance"
|
||||||
msgstr "Stránka je jen ke čtení kvůli údržbě"
|
msgstr "Stránka je jen ke čtení kvůli údržbě"
|
||||||
|
|
||||||
#: middleware.py:34
|
|
||||||
#, python-format
|
|
||||||
msgid ""
|
|
||||||
"Using “%(name)s” to authenticate is deprecated and will be removed soon. "
|
|
||||||
"Please configure another provider below before losing access to your account"
|
|
||||||
" and maps."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: models.py:60 models.py:79
|
#: models.py:60 models.py:79
|
||||||
msgid "name"
|
msgid "name"
|
||||||
msgstr "název"
|
msgstr "název"
|
||||||
|
@ -742,3 +734,10 @@ msgstr "Vrstva úspěšně vymazána."
|
||||||
#: views.py:1351
|
#: views.py:1351
|
||||||
msgid "Permissions updated with success!"
|
msgid "Permissions updated with success!"
|
||||||
msgstr "Oprávnění úspěšně aktualizována!"
|
msgstr "Oprávnění úspěšně aktualizována!"
|
||||||
|
|
||||||
|
#: views.py:1430
|
||||||
|
#, python-format
|
||||||
|
msgid ""
|
||||||
|
"Using “%(name)s” to authenticate is deprecated. Please configure another "
|
||||||
|
"provider in your profile page."
|
||||||
|
msgstr "Použití \"%(name)s\" k ověření je zastaralé. Nakonfigurujte prosím jiného poskytovatele na stránce svého profilu."
|
||||||
|
|
Binary file not shown.
|
@ -13,7 +13,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: uMap\n"
|
"Project-Id-Version: uMap\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2025-03-03 17:36+0000\n"
|
"POT-Creation-Date: 2025-01-31 17:29+0000\n"
|
||||||
"PO-Revision-Date: 2013-11-22 14:00+0000\n"
|
"PO-Revision-Date: 2013-11-22 14:00+0000\n"
|
||||||
"Last-Translator: prendi <prendi@openmailbox.org>, 2017\n"
|
"Last-Translator: prendi <prendi@openmailbox.org>, 2017\n"
|
||||||
"Language-Team: Greek (http://app.transifex.com/openstreetmap/umap/language/el/)\n"
|
"Language-Team: Greek (http://app.transifex.com/openstreetmap/umap/language/el/)\n"
|
||||||
|
@ -31,18 +31,10 @@ msgstr "Εξαγωγή CSV"
|
||||||
msgid "This map is not publicly available"
|
msgid "This map is not publicly available"
|
||||||
msgstr "Αυτός ο χάρτης δεν είναι δημοσίως διαθέσιμος"
|
msgstr "Αυτός ο χάρτης δεν είναι δημοσίως διαθέσιμος"
|
||||||
|
|
||||||
#: middleware.py:19
|
#: middleware.py:13
|
||||||
msgid "Site is readonly for maintenance"
|
msgid "Site is readonly for maintenance"
|
||||||
msgstr "Λόγω συντήρησης, ο ιστότοπος είναι μόνο για ανάγνωση"
|
msgstr "Λόγω συντήρησης, ο ιστότοπος είναι μόνο για ανάγνωση"
|
||||||
|
|
||||||
#: middleware.py:34
|
|
||||||
#, python-format
|
|
||||||
msgid ""
|
|
||||||
"Using “%(name)s” to authenticate is deprecated and will be removed soon. "
|
|
||||||
"Please configure another provider below before losing access to your account"
|
|
||||||
" and maps."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: models.py:60 models.py:79
|
#: models.py:60 models.py:79
|
||||||
msgid "name"
|
msgid "name"
|
||||||
msgstr "όνομα"
|
msgstr "όνομα"
|
||||||
|
@ -606,7 +598,7 @@ msgstr "Χάρτες που δημιουργήθηκαν τελευταίοι"
|
||||||
msgid "Search maps"
|
msgid "Search maps"
|
||||||
msgstr "Αναζήτηση χαρτών"
|
msgstr "Αναζήτηση χαρτών"
|
||||||
|
|
||||||
#: templates/umap/search_bar.html:16
|
#: templates/umap/search_bar.html:15
|
||||||
msgid "Search"
|
msgid "Search"
|
||||||
msgstr "Αναζήτηση"
|
msgstr "Αναζήτηση"
|
||||||
|
|
||||||
|
@ -737,3 +729,10 @@ msgstr "Το επίπεδο διαγράφηκε με επιτυχία."
|
||||||
#: views.py:1351
|
#: views.py:1351
|
||||||
msgid "Permissions updated with success!"
|
msgid "Permissions updated with success!"
|
||||||
msgstr "Τα δικαιώματα ενημερώθηκαν με επιτυχία!"
|
msgstr "Τα δικαιώματα ενημερώθηκαν με επιτυχία!"
|
||||||
|
|
||||||
|
#: views.py:1430
|
||||||
|
#, python-format
|
||||||
|
msgid ""
|
||||||
|
"Using “%(name)s” to authenticate is deprecated. Please configure another "
|
||||||
|
"provider in your profile page."
|
||||||
|
msgstr "Η χρήση του «%(name)s» για τον έλεγχο ταυτότητας έχει ξεπεραστεί. Παρακαλούμε ρυθμίστε έναν άλλο πάροχο στη σελίδα του προφίλ σας."
|
||||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2025-03-03 17:36+0000\n"
|
"POT-Creation-Date: 2025-03-03 14:11+0000\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
@ -25,18 +25,10 @@ msgstr ""
|
||||||
msgid "This map is not publicly available"
|
msgid "This map is not publicly available"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: middleware.py:19
|
#: middleware.py:13
|
||||||
msgid "Site is readonly for maintenance"
|
msgid "Site is readonly for maintenance"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: middleware.py:34
|
|
||||||
#, python-format
|
|
||||||
msgid ""
|
|
||||||
"Using “%(name)s” to authenticate is deprecated and will be removed soon. "
|
|
||||||
"Please configure another provider below before losing access to your account "
|
|
||||||
"and maps."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: models.py:60 models.py:79
|
#: models.py:60 models.py:79
|
||||||
msgid "name"
|
msgid "name"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -730,3 +722,10 @@ msgstr ""
|
||||||
#: views.py:1351
|
#: views.py:1351
|
||||||
msgid "Permissions updated with success!"
|
msgid "Permissions updated with success!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: views.py:1430
|
||||||
|
#, python-format
|
||||||
|
msgid ""
|
||||||
|
"Using “%(name)s” to authenticate is deprecated. Please configure another "
|
||||||
|
"provider in your profile page."
|
||||||
|
msgstr ""
|
||||||
|
|
Binary file not shown.
|
@ -17,7 +17,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: uMap\n"
|
"Project-Id-Version: uMap\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2025-03-03 17:36+0000\n"
|
"POT-Creation-Date: 2025-01-31 17:29+0000\n"
|
||||||
"PO-Revision-Date: 2013-11-22 14:00+0000\n"
|
"PO-Revision-Date: 2013-11-22 14:00+0000\n"
|
||||||
"Last-Translator: Ignacio L'Episcopo, 2024-2025\n"
|
"Last-Translator: Ignacio L'Episcopo, 2024-2025\n"
|
||||||
"Language-Team: Spanish (http://app.transifex.com/openstreetmap/umap/language/es/)\n"
|
"Language-Team: Spanish (http://app.transifex.com/openstreetmap/umap/language/es/)\n"
|
||||||
|
@ -35,18 +35,10 @@ msgstr "Exportar CSV"
|
||||||
msgid "This map is not publicly available"
|
msgid "This map is not publicly available"
|
||||||
msgstr "Este mapa no está disponible públicamente"
|
msgstr "Este mapa no está disponible públicamente"
|
||||||
|
|
||||||
#: middleware.py:19
|
#: middleware.py:13
|
||||||
msgid "Site is readonly for maintenance"
|
msgid "Site is readonly for maintenance"
|
||||||
msgstr "Sitio en modo solo lectura por mantenimiento"
|
msgstr "Sitio en modo solo lectura por mantenimiento"
|
||||||
|
|
||||||
#: middleware.py:34
|
|
||||||
#, python-format
|
|
||||||
msgid ""
|
|
||||||
"Using “%(name)s” to authenticate is deprecated and will be removed soon. "
|
|
||||||
"Please configure another provider below before losing access to your account"
|
|
||||||
" and maps."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: models.py:60 models.py:79
|
#: models.py:60 models.py:79
|
||||||
msgid "name"
|
msgid "name"
|
||||||
msgstr "nombre"
|
msgstr "nombre"
|
||||||
|
@ -611,7 +603,7 @@ msgstr "Últimos mapas creados"
|
||||||
msgid "Search maps"
|
msgid "Search maps"
|
||||||
msgstr "Buscar mapas"
|
msgstr "Buscar mapas"
|
||||||
|
|
||||||
#: templates/umap/search_bar.html:16
|
#: templates/umap/search_bar.html:15
|
||||||
msgid "Search"
|
msgid "Search"
|
||||||
msgstr "Buscar"
|
msgstr "Buscar"
|
||||||
|
|
||||||
|
@ -742,3 +734,10 @@ msgstr "Se eliminó la capa con éxito."
|
||||||
#: views.py:1351
|
#: views.py:1351
|
||||||
msgid "Permissions updated with success!"
|
msgid "Permissions updated with success!"
|
||||||
msgstr "¡Permisos actualizados con éxito!"
|
msgstr "¡Permisos actualizados con éxito!"
|
||||||
|
|
||||||
|
#: views.py:1430
|
||||||
|
#, python-format
|
||||||
|
msgid ""
|
||||||
|
"Using “%(name)s” to authenticate is deprecated. Please configure another "
|
||||||
|
"provider in your profile page."
|
||||||
|
msgstr "Usar “%(name)s” para autenticar está obsoleto. Configura otro proveedor en la página de tu perfil."
|
||||||
|
|
Binary file not shown.
|
@ -24,7 +24,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: uMap\n"
|
"Project-Id-Version: uMap\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2025-03-03 17:36+0000\n"
|
"POT-Creation-Date: 2025-01-31 17:29+0000\n"
|
||||||
"PO-Revision-Date: 2013-11-22 14:00+0000\n"
|
"PO-Revision-Date: 2013-11-22 14:00+0000\n"
|
||||||
"Last-Translator: yohanboniface <yohanboniface@free.fr>, 2013-2014,2018-2019,2023-2025\n"
|
"Last-Translator: yohanboniface <yohanboniface@free.fr>, 2013-2014,2018-2019,2023-2025\n"
|
||||||
"Language-Team: French (http://app.transifex.com/openstreetmap/umap/language/fr/)\n"
|
"Language-Team: French (http://app.transifex.com/openstreetmap/umap/language/fr/)\n"
|
||||||
|
@ -42,18 +42,10 @@ msgstr "Export CSV"
|
||||||
msgid "This map is not publicly available"
|
msgid "This map is not publicly available"
|
||||||
msgstr "Cette carte n'est pas publique"
|
msgstr "Cette carte n'est pas publique"
|
||||||
|
|
||||||
#: middleware.py:19
|
#: middleware.py:13
|
||||||
msgid "Site is readonly for maintenance"
|
msgid "Site is readonly for maintenance"
|
||||||
msgstr "Le site est en lecture seule pour maintenance."
|
msgstr "Le site est en lecture seule pour maintenance."
|
||||||
|
|
||||||
#: middleware.py:34
|
|
||||||
#, python-format
|
|
||||||
msgid ""
|
|
||||||
"Using “%(name)s” to authenticate is deprecated and will be removed soon. "
|
|
||||||
"Please configure another provider below before losing access to your account"
|
|
||||||
" and maps."
|
|
||||||
msgstr "L’utilisation de “%(name)s” pour s’authentifier est dépréciée et sera bientôt rendue impossible. Veuillez configurer un nouveau fournisseur ci-dessous avant de perdre l’accès à votre compte et à vos cartes."
|
|
||||||
|
|
||||||
#: models.py:60 models.py:79
|
#: models.py:60 models.py:79
|
||||||
msgid "name"
|
msgid "name"
|
||||||
msgstr "nom"
|
msgstr "nom"
|
||||||
|
@ -618,7 +610,7 @@ msgstr "Dernières cartes créées."
|
||||||
msgid "Search maps"
|
msgid "Search maps"
|
||||||
msgstr "Chercher des cartes"
|
msgstr "Chercher des cartes"
|
||||||
|
|
||||||
#: templates/umap/search_bar.html:16
|
#: templates/umap/search_bar.html:15
|
||||||
msgid "Search"
|
msgid "Search"
|
||||||
msgstr "Chercher"
|
msgstr "Chercher"
|
||||||
|
|
||||||
|
@ -749,3 +741,10 @@ msgstr "Calque supprimé."
|
||||||
#: views.py:1351
|
#: views.py:1351
|
||||||
msgid "Permissions updated with success!"
|
msgid "Permissions updated with success!"
|
||||||
msgstr "Les permissions ont bien été modifiées !"
|
msgstr "Les permissions ont bien été modifiées !"
|
||||||
|
|
||||||
|
#: views.py:1430
|
||||||
|
#, python-format
|
||||||
|
msgid ""
|
||||||
|
"Using “%(name)s” to authenticate is deprecated. Please configure another "
|
||||||
|
"provider in your profile page."
|
||||||
|
msgstr "L'utilisation de “%(name)s” pour s'authentifier est déprécié. Veuillez configurer un nouveau fournisseur sur votre page profil."
|
||||||
|
|
Binary file not shown.
|
@ -13,7 +13,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: uMap\n"
|
"Project-Id-Version: uMap\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2025-03-03 17:36+0000\n"
|
"POT-Creation-Date: 2025-01-31 17:29+0000\n"
|
||||||
"PO-Revision-Date: 2013-11-22 14:00+0000\n"
|
"PO-Revision-Date: 2013-11-22 14:00+0000\n"
|
||||||
"Last-Translator: Miguel Anxo Bouzada <mbouzada@gmail.com>, 2025\n"
|
"Last-Translator: Miguel Anxo Bouzada <mbouzada@gmail.com>, 2025\n"
|
||||||
"Language-Team: Galician (http://app.transifex.com/openstreetmap/umap/language/gl/)\n"
|
"Language-Team: Galician (http://app.transifex.com/openstreetmap/umap/language/gl/)\n"
|
||||||
|
@ -31,18 +31,10 @@ msgstr "Exportar CSV"
|
||||||
msgid "This map is not publicly available"
|
msgid "This map is not publicly available"
|
||||||
msgstr "Este mapa non está dispoñíbel publicamente"
|
msgstr "Este mapa non está dispoñíbel publicamente"
|
||||||
|
|
||||||
#: middleware.py:19
|
#: middleware.py:13
|
||||||
msgid "Site is readonly for maintenance"
|
msgid "Site is readonly for maintenance"
|
||||||
msgstr "O sitio é só de lectura por mantemento"
|
msgstr "O sitio é só de lectura por mantemento"
|
||||||
|
|
||||||
#: middleware.py:34
|
|
||||||
#, python-format
|
|
||||||
msgid ""
|
|
||||||
"Using “%(name)s” to authenticate is deprecated and will be removed soon. "
|
|
||||||
"Please configure another provider below before losing access to your account"
|
|
||||||
" and maps."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: models.py:60 models.py:79
|
#: models.py:60 models.py:79
|
||||||
msgid "name"
|
msgid "name"
|
||||||
msgstr "nome"
|
msgstr "nome"
|
||||||
|
@ -606,7 +598,7 @@ msgstr "Últimos mapas creados"
|
||||||
msgid "Search maps"
|
msgid "Search maps"
|
||||||
msgstr "Buscar mapas"
|
msgstr "Buscar mapas"
|
||||||
|
|
||||||
#: templates/umap/search_bar.html:16
|
#: templates/umap/search_bar.html:15
|
||||||
msgid "Search"
|
msgid "Search"
|
||||||
msgstr "Buscar"
|
msgstr "Buscar"
|
||||||
|
|
||||||
|
@ -737,3 +729,10 @@ msgstr "A capa foi eliminada correctamente."
|
||||||
#: views.py:1351
|
#: views.py:1351
|
||||||
msgid "Permissions updated with success!"
|
msgid "Permissions updated with success!"
|
||||||
msgstr "Os permisos foron actualizados correctamente!"
|
msgstr "Os permisos foron actualizados correctamente!"
|
||||||
|
|
||||||
|
#: views.py:1430
|
||||||
|
#, python-format
|
||||||
|
msgid ""
|
||||||
|
"Using “%(name)s” to authenticate is deprecated. Please configure another "
|
||||||
|
"provider in your profile page."
|
||||||
|
msgstr "Usar «%(name)s» para autenticarse está obsoleto. Configura outro provedor na túa páxina de perfil."
|
||||||
|
|
Binary file not shown.
|
@ -21,7 +21,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: uMap\n"
|
"Project-Id-Version: uMap\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2025-03-03 17:36+0000\n"
|
"POT-Creation-Date: 2025-01-31 17:29+0000\n"
|
||||||
"PO-Revision-Date: 2013-11-22 14:00+0000\n"
|
"PO-Revision-Date: 2013-11-22 14:00+0000\n"
|
||||||
"Last-Translator: Marco <marcxosm@gmail.com>, 2017-2019,2024-2025\n"
|
"Last-Translator: Marco <marcxosm@gmail.com>, 2017-2019,2024-2025\n"
|
||||||
"Language-Team: Italian (http://app.transifex.com/openstreetmap/umap/language/it/)\n"
|
"Language-Team: Italian (http://app.transifex.com/openstreetmap/umap/language/it/)\n"
|
||||||
|
@ -39,18 +39,10 @@ msgstr "Esporta CSV"
|
||||||
msgid "This map is not publicly available"
|
msgid "This map is not publicly available"
|
||||||
msgstr "La mappa non è disponibile pubblicamente"
|
msgstr "La mappa non è disponibile pubblicamente"
|
||||||
|
|
||||||
#: middleware.py:19
|
#: middleware.py:13
|
||||||
msgid "Site is readonly for maintenance"
|
msgid "Site is readonly for maintenance"
|
||||||
msgstr "Il sito in sola lettura per manutenzione"
|
msgstr "Il sito in sola lettura per manutenzione"
|
||||||
|
|
||||||
#: middleware.py:34
|
|
||||||
#, python-format
|
|
||||||
msgid ""
|
|
||||||
"Using “%(name)s” to authenticate is deprecated and will be removed soon. "
|
|
||||||
"Please configure another provider below before losing access to your account"
|
|
||||||
" and maps."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: models.py:60 models.py:79
|
#: models.py:60 models.py:79
|
||||||
msgid "name"
|
msgid "name"
|
||||||
msgstr "nome"
|
msgstr "nome"
|
||||||
|
@ -615,7 +607,7 @@ msgstr "Ultime mappe create"
|
||||||
msgid "Search maps"
|
msgid "Search maps"
|
||||||
msgstr "Cerca mappe"
|
msgstr "Cerca mappe"
|
||||||
|
|
||||||
#: templates/umap/search_bar.html:16
|
#: templates/umap/search_bar.html:15
|
||||||
msgid "Search"
|
msgid "Search"
|
||||||
msgstr "Cerca"
|
msgstr "Cerca"
|
||||||
|
|
||||||
|
@ -746,3 +738,10 @@ msgstr "Layer eliminato correttamente"
|
||||||
#: views.py:1351
|
#: views.py:1351
|
||||||
msgid "Permissions updated with success!"
|
msgid "Permissions updated with success!"
|
||||||
msgstr "Autorizzazioni aggiornate con successo!"
|
msgstr "Autorizzazioni aggiornate con successo!"
|
||||||
|
|
||||||
|
#: views.py:1430
|
||||||
|
#, python-format
|
||||||
|
msgid ""
|
||||||
|
"Using “%(name)s” to authenticate is deprecated. Please configure another "
|
||||||
|
"provider in your profile page."
|
||||||
|
msgstr "L’uso di “%(name)s” per autenticarsi è scoraggiato. Configura un altro fornitore nella pagina del tuo profilo."
|
||||||
|
|
Binary file not shown.
|
@ -11,7 +11,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: uMap\n"
|
"Project-Id-Version: uMap\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2025-03-03 17:36+0000\n"
|
"POT-Creation-Date: 2025-03-03 14:11+0000\n"
|
||||||
"PO-Revision-Date: 2013-11-22 14:00+0000\n"
|
"PO-Revision-Date: 2013-11-22 14:00+0000\n"
|
||||||
"Last-Translator: Gideon van Melle <translations@gvmelle.com>, 2025\n"
|
"Last-Translator: Gideon van Melle <translations@gvmelle.com>, 2025\n"
|
||||||
"Language-Team: Dutch (http://app.transifex.com/openstreetmap/umap/language/nl/)\n"
|
"Language-Team: Dutch (http://app.transifex.com/openstreetmap/umap/language/nl/)\n"
|
||||||
|
@ -29,18 +29,10 @@ msgstr "CSV Export"
|
||||||
msgid "This map is not publicly available"
|
msgid "This map is not publicly available"
|
||||||
msgstr "Deze kaart is niet openbaar beschikbaar"
|
msgstr "Deze kaart is niet openbaar beschikbaar"
|
||||||
|
|
||||||
#: middleware.py:19
|
#: middleware.py:13
|
||||||
msgid "Site is readonly for maintenance"
|
msgid "Site is readonly for maintenance"
|
||||||
msgstr "Site is 'alleen lezen' wegens onderhoud"
|
msgstr "Site is 'alleen lezen' wegens onderhoud"
|
||||||
|
|
||||||
#: middleware.py:34
|
|
||||||
#, python-format
|
|
||||||
msgid ""
|
|
||||||
"Using “%(name)s” to authenticate is deprecated and will be removed soon. "
|
|
||||||
"Please configure another provider below before losing access to your account"
|
|
||||||
" and maps."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: models.py:60 models.py:79
|
#: models.py:60 models.py:79
|
||||||
msgid "name"
|
msgid "name"
|
||||||
msgstr "naam"
|
msgstr "naam"
|
||||||
|
@ -735,3 +727,10 @@ msgstr "Laag is verwijderd."
|
||||||
#: views.py:1351
|
#: views.py:1351
|
||||||
msgid "Permissions updated with success!"
|
msgid "Permissions updated with success!"
|
||||||
msgstr "Machtigingen met succes bijgewerkt!"
|
msgstr "Machtigingen met succes bijgewerkt!"
|
||||||
|
|
||||||
|
#: views.py:1430
|
||||||
|
#, python-format
|
||||||
|
msgid ""
|
||||||
|
"Using “%(name)s” to authenticate is deprecated. Please configure another "
|
||||||
|
"provider in your profile page."
|
||||||
|
msgstr "Het gebruik van “%(name)s” om te verifiëren is afgeschaft. Configureer een andere provider op je profielpagina."
|
||||||
|
|
Binary file not shown.
|
@ -10,7 +10,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: uMap\n"
|
"Project-Id-Version: uMap\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2025-03-03 17:36+0000\n"
|
"POT-Creation-Date: 2025-01-31 17:29+0000\n"
|
||||||
"PO-Revision-Date: 2013-11-22 14:00+0000\n"
|
"PO-Revision-Date: 2013-11-22 14:00+0000\n"
|
||||||
"Last-Translator: lecalam, 2024-2025\n"
|
"Last-Translator: lecalam, 2024-2025\n"
|
||||||
"Language-Team: Portuguese (http://app.transifex.com/openstreetmap/umap/language/pt/)\n"
|
"Language-Team: Portuguese (http://app.transifex.com/openstreetmap/umap/language/pt/)\n"
|
||||||
|
@ -28,18 +28,10 @@ msgstr "Exportação CSV"
|
||||||
msgid "This map is not publicly available"
|
msgid "This map is not publicly available"
|
||||||
msgstr "Este mapa não está disponível ao público"
|
msgstr "Este mapa não está disponível ao público"
|
||||||
|
|
||||||
#: middleware.py:19
|
#: middleware.py:13
|
||||||
msgid "Site is readonly for maintenance"
|
msgid "Site is readonly for maintenance"
|
||||||
msgstr "O site está em modo de leitura para manutenção"
|
msgstr "O site está em modo de leitura para manutenção"
|
||||||
|
|
||||||
#: middleware.py:34
|
|
||||||
#, python-format
|
|
||||||
msgid ""
|
|
||||||
"Using “%(name)s” to authenticate is deprecated and will be removed soon. "
|
|
||||||
"Please configure another provider below before losing access to your account"
|
|
||||||
" and maps."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: models.py:60 models.py:79
|
#: models.py:60 models.py:79
|
||||||
msgid "name"
|
msgid "name"
|
||||||
msgstr "nome"
|
msgstr "nome"
|
||||||
|
@ -604,7 +596,7 @@ msgstr "Últimos mapas criados"
|
||||||
msgid "Search maps"
|
msgid "Search maps"
|
||||||
msgstr "Procurar mapas"
|
msgstr "Procurar mapas"
|
||||||
|
|
||||||
#: templates/umap/search_bar.html:16
|
#: templates/umap/search_bar.html:15
|
||||||
msgid "Search"
|
msgid "Search"
|
||||||
msgstr "Procurar"
|
msgstr "Procurar"
|
||||||
|
|
||||||
|
@ -735,3 +727,10 @@ msgstr "Camada eliminada com sucesso."
|
||||||
#: views.py:1351
|
#: views.py:1351
|
||||||
msgid "Permissions updated with success!"
|
msgid "Permissions updated with success!"
|
||||||
msgstr "Permissões atualizadas com sucesso!"
|
msgstr "Permissões atualizadas com sucesso!"
|
||||||
|
|
||||||
|
#: views.py:1430
|
||||||
|
#, python-format
|
||||||
|
msgid ""
|
||||||
|
"Using “%(name)s” to authenticate is deprecated. Please configure another "
|
||||||
|
"provider in your profile page."
|
||||||
|
msgstr "A utilização de “%(name)s” para autenticação está desatualizada. Configure outro fornecedor na sua página de perfil."
|
||||||
|
|
Binary file not shown.
|
@ -15,7 +15,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: uMap\n"
|
"Project-Id-Version: uMap\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2025-03-03 17:36+0000\n"
|
"POT-Creation-Date: 2025-01-31 17:29+0000\n"
|
||||||
"PO-Revision-Date: 2013-11-22 14:00+0000\n"
|
"PO-Revision-Date: 2013-11-22 14:00+0000\n"
|
||||||
"Last-Translator: Supaplex <bejokeup@gmail.com>, 2019,2023-2025\n"
|
"Last-Translator: Supaplex <bejokeup@gmail.com>, 2019,2023-2025\n"
|
||||||
"Language-Team: Chinese (Taiwan) (http://app.transifex.com/openstreetmap/umap/language/zh_TW/)\n"
|
"Language-Team: Chinese (Taiwan) (http://app.transifex.com/openstreetmap/umap/language/zh_TW/)\n"
|
||||||
|
@ -33,18 +33,10 @@ msgstr "CSV 匯出"
|
||||||
msgid "This map is not publicly available"
|
msgid "This map is not publicly available"
|
||||||
msgstr "這份地圖並非公開可及的"
|
msgstr "這份地圖並非公開可及的"
|
||||||
|
|
||||||
#: middleware.py:19
|
#: middleware.py:13
|
||||||
msgid "Site is readonly for maintenance"
|
msgid "Site is readonly for maintenance"
|
||||||
msgstr "網站目前因維護中設定為唯讀狀態"
|
msgstr "網站目前因維護中設定為唯讀狀態"
|
||||||
|
|
||||||
#: middleware.py:34
|
|
||||||
#, python-format
|
|
||||||
msgid ""
|
|
||||||
"Using “%(name)s” to authenticate is deprecated and will be removed soon. "
|
|
||||||
"Please configure another provider below before losing access to your account"
|
|
||||||
" and maps."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: models.py:60 models.py:79
|
#: models.py:60 models.py:79
|
||||||
msgid "name"
|
msgid "name"
|
||||||
msgstr "名稱"
|
msgstr "名稱"
|
||||||
|
@ -607,7 +599,7 @@ msgstr "最新創建地圖"
|
||||||
msgid "Search maps"
|
msgid "Search maps"
|
||||||
msgstr "搜尋地圖"
|
msgstr "搜尋地圖"
|
||||||
|
|
||||||
#: templates/umap/search_bar.html:16
|
#: templates/umap/search_bar.html:15
|
||||||
msgid "Search"
|
msgid "Search"
|
||||||
msgstr "搜尋"
|
msgstr "搜尋"
|
||||||
|
|
||||||
|
@ -738,3 +730,10 @@ msgstr "圖層已刪除"
|
||||||
#: views.py:1351
|
#: views.py:1351
|
||||||
msgid "Permissions updated with success!"
|
msgid "Permissions updated with success!"
|
||||||
msgstr "權限更新完成"
|
msgstr "權限更新完成"
|
||||||
|
|
||||||
|
#: views.py:1430
|
||||||
|
#, python-format
|
||||||
|
msgid ""
|
||||||
|
"Using “%(name)s” to authenticate is deprecated. Please configure another "
|
||||||
|
"provider in your profile page."
|
||||||
|
msgstr "使用\"%(name)s\"來認證已經廢棄了,請在你的個人檔案頁面使用其他供應商來設定認證。"
|
||||||
|
|
|
@ -1,12 +1,6 @@
|
||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
from django.contrib import messages
|
|
||||||
from django.contrib.auth import BACKEND_SESSION_KEY
|
|
||||||
from django.core.exceptions import MiddlewareNotUsed
|
from django.core.exceptions import MiddlewareNotUsed
|
||||||
from django.http import (
|
from django.http import HttpResponseForbidden
|
||||||
HttpResponseForbidden,
|
|
||||||
HttpResponseRedirect,
|
|
||||||
)
|
|
||||||
from django.urls import reverse
|
|
||||||
from django.utils.translation import gettext as _
|
from django.utils.translation import gettext as _
|
||||||
|
|
||||||
|
|
||||||
|
@ -21,26 +15,3 @@ def readonly_middleware(get_response):
|
||||||
return get_response(request)
|
return get_response(request)
|
||||||
|
|
||||||
return middleware
|
return middleware
|
||||||
|
|
||||||
|
|
||||||
def deprecated_auth_backend(get_response):
|
|
||||||
def middleware(request):
|
|
||||||
backend = request.session.get(BACKEND_SESSION_KEY)
|
|
||||||
if backend in settings.DEPRECATED_AUTHENTICATION_BACKENDS:
|
|
||||||
name = backend.split(".")[-1]
|
|
||||||
messages.error(
|
|
||||||
request,
|
|
||||||
_(
|
|
||||||
"Using “%(name)s” to authenticate is deprecated and will be "
|
|
||||||
"removed soon. "
|
|
||||||
"Please configure another provider below before losing access "
|
|
||||||
"to your account and maps."
|
|
||||||
)
|
|
||||||
% {"name": name},
|
|
||||||
)
|
|
||||||
if "/map/" in request.path:
|
|
||||||
return HttpResponseRedirect(reverse("user_profile"))
|
|
||||||
|
|
||||||
return get_response(request)
|
|
||||||
|
|
||||||
return middleware
|
|
||||||
|
|
|
@ -235,7 +235,6 @@ MIDDLEWARE = (
|
||||||
"django.middleware.csrf.CsrfViewMiddleware",
|
"django.middleware.csrf.CsrfViewMiddleware",
|
||||||
"django.contrib.auth.middleware.AuthenticationMiddleware",
|
"django.contrib.auth.middleware.AuthenticationMiddleware",
|
||||||
"django.contrib.messages.middleware.MessageMiddleware",
|
"django.contrib.messages.middleware.MessageMiddleware",
|
||||||
"umap.middleware.deprecated_auth_backend",
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 545 B |
|
@ -29,9 +29,9 @@
|
||||||
<h3>
|
<h3>
|
||||||
{% trans "Your current providers" %}
|
{% trans "Your current providers" %}
|
||||||
</h3>
|
</h3>
|
||||||
<ul class="login-grid block-grid">
|
<ul>
|
||||||
{% for name in providers %}
|
{% for name in providers %}
|
||||||
<li>
|
<li class="login-grid">
|
||||||
{% with "umap/img/providers/"|add:name|add:".png" as path %}
|
{% with "umap/img/providers/"|add:name|add:".png" as path %}
|
||||||
<img src="{% static path %}" width="92px" height="92px" alt="{{ name }}" />
|
<img src="{% static path %}" width="92px" height="92px" alt="{{ name }}" />
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
|
|
|
@ -3,10 +3,6 @@
|
||||||
{% include "umap/components/alerts/alert.html" %}
|
{% include "umap/components/alerts/alert.html" %}
|
||||||
{% for message in messages %}
|
{% for message in messages %}
|
||||||
<script type="module" defer>
|
<script type="module" defer>
|
||||||
{% if message.level == DEFAULT_MESSAGE_LEVELS.ERROR %}
|
U.Alert.success("{{ message }}")
|
||||||
U.Alert.error("{{ message }}")
|
|
||||||
{% else %}
|
|
||||||
U.Alert.success("{{ message }}")
|
|
||||||
{% endif %}
|
|
||||||
</script>
|
</script>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
|
@ -1423,5 +1423,14 @@ class LoginPopupEnd(TemplateView):
|
||||||
def get(self, *args, **kwargs):
|
def get(self, *args, **kwargs):
|
||||||
backend = self.request.session[BACKEND_SESSION_KEY]
|
backend = self.request.session[BACKEND_SESSION_KEY]
|
||||||
if backend in settings.DEPRECATED_AUTHENTICATION_BACKENDS:
|
if backend in settings.DEPRECATED_AUTHENTICATION_BACKENDS:
|
||||||
|
name = backend.split(".")[-1]
|
||||||
|
messages.error(
|
||||||
|
self.request,
|
||||||
|
_(
|
||||||
|
"Using “%(name)s” to authenticate is deprecated. "
|
||||||
|
"Please configure another provider in your profile page."
|
||||||
|
)
|
||||||
|
% {"name": name},
|
||||||
|
)
|
||||||
return HttpResponseRedirect(reverse("user_profile"))
|
return HttpResponseRedirect(reverse("user_profile"))
|
||||||
return super().get(*args, **kwargs)
|
return super().get(*args, **kwargs)
|
||||||
|
|
Loading…
Reference in a new issue