Commit graph

1839 commits

Author SHA1 Message Date
Alexandre Aubin
c5d06af20e Guess what ... If people manually tweaked their nginx.conf to enable gzip globally, this will break cert renewal .. 2020-12-11 20:40:45 +01:00
Alexandre Aubin
379c6e435c
Merge pull request #1094 from YunoHost/fix-too-many-recipient
[fix] Avoid too many recipient
2020-12-11 14:22:30 +01:00
ljf (zamentur)
116a15f9f1
[fix] Avoid to define the ip on wildcard subdomains too 2020-12-10 18:18:09 +01:00
Alexandre Aubin
8790d51b8c
Merge pull request #1101 from YunoHost/fix-dyndns-key-nobackup
[fix] Add Dyndns domains keys to backup
2020-12-10 14:11:09 +01:00
ljf
60d838843e [fix] Missing mkdir 2020-12-09 02:36:39 +01:00
ljf
9a87d8a52d [fix] Missing dir 2020-12-09 01:59:06 +01:00
ljf
ef9cc98d5e [enh] Use ynh_backup helpers 2020-12-09 01:35:40 +01:00
ljf
8b53d6562e [fix] Add Dyndns domains keys to backup 2020-12-09 01:31:17 +01:00
ljf
2c9a668afe [fix] Unix permission on dkim 2020-12-08 23:45:44 +01:00
ljf
2be911d369 [fix] Missing backup conf 2020-12-08 12:17:59 +01:00
ljf (zamentur)
11fb2659c6
[fix] Avoid too many recipient 2020-12-04 14:13:21 +01:00
Kayou
31cd163260
Merge pull request #1073 from ericgaspar/upgrade-n
Upgrade n version to upstream
2020-12-02 21:51:05 +01:00
Alexandre Aubin
b07fc2061a
Do not reload php-fpm if conf breaks it (#1087) 2020-11-30 23:20:45 +01:00
Kayou
7a0aa851a6
Keep helpers consistent 2020-11-26 11:00:24 +01:00
Kay0u
f495f1cf71
default value (True) for sync_perm param in helpers 2020-11-25 02:11:06 +01:00
Alexandre Aubin
144f98ad44
Gotta define a default value to avoid unbound variable 2020-11-10 17:09:23 +01:00
ericgaspar
9269c55cb0
Upgrade n version to upstream 2020-11-08 23:15:35 +01:00
Alexandre Aubin
7aa3ff5255 Added a .strip() to moulinette's check_output because was tired of adding it all over the places 2020-10-31 18:58:19 +01:00
Alexandre Aubin
c45c182980
Merge pull request #861 from YunoHost/permission_protection
Extends permissions features
2020-10-30 14:51:52 +01:00
Alexandre Aubin
a73683cb66
Merge pull request #1065 from YunoHost/fix-mariadb-max_allowed_packet
[fix] MySQL server has gone away in nextcloud
2020-10-27 17:17:23 +01:00
Alexandre Aubin
c979d1e640 Do not display a huge wall of boring logs while waiting for the service to start 2020-10-20 14:21:27 +02:00
ljf (zamentur)
02105568f8
[fix] MySQL server has gone away in nextcloud
[Warning] Aborted connection 110060 to db: 'nextcloud' user: 'nextcloud' host: 'localhost' (Got a packet bigger than 'max_allowed_packet' bytes)
2020-10-12 14:39:03 +02:00
Alexandre Aubin
ba884d5b6d Get rid of yunohost.local in main domain nginx conf ... because this interfer with using yunohost.local for postinstall. Just let it be handled by the default vhost 2020-10-03 16:32:31 +02:00
Alexandre Aubin
14644f0567
Merge pull request #1058 from Chostakovitch/fix_redis_hook
Fix redis hook (bash does not allow empty function)
2020-10-03 11:30:01 +02:00
Quentin Duchemin
6940ea1946
Fix redis hook (bash does not allow empty function
Add a dummy instruction equivalent to true
2020-10-03 11:24:47 +02:00
Alexandre Aubin
2c6736df29 These fail2ban jails do not exists anymore (since buster I guess ?) 2020-10-03 11:19:44 +02:00
Alexandre Aubin
aaba3fe6aa Merge branch 'dev' into permission_protection 2020-09-30 19:07:12 +02:00
Alexandre Aubin
76f042cca4 Looks like it's typo day today ~_~ 2020-09-30 19:06:49 +02:00
Alexandre Aubin
a7d105ace6 Merge branch 'dev' into permission_protection 2020-09-30 18:48:26 +02:00
Alexandre Aubin
c94a7614ad Only restore set -x option if it was previously set 2020-09-30 18:43:11 +02:00
Alexandre Aubin
950dbc6b46
Merge pull request #935 from YunoHost/remove_legacy_settings
Remove legacy settings
2020-09-30 17:06:08 +02:00
Alexandre Aubin
6e69df3768 Add configuration tests for dnsmasq, fail2ban, slapd 2020-09-29 16:24:30 +02:00
Alexandre Aubin
a1c1057ab4 Add redis hook to enforce permissions on /var/log/redis 2020-09-29 15:10:03 +02:00
Alexandre Aubin
dd9df5943e Set sub-permission labels as 'Mainlabel (Sublabel)' 2020-09-27 18:20:29 +02:00
Alexandre Aubin
ea685c46d4
Merge pull request #1055 from YunoHost/add-config-helper
Add ynh_add_config helper
2020-09-24 21:25:34 +02:00
Alexandre Aubin
815c8fc49e Refactor app_setting to better separate legacy permission setting vs. regular setting, hopefully make the core more readable 2020-09-24 20:25:28 +02:00
Alexandre Aubin
96873edba8
Merge pull request #818 from jershon/fix-1333-update_email_regex
Update the email regex so it accept the '+' sign.
2020-09-24 17:25:49 +02:00
Alexandre Aubin
14e8888078 My god, please no, there's no damn jessie anymore 2020-09-23 22:45:26 +02:00
Alexandre Aubin
b48f6521e2 Removing the pattern/required flag from --mail in user_create was intentional because it's now deprecated ... + restablish support xn-- stuff... 2020-09-23 21:55:15 +02:00
Alexandre Aubin
c0234a75f5 Better naming ? :s 2020-09-23 21:48:31 +02:00
Julien Jershon
69e20fa114 Update the email regex so it accept the '+' sign. Fix https://github.com/YunoHost/issues/issues/1333. 2020-09-23 01:56:40 +02:00
Alexandre Aubin
ebe6c8a5f2
Apply suggestions from code review (comment indentation)
Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com>
2020-09-20 21:15:59 +02:00
Alexandre Aubin
3b94b23516
Update data/helpers.d/utils
Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com>
2020-09-20 20:37:45 +02:00
Alexandre Aubin
1e79e50d68 Add ynh_add_config helper 2020-09-20 20:01:55 +02:00
Augustin Trancart
ffcd0e33ac Fix ynh_app_upstream_version : restore ability to read manifest
The documentation was saying A, the code was doing B, and calling
functions were expecting both A and B (see
ynh_check_app_version_changed). So this commit aims at making
everyone agree, by matching usage.
2020-09-19 15:29:38 +02:00
Alexandre Aubin
b50bf9d7d3
Merge pull request #1047 from SiM/backup-msg
move BACKUP_CORE_ONLY message to standard output
2020-09-16 17:43:53 +02:00
Alexandre Aubin
2864c07266
Merge pull request #1046 from YunoHost/backup_download
Add possibility to download backups
2020-09-16 17:41:08 +02:00
Alexandre Aubin
8bd1758c8c
Merge pull request #1052 from YunoHost/detect-wrong-arguments
[fix] detect misformated arguments in getopts
2020-09-16 17:17:18 +02:00
Alexandre Aubin
a60cd4f559
Diagnose ssl libs installed from sury (#1053)
* Small fix / syntax improvement in apt conf regen hook

* Diagnose, report and add a tip if some ssl libs are installed from Sury (shouldnt happen with the new pinning strategy, but some user still encounter issues because of this because of legacy installs)
2020-09-16 16:18:10 +02:00
Alexandre Aubin
d243fe76ce
[enh] Better problematic apt dependencies auto-investigation mechanism (#1051)
* [enh] Better problematic apt dependencies auto-investigation mechanism

* Misc tweak / fixes following tests
2020-09-16 16:14:03 +02:00