Alexandre Aubin
6637c8a84d
Tell systemctl to stfu about creating symlinks when enabling/disabling services
2020-05-23 13:52:08 +02:00
Kay0u
b6ced38314
Merge branch 'stretch-unstable' of https://github.com/YunoHost/yunohost into stretch-unstable
2020-05-22 21:05:23 +02:00
Kay0u
85f1802ec9
[fix] empty services.yml file
2020-05-22 21:05:19 +02:00
Alexandre Aubin
33667d7b1a
Merge pull request #998 from YunoHost/psql-ynh_psql_setup_db-password
...
Do not create a new password if the user already exists
2020-05-22 17:43:05 +02:00
Alexandre Aubin
2a631fa23d
We don't need those color codes... and warnings are already warnings...
2020-05-22 13:59:28 +02:00
Alexandre Aubin
bdbf1822c7
Add --quiet, otherwise lines like -- Logs being will be thought as an arg by getopts
2020-05-22 13:56:50 +02:00
Alexandre Aubin
2bcfb5a15a
Don't display the hostname when calling journalctl, this takes horizontal space for nothing
2020-05-22 13:40:53 +02:00
Kayou
bb8c7ebb6a
Do not create a new password if the user already exists
2020-05-22 13:39:46 +02:00
Alexandre Aubin
1f1b233839
Use a .get() here to avoid crashing if key doesn't exist
2020-05-22 13:28:38 +02:00
Julien Rabier
f0356782d5
fix v6 detection when using wg-quick
...
and probably other weird routing setups
2020-05-21 15:54:14 +00:00
Kay0u
7ad9fbd5b9
[fix] helper doc
2020-05-20 15:21:46 +02:00
Alexandre Aubin
ea43b46352
Merge pull request #994 from YunoHost/ugly-hack-for-stupid-sury-issues
...
Ugly hack to workaround sury pinning issues when installing dependencies
2020-05-19 23:01:27 +02:00
Alexandre Aubin
dd3dd9569a
Merge pull request #993 from YunoHost/rework-postgresql-first-time-helper
...
[fix] Rework ynh_psql_test_if_first_run
2020-05-19 20:07:03 +02:00
Alexandre Aubin
94ea826518
Most of the time there's no .ini file and it still displays an info about the file not existing when attempting to remove it
2020-05-18 01:31:37 +02:00
Alexandre Aubin
fc30d82df5
Ugly hack to workaround sury pinning issues when installing dependencies
2020-05-18 00:41:05 +02:00
Alexandre Aubin
2d2b3e6bb6
Rework ynh_psql_test_if_first_run
2020-05-17 04:22:44 +02:00
Alexandre Aubin
5c8c07b8c9
More cleaning of app install logs: we don't really care about debug for ynh_wait_dpkg_free
2020-05-17 03:24:26 +02:00
Alexandre Aubin
1cd7ffea66
Report unknown status for services as just a warning
2020-05-16 00:21:01 +02:00
Alexandre Aubin
e140546092
Hmgn need to make sure to write this on a new line
2020-05-14 19:13:08 +02:00
Alexandre Aubin
9cbd368dca
Tweak apt/dpkg options to avoid the shitload of lines about progress bar stuff in logs
2020-05-14 04:46:18 +02:00
Alexandre Aubin
e67dc79197
Add the damn short hostname to /etc/hosts automagically
2020-05-14 01:47:34 +02:00
Alexandre Aubin
429df8c43f
Ugh smaller treshold because people have exactly 500MB ...
2020-05-11 00:44:37 +02:00
Alexandre Aubin
c346f5f1df
This file sometimes has stupid \x00 inside ~.~
2020-05-09 22:08:49 +02:00
Alexandre Aubin
aecbb14aa4
Add a --human-readable option to diagnosis_show() and a --email to diagnosis_run() to email issues found by cron job
2020-05-09 01:46:28 +02:00
Alexandre Aubin
23147161d6
Change warning/errors about swap as info instead ... add a tip about the fact that having swap on SD or SSD is dangerous
2020-05-08 23:56:23 +02:00
Alexandre Aubin
a799740afa
Move meltdown check to base system
2020-05-08 23:47:18 +02:00
Augustin Trancart
bcb16416b2
Remove default value for deprecated log_type args
...
The service_add method check if the argument is empty, but what it
really wants to do is checking if the args is not systemd (as far as I
understand). As this value is deprecated, better remove the default to
fix this logic.
2020-05-08 17:59:46 +02:00
Alexandre Aubin
ba709be534
Merge pull request #963 from YunoHost/enforce-permissions-in-etc-yunhost
...
[fix] Enforce permissions for stuff in /etc/yunohost/
2020-05-08 04:15:10 +02:00
Bram
dbac27cc38
Merge pull request #961 from YunoHost/add-wss-to-default-src
...
[enh] Real CSP headers for the webadmin
2020-05-07 21:35:24 +02:00
Bram
42bc8c354a
Merge pull request #972 from YunoHost/wget-timeout
...
Add a timeout to wget in helpers
2020-05-04 14:23:36 +02:00
Alexandre Aubin
d29bf04e7c
Add a timeout to wget in helpers
2020-05-03 17:37:33 +02:00
Alexandre Aubin
f21b85640b
Merge pull request #969 from YunoHost/ynh_get_ram-improvement
...
[enh] ynh_get_ram
2020-05-03 16:44:00 +02:00
Alexandre Aubin
b10b9b50a1
Merge pull request #970 from YunoHost/ynh_install_app_dependencies
...
[Epic Fix] ynh_install_app_dependencies
2020-05-03 16:42:22 +02:00
Kayou
cab6fb8b78
Update logging
2020-05-03 12:11:47 +02:00
Alexandre Aubin
25a1e56921
Misc tweak for disk usage diagnosis, some values were inconsistent / bad UX / ...
2020-05-03 00:17:01 +02:00
Bram
94c9bf0f6d
Merge pull request #939 from YunoHost/nodejs_helper
...
Make nodejs helpers easier to use
2020-05-02 23:10:39 +02:00
Kayou
843e88c67d
[Epic Fix] ynh_install_app_dependencies
2020-05-02 14:50:00 +02:00
Kayou
8559fb6465
[enh] ynh_get_ram
2020-05-02 14:21:29 +02:00
Alexandre Aubin
a7d52af77e
Merge pull request #960 from YunoHost/smarter-debug-logs
...
Try to show smarter / more useful logs by filtering irrelevant lines like set +x etc
2020-05-02 02:14:52 +02:00
Alexandre Aubin
acba1c4bc8
Comment about why not using ynh_die
2020-05-02 02:13:09 +02:00
ljf
572feafc80
[fix] Remove point in reverse DNS
2020-04-30 20:06:43 +02:00
Alexandre Aubin
86810fb68a
Goddamit Aleks, check your damn code before release yo
2020-04-30 18:03:44 +02:00
Alexandre Aubin
be883c3aef
Let's have the short option be -i instead of -f
2020-04-30 05:23:23 +02:00
Alexandre Aubin
e9f359e5f0
Call exit 1 directly instead of ynh_die to avoid a full arg parse just to exit..
2020-04-30 05:14:29 +02:00
Alexandre Aubin
1cb330823d
Try to show smarter / more useful logs by filtering irrelevant lines like 'set +x' etc
2020-04-30 05:09:56 +02:00
Alexandre Aubin
ba27c2ad05
Merge pull request #964 from YunoHost/fix-reversednscheck
...
[fix] Reverse DNS check
2020-04-30 03:13:21 +02:00
ljf
8de8d0ad6f
[fix] Reverse DNS check
2020-04-30 02:44:51 +02:00
Alexandre Aubin
aaccb54775
Hmf, comparison return a warning if swap is exactly 512..
2020-04-30 02:40:22 +02:00
Alexandre Aubin
4f8aa5e338
Propagate route check to ip diagnoser as well :/
2020-04-30 02:38:27 +02:00
Alexandre Aubin
0b75f5d437
IPv6 resolvers make everything super slow on IPv4-only servers
2020-04-29 19:20:29 +02:00