1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/weblate_ynh.git synced 2024-10-01 13:35:04 +02:00
This commit is contained in:
Kay0u 2022-04-21 17:30:02 +02:00
parent 3d8c369a9c
commit c0adb044bc
No known key found for this signature in database
GPG key ID: AAFEEB16CFA2AE2D
3 changed files with 9 additions and 8 deletions

View file

@ -151,8 +151,8 @@ LANGUAGES = (
("th", "ไทย"), ("th", "ไทย"),
("tr", "Türkçe"), ("tr", "Türkçe"),
("uk", "Українська"), ("uk", "Українська"),
("zh-hans", "简体"), ("zh-hans", "简体中文"),
("zh-hant", "正體"), ("zh-hant", "正體中文"),
) )
SITE_ID = 1 SITE_ID = 1
@ -242,7 +242,7 @@ AUTHENTICATION_BACKENDS = (
"social_core.backends.email.EmailAuth", "social_core.backends.email.EmailAuth",
# "social_core.backends.google.GoogleOAuth2", # "social_core.backends.google.GoogleOAuth2",
# "social_core.backends.github.GithubOAuth2", # "social_core.backends.github.GithubOAuth2",
# "social_core.backends.bitbucket.BitbucketOAuth", # "social_core.backends.bitbucket.BitbucketOAuth2",
# "social_core.backends.suse.OpenSUSEOpenId", # "social_core.backends.suse.OpenSUSEOpenId",
# "social_core.backends.ubuntu.UbuntuOpenId", # "social_core.backends.ubuntu.UbuntuOpenId",
# "social_core.backends.fedora.FedoraOpenId", # "social_core.backends.fedora.FedoraOpenId",
@ -266,9 +266,9 @@ SOCIAL_AUTH_GITHUB_TEAM_KEY = ""
SOCIAL_AUTH_GITHUB_TEAM_SECRET = "" SOCIAL_AUTH_GITHUB_TEAM_SECRET = ""
SOCIAL_AUTH_GITHUB_TEAM_ID = "" SOCIAL_AUTH_GITHUB_TEAM_ID = ""
SOCIAL_AUTH_BITBUCKET_KEY = "" SOCIAL_AUTH_BITBUCKET_OAUTH2_KEY = ""
SOCIAL_AUTH_BITBUCKET_SECRET = "" SOCIAL_AUTH_BITBUCKET_OAUTH2_SECRET = ""
SOCIAL_AUTH_BITBUCKET_VERIFIED_EMAILS_ONLY = True SOCIAL_AUTH_BITBUCKET_OAUTH2_VERIFIED_EMAILS_ONLY = True
SOCIAL_AUTH_FACEBOOK_KEY = "" SOCIAL_AUTH_FACEBOOK_KEY = ""
SOCIAL_AUTH_FACEBOOK_SECRET = "" SOCIAL_AUTH_FACEBOOK_SECRET = ""
@ -902,6 +902,7 @@ if REQUIRE_LOGIN:
# rf"{URL_PREFIX}/js/i18n/$", # JavaScript localization # rf"{URL_PREFIX}/js/i18n/$", # JavaScript localization
# rf"{URL_PREFIX}/contact/$", # Optional for contact form # rf"{URL_PREFIX}/contact/$", # Optional for contact form
# rf"{URL_PREFIX}/legal/(.*)$", # Optional for legal app # rf"{URL_PREFIX}/legal/(.*)$", # Optional for legal app
# rf"{URL_PREFIX}/avatar/(.*)$", # Optional for avatars
# ) # )
# Silence some of the Django system checks # Silence some of the Django system checks

View file

@ -6,7 +6,7 @@
"en": "Translation platform using Git and Python", "en": "Translation platform using Git and Python",
"fr": "Plateforme de traduction utilisant Git et Python" "fr": "Plateforme de traduction utilisant Git et Python"
}, },
"version": "4.11.2~ynh2", "version": "4.12~ynh1",
"url": "https://weblate.org", "url": "https://weblate.org",
"upstream": { "upstream": {
"license": "AGPL-3.0", "license": "AGPL-3.0",

View file

@ -18,7 +18,7 @@ borgbackup_dependencies="libacl1-dev libacl1 libssl-dev liblz4-dev libzstd-dev l
pkg_dependencies="$weblate_dependencies $borgbackup_dependencies" pkg_dependencies="$weblate_dependencies $borgbackup_dependencies"
# Weblate's version for PIP and settings file # Weblate's version for PIP and settings file
weblate_version="4.11.2" weblate_version="4.12"
debian_maj_version=$(sed 's/\..*//' /etc/debian_version) debian_maj_version=$(sed 's/\..*//' /etc/debian_version)