1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gotosocial_ynh.git synced 2024-09-03 19:16:06 +02:00

Merge pull request #79 from YunoHost-Apps/testing

This commit is contained in:
OniriCorpe 2023-04-19 17:41:04 +02:00 committed by GitHub
commit 8e2face284
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 46 additions and 46 deletions

View file

@ -25,7 +25,7 @@ With GoToSocial, you can keep in touch with your friends, post, read, and share
Documentation is at [docs.gotosocial.org](https://docs.gotosocial.org). Documentation is at [docs.gotosocial.org](https://docs.gotosocial.org).
**Shipped version:** 0.8.0~ynh3 **Shipped version:** 0.8.1~ynh1
## Screenshots ## Screenshots

View file

@ -25,7 +25,7 @@ Avec GoToSocial, vous pouvez rester en contact avec vos amis, publier, lire et p
Vous pouvez consulter la documentation à l'adresse : [docs.gotosocial.org](https://docs.gotosocial.org). Vous pouvez consulter la documentation à l'adresse : [docs.gotosocial.org](https://docs.gotosocial.org).
**Version incluse :** 0.8.0~ynh3 **Version incluse :** 0.8.1~ynh1
## Captures décran ## Captures décran

View file

@ -1,7 +1,7 @@
SOURCE_URL=https://github.com/superseriousbusiness/gotosocial/releases/download/v0.8.0/gotosocial_0.8.0_linux_arm64.tar.gz SOURCE_URL=https://github.com/superseriousbusiness/gotosocial/releases/download/v0.8.1/gotosocial_0.8.1_linux_arm64.tar.gz
SOURCE_SUM=5dc2e205f8d254c4b17880d830efc34e135a3feade5347d8bfe8ad04912cf121 SOURCE_SUM=671d66a6c7cd6b96b7499bf3e6419a1c4cc9278ff532191c0bcecc025fd4a0db
SOURCE_SUM_PRG=sha256sum SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz SOURCE_FORMAT=tar.gz
SOURCE_EXTRACT=true SOURCE_EXTRACT=true
SOURCE_IN_SUBDIR=false SOURCE_IN_SUBDIR=false
SOURCE_FILENAME=gotosocial_0.8.0_linux_arm64.tar.gz SOURCE_FILENAME=gotosocial_0.8.1_linux_arm64.tar.gz

View file

@ -1,7 +1,7 @@
SOURCE_URL=https://github.com/superseriousbusiness/gotosocial/releases/download/v0.8.0/gotosocial_0.8.0_linux_armv6.tar.gz SOURCE_URL=https://github.com/superseriousbusiness/gotosocial/releases/download/v0.8.1/gotosocial_0.8.1_linux_armv6.tar.gz
SOURCE_SUM=9551e2d8f30db11a5b3c5539e4ed67f6ffd78d94afebb09c5ec98a91d7da4e3a SOURCE_SUM=207aed157dd418d6a4a7e4cff74de0724e08b0be24cf7208122988a2d9da44cc
SOURCE_SUM_PRG=sha256sum SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz SOURCE_FORMAT=tar.gz
SOURCE_EXTRACT=true SOURCE_EXTRACT=true
SOURCE_IN_SUBDIR=false SOURCE_IN_SUBDIR=false
SOURCE_FILENAME=gotosocial_0.8.0_linux_armv6.tar.gz SOURCE_FILENAME=gotosocial_0.8.1_linux_armv6.tar.gz

View file

@ -1,7 +1,7 @@
SOURCE_URL=https://github.com/superseriousbusiness/gotosocial/releases/download/v0.8.0/gotosocial_0.8.0_linux_armv7.tar.gz SOURCE_URL=https://github.com/superseriousbusiness/gotosocial/releases/download/v0.8.1/gotosocial_0.8.1_linux_armv7.tar.gz
SOURCE_SUM=7598eabfaed6ec6de0f7846d80b913708a2f115aac6cbce3be5428d92a63a6e4 SOURCE_SUM=54117d643829ec0c3a8e47d036d2485747d301299964dd33178308e560e1b265
SOURCE_SUM_PRG=sha256sum SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz SOURCE_FORMAT=tar.gz
SOURCE_EXTRACT=true SOURCE_EXTRACT=true
SOURCE_IN_SUBDIR=false SOURCE_IN_SUBDIR=false
SOURCE_FILENAME=gotosocial_0.8.0_linux_armv7.tar.gz SOURCE_FILENAME=gotosocial_0.8.1_linux_armv7.tar.gz

View file

@ -317,9 +317,9 @@ cache:
user-ttl: "30m" user-ttl: "30m"
user-sweep-freq: "1m" user-sweep-freq: "1m"
webfinger-max-size": 250 webfinger-max-size: 250
webfinger-ttl: "24h" webfinger-ttl: "24h"
webfinger-sweep-freq": "1m" webfinger-sweep-freq: "1m"
###################### ######################
##### WEB CONFIG ##### ##### WEB CONFIG #####

View file

@ -1,7 +1,7 @@
SOURCE_URL=https://github.com/superseriousbusiness/gotosocial/releases/download/v0.8.0/gotosocial_0.8.0_linux_386.tar.gz SOURCE_URL=https://github.com/superseriousbusiness/gotosocial/releases/download/v0.8.1/gotosocial_0.8.1_linux_386.tar.gz
SOURCE_SUM=17ef690197873b23759d7d84c4801689637eba5093d24b8903fa46032d18b15b SOURCE_SUM=8d1436b1eab293e97f3de3572b3631da1efb12b23dc29ffcdb76b40f8f925a0c
SOURCE_SUM_PRG=sha256sum SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz SOURCE_FORMAT=tar.gz
SOURCE_EXTRACT=true SOURCE_EXTRACT=true
SOURCE_IN_SUBDIR=false SOURCE_IN_SUBDIR=false
SOURCE_FILENAME=gotosocial_0.8.0_linux_386.tar.gz SOURCE_FILENAME=gotosocial_0.8.1_linux_386.tar.gz

View file

@ -1,7 +1,7 @@
SOURCE_URL=https://github.com/superseriousbusiness/gotosocial/releases/download/v0.8.0/gotosocial_0.8.0_linux_amd64.tar.gz SOURCE_URL=https://github.com/superseriousbusiness/gotosocial/releases/download/v0.8.1/gotosocial_0.8.1_linux_amd64.tar.gz
SOURCE_SUM=7384267428167e8852223998995f83cad7670cd803688d562eda0d9c5d95ce5a SOURCE_SUM=32475bc78db64dbcfadb61b6c9b63542d9687fb9d42fa4c866f8136d86f8cf6d
SOURCE_SUM_PRG=sha256sum SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz SOURCE_FORMAT=tar.gz
SOURCE_EXTRACT=true SOURCE_EXTRACT=true
SOURCE_IN_SUBDIR=false SOURCE_IN_SUBDIR=false
SOURCE_FILENAME=gotosocial_0.8.0_linux_amd64.tar.gz SOURCE_FILENAME=gotosocial_0.8.1_linux_amd64.tar.gz

View file

@ -6,7 +6,7 @@
"en": "ActivityPub social network server", "en": "ActivityPub social network server",
"fr": "Serveur de réseau social basé sur ActivityPub" "fr": "Serveur de réseau social basé sur ActivityPub"
}, },
"version": "0.8.0~ynh3", "version": "0.8.1~ynh1",
"url": "https://github.com/superseriousbusiness/gotosocial", "url": "https://github.com/superseriousbusiness/gotosocial",
"upstream": { "upstream": {
"license": "AGPL-3.0-only", "license": "AGPL-3.0-only",

View file

@ -267,32 +267,32 @@ fi
# Upgrade from <0.8.0~ynh3: # Upgrade from <0.8.0~ynh3:
if ynh_compare_current_package_version --comparison lt --version 0.8.0~ynh3 if ynh_compare_current_package_version --comparison lt --version 0.8.0~ynh3
then then
# get settings from problem key # get settings from problem key
allow_custom_css=$(ynh_app_setting_get --app="$app" --key=allow_custom_css) allow_custom_css=$(ynh_app_setting_get --app="$app" --key=allow_custom_css)
approval_required=$(ynh_app_setting_get --app="$app" --key=approval_required) approval_required=$(ynh_app_setting_get --app="$app" --key=approval_required)
reason_required=$(ynh_app_setting_get --app="$app" --key=reason_required) reason_required=$(ynh_app_setting_get --app="$app" --key=reason_required)
registration_open=$(ynh_app_setting_get --app="$app" --key=registration_open) registration_open=$(ynh_app_setting_get --app="$app" --key=registration_open)
# apply setting to correct key if set on old key # apply setting to correct key if set on old key
if [ -n "$allow_custom_css" ] if [ -n "$allow_custom_css" ]
then then
ynh_app_setting_set --app="$app" --key=accounts_allow_custom_css --value="$allow_custom_css" ynh_app_setting_set --app="$app" --key=accounts_allow_custom_css --value="$allow_custom_css"
ynh_app_setting_delete --app="$app" --key=allow_custom_css ynh_app_setting_delete --app="$app" --key=allow_custom_css
fi fi
if [ -n "$approval_required" ] if [ -n "$approval_required" ]
then then
ynh_app_setting_set --app="$app" --key=accounts_approval_required --value="$approval_required" ynh_app_setting_set --app="$app" --key=accounts_approval_required --value="$approval_required"
ynh_app_setting_delete --app="$app" --key=approval_required ynh_app_setting_delete --app="$app" --key=approval_required
fi fi
if [ -n "$reason_required" ] if [ -n "$reason_required" ]
then then
ynh_app_setting_set --app="$app" --key=accounts_reason_required --value="$reason_required" ynh_app_setting_set --app="$app" --key=accounts_reason_required --value="$reason_required"
ynh_app_setting_delete --app="$app" --key=reason_required ynh_app_setting_delete --app="$app" --key=reason_required
fi fi
if [ -n "$registration_open" ] if [ -n "$registration_open" ]
then then
ynh_app_setting_set --app="$app" --key=accounts_registration_open --value="$registration_open" ynh_app_setting_set --app="$app" --key=accounts_registration_open --value="$registration_open"
ynh_app_setting_delete --app="$app" --key=registration_open ynh_app_setting_delete --app="$app" --key=registration_open
fi fi
fi fi
#================================================= #=================================================