Commit graph

1934 commits

Author SHA1 Message Date
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
Alexandre Aubin
8430e4f197 Misc issues with yunoprompt 2021-01-25 03:57:51 +01:00
Alexandre Aubin
bff5ad59dc
Merge pull request #1070 from cyxae/enh-app-search
Define a new "yunohost app search" command
2021-01-24 05:04:13 +01:00
Alexandre Aubin
bcb83b86d2
Merge pull request #1146 from YunoHost/misc_rename_and_alias
Misc command rename and alias
2021-01-24 05:02:20 +01:00
Alexandre Aubin
a105b58541
Merge pull request #1148 from YunoHost/prevent_apache2_install
Prevent the installation of apache2 ...
2021-01-24 05:01:32 +01:00
Alexandre Aubin
c0fc29eef9
Merge pull request #1137 from ericgaspar/N---Node.js-version-management
Upgrade n to v7.0.0
2021-01-23 16:05:02 +01:00
Alexandre Aubin
72822ce987 Replace #sub_path_only and #root_path_only in the template *before* calling ynh_add_config, otherwise the it ain't in the checksum computation 2021-01-23 04:33:28 +01:00
Alexandre Aubin
c023b177fe Normalize conf template handling for nginx, php-fpm, systemd and fail2ban using ynh_add_config 2021-01-23 04:33:28 +01:00
Alexandre Aubin
46138e9e73 We need that file for the first domain_add during postinstall 2021-01-23 01:27:14 +01:00
Alexandre Aubin
75ebadfcff
Merge pull request #1090 from yalh76/composer
[enh] Adding composer helper
2021-01-23 00:13:08 +01:00
Alexandre Aubin
ed35915e7f Move ldap initialization before the postinstall 2021-01-23 00:03:25 +01:00
Alexandre Aubin
f755259790 Initialize folders during .deb install instead of regen conf 2021-01-23 00:01:26 +01:00
Alexandre Aubin
25f2bdf83a Refactor local CA management for more consistency and simpler postinstall 2021-01-22 23:58:12 +01:00
ericgaspar
6e9ab553b8
Add ynh_exec_as to official 2021-01-22 17:08:28 +01:00
Kay0u
0efd830743
fix can ynh-admin vuejs 2021-01-22 14:49:47 +01:00
Alexandre Aubin
148bfdac0d Also ban bind9 2021-01-21 23:59:22 +01:00
Alexandre Aubin
3e290d5c37 Prevent the installation of apache2 ... 2021-01-21 23:55:37 +01:00
Alexandre Aubin
1fdccb7c7a Forgot to rename function #oopsies 2021-01-21 23:30:15 +01:00
Alexandre Aubin
c7b55cdfad migrations migrate -> migrations run 2021-01-21 22:30:31 +01:00
Alexandre Aubin
e22168a98d log display -> log show (+ fix API route) 2021-01-21 21:35:37 +01:00
Alexandre Aubin
15e47b2a2b yunohost log share 2021-01-21 21:34:12 +01:00
Alexandre Aubin
fd61900352 Also complain about low rootfs total disk space during postinstall 2021-01-21 20:53:07 +01:00