Commit graph

1813 commits

Author SHA1 Message Date
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
Alexandre Aubin
6a618b0f33 Use php7.3 by default in CLI 2020-09-16 15:24:28 +02:00
Kayou
6945867f86
detect wrong arguments 2020-09-16 13:23:10 +02:00
Kayou
15a7967f47
Epic bugfix 2020-09-15 20:53:26 +02:00
Alexandre Aubin
9156b1e56a Fix warnings and weird stuff >_> 2020-09-14 17:54:20 +02:00
Alexandre Aubin
ca5f264baf Remove pipe char when trying to re-run apt with dry-run ... Because apt becomes absolutely crazy and make every package installed conflict with weird stuff 2020-09-14 17:06:40 +02:00
Maniack Crudelis
d2bd6b6c12 Add doc about is_big 2020-09-11 20:29:23 +02:00
ljf (zamentur)
5923114b20
[fix] Reduce right given to ynh users with ssh (#1050)
* [fix] Avoid ynh user to be able to use X11 forwarding

* [fix] Avoid some bad situations

* [fix] Remove chroot restrictions and x11 authorization

* Update comments

Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2020-09-11 20:27:40 +02:00
Alexandre Aubin
99b0a4184d
Apply suggestions from code review
Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com>
2020-09-11 16:47:49 +02:00
Alexandre Aubin
0ad014ad1f
Merge branch 'dev' into enh-relay-smtp 2020-09-10 17:50:10 +02:00
ljf (zamentur)
bc2de62c7b
[fix] Typo in setting name 2020-09-10 03:29:09 +02:00
ljf (zamentur)
ce9689e0ef
[enh] Force encrypt if we are using an smtp relay
Thanks to @khimaros for this suggestion
2020-09-10 03:27:13 +02:00
Alexandre Aubin
c6905ed2c8 Merge branch 'dev' into permission_protection 2020-09-09 02:22:35 +02:00
SiM
9a2a6385bb move BACKUP_CORE_ONLY msg to standard output 2020-09-08 18:10:34 +02:00
Alexandre Aubin
50f68e2886 Properly handle case where no match from grep 2020-09-08 17:25:11 +02:00
Alexandre Aubin
83585b2375
Merge branch 'dev' into permission_protection 2020-09-08 17:06:49 +02:00
Alexandre Aubin
8b98360fd2
Merge pull request #1042 from YunoHost/code-cleanup
Code cleanup
2020-09-08 16:55:58 +02:00
Alexandre Aubin
42f430d234 Get rid of misleading/old 'no_compress' option 2020-09-08 16:02:47 +02:00
Alexandre Aubin
4c75620ee9
Merge branch 'dev' into code-cleanup 2020-09-06 22:16:06 +02:00
Alexandre Aubin
5807d25667 Add possibility to download backups 2020-09-06 21:24:06 +02:00
Alexandre Aubin
9640b22a23 Do not miserably fail if no oom_reaper line found... 2020-09-05 19:15:34 +02:00
Alexandre Aubin
a5a3a905b6
Merge branch 'dev' into code-cleanup 2020-09-05 18:58:47 +02:00
Alexandre Aubin
66dc1dc578 Merge branch 'dev' into 4.1 2020-09-05 18:42:17 +02:00
Alexandre Aubin
3bc14bc280
Merge pull request #962 from ekhae/enh-1365-mail-user-creation-ux
[enh] c.f. issue 1365, asking a mail address during user creation is confusing ux, people try enter their existing mail addresses
2020-09-05 18:37:26 +02:00
Alexandre Aubin
5805acbf6a Reimplement --mail as a deprecated option 2020-09-05 18:35:35 +02:00
Alexandre Aubin
cc4db7a6f6
Add a comment explaining why the location is empty 2020-09-03 23:47:24 +02:00
ljf
f92b84bd94 [fix] SSO unavailable 2020-09-03 22:27:46 +02:00