From 44d54ee43513a99af4f9862b2d84101f940fe3f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 12 Jun 2022 11:11:26 +0200 Subject: [PATCH 1/8] Fix --- conf/systemd.service | 2 +- scripts/_common.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/systemd.service b/conf/systemd.service index f494275..6e3c5b2 100755 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -6,7 +6,7 @@ After=network.target Type=simple User=__APP__ Group=__APP__ -WorkingDirectory=__FINALPATH__ +WorkingDirectory=__FINALPATH__/ Environment=PATH=__ENV_PATH__ Environment=NODE_ENV=production ExecStart=__YNH_NODE__ tiddlywiki ++languages/fr-FR mynewwiki --listen port=__PORT__ diff --git a/scripts/_common.sh b/scripts/_common.sh index 2f983d2..49686be 100755 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,7 +4,7 @@ # COMMON VARIABLES #================================================= -nodejs_version="14" +nodejs_version="18" tiddlywiki_version="5.2.2" From 56f79d2280ac014f34125bf43043d172b710ac12 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sun, 12 Jun 2022 09:11:31 +0000 Subject: [PATCH 2/8] Auto-update README --- README.md | 21 +++++++++++---------- README_fr.md | 27 ++++++++++++++++----------- 2 files changed, 27 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index 2c3df4d..462ba17 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ It shall NOT be edited by hand. # TiddlyWiki for YunoHost -[![Integration level](https://dash.yunohost.org/integration/tiddlywiki.svg)](https://dash.yunohost.org/appci/app/tiddlywiki) ![](https://ci-apps.yunohost.org/ci/badges/tiddlywiki.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/tiddlywiki.maintain.svg) +[![Integration level](https://dash.yunohost.org/integration/tiddlywiki.svg)](https://dash.yunohost.org/appci/app/tiddlywiki) ![Working status](https://ci-apps.yunohost.org/ci/badges/tiddlywiki.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/tiddlywiki.maintain.svg) [![Install TiddlyWiki with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=tiddlywiki) *[Lire ce readme en français.](./README_fr.md)* @@ -23,8 +23,8 @@ TiddlyWiki is a complete interactive wiki in JavaScript. It can be used as a sin ## Screenshots -![](./doc/screenshots/.DS_Store) -![](./doc/screenshots/screenshot.png) +![Screenshot of TiddlyWiki](./doc/screenshots/.DS_Store) +![Screenshot of TiddlyWiki](./doc/screenshots/screenshot.png) ## Disclaimers / important information @@ -39,21 +39,22 @@ To restore a local backup to the server, drag and drop your tiddlers backup file ## Documentation and resources -* Official app website: https://tiddlywiki.com/ -* Official admin documentation: https://tiddlywiki.com/ -* Upstream app code repository: https://github.com/Jermolene/TiddlyWiki5 -* YunoHost documentation for this app: https://yunohost.org/app_tiddlywiki -* Report a bug: https://github.com/YunoHost-Apps/tiddlywiki_ynh/issues +* Official app website: +* Official admin documentation: +* Upstream app code repository: +* YunoHost documentation for this app: +* Report a bug: ## Developer info Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/tiddlywiki_ynh/tree/testing). To try the testing branch, please proceed like that. -``` + +``` bash sudo yunohost app install https://github.com/YunoHost-Apps/tiddlywiki_ynh/tree/testing --debug or sudo yunohost app upgrade tiddlywiki -u https://github.com/YunoHost-Apps/tiddlywiki_ynh/tree/testing --debug ``` -**More info regarding app packaging:** https://yunohost.org/packaging_apps \ No newline at end of file +**More info regarding app packaging:** diff --git a/README_fr.md b/README_fr.md index e019377..3258df0 100644 --- a/README_fr.md +++ b/README_fr.md @@ -1,10 +1,14 @@ + + # TiddlyWiki pour YunoHost -[![Niveau d'intégration](https://dash.yunohost.org/integration/tiddlywiki.svg)](https://dash.yunohost.org/appci/app/tiddlywiki) ![](https://ci-apps.yunohost.org/ci/badges/tiddlywiki.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/tiddlywiki.maintain.svg) +[![Niveau d'intégration](https://dash.yunohost.org/integration/tiddlywiki.svg)](https://dash.yunohost.org/appci/app/tiddlywiki) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/tiddlywiki.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/tiddlywiki.maintain.svg) [![Installer TiddlyWiki avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=tiddlywiki) *[Read this readme in english.](./README.md)* -*[Lire ce readme en français.](./README_fr.md)* > *Ce package vous permet d'installer TiddlyWiki rapidement et simplement sur un serveur YunoHost. Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l'installer et en profiter.* @@ -19,8 +23,8 @@ TiddlyWiki is a complete interactive wiki in JavaScript. It can be used as a sin ## Captures d'écran -![](./doc/screenshots/.DS_Store) -![](./doc/screenshots/screenshot.png) +![Capture d'écran de TiddlyWiki](./doc/screenshots/.DS_Store) +![Capture d'écran de TiddlyWiki](./doc/screenshots/screenshot.png) ## Avertissements / informations importantes @@ -35,21 +39,22 @@ To restore a local backup to the server, drag and drop your tiddlers backup file ## Documentations et ressources -* Site officiel de l'app : https://tiddlywiki.com/ -* Documentation officielle de l'admin : https://tiddlywiki.com/ -* Dépôt de code officiel de l'app : https://github.com/Jermolene/TiddlyWiki5 -* Documentation YunoHost pour cette app : https://yunohost.org/app_tiddlywiki -* Signaler un bug : https://github.com/YunoHost-Apps/tiddlywiki_ynh/issues +* Site officiel de l'app : +* Documentation officielle de l'admin : +* Dépôt de code officiel de l'app : +* Documentation YunoHost pour cette app : +* Signaler un bug : ## Informations pour les développeurs Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/tiddlywiki_ynh/tree/testing). Pour essayer la branche testing, procédez comme suit. -``` + +``` bash sudo yunohost app install https://github.com/YunoHost-Apps/tiddlywiki_ynh/tree/testing --debug ou sudo yunohost app upgrade tiddlywiki -u https://github.com/YunoHost-Apps/tiddlywiki_ynh/tree/testing --debug ``` -**Plus d'infos sur le packaging d'applications :** https://yunohost.org/packaging_apps \ No newline at end of file +**Plus d'infos sur le packaging d'applications :** From 3d760370a9b3cb474a9fb71a206e29cb9432a452 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 12 Jun 2022 11:21:51 +0200 Subject: [PATCH 3/8] Update install --- scripts/install | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 9b4ebc9..10d50d2 100755 --- a/scripts/install +++ b/scripts/install @@ -99,7 +99,8 @@ ynh_script_progression --message="Configuring TiddlyWiki..." --weight=2 pushd $final_path ynh_use_nodejs - npm -g install tiddlywiki@${tiddlywiki_version} + npm install npm@latest --location=global + npm install tiddlywiki@${tiddlywiki_version} --location=global ynh_exec_as $app env $ynh_node_load_PATH tiddlywiki mynewwiki --init server popd From e7bc728e9b157a93c9861dee2d36a402d0ddce4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 12 Jun 2022 12:04:44 +0200 Subject: [PATCH 4/8] Update upgrade --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index e1dbfd4..68e3d56 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -94,7 +94,7 @@ then pushd $final_path ynh_use_nodejs - npm update -g tiddlywiki@${tiddlywiki_version} + npm update tiddlywiki --location=global popd fi From a9abcd0c379e862353a43686b8fb38a9a1150104 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 12 Jun 2022 12:51:32 +0200 Subject: [PATCH 5/8] Update upgrade --- scripts/upgrade | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/upgrade b/scripts/upgrade index 68e3d56..2f0c226 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -94,6 +94,7 @@ then pushd $final_path ynh_use_nodejs + npm install npm@latest --location=global npm update tiddlywiki --location=global popd fi From 7d7f860f315ecd147970eba32d90c23cc97e4a20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 12 Jun 2022 12:53:37 +0200 Subject: [PATCH 6/8] Delete .DS_Store --- .DS_Store | Bin 6148 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 .DS_Store diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index 6e268bd83a79ea774265a34bc3bc303aab7418d4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6148 zcmeHK&1%~~5Z<-jR;ohKA%#F&(7idh1UESfC%KeD4GPYoDXvs4^@7+9l57)84sW>)%E>}nZfyg$hwGZr$&JW#}z56y1` z$5B_L#DN>k6)I6aXn*R#H!sJuG8UU(GV88emKUt`Q_{l`1H{0; zU;y`r2oy1P*jO}M2Q>Kmh~phZ6tM9wffzZA9X1wW1ccjEK%2_l6@%M!@JB8#cGy_7 z>5QA1p^lrGyBi8Ovx7e};f%)?sU-%8ftw7pZ8ya8|LD*6|C>qFBL;|p|B3P$S@v&;X1bHWtAHLO%kA25N|bzskT* DHv(_< From a2056709a28987b1eb7e721d67462943ef6abd71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Tue, 14 Jun 2022 21:58:37 +0200 Subject: [PATCH 7/8] Update manifest.json --- manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index 146e9ff..5df7144 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Non-linear personal web notebook", "fr": "Carnet Web personnel non linéaire" }, - "version": "5.2.2~ynh1", + "version": "5.2.2~ynh2", "url": "https://tiddlywiki.com/", "upstream": { "license": "BSD-2-Clause", From f0e1888615ffff548f9d4f10d20a7a5ae1062ec8 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Tue, 14 Jun 2022 19:58:44 +0000 Subject: [PATCH 8/8] Auto-update README --- README.md | 2 +- README_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 462ba17..7a57af2 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in TiddlyWiki is a complete interactive wiki in JavaScript. It can be used as a single HTML file in the browser or as a powerful Node.js application. It is highly customisable: the entire user interface is itself implemented in hackable WikiText. -**Shipped version:** 5.2.2~ynh1 +**Shipped version:** 5.2.2~ynh2 **Demo:** https://tiddlywiki.com/ diff --git a/README_fr.md b/README_fr.md index 3258df0..f6e0178 100644 --- a/README_fr.md +++ b/README_fr.md @@ -17,7 +17,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour TiddlyWiki is a complete interactive wiki in JavaScript. It can be used as a single HTML file in the browser or as a powerful Node.js application. It is highly customisable: the entire user interface is itself implemented in hackable WikiText. -**Version incluse :** 5.2.2~ynh1 +**Version incluse :** 5.2.2~ynh2 **Démo :** https://tiddlywiki.com/