1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/dato_ynh.git synced 2024-09-03 18:16:33 +02:00

Merge pull request #16 from YunoHost-Apps/testing

Update dato 1.5.18
This commit is contained in:
Eauchat 2021-09-11 01:04:51 +00:00 committed by GitHub
commit 03d39cae4a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 22 additions and 22 deletions

View file

@ -22,7 +22,7 @@ The purpose of dato is not to propose a UI specific to some purpose, but somethi
Dato is a progressive webapp, which means that you can install it from the browser in computer and phones, and use it offline. Dato is a progressive webapp, which means that you can install it from the browser in computer and phones, and use it offline.
**Shipped version:** 1.5.17 **Shipped version:** 1.5.18
## Screenshots ## Screenshots
@ -41,7 +41,7 @@ To configure dato, you can edit the `config/public.js` file in the app directory
You can also make modifications in `config/private.js`, but be sure to know what you're doing when doing so. You can also make modifications in `config/private.js`, but be sure to know what you're doing when doing so.
## Autosynchronization ## Autosynchronisation
By default all data you create with dato is stored only in your browser. Users can manually enable per-database synchronization with any remote couch server, but this process is not obvious to users. Therefore dato provide an autosynchronization mechanism. By default all data you create with dato is stored only in your browser. Users can manually enable per-database synchronization with any remote couch server, but this process is not obvious to users. Therefore dato provide an autosynchronization mechanism.
To enable it, you need to setup a couchdb server (you can do this using the [couchdb yunohost package](https://github.com/YunoHost-Apps/couchdb_ynh)). You should do this before installing dato. To enable it, you need to setup a couchdb server (you can do this using the [couchdb yunohost package](https://github.com/YunoHost-Apps/couchdb_ynh)). You should do this before installing dato.

View file

@ -18,7 +18,7 @@ Le but de dato n'est pas de proposer l'interface idéale pour chaque outil, mais
Dato est une application web progressive, ce qui veut dire que vous pouvez l'installer sur ordinateur et téléphone facilement et l'utiliser hors connexion. Dato est une application web progressive, ce qui veut dire que vous pouvez l'installer sur ordinateur et téléphone facilement et l'utiliser hors connexion.
**Version incluse :** 1.5.17 **Version incluse :** 1.5.18
## Captures d'écran ## Captures d'écran

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://framagit.org/squeak/dato/-/archive/v1.5.17/dato-v1.5.17.tar.gz SOURCE_URL=https://framagit.org/squeak/dato/-/archive/v1.5.18/dato-v1.5.18.tar.gz
SOURCE_SUM=a7c918be766259f907ce1837aed3acd0e0c81542548a1ef3201eed6b7e76eb5d SOURCE_SUM=e77ad49b877696657422805511f5309a5a5408eb2e80c2582620be859821b823
SOURCE_SUM_PRG=sha256sum SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=true SOURCE_IN_SUBDIR=true

View file

@ -6,7 +6,7 @@
"en": "Store all kinds of data with an extremely customizable interface.", "en": "Store all kinds of data with an extremely customizable interface.",
"fr": "Stockez tous types de données avec une interface complètement customizable." "fr": "Stockez tous types de données avec une interface complètement customizable."
}, },
"version": "1.5.17~ynh1", "version": "1.5.18~ynh1",
"url": "https://squeak.eauchat.org/dato", "url": "https://squeak.eauchat.org/dato",
"upstream": { "upstream": {
"license": "AGPL-3.0-or-later", "license": "AGPL-3.0-or-later",

View file

@ -183,7 +183,7 @@ if [[ $autosynchronize == true ]]; then
-d "{\"name\": \"$couch_datoadmin_name\", \"password\": \"$couch_datoadmin_password\", \"roles\": [\"dato-admin\"], \"type\": \"user\"}" 2> /dev/null) -d "{\"name\": \"$couch_datoadmin_name\", \"password\": \"$couch_datoadmin_password\", \"roles\": [\"dato-admin\"], \"type\": \"user\"}" 2> /dev/null)
# display error message if there was an error creating dato admin user in couch # display error message if there was an error creating dato admin user in couch
if [[ $addDatoAdmin_curlResult != '{"ok":true,'* ]]; then if [[ $addDatoAdmin_curlResult != '{"ok":true'* ]]; then
ynh_print_err --message="There was an error creating the dato admin user for in couch. You will probably have to do it manually (check the last section of this page for instructions: https://squeak.eauchat.org/apps/dato/?setups)." ynh_print_err --message="There was an error creating the dato admin user for in couch. You will probably have to do it manually (check the last section of this page for instructions: https://squeak.eauchat.org/apps/dato/?setups)."
ynh_print_err --message="Here is the error message from couchdb:" ynh_print_err --message="Here is the error message from couchdb:"
ynh_print_err --message="$addDatoAdmin_curlResult" ynh_print_err --message="$addDatoAdmin_curlResult"
@ -199,7 +199,7 @@ if [[ $autosynchronize == true ]]; then
-d "$usersSecDocModified" 2> /dev/null) -d "$usersSecDocModified" 2> /dev/null)
# display error message if there was an error modifying _users db _security document # display error message if there was an error modifying _users db _security document
if [[ $usersSecDocChange_curlResult != '{"ok":true,'* ]]; then if [[ $usersSecDocChange_curlResult != '{"ok":true'* ]]; then
ynh_print_err --message="There was an error enabling dato users to access their user profile in couch. You will have to do it manually (check the 'Configure couchdb so that it accepts requests from dato' section in the following page for instructions: https://squeak.eauchat.org/apps/dato/?setups)." ynh_print_err --message="There was an error enabling dato users to access their user profile in couch. You will have to do it manually (check the 'Configure couchdb so that it accepts requests from dato' section in the following page for instructions: https://squeak.eauchat.org/apps/dato/?setups)."
ynh_print_err --message="Here is the error message from couchdb:" ynh_print_err --message="Here is the error message from couchdb:"
ynh_print_err --message="$usersSecDocChange_curlResult" ynh_print_err --message="$usersSecDocChange_curlResult"