Commit graph

399 commits

Author SHA1 Message Date
Alexandre Aubin
1c5220f7cb Support logfiles not ending with .log in logrotate ... 2019-10-08 18:37:20 +02:00
Alexandre Aubin
0e3a131095 More accurate greps to identify that sury packages are installed 2019-10-08 18:37:01 +02:00
Alexandre Aubin
077e5c463c Fucking ugly workaround for the goddamn dependency nighmare from sury djeezus kraiste 2019-10-08 18:36:50 +02:00
Alexandre Aubin
8212010979 Fix legit variable getting caught as an info to be redacted by the core 2019-08-04 18:15:09 +02:00
Alexandre Aubin
3c0e0ca6c9
Merge pull request #742 from YunoHost/redact-secrets-from-logs
[enh] Redact secrets from logs
2019-07-02 22:02:03 +02:00
Alexandre Aubin
8917238159
Merge pull request #739 from YunoHost/proper-return-interface-for-app-config
[mod] Proper return interface for app config
2019-07-02 22:01:18 +02:00
Alexandre Aubin
5f1988c2ca Change the variable name so that it's catched by the redacting mechanism 2019-06-27 03:31:03 +02:00
Alexandre Aubin
5c7bad8472 Why not use the global variable here ... 2019-06-27 03:18:08 +02:00
Alexandre Aubin
8f72860e78
Use set +x / -x to hide the whole ynh_script_progression computation 2019-06-19 22:39:31 +02:00
Alexandre Aubin
5262b52cff Add a helper to easily return stuff in config script 2019-06-18 16:03:00 +02:00
Alexandre Aubin
3e75957f96
Merge pull request #731 from YunoHost/do_not_backup_data
Add exception for data backup
2019-06-17 14:23:46 +02:00
Maniack Crudelis
01e3be24da
Update data/helpers.d/backup
Co-Authored-By: Kayou <pierre.moltess@gmail.com>
2019-06-14 22:31:47 +02:00
Alexandre Aubin
e93526321a
Merge pull request #733 from YunoHost/ynh_print_off
Fix ynh_print_OFF when set -x is used in other helpers
2019-06-07 22:10:03 +02:00
Alexandre Aubin
61a9790978
Merge pull request #724 from YunoHost/unecessary-log-messages
Remove unecessary log messages
2019-06-04 00:14:05 +02:00
Maniack Crudelis
dcc493934c
Fix ynh_print_OFF when set -x is used in other helpers 2019-06-01 22:47:22 +02:00
Maniack Crudelis
68c30a943a
Add exception for data backup 2019-05-29 12:57:31 +02:00
Alexandre Aubin
6cdffe77a7
Merge pull request #687 from YunoHost/crash_debugger
Dump ynh log if an app script fails
2019-05-22 17:42:58 +02:00
Alexandre Aubin
81c7d121d5
Merge pull request #720 from YunoHost/helpers_sso_settings
Add helpers for sso config
2019-05-21 15:07:28 +02:00
Alexandre Aubin
a61f956a03
Set minimum version for these new helpers 2019-05-21 15:07:13 +02:00
Alexandre Aubin
f14d5c4543
Merge pull request #723 from YunoHost/optimize-script-progression
Optimize ynh_script_progression
2019-05-21 15:06:10 +02:00
Alexandre Aubin
6376b05b60 Add a small tempo to avoid the next message being mixed up with other DEBUG messages 2019-05-18 19:29:18 +02:00
Alexandre Aubin
899d3d4f10 Improve ynh_exit_properly detection for case where failure happens right at the beginning 2019-05-18 18:46:46 +02:00
Alexandre Aubin
95d2c8f799 Inject a new environment variable YNH_INTERFACE to test inside helpers if we're using Yunohost from the CLI or API 2019-05-18 18:31:02 +02:00
Maniack Crudelis
ee33e60ab3 Set min version to 3.5.0 for helpers 2019-05-18 11:47:50 +02:00
Alexandre Aubin
1294f4c22f Optimize ynh_script_progression 2019-05-15 20:37:36 +02:00
Alexandre Aubin
7523ef3aed Remove unecessary log messages 2019-05-15 20:00:37 +02:00
Maniack Crudelis
a4f3248545
Restore usage of ynh_print_err 2019-05-08 01:04:57 +02:00
Maniack Crudelis
e454100276
Merge branch 'stretch-unstable' into crash_debugger 2019-05-08 01:03:21 +02:00
Maniack Crudelis
fa0e37f8da Print the log only in CLI 2019-05-08 00:56:18 +02:00
Maniack Crudelis
1db72311d2
Add helpers for sso config
And especially restore the old documentation about those keys
2019-05-06 12:52:47 +02:00
Alexandre Aubin
719c5c49c9 'psql' -> 'postgresql' 2019-04-25 20:57:02 +02:00
Alexandre Aubin
1572717034 Merge 'debug' in 'logging' 2019-04-25 20:54:33 +02:00
Alexandre Aubin
0c08caca89 Rename 'print' to 'logging' 2019-04-25 20:52:44 +02:00
Alexandre Aubin
81be638e80 Unecessary source of getopts ? 2019-04-25 20:51:14 +02:00
Alexandre Aubin
6019a38919 Merge 'system' in 'utils' 2019-04-25 20:49:58 +02:00
Alexandre Aubin
c35aaea945 Move systemd_action in 'systemd' 2019-04-25 20:46:10 +02:00
Alexandre Aubin
267c4119a8 Rename 'filesystem' to 'backup' (backup-related stuff) and migrate some stuff to/from 'utils' 2019-04-25 20:41:38 +02:00
Alexandre Aubin
3c22feb0cb Move string normalization helpers to 'string' 2019-04-25 20:19:04 +02:00
Alexandre Aubin
125a52e54b Rename package to apt to be more accurate about what it does 2019-04-25 20:16:16 +02:00
Alexandre Aubin
73b1ff169f Move ynh_webpath_available/register to setting 2019-04-25 20:14:52 +02:00
Alexandre Aubin
23e31daf64 Merge 'ip' in 'network' ... 2019-04-25 20:13:35 +02:00
Alexandre Aubin
eb89fc04b1 Split 'backend' into fail2ban, logrotate, nginx, php, systemd 2019-04-25 20:09:57 +02:00
Alexandre Aubin
2426a786c3
Merge branch 'stretch-unstable' into use_ynh_systemd_action 2019-04-25 13:48:43 +02:00
Alexandre Aubin
fdcf934638
Merge pull request #712 from YunoHost/use_printers
Use printers in helpers
2019-04-25 13:47:18 +02:00
Alexandre Aubin
1cefbcca34
Merge pull request #713 from yalh76/stretch-unstable
Force disconnection of all clients connected to the database
2019-04-25 13:47:01 +02:00
Alexandre Aubin
c55afa44ac
Merge pull request #715 from YunoHost/expected_progression
[enh] Add the current work to the progression bar
2019-04-25 13:46:48 +02:00
Alexandre Aubin
96150455b9
Merge pull request #703 from YunoHost/ynh_setup_source-restore_support
Add support in restore script of ynh_setup_source
2019-04-22 14:39:41 +02:00
Alexandre Aubin
dc19e579ff
Add comment explaining the mystic incantation 2019-04-22 14:31:38 +02:00
Maniack Crudelis
d11d31dbf2
Fix ynh_use_logrotate with getopts
$1 contains --logfile=

Merged as a micro decision.
2019-04-22 00:27:01 +02:00
Maniack Crudelis
4ed252e894
Fix behavior with --last 2019-04-17 20:37:19 +02:00