diff --git a/.github/workflows/updater.yml b/.github/workflows/updater.yml
index ca7fca3..864c811 100644
--- a/.github/workflows/updater.yml
+++ b/.github/workflows/updater.yml
@@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Fetch the source code
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Run the updater script
@@ -33,7 +33,7 @@ jobs:
- name: Create Pull Request
id: cpr
if: ${{ env.PROCEED == 'true' }}
- uses: peter-evans/create-pull-request@v3
+ uses: peter-evans/create-pull-request@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: Update to version ${{ env.VERSION }}
diff --git a/README.md b/README.md
index 32d4f4b..d8ec2ec 100644
--- a/README.md
+++ b/README.md
@@ -5,7 +5,8 @@ It shall NOT be edited by hand.
# Glitch-Soc for YunoHost
-[](https://dash.yunohost.org/appci/app/glitchsoc)  
+[](https://dash.yunohost.org/appci/app/glitchsoc)  
+
[](https://install-app.yunohost.org/?app=glitchsoc)
*[Lire ce readme en français.](./README_fr.md)*
@@ -42,7 +43,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
See more [on the documentation](https://glitch-soc.github.io/docs/).
-**Shipped version:** 2022.11.15~ynh1
+**Shipped version:** 2023.05.27~ynh1
## Disclaimers / important information
⚠️ Glitch-Soc is beta software, and under active development. Use at your own risk!
diff --git a/README_fr.md b/README_fr.md
index ef09d08..dce1947 100644
--- a/README_fr.md
+++ b/README_fr.md
@@ -5,15 +5,16 @@ It shall NOT be edited by hand.
# Glitch-Soc pour YunoHost
-[](https://dash.yunohost.org/appci/app/glitchsoc)  
+[](https://dash.yunohost.org/appci/app/glitchsoc)  
+
[](https://install-app.yunohost.org/?app=glitchsoc)
*[Read this readme in english.](./README.md)*
-> *Ce package vous permet d'installer Glitch-Soc rapidement et simplement sur un serveur YunoHost.
-Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l'installer et en profiter.*
+> *Ce package vous permet d’installer Glitch-Soc rapidement et simplement sur un serveur YunoHost.
+Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l’installer et en profiter.*
-## Vue d'ensemble
+## Vue d’ensemble
`glitch-soc` est une [scission](https://fr.wikipedia.org/wiki/Fork_(d%C3%A9veloppement_logiciel)) sympa du logiciel de réseau social libre [Mastodon](https://joinmastodon.org/), avec comme objectif de fournir des fonctionnalités supplémentaires, au risque d'un logiciel un peu moins stable.
@@ -42,7 +43,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
Voir plus [sur la documentation](https://glitch-soc.github.io/docs/) (en anglais).
-**Version incluse :** 2022.11.15~ynh1
+**Version incluse :** 2023.05.27~ynh1
## Avertissements / informations importantes
Glitch-Soc est en constant développement, fournis avec les dernières fonctionnalités (incluant les derniers bugs).
@@ -62,8 +63,8 @@ Nous vous invitons à bloquer les instances malveillantes depuis l'interface d'a
## Documentations et ressources
-* Site officiel de l'app :
-* Dépôt de code officiel de l'app :
+* Site officiel de l’app :
+* Dépôt de code officiel de l’app :
* Documentation YunoHost pour cette app :
* Signaler un bug :
@@ -79,4 +80,4 @@ ou
sudo yunohost app upgrade glitchsoc -u https://github.com/YunoHost-Apps/glitchsoc_ynh/tree/testing --debug
```
-**Plus d'infos sur le packaging d'applications :**
+**Plus d’infos sur le packaging d’applications :**
\ No newline at end of file
diff --git a/check_process b/check_process
index 6059013..668daea 100644
--- a/check_process
+++ b/check_process
@@ -13,13 +13,12 @@
setup_public=1
upgrade=1
# 2022.04.28~ynh1
- upgrade=1 from_commit=66aba621d331db1a90c527e920f622b06c18a842
+ upgrade=1 from_commit=614380eeeefce3bab1b3106990138f526f950664
backup_restore=1
multi_instance=0
port_already_use=0
change_url=0
;;; Options
;;; Upgrade options
- ; commit=66aba621d331db1a90c527e920f622b06c18a842
- name=2022.04.28~ynh1
+
diff --git a/conf/app.src b/conf/app.src
index bf10322..2a70675 100644
--- a/conf/app.src
+++ b/conf/app.src
@@ -1,7 +1,7 @@
-SOURCE_URL=https://github.com/glitch-soc/mastodon/archive/eb675af0fb0d73b697e066100c4faf066c0baff7.tar.gz
-SOURCE_SUM=ecb7b9f48c131c1f696980f44e2c8e5fe6811e669188fe010e7f2695a20245e0
+SOURCE_URL=https://github.com/glitch-soc/mastodon/archive/0222df6047a8569d04cfdc36668d46b71bec2e75.tar.gz
+SOURCE_SUM=766f9dad04638f51eb66a8395cccc4effe6685a1d2ef8448f48ad8ac53694d38
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=true
-SOURCE_FILENAME=eb675af0fb0d73b697e066100c4faf066c0baff7.tar.gz
+SOURCE_FILENAME=0222df6047a8569d04cfdc36668d46b71bec2e75.tar.gz
SOURCE_EXTRACT=true
diff --git a/manifest.json b/manifest.json
index 64054f3..eabab51 100644
--- a/manifest.json
+++ b/manifest.json
@@ -6,7 +6,7 @@
"en": "Libre and federated social network, fork of Mastodon",
"fr": "Réseau social libre et fédéré, scission de Mastodon"
},
- "version": "2022.11.15~ynh1",
+ "version": "2023.05.27~ynh1",
"url": "https://github.com/glitch-soc/mastodon",
"upstream": {
"license": "AGPL-3.0-or-later",
diff --git a/scripts/_common.sh b/scripts/_common.sh
index 896cb0e..8a6641d 100644
--- a/scripts/_common.sh
+++ b/scripts/_common.sh
@@ -9,9 +9,9 @@ pkg_dependencies="imagemagick ffmpeg libpq-dev libxml2-dev libxslt1-dev file git
MEMORY_NEEDED="2560"
-RUBY_VERSION="3.0.3"
+RUBY_VERSION="3.2.2"
-NODEJS_VERSION="14"
+NODEJS_VERSION="16"
# Workaround for Mastodon on Bullseye
# See https://github.com/mastodon/mastodon/issues/15751#issuecomment-873594463
diff --git a/sources/patches/app-sso.patch b/sources/patches/app-sso.patch
index 84c4e67..0ae6380 100644
--- a/sources/patches/app-sso.patch
+++ b/sources/patches/app-sso.patch
@@ -2,14 +2,15 @@ diff --git a/app/controllers/application_controller.rb b/app/controllers/applica
index 7c36bc6b8..3f691d102 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
-@@ -70,7 +70,7 @@ class ApplicationController < ActionController::Base
+@@ -68,7 +68,7 @@ class ApplicationController < ActionController::Base
+ if ENV['OMNIAUTH_ONLY'] == 'true' && ENV['OIDC_ENABLED'] == 'true'
+ '/auth/auth/openid_connect/logout'
+ else
+- new_user_session_path
++ "https://#{File.read('/etc/yunohost/current_host')}/yunohost/sso/?action=logout"
+ end
end
-
- def after_sign_out_path_for(_resource_or_scope)
-- new_user_session_path
-+ "https://#{File.read('/etc/yunohost/current_host')}/yunohost/sso/?action=logout"
- end
-
+
def pack(data, pack_name, skin = 'default')
diff --git a/config/initializers/devise.rb b/config/initializers/devise.rb
index 5232e6cfd..160348674 100644