1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ssbroom_ynh.git synced 2024-09-03 20:26:29 +02:00

Merge pull request #16 from YunoHost-Apps/testing

Testing
This commit is contained in:
Éric Gaspar 2023-08-17 21:03:01 +02:00 committed by GitHub
commit 51c05d3db7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 34 additions and 33 deletions

View file

@ -5,7 +5,8 @@ It shall NOT be edited by hand.
# Scuttlebutt Room for YunoHost # Scuttlebutt Room for YunoHost
[![Integration level](https://dash.yunohost.org/integration/ssbroom.svg)](https://dash.yunohost.org/appci/app/ssbroom) ![Working status](https://ci-apps.yunohost.org/ci/badges/ssbroom.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/ssbroom.maintain.svg) [![Integration level](https://dash.yunohost.org/integration/ssbroom.svg)](https://dash.yunohost.org/appci/app/ssbroom) ![Working status](https://ci-apps.yunohost.org/ci/badges/ssbroom.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/ssbroom.maintain.svg)
[![Install Scuttlebutt Room with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=ssbroom) [![Install Scuttlebutt Room with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=ssbroom)
*[Lire ce readme en français.](./README_fr.md)* *[Lire ce readme en français.](./README_fr.md)*
@ -30,7 +31,7 @@ For a comprehensive introduction to rooms 2.0, watch [this video](https://www.yo
- HTTP Invites - HTTP Invites
- Alias management - Alias management
**Shipped version:** 2.0.6~ynh5 **Shipped version:** 2.0.6~ynh6
**Demo:** https://hermies.club/ **Demo:** https://hermies.club/
@ -45,7 +46,6 @@ For a comprehensive introduction to rooms 2.0, watch [this video](https://www.yo
* ssb rooms work best when the app is in public mode. ssb-room has its own user and authentication system, and doesn't need yunohost SSO * ssb rooms work best when the app is in public mode. ssb-room has its own user and authentication system, and doesn't need yunohost SSO
## Documentation and resources ## Documentation and resources
* Official app website: <https://github.com/ssb-ngi-pointer/go-ssb-room>
* Official user documentation: <https://github.com/ssb-ngi-pointer/go-ssb-room/blob/master/README.md> * Official user documentation: <https://github.com/ssb-ngi-pointer/go-ssb-room/blob/master/README.md>
* Official admin documentation: <https://github.com/ssb-ngi-pointer/go-ssb-room/blob/master/README.md> * Official admin documentation: <https://github.com/ssb-ngi-pointer/go-ssb-room/blob/master/README.md>
* Upstream app code repository: <https://github.com/ssb-ngi-pointer/go-ssb-room> * Upstream app code repository: <https://github.com/ssb-ngi-pointer/go-ssb-room>

View file

@ -5,15 +5,16 @@ It shall NOT be edited by hand.
# Scuttlebutt Room pour YunoHost # Scuttlebutt Room pour YunoHost
[![Niveau d'intégration](https://dash.yunohost.org/integration/ssbroom.svg)](https://dash.yunohost.org/appci/app/ssbroom) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/ssbroom.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/ssbroom.maintain.svg) [![Niveau dintégration](https://dash.yunohost.org/integration/ssbroom.svg)](https://dash.yunohost.org/appci/app/ssbroom) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/ssbroom.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/ssbroom.maintain.svg)
[![Installer Scuttlebutt Room avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=ssbroom) [![Installer Scuttlebutt Room avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=ssbroom)
*[Read this readme in english.](./README.md)* *[Read this readme in english.](./README.md)*
> *Ce package vous permet d'installer Scuttlebutt Room rapidement et simplement sur un serveur YunoHost. > *Ce package vous permet dinstaller Scuttlebutt Room 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 navez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment linstaller et en profiter.*
## Vue d'ensemble ## Vue densemble
A Scuttlebutt room is a service for connecting scuttlebutt users. A Scuttlebutt room is a service for connecting scuttlebutt users.
@ -30,13 +31,13 @@ For a comprehensive introduction to rooms 2.0, watch [this video](https://www.yo
- HTTP Invites - HTTP Invites
- Alias management - Alias management
**Version incluse :** 2.0.6~ynh5 **Version incluse :** 2.0.6~ynh6
**Démo :** https://hermies.club/ **Démo :** https://hermies.club/
## Captures d'écran ## Captures décran
![Capture d'écran de Scuttlebutt Room](./doc/screenshots/ssbroom-screenshot.png) ![Capture décran de Scuttlebutt Room](./doc/screenshots/ssbroom-screenshot.png)
## Avertissements / informations importantes ## Avertissements / informations importantes
@ -45,10 +46,9 @@ For a comprehensive introduction to rooms 2.0, watch [this video](https://www.yo
* ssb rooms work best when the app is in public mode. ssb-room has its own user and authentication system, and doesn't need yunohost SSO * ssb rooms work best when the app is in public mode. ssb-room has its own user and authentication system, and doesn't need yunohost SSO
## Documentations et ressources ## Documentations et ressources
* Site officiel de l'app : <https://github.com/ssb-ngi-pointer/go-ssb-room>
* Documentation officielle utilisateur : <https://github.com/ssb-ngi-pointer/go-ssb-room/blob/master/README.md> * Documentation officielle utilisateur : <https://github.com/ssb-ngi-pointer/go-ssb-room/blob/master/README.md>
* Documentation officielle de l'admin : <https://github.com/ssb-ngi-pointer/go-ssb-room/blob/master/README.md> * Documentation officielle de ladmin : <https://github.com/ssb-ngi-pointer/go-ssb-room/blob/master/README.md>
* Dépôt de code officiel de l'app : <https://github.com/ssb-ngi-pointer/go-ssb-room> * Dépôt de code officiel de lapp : <https://github.com/ssb-ngi-pointer/go-ssb-room>
* Documentation YunoHost pour cette app : <https://yunohost.org/app_ssbroom> * Documentation YunoHost pour cette app : <https://yunohost.org/app_ssbroom>
* Signaler un bug : <https://github.com/YunoHost-Apps/ssbroom_ynh/issues> * Signaler un bug : <https://github.com/YunoHost-Apps/ssbroom_ynh/issues>
@ -64,4 +64,4 @@ ou
sudo yunohost app upgrade ssbroom -u https://github.com/YunoHost-Apps/ssbroom_ynh/tree/testing --debug sudo yunohost app upgrade ssbroom -u https://github.com/YunoHost-Apps/ssbroom_ynh/tree/testing --debug
``` ```
**Plus d'infos sur le packaging d'applications :** <https://yunohost.org/packaging_apps> **Plus dinfos sur le packaging dapplications :** <https://yunohost.org/packaging_apps>

View file

@ -13,7 +13,7 @@
setup_public=1 setup_public=1
upgrade=1 upgrade=1
# 2.0.6~ynh3 # 2.0.6~ynh3
upgrade=1 from_commit=c759c5f400660031676a0f92d5c5ffcc68bd6da9 #upgrade=1 from_commit=c759c5f400660031676a0f92d5c5ffcc68bd6da9
backup_restore=1 backup_restore=1
multi_instance=1 multi_instance=1
port_already_use=0 port_already_use=0

View file

@ -1,4 +1,4 @@
SOURCE_URL=https://files.commoninternet.net/go-ssb-room_2.0.6_Linux_amd64.tar.gz SOURCE_URL=https://github.com/YunoHost-Apps/ssbroom_ynh/releases/download/v2.0.6/go-ssb-room_2.0.6_Linux_amd64.tar.gz
SOURCE_SUM=1a1c4368df219e907e15996bd6d62b653f54017993b1cc607ab09a9a01fb8558 SOURCE_SUM=1a1c4368df219e907e15996bd6d62b653f54017993b1cc607ab09a9a01fb8558
SOURCE_SUM_PRG=sha256sum SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz SOURCE_FORMAT=tar.gz

View file

@ -1,4 +1,4 @@
SOURCE_URL=https://files.commoninternet.net/go-ssb-room_2.0.6_Linux_aarch64.tar.gz SOURCE_URL=https://github.com/YunoHost-Apps/ssbroom_ynh/releases/download/v2.0.6/go-ssb-room_2.0.6_Linux_aarch64.tar.gz
SOURCE_SUM=8f9d357d54fd8bdc1c2e906919ddefef21ae51b13e5ae1939424c6c1e94c9d23 SOURCE_SUM=8f9d357d54fd8bdc1c2e906919ddefef21ae51b13e5ae1939424c6c1e94c9d23
SOURCE_SUM_PRG=sha256sum SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz SOURCE_FORMAT=tar.gz

View file

@ -1,4 +1,4 @@
SOURCE_URL=https://files.commoninternet.net/go-ssb-room_2.0.6_Linux_arm7.tar.gz SOURCE_URL=https://github.com/YunoHost-Apps/ssbroom_ynh/releases/download/v2.0.6/go-ssb-room_2.0.6_Linux_arm7.tar.gz
SOURCE_SUM=8894b7b21031976e1d79265fefdcef4edb6fde38f34231e8aea4cebcc85a4f88 SOURCE_SUM=8894b7b21031976e1d79265fefdcef4edb6fde38f34231e8aea4cebcc85a4f88
SOURCE_SUM_PRG=sha256sum SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz SOURCE_FORMAT=tar.gz

View file

@ -3,13 +3,13 @@
"id": "ssbroom", "id": "ssbroom",
"packaging_format": 1, "packaging_format": 1,
"description": { "description": {
"en": "Secure Scuttlebutt room server implemented in Go" "en": "Secure Scuttlebutt room server",
"fr": "Serveur de salon Scuttlebutt sécurisé"
}, },
"version": "2.0.6~ynh5", "version": "2.0.6~ynh6",
"url": "https://github.com/ssb-ngi-pointer/go-ssb-room", "url": "https://github.com/ssb-ngi-pointer/go-ssb-room",
"upstream": { "upstream": {
"license": "free", "license": "AGPL-3.0",
"website": "https://github.com/ssb-ngi-pointer/go-ssb-room",
"demo": "https://hermies.club/", "demo": "https://hermies.club/",
"admindoc": "https://github.com/ssb-ngi-pointer/go-ssb-room/blob/master/README.md", "admindoc": "https://github.com/ssb-ngi-pointer/go-ssb-room/blob/master/README.md",
"userdoc": "https://github.com/ssb-ngi-pointer/go-ssb-room/blob/master/README.md", "userdoc": "https://github.com/ssb-ngi-pointer/go-ssb-room/blob/master/README.md",
@ -21,7 +21,7 @@
"email": "max@mfowler.info" "email": "max@mfowler.info"
}, },
"requirements": { "requirements": {
"yunohost": ">= 4.3.0" "yunohost": ">= 11.2"
}, },
"multi_instance": true, "multi_instance": true,
"services": [ "services": [
@ -38,17 +38,20 @@
"type": "boolean", "type": "boolean",
"default": true, "default": true,
"help": { "help": {
"en": "If false, ssbroom will only be usable by yunohost users." "en": "If false, ssbroom will only be usable by YunoHost users.",
"fr": "Si false, ssbroom ne sera utilisable que par les utilisateurs de YunoHost."
} }
}, },
{ {
"name": "ssb_admin_id", "name": "ssb_admin_id",
"type": "string", "type": "string",
"ask": { "ask": {
"en": "SSB ID of first admin of the room" "en": "SSB ID of first admin of the room",
"fr": "ID SSB du premier administrateur de la salle"
}, },
"help": { "help": {
"en": "This ssb_id is used as the username for the first admin of the room. Create an ssb account or use your already existing ssb account, and use your ssb public key as the room admin id." "en": "This ssb_id is used as the username for the first admin of the room. Create an SSB account or use your already existing SSB account, and use your SSB public key as the room admin ID.",
"fr": "Ce ssb_id est utilisé comme nom d'utilisateur pour le premier administrateur de la salle. Créez un compte SSB ou utilisez votre compte SSB déjà existant et utilisez votre clé publique SSB comme ID de salle."
}, },
"example": "@5Pt3dKy2HTJ0mWuS78oIiklIX0gBz6BTfEnXsbvke9c=.ed25519" "example": "@5Pt3dKy2HTJ0mWuS78oIiklIX0gBz6BTfEnXsbvke9c=.ed25519"
}, },
@ -56,7 +59,8 @@
"name": "password", "name": "password",
"type": "password", "type": "password",
"help": { "help": {
"en": "Use this password to log into the admin interface for the ssb room." "en": "Use this password to log into the admin interface for the SSB room.",
"fr": "Utilisez ce mot de passe pour vous connecter à l'interface d'administration de la salle SSB."
} }
} }
] ]

View file

@ -7,8 +7,6 @@
# dependencies used by the app # dependencies used by the app
pkg_dependencies="expect" pkg_dependencies="expect"
description="Secure Scuttlebutt room server implemented in Go"
#================================================= #=================================================
# PERSONAL HELPERS # PERSONAL HELPERS
#================================================= #=================================================

View file

@ -160,7 +160,7 @@ ynh_use_logrotate
#================================================= #=================================================
ynh_script_progression --message="Integrating service in YunoHost..." --weight=1 ynh_script_progression --message="Integrating service in YunoHost..." --weight=1
yunohost service add $app --description="$description" --log="/var/log/$app/$app.log" --needs_exposed_ports $ssbport yunohost service add $app --description="Secure Scuttlebutt room server" --log="/var/log/$app/$app.log" --needs_exposed_ports $ssbport
#================================================= #=================================================
# START SYSTEMD SERVICE # START SYSTEMD SERVICE
@ -183,7 +183,6 @@ then
ynh_permission_update --permission="main" --add="visitors" ynh_permission_update --permission="main" --add="visitors"
fi fi
#================================================= #=================================================
# RELOAD NGINX # RELOAD NGINX
#================================================= #=================================================

View file

@ -120,7 +120,7 @@ ynh_restore_file --origin_path="/etc/logrotate.d/$app"
#================================================= #=================================================
ynh_script_progression --message="Integrating service in YunoHost..." --weight=1 ynh_script_progression --message="Integrating service in YunoHost..." --weight=1
yunohost service add $app --description="$description" --log="/var/log/$app/$app.log" --needs_exposed_ports $ssbport yunohost service add $app --description="Secure Scuttlebutt room server" --log="/var/log/$app/$app.log" --needs_exposed_ports $ssbport
#================================================= #=================================================
# START SYSTEMD SERVICE # START SYSTEMD SERVICE

View file

@ -132,7 +132,7 @@ ynh_use_logrotate --non-append
#================================================= #=================================================
ynh_script_progression --message="Integrating service in YunoHost..." --weight=1 ynh_script_progression --message="Integrating service in YunoHost..." --weight=1
yunohost service add $app --description="$description" --log="/var/log/$app/$app.log" --needs_exposed_ports $ssbport yunohost service add $app --description="Secure Scuttlebutt room server" --log="/var/log/$app/$app.log" --needs_exposed_ports $ssbport
#================================================= #=================================================
# START SYSTEMD SERVICE # START SYSTEMD SERVICE