diff --git a/README.md b/README.md index 0464119..caf3108 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in Plainpad is a self hosted, open source note taking application that is very easy to setup on your server. Your data will never leave your server and you will be able to access them from any device connected to the internet. With Plainpad you can allow multiple users to access the application without being able to see each other's notes. The notes are being encrypted and stored safely in the database. -**Shipped version:** 1.0.0~ynh1 +**Shipped version:** 1.0.0~ynh2 **Demo:** https://alextselegidis.com/try/plainpad/#/login diff --git a/README_fr.md b/README_fr.md index 9d5d90b..60a9e69 100644 --- a/README_fr.md +++ b/README_fr.md @@ -14,7 +14,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour Plainpad est une application de prise de notes open source auto-hébergée qui est très facile à configurer sur votre serveur. Vos données ne quitteront jamais votre serveur et vous pourrez y accéder depuis n'importe quel appareil connecté à Internet. Avec Plainpad, vous pouvez autoriser plusieurs utilisateurs à accéder à l'application sans pouvoir voir les notes des autres. Les notes sont cryptées et stockées en toute sécurité dans la base de données. -**Version incluse :** 1.0.0~ynh1 +**Version incluse :** 1.0.0~ynh2 **Démo :** https://alextselegidis.com/try/plainpad/#/login diff --git a/conf/.env.example b/conf/.env.example index 967b49a..b5445f7 100644 --- a/conf/.env.example +++ b/conf/.env.example @@ -6,7 +6,7 @@ APP_NAME=Plainpad # This value determines the "environment" your application is currently # running in. This may determine how you prefer to configure various # services the application utilizes. Set this in your ".env" file. -APP_ENV=local +APP_ENV=production # This key is used by the Illuminate encrypter service and should be set # to a random, 32 character string, otherwise these encrypted strings @@ -44,7 +44,7 @@ DB_PORT=3306 DB_DATABASE=__DB_NAME__ # The database username for the connection. -DB_USERNAME=__DB_NAME__ +DB_USERNAME=__DB_USER__ # The database password for the connection. DB_PASSWORD=__DB_PWD__ diff --git a/conf/nginx.conf b/conf/nginx.conf index c385314..554831e 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -6,7 +6,7 @@ location __PATH__/ { index index.php index.html; - #client_max_body_size 50M; + client_max_body_size 50M; try_files $uri $uri/ __PATH__/__PATH__/index.php?$query_string; @@ -20,7 +20,4 @@ location __PATH__/ { fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param SCRIPT_FILENAME $request_filename; } - - # Include SSOWAT user panel. - include conf.d/yunohost_panel.conf.inc; } diff --git a/manifest.json b/manifest.json index 99c31da..1866492 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Self hosted, note taking application", "fr": "Application de prise de notes auto-hébergée" }, - "version": "1.0.0~ynh1", + "version": "1.0.0~ynh2", "url": "https://alextselegidis.com/get/plainpad", "upstream": { "license": "AGPL-3.0-only", @@ -26,7 +26,7 @@ "multi_instance": true, "services": [ "nginx", - "php7.3-fpm", + "php8.0-fpm", "mysql" ], "arguments": { diff --git a/scripts/_common.sh b/scripts/_common.sh index 88da38a..e9f1973 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,9 +4,9 @@ # COMMON VARIABLES #================================================= -YNH_PHP_VERSION="7.3" +YNH_PHP_VERSION="8.0" -pkg_dependencies="php${YNH_PHP_VERSION}-zip php${YNH_PHP_VERSION}-fileinfo php${YNH_PHP_VERSION}-xml php${YNH_PHP_VERSION}-bcmath php${YNH_PHP_VERSION}-json php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-mysql" +pkg_dependencies="php${YNH_PHP_VERSION}-zip php${YNH_PHP_VERSION}-fileinfo php${YNH_PHP_VERSION}-xml php${YNH_PHP_VERSION}-bcmath php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-mysql" #================================================= # PERSONAL HELPERS