Commit graph

416 commits

Author SHA1 Message Date
Alexandre Aubin
24cc26d85a Support logfiles not ending with .log in logrotate ... 2019-09-26 14:23:01 +02:00
Josué Tille
8a92727fb1
Check that exist before the calculate the checksum 2019-09-07 13:01:45 +02:00
Bram
1d293c14a5
Merge pull request #743 from YunoHost/fix-wrong-usage-of-mysql-user-exists
Fix wrong usage of ynh_mysql_user_exists
2019-08-28 23:59:56 +02:00
Bram
9f07031da9
Merge pull request #762 from madtibo/pg_pwd_security
[enh] PostgreSQL password security
2019-08-28 23:59:43 +02:00
madtibo
21c6d1b159 change PostgreSQL -password' authentication to 'md5' 2019-08-24 17:52:01 +02:00
Alexandre Aubin
ed8fa76624
Merge pull request #753 from yalh76/update-n
[enh] Upgrade n version (also for compatibility with arm64)
2019-08-24 16:02:42 +02:00
Bram
376cce4f53
Merge pull request #752 from YunoHost/fix_getopts
[fix] Fix values starting by - in getopts
2019-08-05 11:25:03 +02:00
Maniack Crudelis
0ad8daa6ae
Remove escape character in getopts 2019-07-21 18:35:19 +02:00
Alexandre Aubin
7e99541064 Fix legit variable getting caught as an info to be redacted by the core 2019-07-18 18:16:46 +02:00
Alexandre Aubin
46310dbb6c Misc fixes in helpers comments to fix/improve autogenerated doc 2019-07-11 22:51:41 +02:00
yalh76
ce4fb552ae
upgrade n version 2019-07-10 23:29:38 +02:00
Maniack Crudelis
3a8d312ed2
[fix] Fix values starting by - in getopts 2019-07-09 20:06:16 +02:00
Alexandre Aubin
59e2db99ba
Merge branch 'stretch-unstable' into group_permission 2019-07-05 20:59:10 +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
1810808acd Fix wrong usage of ynh_mysql_user_exists 2019-06-28 16:34:15 +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
Alexandre Aubin
ad3ebceff6 Fix old 'auth' thing in app helpers 2019-05-31 18:45:21 +02:00
Alexandre Aubin
24cfc15536 Merge branch 'stretch-unstable' into group_permission 2019-05-31 18:15:09 +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
Josué Tille
fde8cafa4e
Merge remote-tracking branch 'upstream/stretch-unstable' into group_permission 2019-05-10 22:53:06 +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