mirror of
https://github.com/YunoHost-Apps/glitchsoc_ynh.git
synced 2024-09-03 19:15:59 +02:00
Merge pull request #290 from YunoHost-Apps/testing
Testing - v2024.07.04
This commit is contained in:
commit
915a9f504b
10 changed files with 32 additions and 9 deletions
|
@ -45,7 +45,7 @@ It shall NOT be edited by hand.
|
|||
See more [on the documentation](https://glitch-soc.github.io/docs/).
|
||||
|
||||
|
||||
**Shipped version:** 2024.03.20~ynh1
|
||||
**Shipped version:** 2024.07.04~ynh1
|
||||
## Documentation and resources
|
||||
|
||||
- Official app website: <https://glitch-soc.github.io/docs/>
|
||||
|
|
|
@ -45,7 +45,7 @@ No se debe editar a mano.
|
|||
See more [on the documentation](https://glitch-soc.github.io/docs/).
|
||||
|
||||
|
||||
**Versión actual:** 2024.03.20~ynh1
|
||||
**Versión actual:** 2024.07.04~ynh1
|
||||
## Documentaciones y recursos
|
||||
|
||||
- Sitio web oficial: <https://glitch-soc.github.io/docs/>
|
||||
|
|
|
@ -45,7 +45,7 @@ EZ editatu eskuz.
|
|||
See more [on the documentation](https://glitch-soc.github.io/docs/).
|
||||
|
||||
|
||||
**Paketatutako bertsioa:** 2024.03.20~ynh1
|
||||
**Paketatutako bertsioa:** 2024.07.04~ynh1
|
||||
## Dokumentazioa eta baliabideak
|
||||
|
||||
- Aplikazioaren webgune ofiziala: <https://glitch-soc.github.io/docs/>
|
||||
|
|
|
@ -45,7 +45,7 @@ Il NE doit PAS être modifié à la main.
|
|||
Voir plus [sur la documentation](https://glitch-soc.github.io/docs/) (en anglais).
|
||||
|
||||
|
||||
**Version incluse :** 2024.03.20~ynh1
|
||||
**Version incluse :** 2024.07.04~ynh1
|
||||
## Documentations et ressources
|
||||
|
||||
- Site officiel de l’app : <https://glitch-soc.github.io/docs/>
|
||||
|
|
|
@ -45,7 +45,7 @@ NON debe editarse manualmente.
|
|||
See more [on the documentation](https://glitch-soc.github.io/docs/).
|
||||
|
||||
|
||||
**Versión proporcionada:** 2024.03.20~ynh1
|
||||
**Versión proporcionada:** 2024.07.04~ynh1
|
||||
## Documentación e recursos
|
||||
|
||||
- Web oficial da app: <https://glitch-soc.github.io/docs/>
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
See more [on the documentation](https://glitch-soc.github.io/docs/).
|
||||
|
||||
|
||||
**分发版本:** 2024.03.20~ynh1
|
||||
**分发版本:** 2024.07.04~ynh1
|
||||
## 文档与资源
|
||||
|
||||
- 官方应用网站: <https://glitch-soc.github.io/docs/>
|
||||
|
|
|
@ -80,6 +80,9 @@ OTP_SECRET=__OTP_SECRET__
|
|||
VAPID_PRIVATE_KEY=__VAPID_PRIVATE_KEY__
|
||||
VAPID_PUBLIC_KEY=__VAPID_PUBLIC_KEY__
|
||||
|
||||
ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY=__ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY__
|
||||
ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY=__ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY__
|
||||
ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT=__ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT__
|
||||
|
||||
# Registrations
|
||||
# -------------
|
||||
|
|
|
@ -7,7 +7,7 @@ name = "Glitch-Soc"
|
|||
description.en = "Libre and federated social network, fork of Mastodon"
|
||||
description.fr = "Réseau social libre et fédéré, scission de Mastodon"
|
||||
|
||||
version = "2024.03.20~ynh1"
|
||||
version = "2024.07.04~ynh1"
|
||||
|
||||
maintainers = ["Tagada"]
|
||||
|
||||
|
@ -50,8 +50,8 @@ ram.runtime = "500M"
|
|||
[resources]
|
||||
[resources.sources]
|
||||
[resources.sources.main]
|
||||
url = "https://github.com/glitch-soc/mastodon/archive/3341db939cd077820ad598b0445d02ab2382eaf4.tar.gz"
|
||||
sha256 = "abf095bbf7f879d35b3e62f3fd4f339ff99b6aac98023fcc836baccfe91a0b97"
|
||||
url = "https://github.com/glitch-soc/mastodon/archive/05cfe04415084995ccc01b6c737edb39c9dd8411.tar.gz"
|
||||
sha256 = "a8947d8f1171c1099852f0d1501cecd0ca9ad95c77b69395c4d2e78feebc1142"
|
||||
|
||||
autoupdate.strategy = "latest_github_commit"
|
||||
|
||||
|
|
|
@ -50,6 +50,15 @@ ynh_app_setting_set --app="$app" --key=secret_key_base --value="$secret_key_base
|
|||
otp_secret=$(ynh_string_random --length=128)
|
||||
ynh_app_setting_set --app="$app" --key=otp_secret --value="$otp_secret"
|
||||
|
||||
active_record_encryption_primary_key=$(ynh_string_random --length=32)
|
||||
ynh_app_setting_set --app="$app" --key=active_record_encryption_primary_key --value="$active_record_encryption_primary_key"
|
||||
|
||||
active_record_encryption_deterministic_key=$(ynh_string_random --length=32)
|
||||
ynh_app_setting_set --app="$app" --key=active_record_encryption_deterministic_key --value="$active_record_encryption_deterministic_key"
|
||||
|
||||
active_record_encryption_key_derivation_salt=$(ynh_string_random --length=32)
|
||||
ynh_app_setting_set --app="$app" --key=active_record_encryption_key_derivation_salt --value="$active_record_encryption_key_derivation_salt"
|
||||
|
||||
#=================================================
|
||||
# INSTALL DEPENDENCIES
|
||||
#=================================================
|
||||
|
|
|
@ -24,6 +24,17 @@ fi
|
|||
#Remove previous added repository
|
||||
ynh_remove_extra_repo
|
||||
|
||||
if ynh_compare_current_package_version --comparison lt --version 2024.05.01~ynh1; then
|
||||
active_record_encryption_primary_key=$(ynh_string_random --length=32)
|
||||
ynh_app_setting_set --app="$app" --key=active_record_encryption_primary_key --value="$active_record_encryption_primary_key"
|
||||
|
||||
active_record_encryption_deterministic_key=$(ynh_string_random --length=32)
|
||||
ynh_app_setting_set --app="$app" --key=active_record_encryption_deterministic_key --value="$active_record_encryption_deterministic_key"
|
||||
|
||||
active_record_encryption_key_derivation_salt=$(ynh_string_random --length=32)
|
||||
ynh_app_setting_set --app="$app" --key=active_record_encryption_key_derivation_salt --value="$active_record_encryption_key_derivation_salt"
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
# STOP SYSTEMD SERVICE
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue