diff --git a/README.md b/README.md index 48bbac2..b055179 100755 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in Focalboard is a project management tool that helps define, organize, track and manage work across teams, using a familiar kanban board view. -**Shipped version:** 0.8.0~ynh1 +**Shipped version:** 0.8.0~ynh2 @@ -28,7 +28,8 @@ Focalboard is a project management tool that helps define, organize, track and m ## Documentation and resources * Official app website: https://www.focalboard.com/ -* Official admin documentation: https://www.focalboard.com/guide/user/ +* Official user documentation: https://www.focalboard.com/guide/user/ +* Official admin documentation: https://www.focalboard.com/guide/admin/ * Upstream app code repository: https://github.com/mattermost/focalboard * YunoHost documentation for this app: https://yunohost.org/app_focalboard * Report a bug: https://github.com/YunoHost-Apps/focalboard_ynh/issues diff --git a/README_fr.md b/README_fr.md index 09cca68..9c08ca0 100755 --- a/README_fr.md +++ b/README_fr.md @@ -13,7 +13,8 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour Focalboard est un outil de gestion de projet qui aide à définir, organiser, suivre et gérer le travail entre les équipes, à l'aide d'une vue de tableau kanban familière. -**Version incluse :** 0.8.0~ynh1 + +**Version incluse :** 0.8.0~ynh2 @@ -24,7 +25,8 @@ Focalboard est un outil de gestion de projet qui aide à définir, organiser, su ## Documentations et ressources * Site officiel de l'app : https://www.focalboard.com/ -* Documentation officielle de l'admin : https://www.focalboard.com/guide/user/ +* Documentation officielle utilisateur : https://www.focalboard.com/guide/user/ +* Documentation officielle de l'admin : https://www.focalboard.com/guide/admin/ * Dépôt de code officiel de l'app : https://github.com/mattermost/focalboard * Documentation YunoHost pour cette app : https://yunohost.org/app_focalboard * Signaler un bug : https://github.com/YunoHost-Apps/focalboard_ynh/issues diff --git a/conf/nginx.conf b/conf/nginx.conf index eaf9881..b54d111 100755 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,4 +1,4 @@ -location ~ /ws/ { +location ~ /ws/* { proxy_pass http://127.0.0.1:__PORT__; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; @@ -26,9 +26,8 @@ location / { } client_max_body_size 50M; - proxy_pass http://127.0.0.1:__PORT__; - proxy_set_header Connection "upgrade"; + proxy_set_header Connection ""; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; @@ -48,6 +47,6 @@ location / { more_clear_input_headers 'Accept-Encoding'; } -location /uploads/ { - alias __FILES_PATH__/uploads/ ; -} +#location /uploads/ { +# alias __FILES_PATH__/uploads/ ; +#} diff --git a/doc/DESCRIPTION_fr.md b/doc/DESCRIPTION_fr.md index 9870824..46d2bdf 100644 --- a/doc/DESCRIPTION_fr.md +++ b/doc/DESCRIPTION_fr.md @@ -1 +1 @@ -Focalboard est un outil de gestion de projet qui aide à définir, organiser, suivre et gérer le travail entre les équipes, à l'aide d'une vue de tableau kanban familière. \ No newline at end of file +Focalboard est un outil de gestion de projet qui aide à définir, organiser, suivre et gérer le travail entre les équipes, à l'aide d'une vue de tableau kanban familière. diff --git a/manifest.json b/manifest.json index 5a85392..188ad10 100755 --- a/manifest.json +++ b/manifest.json @@ -6,17 +6,18 @@ "en": "Self-hosted alternative to Trello, Notion, and Asana", "fr": "Alternative auto-hébergée à Trello, Notion et Asana" }, - "version": "0.8.0~ynh1", + "version": "0.8.0~ynh2", "url": "https://www.focalboard.com/", "upstream": { "license": "MIT", "website": "https://www.focalboard.com/", - "admindoc": "https://www.focalboard.com/guide/user/", + "admindoc": "https://www.focalboard.com/guide/admin/", + "userdoc": "https://www.focalboard.com/guide/user/", "code": "https://github.com/mattermost/focalboard" }, "license": "MIT", "maintainer": { - "name": "John doe" + "name": "eric_G" }, "requirements": { "yunohost": ">= 4.2.4" diff --git a/scripts/install b/scripts/install index 7c24650..8fbb772 100755 --- a/scripts/install +++ b/scripts/install @@ -158,6 +158,8 @@ then ynh_permission_update --permission="main" --add="visitors" fi +ynh_permission_create --permission="api" --url="/api" --allowed="visitors" --auth_header="false" --show_tile="false" --protected="true" + #================================================= # RELOAD NGINX #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 54c58f0..32f4f92 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -41,6 +41,11 @@ if ynh_legacy_permissions_exists; then ynh_app_setting_delete --app=$app --key=is_public fi +# Create a permission if needed +if ! ynh_permission_exists --permission="api"; then + ynh_permission_create --permission="api" --url="/api" --allowed="visitors" --auth_header="false" --show_tile="false" --protected="true" +fi + #================================================= # BACKUP BEFORE UPGRADE THEN ACTIVE TRAP #=================================================