Commit graph

6093 commits

Author SHA1 Message Date
Alexandre Aubin
10ba00affe logger.exception -> logger.error because logger.exception displays a stacktrace and it ain't relevant in any of these cases 2021-02-02 03:57:33 +01:00
Alexandre Aubin
071d8c4cbe Misc fixes for cert / local CA management 2021-01-31 18:15:51 +01:00
Alexandre Aubin
d152e7299b
Merge pull request #1064 from YunoHost/move-ldap-init-before-postinstall
Move ldap initialization before the postinstall
2021-01-31 16:25:04 +01:00
Alexandre Aubin
29a3ad0484
Merge branch 'dev' into move-ldap-init-before-postinstall 2021-01-31 16:21:23 +01:00
Alexandre Aubin
f73c642795
Merge pull request #1063 from YunoHost/folder-init-in-regenconf
Initialize folders during .deb install instead of regen conf
2021-01-31 16:19:22 +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
b3244e0661
Merge pull request #1145 from YunoHost/report_low_total_space_for_rootfs
Report low total space for rootfs
2021-01-31 14:38:51 +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
35425a1b36
Merge pull request #1147 from YunoHost/dont_miserably_rerun_postinstall
Abort postinstall if /etc/yunohost/apps ain't empty
2021-01-30 16:47:04 +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
Alexandre Aubin
b6b33d99de
We don't want any output of ls, just the return code
Co-authored-by: Kayou <pierre@kayou.io>
2021-01-28 00:29:38 +01:00
Kayou
fea1ad474b
remove cache 2021-01-28 00:03:38 +01:00
Alexandre Aubin
048d4f56c4
Merge pull request #1156 from YunoHost/remove-travis
remove travis
2021-01-27 23:21:53 +01:00
Alexandre Aubin
3672b1dcd2
Merge pull request #1158 from smart4life/fix-letsencrypt-generation
Fix let's encrypt certificat generation
2021-01-27 23:21:13 +01:00
Sébastien Mennetrier
f9478b93cd Fix let's encrypt certificat generation 2021-01-27 11:00:32 +01:00
Kay0u
535fe5aebf
remove travis 2021-01-26 22:21:58 +01:00
Kayou
bf2ef03b9e
Merge pull request #1155 from YunoHost/fix-i18n-test-after-format
fix i18n test after format
2021-01-26 22:17:20 +01:00
Kay0u
0c382420d3
fix i18n test after format 2021-01-26 22:03:44 +01:00
Kay0u
a3f3f891e4
fix upnp closing port 2021-01-26 20:05:37 +01:00
Alexandre Aubin
ba3705bbc6 Recommend yunohost.local in yunoprompt 2021-01-25 17:51:17 +01:00
ljf
dccc3526e4 [fix] If uid is less than 1001 nsswitch ignore it 2021-01-25 04:00:38 +01:00
ljf
903d4d1881 [fix] If uid is less than 1000 nsswitch ignore it 2021-01-25 04:00:38 +01:00
Alexandre Aubin
8430e4f197 Misc issues with yunoprompt 2021-01-25 03:57:51 +01:00
Alexandre Aubin
2c73c50cce
Unused import 2021-01-24 05:05:28 +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
c091559e7b
Merge pull request #1077 from YunoHost/return-additional-error-data-to-api
Support more complex errors (be able to return additional data in a json structure)
2021-01-23 16:05:54 +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
68cc952a89 Remove stale strings 2021-01-23 01:30:20 +01:00
Alexandre Aubin
46138e9e73 We need that file for the first domain_add during postinstall 2021-01-23 01:27:14 +01:00
Kayou
4a302dc786
add auto-format-code (#1142)
* add auto-format-code
* add github remote
* add GITHUB_TOKEN to the remove url
* select Yunohost:dev
* force push as it's only a code format
* pull before running black
* working on a clean directory
* pull before push? /o\
* do not clone single branch
* a last one?
* only on dev branch
2021-01-23 00:21:02 +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
0606df529b Also add a check on debian/postinst because we're about to move a bunch of init step to debian/postinst instead of 'yunohost tools postintall' 2021-01-23 00:08:50 +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
Kayou
f5ab4443ff
We don't need this conflict anymore because the python3-miniupnpc package is no longer in our repositorie. 2021-01-22 14:13:58 +01:00
Alexandre Aubin
9c11fd58e2 service_regen_conf is deprecated in factor of regen_conf 2021-01-22 03:37:29 +01:00
Alexandre Aubin
c659216e23 Make sure tmp_script exists .. 2021-01-22 03:32:27 +01:00