diff --git a/README.md b/README.md index 24b6923..28429e0 100644 --- a/README.md +++ b/README.md @@ -29,47 +29,6 @@ For user friendly details about Pleroma: [see here](https://blog.soykaf.com/post ![Screenshot of Pleroma](./doc/screenshots/screenshot1.png) -## Disclaimers / important information - -## Limitations - -- **Pleroma** require a dedicated **root domain**, eg. pleroma.domain.tld -- **Pleroma** require a valid **certificate** installed on the domain. Yunohost can **install Letsencrypt certificate** on the domain from **admin web-interface** or through **command-line**. -- This package is currently set to **single-instance** that means you can run a **single Pleroma instance** on a **single server**. -- The admin **password** entered when installing must **not** contain **special characters**. (See [issue #132](https://github.com/YunoHost-Apps/pleroma_ynh/issues/132)) -- LDAP supported but HTTP auth not. - -## Admin Tasks - -Connect with SSH to your Yunohost server as YNH admin user. -For the commands syntax, have in mind the specificities of [Yunohost Pleroma install](./doc/yunohost.md). - - -### Adding users - -``` -sudo su pleroma -s $SHELL -lc "/var/www/pleroma/live/bin/pleroma_ctl user new " -``` - -### Password reset - -``` -sudo su pleroma -s $SHELL -lc "/var/www/pleroma/live/bin/pleroma_ctl user reset_password " -``` - -This will generate a **password reset link** that you can then send to the user. - -### Moderators - -You can make users **moderators**. They will then be able to _delete any post_. - - -``` -sudo su pleroma -s $SHELL -lc "/var/www/pleroma/live/bin/pleroma_ctl user set --admin" -``` - -Note: `--admin` option will _make the user moderator_ and `--no-admin` will _take away_ the moderator privileges from the user. - ## Documentation and resources * Official app website: diff --git a/README_fr.md b/README_fr.md index 1fc944b..4fd5d3e 100644 --- a/README_fr.md +++ b/README_fr.md @@ -29,46 +29,6 @@ Pour des informations plus détaillées sur Pleroma voir [What is Pleroma](https ![Capture d’écran de Pleroma](./doc/screenshots/screenshot1.png) -## Avertissements / informations importantes - -## Limitations - -- Pleroma doit impérativement s’installer sur son propre **nom de domaine dédié** (ou sous-domaine), par ex. pleroma.domain.tld -- Pleroma nécessite par ailleurs un **certificat SSL** valide activé sur ce domaine. Yunohost peut installer et configurer un **certificat Letsencrypt** pour le domaine depuis l’interface d'administration de Yunohost ou avec la ligne de commande. -- Ce paquet est actuellement configuré pour une **instance unique**, c’est-à-dire que l’on ne peut installer _qu’une seule instance_ de Pleroma sur un même serveur Yunohost. -- Le **mot de passe** saisi durant l’installation ne doit _en aucun cas_ contenir de **caractères spéciaux**. (Voir [issue #132](https://github.com/YunoHost-Apps/pleroma_ynh/issues/132)) -- L’authentification LDAP fonctionne, mais pas `HTTP auth` en revanche. - -## Tâches d’administration - -Se connecter avec SSH à votre serveur Yunohost avec le compte admin (nous parlons ici de l’admin YNH pas de l’admin de Pleroma). -Pour la syntaxe des commandes, garder en tête les spécificités d’une installations de [Pleroma avec Yunohost](./doc/yunohost_fr.md). - - -### Ajouter un utilisateur ou utilisatrice - -``` -sudo su pleroma -s $SHELL -lc "/var/www/pleroma/live/bin/pleroma_ctl user new " -``` - -### Changer de mot de passe - -``` -sudo su pleroma -s $SHELL -lc "/var/www/pleroma/live/bin/pleroma_ctl user reset_password " -``` - -Ceci générera un **lien de réinitialisation** (URL) du mot de passe, que vous pouvez envoyer à l’utilisateur ou utilisatrice. - -### Modérateurs - -Vous pouvez donner à des utilisateurs ou utilisatrices les droits de **modération**. Ils ou elles pourront alors _supprimer_ n’importe quel billet publié par n’importe quel autre compte. - -``` -sudo su pleroma -s $SHELL -lc "/var/www/pleroma/live/bin/pleroma_ctl user set --admin" -``` - -Note : l’option `--admin` donne au compte _les droits de moderation_ et avec l’option `--no-admin` à l’inverse on _enlève_ les privilèges de modération de celui-ci. - ## Documentations et ressources * Site officiel de l’app :