From 59431763c480412d3859f3d489082299c8f347bd Mon Sep 17 00:00:00 2001 From: mbugeia Date: Wed, 25 Feb 2015 22:01:14 +0100 Subject: [PATCH 1/2] Update packaging_apps_fr.md add precisions on ssowatconf and an example --- packaging_apps_fr.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/packaging_apps_fr.md b/packaging_apps_fr.md index 98b07d17..ea781a92 100644 --- a/packaging_apps_fr.md +++ b/packaging_apps_fr.md @@ -162,7 +162,12 @@ Protège la liste d'uris fournies séparées par des virgules. Seul un utilisate Il existe aussi `skipped_regex`, `protected_regex`, `unprotected_uris`, `unprotected_regex`.

-**Attention** : il est nécessaire de lancer `yunohost app ssowatconf` pour appliquer les effets. +**Attention** : il est nécessaire de lancer `yunohost app ssowatconf` pour appliquer les effets. Les uris seront alors converties en urls et écrites dans le fichier /etc/ssowat/conf.json.

+ +Exemple:
+```yunohost app setting myapp unprotected_urls -v "/"```
+```yunohost app ssowatconf```
+Ces commandes vont désactiver le SSO sur la racine de l'aplication soit domain.tld/myapp, ceci est utile pour une application publique.
@@ -219,4 +224,4 @@ yunohost app install https://github.com/auteur/mon_paquet.git Vous pouvez ajouter votre application à [la liste _Work in progress_](https://yunohost.org/#/apps_en). ### Demander l’intégration de son application à la liste officielle -Si vous le souhaitez vous pouvez proposer l'inclusion de l'application dans les applications officielles. Pour ce faire, il faut utiliser le bouton "New App Request" sur http://app.yunohost.org. \ No newline at end of file +Si vous le souhaitez vous pouvez proposer l'inclusion de l'application dans les applications officielles. Pour ce faire, il faut utiliser le bouton "New App Request" sur http://app.yunohost.org. From f6f89097712fd5a904453cb61fc91b9bb7b73fe4 Mon Sep 17 00:00:00 2001 From: mbugeia Date: Wed, 25 Feb 2015 22:10:24 +0100 Subject: [PATCH 2/2] Update packaging_apps.md Traduction of useful yunohost settings --- packaging_apps.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/packaging_apps.md b/packaging_apps.md index 93b96e86..8eff7ba1 100644 --- a/packaging_apps.md +++ b/packaging_apps.md @@ -160,6 +160,23 @@ sudo yunohost app setting [ -v ] This is the most important helper of YunoHost. It allows you to store some settings for a specific app, in order to be either reused afterward or used for YunoHost configuration (**e.g.** for the SSO).

It sets the value if you append ```-v ```, and gets it otherwise. +

+ +** Some useful settings **

+```skipped_uris```

+Remove the protection on the uris list provided separated by commas.

+ +```protected_uris```

+Protects the uris list provided separated by commas. Only logged in users will have access.

+ +There are also `skipped_regex`, `protected_regex`, `unprotected_uris`, `unprotected_regex`.

+ +**Be careful** : you must run `yunohost app ssowatconf` to apply the effect. URIs will be converted into URLs and written to the file /etc/ssowat/conf.json.

+ +Example:
+```yunohost app setting myapp unprotected_urls -v "/"```
+```yunohost app ssowatconf```
+These commands will disable the SSO on the root of the aplication like domain.tld/myapp This is useful for public application.
@@ -209,4 +226,4 @@ yunohost app install https://github.com/author/my_app_package.git You can add your application to the [_Work in progress_ list](https://yunohost.org/#/apps_en). ### Ask integration of your application to the official list -If you want, you can ask integration of your application to officials applications. To do so, use button "New App Request" on http://app.yunohost.org. \ No newline at end of file +If you want, you can ask integration of your application to officials applications. To do so, use button "New App Request" on http://app.yunohost.org.