Commit graph

425 commits

Author SHA1 Message Date
Alexandre Aubin
873b208cd6
Merge pull request #810 from YunoHost/support-logfile-not-ending-with-dot-log
Support logfiles not ending with .log in logrotate ...
2019-10-08 18:35:19 +02:00
Alexandre Aubin
c7b3f296de
Merge pull request #809 from YunoHost/ugly-sury-workaround
[fix] Fucking ugly workaround for the goddamn dependency nighmare from sury djeezus kraiste
2019-10-08 18:35:06 +02:00
Alexandre Aubin
fc78700904
More accurate greps to identify that sury packages are installed 2019-10-08 18:30:18 +02:00
Alexandre Aubin
24cc26d85a Support logfiles not ending with .log in logrotate ... 2019-09-26 14:23:01 +02:00
Alexandre Aubin
50fbfb0372
Fucking ugly workaround for the goddamn dependency nighmare from sury djeezus kraiste 2019-09-24 23:18:05 +02:00
Alexandre Aubin
f0e8ef8456
Merge branch 'stretch-unstable' into improve-permission-interface 2019-09-21 12:16:04 +02:00
Alexandre Aubin
fe8f7f2210 Update permission helper : have a single helper to manage urls, and a helper to add/remove groups to permission 2019-09-13 16:33:03 +02:00
Alexandre Aubin
574e9aea44 Simplify permission_create/urls/delete interface and code 2019-09-13 16:31:03 +02:00
Alexandre Aubin
a6d68c76c4 permission_update -> permission_urls (+ tweak the helper name) so that it's more differentiable from user_permission_update 2019-09-13 16:31:02 +02:00
Alexandre Aubin
f60af2053f permission_add/remove becomes create/delete to be consistent with user and group create/delete. In the context of permissions, add/remove shall instead be related to adding/removing an existing permission for a user or group. 2019-09-13 16:31:02 +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