1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ztncui_ynh.git synced 2024-09-03 18:06:05 +02:00
Commit graph

44 commits

Author SHA1 Message Date
tituspijean
ba1445555f
Fix .env file location 2022-01-15 19:48:44 +01:00
tituspijean
4a0d6df2ee
Use ynh_add_config for env file in upgrade script 2022-01-15 18:15:10 +01:00
tituspijean
5c62429abd
There is no database in this app 2022-01-15 16:53:24 +01:00
tituspijean
51023e7df5
Use ynh_add_config for env file 2022-01-15 16:53:24 +01:00
tituspijean
a7899d32a3
Do not override passwd file during upgrade 2022-01-15 16:53:23 +01:00
tituspijean
32823caf8d
Delete log directory while removing app 2021-11-08 23:53:40 +01:00
tituspijean
7fa6303fec
Downgrade NodeJS req and do not force npm audit fix 2021-11-08 23:49:29 +01:00
tituspijean
cc7bb224d8
Remove superfluous log-level flag 2021-10-24 00:28:27 +02:00
tituspijean
153c51bd25
Set HOME for npm commands in upgrade script 2021-10-24 00:27:23 +02:00
tituspijean
63fac66788
Force npm audit fix in upgrade script
May introduce breaking changes, someday...
2021-10-24 00:09:59 +02:00
tituspijean
e71197e16a
ynh_use_nodejs needed in upgrade script 2021-10-23 23:33:24 +02:00
tituspijean
7de27214d7
Silence build steps 2021-10-23 18:15:08 +02:00
tituspijean
1fe53c67a4
Fix NodeJS dependencies install 2021-10-06 23:47:30 +02:00
tituspijean
409432f5fb
Recreate log directory during restore 2021-10-06 23:37:05 +02:00
tituspijean
7a05e06319
Upgrade NodeJS requirement 2021-10-06 23:37:05 +02:00
tituspijean
97c4bbaa52
Appease linter 2021-10-06 00:19:49 +02:00
yalh76
d791fc51fd Option --others_var is deprecated / irrelevant since 4.2, and will be removed in Bullseye. Yunohost now manages conf using ynh_add_config which automatically replace all __FOOBAR__ by $foobar 2021-08-14 16:39:03 +02:00
tituspijean
d3df536e45 Drop is_public/SSO handling in upgrade 2021-03-22 17:47:48 +01:00
tituspijean
9b45f33b7b Fix linter warnings 2021-03-22 12:53:01 +01:00
tituspijean
9bb80844ec Quiet systemctl in restore 2021-01-10 13:02:11 +01:00
Alexandre Aubin
17185df467 Finding an available port 2021-01-10 13:02:11 +01:00
tituspijean
0ecc78b896
Enhancements (#9)
* [enh] systemd help with dynamic variables

* [fix] unbound variable

* [enh] test nodejs helper

* [fix] node and npm paths

* [fix] ...

* [fix] upgrade

* force replacing certs
* standard admin and password if missing

* [enh] specify experimental helpers

* [fix] check_process

After zerotier_ynh removal from apps list, one has to --force its installation

* [rem] unnecessary sudo in nodejs helpers

* [enh] calibrating script progression

* [upg] package version

* fix

* Fix

* Fix name in README

* Remove integrated helper

* Add service integration progress message

Co-authored-by: ericgaspar <junk.eg@free.fr>
Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com>
2020-12-06 09:29:46 +01:00
tituspijean
a8ec03f1de
Update check_process and fix CI warnings (#7)
* [fix] check_process

After zerotier_ynh removal from apps list, one has to --force its installation

* [rem] unnecessary sudo in nodejs helpers

* [enh] calibrating script progression

* [upg] package version
2020-05-14 17:31:45 +02:00
tituspijean
724dadb4a5
[enh] improved systemd and nodejs helpers (#5)
* [enh] systemd help with dynamic variables

* [fix] unbound variable

* [enh] test nodejs helper

* [fix] node and npm paths

* [fix] ...

* [fix] upgrade

  * force replacing certs
  * standard admin and password if missing

* [enh] specify experimental helpers
2020-04-25 15:34:13 +02:00
tituspijean
86821d48e0 [enh] quiet grep
Co-Authored-By: Kayou <pierre@kayou.io>
2020-04-18 18:48:34 +02:00
tituspijean
d9d7444b09 [rem] default credentials 2020-04-18 18:48:34 +02:00
tituspijean
e45afc1543 [fix] no need to rehash password during upgrade 2020-04-18 18:48:34 +02:00
tituspijean
35d8edd4c8 [fix] proper path to argon2-cli 2020-04-18 18:48:34 +02:00
tituspijean
ea93407686 [add] setting user and password 2020-04-18 18:48:34 +02:00
tituspijean
600ccede11 [enh] use permissions system 2020-04-18 18:48:34 +02:00
tituspijean
772480a9af [enh] prepare systemd conf and check for zerotier app or die
Co-Authored-By: Kayou <kay0u@users.noreply.github.com>
2020-04-18 18:48:34 +02:00
tituspijean
04bdc45749 [enh] recalculate checksum 2020-04-18 18:48:34 +02:00
tituspijean
6be758ab42 [add] change_url 2020-04-18 18:48:34 +02:00
tituspijean
38cb8a218b [enh] silence npm warnings 2020-04-18 18:48:34 +02:00
tituspijean
d5f354b63d [rem] change_url 2020-04-18 18:48:34 +02:00
tituspijean
430f3d9000 [enh] to level 6 2020-04-18 18:48:34 +02:00
tituspijean
c874edf301 [fix] use specified nodejs version 2020-04-18 18:48:34 +02:00
tituspijean
9eec37e215 [add] debug 2020-04-18 18:48:34 +02:00
tituspijean
82f0224d69 [add] g++ dependency 2020-04-18 18:48:34 +02:00
tituspijean
c01b1ebd3d [fix] retrieve actual zerotier port 2020-04-18 18:48:34 +02:00
tituspijean
234fe49cc5 [fix] overhaul
See #2.
Getting rid of start script.
cp instead of ln the "fake" ssl certificates.
2020-04-18 18:48:34 +02:00
tituspijean
b4fe63f9a7 [upg] nodejs to v12 2020-04-18 18:48:34 +02:00
tituspijean
0a008ec372 [enh] test for ZeroTier installation 2020-04-18 18:48:34 +02:00
tituspijean
7a75dc0059 Initial commit 2019-12-15 16:09:28 +01:00