1
0
Fork 0
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:
Tagada 2024-07-06 12:37:51 +02:00 committed by GitHub
commit 915a9f504b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 32 additions and 9 deletions

View file

@ -45,7 +45,7 @@ It shall NOT be edited by hand.
See more [on the documentation](https://glitch-soc.github.io/docs/). 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 ## Documentation and resources
- Official app website: <https://glitch-soc.github.io/docs/> - Official app website: <https://glitch-soc.github.io/docs/>

View file

@ -45,7 +45,7 @@ No se debe editar a mano.
See more [on the documentation](https://glitch-soc.github.io/docs/). 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 ## Documentaciones y recursos
- Sitio web oficial: <https://glitch-soc.github.io/docs/> - Sitio web oficial: <https://glitch-soc.github.io/docs/>

View file

@ -45,7 +45,7 @@ EZ editatu eskuz.
See more [on the documentation](https://glitch-soc.github.io/docs/). 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 ## Dokumentazioa eta baliabideak
- Aplikazioaren webgune ofiziala: <https://glitch-soc.github.io/docs/> - Aplikazioaren webgune ofiziala: <https://glitch-soc.github.io/docs/>

View file

@ -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). 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 ## Documentations et ressources
- Site officiel de lapp: <https://glitch-soc.github.io/docs/> - Site officiel de lapp: <https://glitch-soc.github.io/docs/>

View file

@ -45,7 +45,7 @@ NON debe editarse manualmente.
See more [on the documentation](https://glitch-soc.github.io/docs/). 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 ## Documentación e recursos
- Web oficial da app: <https://glitch-soc.github.io/docs/> - Web oficial da app: <https://glitch-soc.github.io/docs/>

View file

@ -45,7 +45,7 @@
See more [on the documentation](https://glitch-soc.github.io/docs/). 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/> - 官方应用网站: <https://glitch-soc.github.io/docs/>

View file

@ -80,6 +80,9 @@ OTP_SECRET=__OTP_SECRET__
VAPID_PRIVATE_KEY=__VAPID_PRIVATE_KEY__ VAPID_PRIVATE_KEY=__VAPID_PRIVATE_KEY__
VAPID_PUBLIC_KEY=__VAPID_PUBLIC_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 # Registrations
# ------------- # -------------

View file

@ -7,7 +7,7 @@ name = "Glitch-Soc"
description.en = "Libre and federated social network, fork of Mastodon" description.en = "Libre and federated social network, fork of Mastodon"
description.fr = "Réseau social libre et fédéré, scission de 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"] maintainers = ["Tagada"]
@ -50,8 +50,8 @@ ram.runtime = "500M"
[resources] [resources]
[resources.sources] [resources.sources]
[resources.sources.main] [resources.sources.main]
url = "https://github.com/glitch-soc/mastodon/archive/3341db939cd077820ad598b0445d02ab2382eaf4.tar.gz" url = "https://github.com/glitch-soc/mastodon/archive/05cfe04415084995ccc01b6c737edb39c9dd8411.tar.gz"
sha256 = "abf095bbf7f879d35b3e62f3fd4f339ff99b6aac98023fcc836baccfe91a0b97" sha256 = "a8947d8f1171c1099852f0d1501cecd0ca9ad95c77b69395c4d2e78feebc1142"
autoupdate.strategy = "latest_github_commit" autoupdate.strategy = "latest_github_commit"

View file

@ -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) otp_secret=$(ynh_string_random --length=128)
ynh_app_setting_set --app="$app" --key=otp_secret --value="$otp_secret" 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 # INSTALL DEPENDENCIES
#================================================= #=================================================

View file

@ -24,6 +24,17 @@ fi
#Remove previous added repository #Remove previous added repository
ynh_remove_extra_repo 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 # STOP SYSTEMD SERVICE
#================================================= #=================================================