1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/digitranscode_ynh.git synced 2024-09-03 18:25:59 +02:00

Merge pull request #1 from YunoHost-Apps/testing

First release of Digitranscode for Yunohost
This commit is contained in:
Melchisedech 2022-11-04 10:43:10 +01:00 committed by GitHub
commit a9741b02c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 58 additions and 55 deletions

View file

@ -3,42 +3,42 @@ N.B.: This README was automatically generated by https://github.com/YunoHost/app
It shall NOT be edited by hand. It shall NOT be edited by hand.
--> -->
# Digiwords for YunoHost # Digitranscode for YunoHost
[![Integration level](https://dash.yunohost.org/integration/digiwords.svg)](https://dash.yunohost.org/appci/app/digiwords) ![Working status](https://ci-apps.yunohost.org/ci/badges/digiwords.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/digiwords.maintain.svg) [![Integration level](https://dash.yunohost.org/integration/digitranscode.svg)](https://dash.yunohost.org/appci/app/digitranscode) ![Working status](https://ci-apps.yunohost.org/ci/badges/digitranscode.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/digitranscode.maintain.svg)
[![Install Digiwords with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=digiwords) [![Install Digitranscode with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=digitranscode)
*[Lire ce readme en français.](./README_fr.md)* *[Lire ce readme en français.](./README_fr.md)*
> *This package allows you to install Digiwords quickly and simply on a YunoHost server. > *This package allows you to install Digitranscode quickly and simply on a YunoHost server.
If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.* If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.*
## Overview ## Overview
With Digiwords, you can create interactive wordclouds. an online app that can convert audio files and video files into different formats.
**Shipped version:** 0.3.5~ynh1 **Shipped version:** 0.1.2~ynh1
**Demo:** https://ladigitale.dev/digiwords/#/ **Demo:** https://ladigitale.dev/digitranscode/
## Documentation and resources ## Documentation and resources
* Official app website: <https://ladigitale.dev/> * Official app website: <https://ladigitale.dev/>
* Official user documentation: <https://ladigitale.dev/blog/digiwords-pour-creer-des-nuages-de-mots> * Official user documentation: <https://ladigitale.dev/blog/digitranscode-pour-convertir-des-fichiers-audio-et-des-videos>
* Official admin documentation: <https://codeberg.org/ladigitale/digiwords/src/branch/master/README.md> * Official admin documentation: <https://codeberg.org/ladigitale/digitranscode/src/branch/main/README.md>
* Upstream app code repository: <https://codeberg.org/ladigitale/digiwords> * Upstream app code repository: <https://codeberg.org/ladigitale/digitranscode>
* YunoHost documentation for this app: <https://yunohost.org/app_digiwords> * YunoHost documentation for this app: <https://yunohost.org/app_digitranscode>
* Report a bug: <https://github.com/YunoHost-Apps/digiwords_ynh/issues> * Report a bug: <https://github.com/YunoHost-Apps/digitranscode_ynh/issues>
## Developer info ## Developer info
Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/digiwords_ynh/tree/testing). Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/digitranscode_ynh/tree/testing).
To try the testing branch, please proceed like that. To try the testing branch, please proceed like that.
``` bash ``` bash
sudo yunohost app install https://github.com/YunoHost-Apps/digiwords_ynh/tree/testing --debug sudo yunohost app install https://github.com/YunoHost-Apps/digitranscode_ynh/tree/testing --debug
or or
sudo yunohost app upgrade digiwords -u https://github.com/YunoHost-Apps/digiwords_ynh/tree/testing --debug sudo yunohost app upgrade digitranscode -u https://github.com/YunoHost-Apps/digitranscode_ynh/tree/testing --debug
``` ```
**More info regarding app packaging:** <https://yunohost.org/packaging_apps> **More info regarding app packaging:** <https://yunohost.org/packaging_apps>

View file

@ -3,42 +3,42 @@ N.B.: This README was automatically generated by https://github.com/YunoHost/app
It shall NOT be edited by hand. It shall NOT be edited by hand.
--> -->
# Digiwords pour YunoHost # Digitranscode pour YunoHost
[![Niveau d'intégration](https://dash.yunohost.org/integration/digiwords.svg)](https://dash.yunohost.org/appci/app/digiwords) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/digiwords.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/digiwords.maintain.svg) [![Niveau d'intégration](https://dash.yunohost.org/integration/digitranscode.svg)](https://dash.yunohost.org/appci/app/digitranscode) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/digitranscode.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/digitranscode.maintain.svg)
[![Installer Digiwords avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=digiwords) [![Installer Digitranscode avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=digitranscode)
*[Read this readme in english.](./README.md)* *[Read this readme in english.](./README.md)*
> *Ce package vous permet d'installer Digiwords rapidement et simplement sur un serveur YunoHost. > *Ce package vous permet d'installer Digitranscode 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
Digiwords permet de créer des nuages de mots interactifs. Une application en ligne qui permet de convertir des fichiers audio et des vidéos en différents formats.
**Version incluse :** 0.3.5~ynh1 **Version incluse :** 0.1.2~ynh1
**Démo :** https://ladigitale.dev/digiwords/#/ **Démo :** https://ladigitale.dev/digitranscode/
## Documentations et ressources ## Documentations et ressources
* Site officiel de l'app : <https://ladigitale.dev/> * Site officiel de l'app : <https://ladigitale.dev/>
* Documentation officielle utilisateur : <https://ladigitale.dev/blog/digiwords-pour-creer-des-nuages-de-mots> * Documentation officielle utilisateur : <https://ladigitale.dev/blog/digitranscode-pour-convertir-des-fichiers-audio-et-des-videos>
* Documentation officielle de l'admin : <https://codeberg.org/ladigitale/digiwords/src/branch/master/README.md> * Documentation officielle de l'admin : <https://codeberg.org/ladigitale/digitranscode/src/branch/main/README.md>
* Dépôt de code officiel de l'app : <https://codeberg.org/ladigitale/digiwords> * Dépôt de code officiel de l'app : <https://codeberg.org/ladigitale/digitranscode>
* Documentation YunoHost pour cette app : <https://yunohost.org/app_digiwords> * Documentation YunoHost pour cette app : <https://yunohost.org/app_digitranscode>
* Signaler un bug : <https://github.com/YunoHost-Apps/digiwords_ynh/issues> * Signaler un bug : <https://github.com/YunoHost-Apps/digitranscode_ynh/issues>
## Informations pour les développeurs ## Informations pour les développeurs
Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/digiwords_ynh/tree/testing). Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/digitranscode_ynh/tree/testing).
Pour essayer la branche testing, procédez comme suit. Pour essayer la branche testing, procédez comme suit.
``` bash ``` bash
sudo yunohost app install https://github.com/YunoHost-Apps/digiwords_ynh/tree/testing --debug sudo yunohost app install https://github.com/YunoHost-Apps/digitranscode_ynh/tree/testing --debug
ou ou
sudo yunohost app upgrade digiwords -u https://github.com/YunoHost-Apps/digiwords_ynh/tree/testing --debug sudo yunohost app upgrade digitranscode -u https://github.com/YunoHost-Apps/digitranscode_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>

View file

@ -20,7 +20,7 @@
setup_private=1 setup_private=1
setup_public=1 setup_public=1
upgrade=1 upgrade=1
upgrade=1 from_commit=cc131db79e58280d13674c7a99cb6d21cd67f7d5 upgrade=1 from_commit=6f47432e8bca8e869b0ce1d148c74f38b3e19b01
backup_restore=1 backup_restore=1
multi_instance=1 multi_instance=1
port_already_use=0 port_already_use=0
@ -29,6 +29,6 @@
Email= Email=
Notification=none Notification=none
;;; Upgrade options ;;; Upgrade options
; commit=cc131db79e58280d13674c7a99cb6d21cd67f7d5 ; commit=6f47432e8bca8e869b0ce1d148c74f38b3e19b01
;name=Bump from 0.3.3. ;name=First version for YNH
;manifest_arg=domain=DOMAIN&path=PATH&language=fr&is_public=1& ;manifest_arg=domain=DOMAIN&path=PATH&language=fr&is_public=1&

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/YunoHost-Apps/digiwords_ynh/releases/download/0.3.5/digiwords-v0.3.5.zip SOURCE_URL=https://github.com/YunoHost-Apps/digitranscode_ynh/releases/download/0.1.2/digitranscode-v0.1.2.zip
SOURCE_SUM=cba502b1e853cc4e54a07168e8811e829aab0dbd260f0069b7e2c97acf31ef27 SOURCE_SUM=dafa74cbffa3c330ec94ec5a3cb7ee6c07639c1cd89a4b5cce3384098027bbb6
SOURCE_SUM_PRG=sha256sum SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=zip SOURCE_FORMAT=zip
SOURCE_IN_SUBDIR=true SOURCE_IN_SUBDIR=true

View file

@ -25,4 +25,7 @@ location __PATH__/ {
# Include SSOWAT user panel. # Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc; include conf.d/yunohost_panel.conf.inc;
# Needed part because the app uses SharedArrayBuffer
more_set_headers "Cross-Origin-Embedder-Policy: require-corp" "Cross-Origin-Opener-Policy: same-origin";
} }

View file

@ -1,20 +1,20 @@
{ {
"name": "Digiwords", "name": "Digitranscode",
"id": "digiwords", "id": "digitranscode",
"packaging_format": 1, "packaging_format": 1,
"description": { "description": {
"en": "With Digiwords, you can create interactive wordclouds.", "en": "an online app that can convert audio files and video files into different formats.",
"fr": "Digiwords permet de créer des nuages de mots interactifs." "fr": "Une application en ligne qui permet de convertir des fichiers audio et des vidéos en différents formats."
}, },
"version": "0.3.5~ynh1", "version": "0.1.2~ynh1",
"url": "https://ladigitale.dev/", "url": "https://ladigitale.dev/",
"upstream": { "upstream": {
"license": "GPL-3.0-only", "license": "GPL-3.0-only",
"website": "https://ladigitale.dev/", "website": "https://ladigitale.dev/",
"demo": "https://ladigitale.dev/digiwords/#/", "demo": "https://ladigitale.dev/digitranscode/",
"admindoc": "https://codeberg.org/ladigitale/digiwords/src/branch/master/README.md", "admindoc": "https://codeberg.org/ladigitale/digitranscode/src/branch/main/README.md",
"userdoc": "https://ladigitale.dev/blog/digiwords-pour-creer-des-nuages-de-mots", "userdoc": "https://ladigitale.dev/blog/digitranscode-pour-convertir-des-fichiers-audio-et-des-videos",
"code": "https://codeberg.org/ladigitale/digiwords" "code": "https://codeberg.org/ladigitale/digitranscode"
}, },
"license": "GPL-3.0-only", "license": "GPL-3.0-only",
"maintainer": { "maintainer": {
@ -22,7 +22,7 @@
"email": "xxxxx" "email": "xxxxx"
}, },
"requirements": { "requirements": {
"yunohost": ">= 4.3.0" "yunohost": ">= 11.0"
}, },
"multi_instance": true, "multi_instance": true,
"services": [ "services": [
@ -39,14 +39,14 @@
"name": "path", "name": "path",
"type": "path", "type": "path",
"example": "/example", "example": "/example",
"default": "/digiwords" "default": "/digitranscode"
}, },
{ {
"name": "is_public", "name": "is_public",
"type": "boolean", "type": "boolean",
"help": { "help": {
"en": "If public, any visitor can create word clouds and see saved ones, providing they know their secret questions and answers.", "en": "If public, any visitor can convert audio or video files using your server.",
"fr": "Si lapplication est publique, nimporte quel visiteur pourra créer un nuage de mots et consulter ceux sauvegardés dont ils connaissent à la fois la question secrète et la réponse." "fr": "Si lapplication est publique, nimporte quel visiteur pourra utiliser votre serveur pour convertir des fichiers audio et vidéos."
}, },
"default": true "default": true
} }

View file

@ -5,7 +5,7 @@
#================================================= #=================================================
# dependencies used by the app # dependencies used by the app
pkg_dependencies="php$YNH_DEFAULT_PHP_VERSION-sqlite3" # pkg_dependencies="php$YNH_DEFAULT_PHP_VERSION-sqlite3"
#================================================= #=================================================
# PERSONAL HELPERS # PERSONAL HELPERS

View file

@ -111,7 +111,7 @@ ynh_script_progression --message="Installing dependencies..." --weight=1
### - As well as the section "REINSTALL DEPENDENCIES" in the restore script ### - As well as the section "REINSTALL DEPENDENCIES" in the restore script
### - And the section "UPGRADE DEPENDENCIES" in the upgrade script ### - And the section "UPGRADE DEPENDENCIES" in the upgrade script
ynh_install_app_dependencies $pkg_dependencies # ynh_install_app_dependencies $pkg_dependencies
#================================================= #=================================================
# CREATE DEDICATED USER # CREATE DEDICATED USER

View file

@ -52,7 +52,7 @@ ynh_remove_fpm_config
#================================================= #=================================================
# REMOVE DEPENDENCIES # REMOVE DEPENDENCIES
#================================================= #=================================================
ynh_script_progression --message="Removing dependencies..." --weight=1 #ynh_script_progression --message="Removing dependencies..." --weight=1
# Remove metapackage and its dependencies # Remove metapackage and its dependencies
ynh_remove_app_dependencies ynh_remove_app_dependencies

View file

@ -99,10 +99,10 @@ ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"
#================================================= #=================================================
# REINSTALL DEPENDENCIES # REINSTALL DEPENDENCIES
#================================================= #=================================================
ynh_script_progression --message="Reinstalling dependencies..." --weight=1 #ynh_script_progression --message="Reinstalling dependencies..." --weight=1
# Define and install dependencies # Define and install dependencies
ynh_install_app_dependencies $pkg_dependencies #ynh_install_app_dependencies $pkg_dependencies
#================================================= #=================================================
# RESTORE VARIOUS FILES # RESTORE VARIOUS FILES

View file

@ -157,9 +157,9 @@ ynh_add_nginx_config
#================================================= #=================================================
# UPGRADE DEPENDENCIES # UPGRADE DEPENDENCIES
#================================================= #=================================================
ynh_script_progression --message="Upgrading dependencies..." --weight=1 #ynh_script_progression --message="Upgrading dependencies..." --weight=1
ynh_install_app_dependencies $pkg_dependencies #ynh_install_app_dependencies $pkg_dependencies
#================================================= #=================================================
# PHP-FPM CONFIGURATION # PHP-FPM CONFIGURATION