mirror of
https://github.com/YunoHost-Apps/glitchsoc_ynh.git
synced 2024-09-03 19:15:59 +02:00
commit
d5def5c7c9
8 changed files with 30 additions and 28 deletions
4
.github/workflows/updater.yml
vendored
4
.github/workflows/updater.yml
vendored
|
@ -14,7 +14,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Fetch the source code
|
- name: Fetch the source code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Run the updater script
|
- name: Run the updater script
|
||||||
|
@ -33,7 +33,7 @@ jobs:
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
id: cpr
|
id: cpr
|
||||||
if: ${{ env.PROCEED == 'true' }}
|
if: ${{ env.PROCEED == 'true' }}
|
||||||
uses: peter-evans/create-pull-request@v3
|
uses: peter-evans/create-pull-request@v4
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
commit-message: Update to version ${{ env.VERSION }}
|
commit-message: Update to version ${{ env.VERSION }}
|
||||||
|
|
|
@ -6,6 +6,7 @@ It shall NOT be edited by hand.
|
||||||
# Glitch-Soc for YunoHost
|
# 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)
|
[](https://install-app.yunohost.org/?app=glitchsoc)
|
||||||
|
|
||||||
*[Lire ce readme en français.](./README_fr.md)*
|
*[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/).
|
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
|
## Disclaimers / important information
|
||||||
|
|
||||||
⚠️ Glitch-Soc is beta software, and under active development. Use at your own risk!
|
⚠️ Glitch-Soc is beta software, and under active development. Use at your own risk!
|
||||||
|
|
17
README_fr.md
17
README_fr.md
|
@ -5,15 +5,16 @@ It shall NOT be edited by hand.
|
||||||
|
|
||||||
# Glitch-Soc pour YunoHost
|
# 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)
|
[](https://install-app.yunohost.org/?app=glitchsoc)
|
||||||
|
|
||||||
*[Read this readme in english.](./README.md)*
|
*[Read this readme in english.](./README.md)*
|
||||||
|
|
||||||
> *Ce package vous permet d'installer Glitch-Soc rapidement et simplement sur un serveur YunoHost.
|
> *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.*
|
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.
|
`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).
|
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
|
## Avertissements / informations importantes
|
||||||
|
|
||||||
Glitch-Soc est en constant développement, fournis avec les dernières fonctionnalités (incluant les derniers bugs).
|
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
|
## Documentations et ressources
|
||||||
|
|
||||||
* Site officiel de l'app : <https://glitch-soc.github.io/docs/>
|
* Site officiel de l’app : <https://glitch-soc.github.io/docs/>
|
||||||
* Dépôt de code officiel de l'app : <https://github.com/glitch-soc/mastodon>
|
* Dépôt de code officiel de l’app : <https://github.com/glitch-soc/mastodon>
|
||||||
* Documentation YunoHost pour cette app : <https://yunohost.org/app_glitchsoc>
|
* Documentation YunoHost pour cette app : <https://yunohost.org/app_glitchsoc>
|
||||||
* Signaler un bug : <https://github.com/YunoHost-Apps/glitchsoc_ynh/issues>
|
* Signaler un bug : <https://github.com/YunoHost-Apps/glitchsoc_ynh/issues>
|
||||||
|
|
||||||
|
@ -79,4 +80,4 @@ ou
|
||||||
sudo yunohost app upgrade glitchsoc -u https://github.com/YunoHost-Apps/glitchsoc_ynh/tree/testing --debug
|
sudo yunohost app upgrade glitchsoc -u https://github.com/YunoHost-Apps/glitchsoc_ynh/tree/testing --debug
|
||||||
```
|
```
|
||||||
|
|
||||||
**Plus d'infos sur le packaging d'applications :** <https://yunohost.org/packaging_apps>
|
**Plus d’infos sur le packaging d’applications :** <https://yunohost.org/packaging_apps>
|
|
@ -13,13 +13,12 @@
|
||||||
setup_public=1
|
setup_public=1
|
||||||
upgrade=1
|
upgrade=1
|
||||||
# 2022.04.28~ynh1
|
# 2022.04.28~ynh1
|
||||||
upgrade=1 from_commit=66aba621d331db1a90c527e920f622b06c18a842
|
upgrade=1 from_commit=614380eeeefce3bab1b3106990138f526f950664
|
||||||
backup_restore=1
|
backup_restore=1
|
||||||
multi_instance=0
|
multi_instance=0
|
||||||
port_already_use=0
|
port_already_use=0
|
||||||
change_url=0
|
change_url=0
|
||||||
;;; Options
|
;;; Options
|
||||||
;;; Upgrade options
|
;;; Upgrade options
|
||||||
; commit=66aba621d331db1a90c527e920f622b06c18a842
|
|
||||||
name=2022.04.28~ynh1
|
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
SOURCE_URL=https://github.com/glitch-soc/mastodon/archive/eb675af0fb0d73b697e066100c4faf066c0baff7.tar.gz
|
SOURCE_URL=https://github.com/glitch-soc/mastodon/archive/0222df6047a8569d04cfdc36668d46b71bec2e75.tar.gz
|
||||||
SOURCE_SUM=ecb7b9f48c131c1f696980f44e2c8e5fe6811e669188fe010e7f2695a20245e0
|
SOURCE_SUM=766f9dad04638f51eb66a8395cccc4effe6685a1d2ef8448f48ad8ac53694d38
|
||||||
SOURCE_SUM_PRG=sha256sum
|
SOURCE_SUM_PRG=sha256sum
|
||||||
SOURCE_FORMAT=tar.gz
|
SOURCE_FORMAT=tar.gz
|
||||||
SOURCE_IN_SUBDIR=true
|
SOURCE_IN_SUBDIR=true
|
||||||
SOURCE_FILENAME=eb675af0fb0d73b697e066100c4faf066c0baff7.tar.gz
|
SOURCE_FILENAME=0222df6047a8569d04cfdc36668d46b71bec2e75.tar.gz
|
||||||
SOURCE_EXTRACT=true
|
SOURCE_EXTRACT=true
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"en": "Libre and federated social network, fork of Mastodon",
|
"en": "Libre and federated social network, fork of Mastodon",
|
||||||
"fr": "Réseau social libre et fédéré, scission de 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",
|
"url": "https://github.com/glitch-soc/mastodon",
|
||||||
"upstream": {
|
"upstream": {
|
||||||
"license": "AGPL-3.0-or-later",
|
"license": "AGPL-3.0-or-later",
|
||||||
|
|
|
@ -9,9 +9,9 @@ pkg_dependencies="imagemagick ffmpeg libpq-dev libxml2-dev libxslt1-dev file git
|
||||||
|
|
||||||
MEMORY_NEEDED="2560"
|
MEMORY_NEEDED="2560"
|
||||||
|
|
||||||
RUBY_VERSION="3.0.3"
|
RUBY_VERSION="3.2.2"
|
||||||
|
|
||||||
NODEJS_VERSION="14"
|
NODEJS_VERSION="16"
|
||||||
|
|
||||||
# Workaround for Mastodon on Bullseye
|
# Workaround for Mastodon on Bullseye
|
||||||
# See https://github.com/mastodon/mastodon/issues/15751#issuecomment-873594463
|
# See https://github.com/mastodon/mastodon/issues/15751#issuecomment-873594463
|
||||||
|
|
|
@ -2,12 +2,13 @@ diff --git a/app/controllers/application_controller.rb b/app/controllers/applica
|
||||||
index 7c36bc6b8..3f691d102 100644
|
index 7c36bc6b8..3f691d102 100644
|
||||||
--- a/app/controllers/application_controller.rb
|
--- a/app/controllers/application_controller.rb
|
||||||
+++ b/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
|
||||||
end
|
if ENV['OMNIAUTH_ONLY'] == 'true' && ENV['OIDC_ENABLED'] == 'true'
|
||||||
|
'/auth/auth/openid_connect/logout'
|
||||||
def after_sign_out_path_for(_resource_or_scope)
|
else
|
||||||
- new_user_session_path
|
- new_user_session_path
|
||||||
+ "https://#{File.read('/etc/yunohost/current_host')}/yunohost/sso/?action=logout"
|
+ "https://#{File.read('/etc/yunohost/current_host')}/yunohost/sso/?action=logout"
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def pack(data, pack_name, skin = 'default')
|
def pack(data, pack_name, skin = 'default')
|
||||||
|
|
Loading…
Add table
Reference in a new issue