Alexandre Aubin
37db93b49a
Typo
2021-04-01 23:27:56 +02:00
Alexandre Aubin
6f3df383d2
Don't backup/restore crons >_>
2021-03-10 19:06:26 +01:00
Alexandre Aubin
e639c8cd5a
Move applist refresh cron + lets encrypt renewal cron to regen conf
2021-03-10 19:00:24 +01:00
Alexandre Aubin
b85d959d7e
ynh_install_n: No need to mkdir ../conf
2021-03-08 20:56:32 +01:00
Éric Gaspar
ad602ee0a1
Upgrade n ( #1178 )
...
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2021-03-08 20:55:45 +01:00
Alexandre Aubin
db93b82b23
ynh_setup_source: add a check that we could actually parse SOURCE_URL
2021-03-08 18:41:54 +01:00
Alexandre Aubin
9e7eda681b
ynh_install_n: put the source descriptor file in the appropriate dir during backup/restore
2021-03-08 18:37:53 +01:00
Kay0u
5539751ca4
fix others_var
2021-03-08 17:38:10 +01:00
Alexandre Aubin
9b13c95f77
Re-add --others_var in fail2ban and systemd helpers for backward compatibility...
2021-03-02 19:54:24 +01:00
Alexandre Aubin
d763247df4
No need for mysql root password ( #912 )
...
* Get rid of /etc/yunohost/mysql
* Get rid of restore hook for mysql password
* Tab -> spaces
* declare->local lost while merging conflicts etc
* Gotta keep that var
2021-03-01 19:11:41 +01:00
yalh76
c86d432783
Fixing ___APP__
2021-02-28 18:56:30 +01:00
yalh76
fcea5a6af0
Make grep lazy
2021-02-28 13:38:10 +01:00
yalh76
c6d14219cc
Force destination to be replaced
2021-02-27 20:39:55 +01:00
Alexandre Aubin
cc6cc1860a
Do not backup damn cron jobs ... they will automatically be regenerated by the regenconf
2021-02-25 23:59:51 +01:00
Alexandre Aubin
2752a8e485
Deprecate yunohost dyndns installcron/removecron
2021-02-25 23:59:51 +01:00
Alexandre Aubin
7efc6dcd07
Handle the dyndns cron from the regenconf
2021-02-25 23:59:17 +01:00
Alexandre Aubin
675c4d0eea
Fix permission helper doc format
2021-02-25 16:57:57 +01:00
Alexandre Aubin
33f291be96
Fix ynh_replace_vars again, mystical bash is mystic...
2021-02-25 16:36:28 +01:00
Alexandre Aubin
3be6b822eb
Merge pull request #1173 from YunoHost/enh-ynh_systemd_action
...
[fix] Automatically call ynh_clean_check_starting when ynh_systemd_action fails
2021-02-25 16:00:31 +01:00
Kay0u
47420c6232
fix multimedia helper
2021-02-25 12:40:49 +01:00
Kay0u
1d3380415e
add missing getops
2021-02-25 11:17:46 +01:00
Kay0u
8f7ced35a5
fix ynh_systemd_action in case of service fails
2021-02-25 11:16:34 +01:00
Alexandre Aubin
53576a43e1
Merge pull request #1160 from YunoHost/use-jq-in-helpers
...
Use jq / output-as json to get info from yunohost commands instead of scraping with grep
2021-02-25 04:20:24 +01:00
Alexandre Aubin
d0088053fb
Merge pull request #1171 from YunoHost/fix-replace-string-escape
...
Gotta escape \ during ynh_replace_vars
2021-02-23 14:24:51 +01:00
Alexandre Aubin
5ba94f4add
Merge pull request #1172 from YunoHost/fix_ynh_add_config_basedir
...
Define YNH_APP_BASEDIR to be able to properly point to conf folder depending on the app script we're running
2021-02-23 14:24:43 +01:00
Alexandre Aubin
acfea3d76d
Define YNH_APP_BASEDIR to be able to properly point to conf folder depending on the app script we're running
2021-02-23 02:17:04 +01:00
Alexandre Aubin
59da04e92b
Gotta escape \ during ynh_replace_vars
2021-02-22 23:46:12 +01:00
Alexandre Aubin
29b511f5e3
Fix multimedia hook if not media directory yet
2021-02-22 23:42:52 +01:00
Alexandre Aubin
1adff77e3a
Add multimedia helpers and hooks
2021-02-22 21:01:23 +01:00
Alexandre Aubin
c7c1eaca4e
Mysql is a fucking joke (... trying to fix the mysql issue on RPi ...)
2021-02-21 05:04:06 +01:00
Alexandre Aubin
e7db40e9c8
Merge branch 'dev' into domain-remove-remove-apps
2021-02-13 20:43:46 +01:00
Alexandre Aubin
ac38e53a7c
Remove getopts from ynh_exec_as
2021-02-03 16:50:04 +01:00
Kay0u
bfd7257a8c
fix linter, remove allow_failure for corresponding tests
2021-02-02 16:16:07 +01:00
Kayou
ce1045a26a
fix the postinstall with double quotes
2021-02-02 11:10:52 +01:00
Alexandre Aubin
6500ac01ae
Make sure that dir exists :/
2021-02-02 05:55:19 +01:00
yunohost-bot
c4439110e1
[CI] Format code
2021-02-02 03:37:40 +00:00
Alexandre Aubin
06185a2392
Use jq / output-as json to get info from yunohost commands instead of scraping with grep
2021-02-02 03:45:13 +01:00
Alexandre Aubin
071d8c4cbe
Misc fixes for cert / local CA management
2021-01-31 18:15:51 +01:00
Alexandre Aubin
29a3ad0484
Merge branch 'dev' into move-ldap-init-before-postinstall
2021-01-31 16:21:23 +01:00
Alexandre Aubin
3c0649f1e3
Merge branch 'dev' into folder-init-in-regenconf
2021-01-31 16:19:03 +01:00
Alexandre Aubin
68e24c986a
Merge pull request #1062 from YunoHost/move-local-ca-mangement-to-regenconf
...
Refactor local CA management for more consistency and simpler postinstall
2021-01-31 16:17:20 +01:00
Alexandre Aubin
a618ae4f4d
Merge pull request #1118 from YunoHost/normalize-conf-template-handling
...
Normalize conf template handling for nginx, php-fpm, systemd and fail2ban using ynh_add_config
2021-01-31 16:15:45 +01:00
Alexandre Aubin
4476c968c0
Merge pull request #1154 from YunoHost/fix-upnp-closing-port
...
fix upnp closing port
2021-01-31 14:39:20 +01:00
Alexandre Aubin
2758c1636b
Merge branch 'dev' into report_low_total_space_for_rootfs
2021-01-31 14:38:34 +01:00
Alexandre Aubin
9d0bda548a
Do not ynh_die if systemctl action fails, because we don't want to exit in the middle of a remove script ... instead, return a non-zero code which should trigger script failure only if set -eu is enabled
2021-01-31 11:57:34 +01:00
Alexandre Aubin
598408aeb2
Merge pull request #1151 from ericgaspar/ynh_exec_as
...
Add ynh_exec_as to official
2021-01-30 16:43:59 +01:00
Alexandre Aubin
1c0cfec67d
Merge pull request #1150 from YunoHost/fix-can-ynh-admin-vuejs
...
fix cache ynh-admin vuejs
2021-01-30 15:06:31 +01:00
ericgaspar
43f121baed
Move ynh_exec_as helper to user section
2021-01-28 08:07:53 +01:00
Kayou
fea1ad474b
remove cache
2021-01-28 00:03:38 +01:00
Kay0u
a3f3f891e4
fix upnp closing port
2021-01-26 20:05:37 +01:00