From 708fa1c2ea81de57f0b24d6032498910ba1ea373 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 1 Oct 2022 08:52:00 +0200 Subject: [PATCH 1/2] apply example --- doc/.DS_Store | Bin 0 -> 6148 bytes doc/DESCRIPTION.md | 10 ++++++++++ doc/DISCLAIMER.md | 17 ++++++++++++++++ doc/screenshots/minchat_ynh_screenshot01.gif | Bin 0 -> 16778 bytes manifest.json | 9 +++++++-- scripts/_common.sh | 2 +- scripts/backup | 2 +- scripts/change_url | 4 ++-- scripts/install | 18 ++++++++--------- scripts/remove | 20 +++++++++---------- scripts/restore | 18 +++++++++-------- scripts/upgrade | 20 +++++++++---------- 12 files changed, 77 insertions(+), 43 deletions(-) create mode 100644 doc/.DS_Store create mode 100644 doc/DESCRIPTION.md create mode 100644 doc/DISCLAIMER.md create mode 100644 doc/screenshots/minchat_ynh_screenshot01.gif diff --git a/doc/.DS_Store b/doc/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..c90376b56b73b627c519d1a34c5d8c9abb7004dc GIT binary patch literal 6148 zcmeHKyG{c^3>-s>NNG}1?l15Mt0;UyegFv&DbPhqfch%Fi%(bFB<-Yt6!=#P*lfL7ulP#UTPH8)y|&RG>0a|qcjG!J4AG8> j(T=(Cc6=8_S=W5c^IkY62A%n!6ZJFTy2zx!wH5dQ#>Eyj literal 0 HcmV?d00001 diff --git a/doc/DESCRIPTION.md b/doc/DESCRIPTION.md new file mode 100644 index 0000000..2804c90 --- /dev/null +++ b/doc/DESCRIPTION.md @@ -0,0 +1,10 @@ +Minchat is a free minimalist chat application. It is based on [wojtek77/chat](https://github.com/wojtek77/chat), itself based on [Gabriel Nava's tutorial](http://code.tutsplus.com/tutorials/how-to-create-a-simple-web-based-chat-application--net-5931). + +### Features + +- Simple web chat: only requires a browser ; no XMPP application. +- No need for users to register. Just need the web address. But optional authorisation control. +- On connection, the page is fed with the messages of the day +- Args are in the URL as *get* arguments, so that you can share the URL or make it a favorite to avoid filling a form. +Example : `https://yourdomain.org/minchat/?room=Living&name=John` +- Optionaly multi room \ No newline at end of file diff --git a/doc/DISCLAIMER.md b/doc/DISCLAIMER.md new file mode 100644 index 0000000..babd841 --- /dev/null +++ b/doc/DISCLAIMER.md @@ -0,0 +1,17 @@ +### Setup + +The setup is optional. If you leave it as is, there is a single unnamed room, opened to all users. If you want to customize the access control, edit the file `conf/setup.ini` (if missing, copy it from `conf/sample/setup.ini`). The interesting parameter is `auth` that indicates which user is authorized to which room. + +In this example `auth = John:Game,John:Family,Mary:Game,Tim:Family,admin:*,*:Public,*:`, +- `John:Game,John:Family` = John can access the Game room, the Family room +- `Mary:Game` = Mary can access the Game room +- `Tim:Family` = Tim can access the Family room +- `admin:*` = admin can access all rooms +- `*:Public` = everybody can acccess the Public room +- `*:` = everybody can access the unnamed room + +### Hints for users + +- The URLs you send are linked or transformed to images when preceeded by a `!` +- If multiple rooms are allowed by the administrator in the `setup.ini`, you can have several tabs opened to different rooms in the same browser. + diff --git a/doc/screenshots/minchat_ynh_screenshot01.gif b/doc/screenshots/minchat_ynh_screenshot01.gif new file mode 100644 index 0000000000000000000000000000000000000000..c3ed58184322cc1b0afc53a2175735152757f369 GIT binary patch literal 16778 zcmWif_dnH-`^H~qI%f9DI7BwbOojI`j(x1`dB~n8A=^3j9?8nyTXqz6$X+3{?94)x zN+RFS_x=O!->&<*AJ6N)HMG>_@7O;BlYy=Q;OgJm($doP_4VG~-th47$+r_Q06IQ7 zuBoZnSlgJMn%Teld3kvNfOQ%U&UUMHK?Wt$e}1Koog5yYT#UzG{reanAOB~m`rqH- zYD17TIiL>(8&-b;$WgH%;Pd9n{QO9EP1Du)Rsce*UpiZ;@k@KR=mP}?7ncHR=iJ=f zAe!kw+?&nS<*UP?lUMGPKCJ`KLdGUOn46h{$UM8dy60w^(quu418I#P7W&@w55)nM z6bS9?(S+P;@7Md^j}JpbL!ap&!k!K6btliaB#&ik>WeVXOiciCNi$ESTD=j=l@G$g z;(aARF+rh|(-U`Md)|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RZIdX(k03x8J1ja%?rh;u-aU&UwPCvv%8Z9ik0dr zSHIdDKOZC4@^q-CeP&+ji%v7jf52B7vEuZQ@vt&d1a}c0xtF=2~T5NzZ{Kn_*@IDKS2iBvjgp%PVQf))(Y)cfvQ1s4FO@KF?^uQM<@ z+BhEGOcw1-3d9ct#3#0AsJd2-zz?5~E@*QY9TC3Yc6=(5t|XMSt>)}Y&bmQ@uMFp5 zk~-w}Y{#PgjGS>QI9l=RV?Sg?tD8{bBe#r806Q^WOaZVyBf#{oUO}605f=Kb7FfA(Fx7%8J6ko^eMhEJ6Ix6!QODTjI*uDj3kXh!!mgsr(xA0VO{oeYWSi zZ?kOd#><7V_LcJbc#4utctgt0#%U}dq@-Vf)IL(V&6bx(d%Vr7qqjyFPt@3=|v7gwY$T4eZ9#b@X z4r@?&DZ^j0W3Ut1|K2K69qGyz>6D-W&pf&00m$KAO#%9efu?slKomCr(EXx*EQWnE zwElQd83;GX=g@Gw1cb)rwhlOY+kMo2 zB$F@gIK>So;j(Et;JOu|%Iul#P@1aZU7BSHvbHvacO(^0b!2?C|9ve|QTmUv~7 zzw(d?TC^hJB0QF!V6OyKsu z6y%=%>;vF+AvN+j3$kbxcz=U{@2%&GY*w#jt?x@O+Y;{iCGvU}Dhohiw24ax!brcw zTiXCrT_r@5&6zvEOXH*Ca3M%EVEuyFyIQr%`_oKhV4V%k+0##6qV4_II`AxqBcKDW z`_ekI5%Da)^pJR7=Vvn_pw@*JpUVTSEYtfw`LOltyu(8(cvL?vhey$%X41tBebXZq z7EE2X27A9?*_ojD^4iub;XclMGR*k?in(C zuJmVj!It z2jvX_jg_(%!m7(a`B*GiBhNWoT(!$}h@p=KH{P7cV7gzA1p|NqQa9n|Y37?_#b_7G zao0(Fra6b`B#>{=*N`~4Bs$I5I>_L> 4.3.0" + "yunohost": ">> 11.0.9" }, "multi_instance": true, "services": [ "nginx", - "php7.3-fpm" + "php7.4-fpm" ], "arguments": { "install" : [ diff --git a/scripts/_common.sh b/scripts/_common.sh index d7614e9..4f582df 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,7 +4,7 @@ # COMMON VARIABLES #================================================= -YNH_PHP_VERSION="7.3" +YNH_PHP_VERSION="7.4" #================================================= # PERSONAL HELPERS diff --git a/scripts/backup b/scripts/backup index 4defc16..0853e2c 100644 --- a/scripts/backup +++ b/scripts/backup @@ -55,4 +55,4 @@ ynh_backup --src_path="/etc/php/$phpversion/fpm/pool.d/$app.conf" # END OF SCRIPT #================================================= -ynh_print_info --message="Backup script completed for Minchat. (YunoHost will then actually copy those files to the archive)." +ynh_print_info --message="Backup script completed for $app. (YunoHost will then actually copy those files to the archive)." diff --git a/scripts/change_url b/scripts/change_url index 41896f4..b85ffc9 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -32,7 +32,7 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path) #================================================= # BACKUP BEFORE UPGRADE THEN ACTIVE TRAP #================================================= -ynh_script_progression --message="Backing up Minchat before changing its URL..." --weight=1 +ynh_script_progression --message="Backing up the app before changing its URL..." --weight=1 # Backup the current version of the app ynh_backup_before_upgrade @@ -106,4 +106,4 @@ ynh_systemd_action --service_name=nginx --action=reload # END OF SCRIPT #================================================= -ynh_script_progression --message="Change of URL completed for Minchat" --last +ynh_script_progression --message="Change of URL completed for $app" --last diff --git a/scripts/install b/scripts/install index fb06815..48f0530 100644 --- a/scripts/install +++ b/scripts/install @@ -69,14 +69,6 @@ chmod 750 "$final_path" chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path" -#================================================= -# NGINX CONFIGURATION -#================================================= -ynh_script_progression --message="Configuring NGINX web server..." --weight=1 - -# Create a dedicated NGINX config -ynh_add_nginx_config - #================================================= # PHP-FPM CONFIGURATION #================================================= @@ -85,6 +77,14 @@ ynh_script_progression --message="Configuring PHP-FPM..." --weight=1 ynh_add_fpm_config phpversion=$(ynh_app_setting_get --app=$app --key=phpversion) +#================================================= +# NGINX CONFIGURATION +#================================================= +ynh_script_progression --message="Configuring NGINX web server..." --weight=1 + +# Create a dedicated NGINX config +ynh_add_nginx_config + #================================================= # SETUP SSOWAT #================================================= @@ -107,4 +107,4 @@ ynh_systemd_action --service_name=nginx --action=reload # END OF SCRIPT #================================================= -ynh_script_progression --message="Installation of Minchat completed" --last +ynh_script_progression --message="Installation of $app completed" --last diff --git a/scripts/remove b/scripts/remove index abec0af..9aa1a74 100644 --- a/scripts/remove +++ b/scripts/remove @@ -22,19 +22,11 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path) #================================================= # REMOVE APP MAIN DIR #================================================= -ynh_script_progression --message="Removing Minchat main directory..." --weight=2 +ynh_script_progression --message="Removing the app main directory..." --weight=2 # Remove the app directory securely ynh_secure_remove --file="$final_path" -#================================================= -# REMOVE NGINX CONFIGURATION -#================================================= -ynh_script_progression --message="Removing NGINX web server configuration..." --weight=1 - -# Remove the dedicated NGINX config -ynh_remove_nginx_config - #================================================= # REMOVE PHP-FPM CONFIGURATION #================================================= @@ -43,6 +35,14 @@ ynh_script_progression --message="Removing PHP-FPM configuration..." --weight=1 # Remove the dedicated PHP-FPM config ynh_remove_fpm_config +#================================================= +# REMOVE NGINX CONFIGURATION +#================================================= +ynh_script_progression --message="Removing NGINX web server configuration..." --weight=1 + +# Remove the dedicated NGINX config +ynh_remove_nginx_config + #================================================= # GENERIC FINALIZATION #================================================= @@ -57,4 +57,4 @@ ynh_system_user_delete --username=$app # END OF SCRIPT #================================================= -ynh_script_progression --message="Removal of Minchat completed" --last +ynh_script_progression --message="Removal of $app completed" --last diff --git a/scripts/restore b/scripts/restore index ac4e423..dbdbbc6 100644 --- a/scripts/restore +++ b/scripts/restore @@ -38,12 +38,6 @@ test ! -d $final_path \ #================================================= # STANDARD RESTORATION STEPS -#================================================= -# RESTORE THE NGINX CONFIGURATION -#================================================= - -ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf" - #================================================= # RECREATE THE DEDICATED USER #================================================= @@ -55,7 +49,7 @@ ynh_system_user_create --username=$app --home_dir="$final_path" #================================================= # RESTORE THE APP MAIN DIR #================================================= -ynh_script_progression --message="Restoring Minchat main directory..." --weight=2 +ynh_script_progression --message="Restoring the app main directory..." --weight=2 ynh_restore_file --origin_path="$final_path" @@ -66,9 +60,17 @@ chown -R $app:www-data "$final_path" #================================================= # RESTORE THE PHP-FPM CONFIGURATION #================================================= +ynh_script_progression --message="Restoring the PHP-FPM configuration..." --weight=1 ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf" +#================================================= +# RESTORE THE NGINX CONFIGURATION +#================================================= +ynh_script_progression --message="Restoring the NGINX web server configuration..." --weight=1 + +ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf" + #================================================= # GENERIC FINALIZATION #================================================= @@ -83,4 +85,4 @@ ynh_systemd_action --service_name=nginx --action=reload # END OF SCRIPT #================================================= -ynh_script_progression --message="Restoration completed for Minchat" --last +ynh_script_progression --message="Restoration completed for $app" --last diff --git a/scripts/upgrade b/scripts/upgrade index 9753cfa..6fa86e5 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -29,7 +29,7 @@ upgrade_type=$(ynh_check_app_version_changed) #================================================= # BACKUP BEFORE UPGRADE THEN ACTIVE TRAP #================================================= -ynh_script_progression --message="Backing up Minchat before upgrading..." --weight=5 +ynh_script_progression --message="Backing up the app before upgrading (may take a while)..." --weight=1 # Backup the current version of the app ynh_backup_before_upgrade @@ -82,14 +82,6 @@ chmod 750 "$final_path" chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path" -#================================================= -# NGINX CONFIGURATION -#================================================= -ynh_script_progression --message="Upgrading NGINX web server configuration..." --weight=1 - -# Create a dedicated NGINX config -ynh_add_nginx_config - #================================================= # PHP-FPM CONFIGURATION #================================================= @@ -98,6 +90,14 @@ ynh_script_progression --message="Upgrading PHP-FPM configuration..." --weight=1 # Create a dedicated PHP-FPM config ynh_add_fpm_config +#================================================= +# NGINX CONFIGURATION +#================================================= +ynh_script_progression --message="Upgrading NGINX web server configuration..." --weight=1 + +# Create a dedicated NGINX config +ynh_add_nginx_config + #================================================= # RELOAD NGINX #================================================= @@ -108,4 +108,4 @@ ynh_systemd_action --service_name=nginx --action=reload #================================================= # END OF SCRIPT #================================================= -ynh_script_progression --message="Upgrade of Minchat completed" --last +ynh_script_progression --message="Upgrade of $app completed" --last From fea2ffc1f0ca3a2d696b066c91354e52e83dd5cd Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sat, 1 Oct 2022 06:52:06 +0000 Subject: [PATCH 2/2] Auto-update README --- README.md | 70 ++++++++++++++++++++---------------------------- README_fr.md | 75 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 104 insertions(+), 41 deletions(-) create mode 100644 README_fr.md diff --git a/README.md b/README.md index 7853e6f..7fe1c96 100644 --- a/README.md +++ b/README.md @@ -1,23 +1,23 @@ + + # Minchat for YunoHost -[![Integration level](https://dash.yunohost.org/integration/minchat.svg)](https://dash.yunohost.org/appci/app/minchat) ![](https://ci-apps.yunohost.org/ci/badges/minchat.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/minchat.maintain.svg) +[![Integration level](https://dash.yunohost.org/integration/minchat.svg)](https://dash.yunohost.org/appci/app/minchat) ![Working status](https://ci-apps.yunohost.org/ci/badges/minchat.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/minchat.maintain.svg) [![Install Minchat with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=minchat) *[Lire ce readme en français.](./README_fr.md)* -> *This package allows you to install Minchat quickly and simply on a YunoHost server. +> *This package allows you to install Minchat 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.* ## Overview Minchat is a free minimalist chat application. It is based on [wojtek77/chat](https://github.com/wojtek77/chat), itself based on [Gabriel Nava's tutorial](http://code.tutsplus.com/tutorials/how-to-create-a-simple-web-based-chat-application--net-5931). -**Shipped version:** 1.0 - -## Screenshot -![screenshot](https://raw.githubusercontent.com/chtixof/databank/master/minchat_ynh/minchat_ynh_screenshot01.gif) - -## Features +### Features - Simple web chat: only requires a browser ; no XMPP application. - No need for users to register. Just need the web address. But optional authorisation control. @@ -26,7 +26,16 @@ Minchat is a free minimalist chat application. It is based on [wojtek77/chat](ht Example : `https://yourdomain.org/minchat/?room=Living&name=John` - Optionaly multi room -## Setup +**Shipped version:** 1.0~ynh3 + + +## Screenshots + +![Screenshot of Minchat](./doc/screenshots/minchat_ynh_screenshot01.gif) + +## Disclaimers / important information + +### Setup The setup is optional. If you leave it as is, there is a single unnamed room, opened to all users. If you want to customize the access control, edit the file `conf/setup.ini` (if missing, copy it from `conf/sample/setup.ini`). The interesting parameter is `auth` that indicates which user is authorized to which room. @@ -38,50 +47,29 @@ In this example `auth = John:Game,John:Family,Mary:Game,Tim:Family,admin:*,*:Pub - `*:Public` = everybody can acccess the Public room - `*:` = everybody can access the unnamed room -## Hints for users +### Hints for users + - The URLs you send are linked or transformed to images when preceeded by a `!` - If multiple rooms are allowed by the administrator in the `setup.ini`, you can have several tabs opened to different rooms in the same browser. -## Documentation - * Official documentation: Link to the official documentation of this app - * YunoHost documentation: If specific documentation is needed, feel free to contribute. +## Documentation and resources -## YunoHost specific features - -#### Multi-user support - - * Are LDAP and HTTP auth supported? **No** - * Can the app be used by multiple users? **Yes** - -#### Supported architectures - -* x86-64 - [![Build Status](https://ci-apps.yunohost.org/ci/logs/minchat.svg)](https://ci-apps.yunohost.org/ci/apps/minchat/) -* ARMv8-A - [![Build Status](https://ci-apps-arm.yunohost.org/ci/logs/minchat.svg)](https://ci-apps-arm.yunohost.org/ci/apps/minchat/) - -## Limitations - -* Any known limitations. - -## Additional information - -* Other info you would like to add about this app. - -## Links - - * Report a bug: https://github.com/YunoHost-Apps/minchat_ynh/issues - * Upstream app repository: https://github.com/wojtek77/chat - * YunoHost website: https://yunohost.org/ - ---- +* Official app website: +* Upstream app code repository: +* YunoHost documentation for this app: +* Report a bug: ## Developer info Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/minchat_ynh/tree/testing). To try the testing branch, please proceed like that. -``` + +``` bash sudo yunohost app install https://github.com/YunoHost-Apps/minchat_ynh/tree/testing --debug or sudo yunohost app upgrade minchat -u https://github.com/YunoHost-Apps/minchat_ynh/tree/testing --debug ``` + +**More info regarding app packaging:** diff --git a/README_fr.md b/README_fr.md new file mode 100644 index 0000000..81094a2 --- /dev/null +++ b/README_fr.md @@ -0,0 +1,75 @@ + + +# Minchat pour YunoHost + +[![Niveau d'intégration](https://dash.yunohost.org/integration/minchat.svg)](https://dash.yunohost.org/appci/app/minchat) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/minchat.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/minchat.maintain.svg) +[![Installer Minchat avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=minchat) + +*[Read this readme in english.](./README.md)* + +> *Ce package vous permet d'installer Minchat 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 + +Minchat is a free minimalist chat application. It is based on [wojtek77/chat](https://github.com/wojtek77/chat), itself based on [Gabriel Nava's tutorial](http://code.tutsplus.com/tutorials/how-to-create-a-simple-web-based-chat-application--net-5931). + +### Features + +- Simple web chat: only requires a browser ; no XMPP application. +- No need for users to register. Just need the web address. But optional authorisation control. +- On connection, the page is fed with the messages of the day +- Args are in the URL as *get* arguments, so that you can share the URL or make it a favorite to avoid filling a form. +Example : `https://yourdomain.org/minchat/?room=Living&name=John` +- Optionaly multi room + +**Version incluse :** 1.0~ynh3 + + +## Captures d'écran + +![Capture d'écran de Minchat](./doc/screenshots/minchat_ynh_screenshot01.gif) + +## Avertissements / informations importantes + +### Setup + +The setup is optional. If you leave it as is, there is a single unnamed room, opened to all users. If you want to customize the access control, edit the file `conf/setup.ini` (if missing, copy it from `conf/sample/setup.ini`). The interesting parameter is `auth` that indicates which user is authorized to which room. + +In this example `auth = John:Game,John:Family,Mary:Game,Tim:Family,admin:*,*:Public,*:`, +- `John:Game,John:Family` = John can access the Game room, the Family room +- `Mary:Game` = Mary can access the Game room +- `Tim:Family` = Tim can access the Family room +- `admin:*` = admin can access all rooms +- `*:Public` = everybody can acccess the Public room +- `*:` = everybody can access the unnamed room + +### Hints for users + +- The URLs you send are linked or transformed to images when preceeded by a `!` +- If multiple rooms are allowed by the administrator in the `setup.ini`, you can have several tabs opened to different rooms in the same browser. + + +## Documentations et ressources + +* Site officiel de l'app : +* Dépôt de code officiel de l'app : +* Documentation YunoHost pour cette app : +* Signaler un bug : + +## Informations pour les développeurs + +Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/minchat_ynh/tree/testing). + +Pour essayer la branche testing, procédez comme suit. + +``` bash +sudo yunohost app install https://github.com/YunoHost-Apps/minchat_ynh/tree/testing --debug +ou +sudo yunohost app upgrade minchat -u https://github.com/YunoHost-Apps/minchat_ynh/tree/testing --debug +``` + +**Plus d'infos sur le packaging d'applications :**