Commit graph

1069 commits

Author SHA1 Message Date
Alexandre Aubin
826429cf0b Change from #802 was only about the yunohost jail ... this should be global >.> 2019-10-08 20:11:39 +02:00
J. Doe
bf1ad164da change maxretry of fail2ban from 6 to 10 2019-10-08 18:50:29 +02:00
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
fbfa249ff5 Remove binding to IPv6 ::1 as it makes ipv4-only instances crash... (unable to bind to ::1) 2019-07-05 20:50:13 +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
aa25fff70a
Merge pull request #741 from YunoHost/less-madness-in-debug-log-from-script-progression
Use set +x / -x to hide the whole ynh_script_progression computation
2019-06-30 00:30:33 +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
b9197b6269 Fix 'unable to write random state in SSL init (same patch as for yunohost-admin) 2019-06-27 00:57:28 +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
d8b086a06a [fix] Running slapindex seems to fix the previous issues about LDAP indexing stuff 2019-06-06 19:26:49 +02:00
Alexandre Aubin
e63d3986b2 [fix] This need quotes because this can be sourced by another program 2019-06-05 17:33:53 +02:00
Alexandre Aubin
7ecd606d04 [fix] Do not index cn,mail and virtualdomain as it's causing some weird issues in the mail stack ... 2019-06-05 16:25:25 +02:00
Alexandre Aubin
769ba5771d Indexing gidNumber / uidNumber trigger weird issues when logging in through SSH (or the 'I have no name' shell when loggin in as admin) 2019-06-04 15:09:09 +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
MCMic
a1ab50dcf1
Add indexes for fields listed by slapd in the logs
I get lots of suggestion of indexes by slapd in my logs:

 <= mdb_equality_candidates: (cn) not indexed
 <= mdb_equality_candidates: (gidNumber) not indexed
 <= mdb_equality_candidates: (mail) not indexed
 <= mdb_equality_candidates: (member) not indexed
 <= mdb_equality_candidates: (memberUid) not indexed
 <= mdb_equality_candidates: (sudoUser) not indexed
 <= mdb_equality_candidates: (uidNumber) not indexed
 <= mdb_equality_candidates: (uniqueMember) not indexed
 <= mdb_equality_candidates: (virtualdomain) not indexed
 <= mdb_substring_candidates: (sudoUser) not indexed

Since Yunohost makes it hard to edit LDAP server configuration (see https://github.com/YunoHost/issues/issues/1350), the default configuration should contain indexes for the fields used by Yunohost a lot.
2019-05-23 14:49:27 +00:00
Alexandre Aubin
b3d29238c4
Merge pull request #721 from YunoHost/authenticate-as-root
[enh] Simplify the whole LDAP interface thing
2019-05-22 17:51:04 +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
Maximilien Thiel
d31c81b18d [fix] Update censurfridns ipv6
Previous Unicast IPV6 for censurfridns,dk was out of date
2019-05-21 16:35:52 +01: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
53fa313c62
Merge branch 'stretch-unstable' into enh-email-rate-limit 2019-05-17 19:06:07 +02:00
Alexandre Aubin
f49b74f835
Merge pull request #722 from YunoHost/disable_vrfy_command_postfix
Disable VRFY command in Postfix command
2019-05-17 19:05:21 +02:00
Alexandre Aubin
331bdb53aa
Merge branch 'stretch-unstable' into authenticate-as-root 2019-05-16 17:08:48 +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
Alexandre Aubin
c077b8def3
5s rate delay instead of 12s 2019-05-14 19:31:47 +02:00
Alexandre Aubin
93d0fbc4cf
Merge pull request #696 from rds13/featurePostfixRemoveTLSv1Support
[enh] Propose a setting to remove support for TLSv1 and TLSv1.1 in Postfix
2019-05-14 19:19:25 +02:00
Josue-T
ece153e8b1
Disable VRFY command in Postfix command 2019-05-10 15:44:59 +02:00
Alexandre Aubin
ce0ffe9324 And in fact ... neither do we need this stuff ? 2019-05-10 02:28:26 +02:00
Alexandre Aubin
afdfb13d68 We probably don't need this stuff in the actionsmap anymore ... 2019-05-10 02:16:31 +02:00
Alexandre Aubin
1781dd7abe
Merge branch 'stretch-unstable' into rework-update-and-upgrade 2019-05-09 17:15:41 +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