1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/minchat_ynh.git synced 2024-09-03 19:36:29 +02:00
This commit is contained in:
Éric Gaspar 2024-01-17 12:36:10 +01:00
parent 3a212a6f38
commit e21c7c86c1
4 changed files with 29 additions and 2 deletions

View file

@ -1,6 +1,6 @@
### 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.
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 `__INSTALL_DIR__/conf/setup.ini` (if missing, copy it from `__INSTALL_DIR__/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,*:`:

17
doc/ADMIN_fr.md Normal file
View file

@ -0,0 +1,17 @@
### Installation
La configuration est facultative. Si vous la laissez tel quel, il reste une seule salle sans nom, ouverte à tous les utilisateurs. Si vous souhaitez personnaliser le contrôle d'accès, éditez le fichier `__INSTALL_DIR__/conf/setup.ini` (s'il est manquant, copiez-le depuis `__INSTALL_DIR__/conf/sample/setup.ini`). Le paramètre intéressant est `auth` qui indique quel utilisateur est autorisé à accéder à quelle salle.
Dans cet exemple `auth = John:Game,John:Family,Mary:Game,Tim:Family,admin:*,*:Public,*:` :
- `John:Game,John:Family` = John peut accéder à la salle de jeux, à la salle familiale
- `Mary:Game` = Mary peut accéder à la salle de jeux
- `Tim:Family` = Tim peut accéder à la salle familiale
- `admin:*` = l'administrateur peut accéder à toutes les salles
- `*:Public` = tout le monde peut accéder à la salle publique
- `*:` = tout le monde peut accéder à la salle sans nom
### Conseils pour les utilisateurs
- Les URL que vous envoyez sont liées ou transformées en images lorsqu'elles sont précédées d'un `!`
- Si plusieurs salles sont autorisées par l'administrateur dans le fichier `setup.ini`, vous pouvez avoir plusieurs onglets ouverts sur différentes salles dans le même navigateur.

View file

@ -6,5 +6,5 @@ Minchat is a free minimalist chat application. It is based on [wojtek77/chat](ht
- 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`
Example : `https://__DOMAIN____PATH__/minchat/?room=Living&name=John`
- Optionaly multi room

10
doc/DESCRIPTION_fr.md Normal file
View file

@ -0,0 +1,10 @@
Minchat est une application de chat minimaliste. Elle est basé sur [wojtek77/chat](https://github.com/wojtek77/chat), elle-même basé sur [le tutoriel de Gabriel Nava](http://code.tutsplus.com/tutorials/how-to-create- une-simple-application-de-chat-basée sur le Web--net-5931).
### Caractéristiques
- Chat Web simple : nécessite uniquement un navigateur ; pas d'application XMPP.
- Pas besoin de s'inscrire pour les utilisateurs. J'ai juste besoin de l'adresse Web. Mais contrôle d'autorisation facultatif.
- À la connexion, la page est alimentée avec les messages du jour
- Les arguments sont dans l'URL en tant qu'arguments *get*, afin que vous puissiez partager l'URL ou en faire un favori pour éviter de remplir un formulaire.
Exemple : `https://__DOMAIN____PATH__/minchat/?room=Living&name=John`
- En option multi-pièces