Commit graph

4436 commits

Author SHA1 Message Date
Jean-Baptiste Lescher
50bd20fce9 [Fix] Stronger match for acme-challenge nginx location
If an application (for instance roundcube) installed at the root of a
subdomain has the following nginx configuration:

	location ~ ^/(.+/|)\. {
		deny all;
	}

acme-challenge matching location:

	location '/.well-known/acme-challenge'
	{
		default_type "text/plain";
		alias /tmp/acme-challenge-public/;
	}

will not be used.

This fix prevents further matching by regular expressions.

Co-authored-by: Tomo59 <thomas.gambier@gmail.com>
2018-01-30 17:52:03 +01:00
Jimmy Monin
9511e01f5a Add access to conf folder when executing change_url script 2018-01-27 16:16:42 +01:00
Alexandre Aubin
f5b5edb3bb This get_public_ips isn't really relevant anymore 2018-01-26 03:41:34 +01:00
Alexandre Aubin
e80f3a5a55 Fix imports and get_public_ip usage 2018-01-26 03:39:35 +01:00
Alexandre Aubin
4dfb1ee777 Move get_public_ip to an 'util' file 2018-01-26 03:19:22 +01:00
Laurent Peuch
be8ae067e6
Merge pull request #372 from YunoHost/tsig-sha256
Uses hmac-sha512 for dyndns TSIG
2018-01-24 10:03:34 +01:00
Laurent Peuch
54c9b8be10 [fix] we need absolute path for meltdown check 2018-01-17 19:00:35 +01:00
Laurent Peuch
177914ee00 [fix] useful error messages for meltdown check 2018-01-17 19:00:24 +01:00
Laurent Peuch
a58449ad51 [fix] wrap 'meltdown' diagnosis call in try/catch 2018-01-17 18:59:48 +01:00
Laurent Peuch
6078e42ed9 [fix] wrap 'nginx -t' diagnosis call in try/catch 2018-01-17 18:59:34 +01:00
ljf
fcd5873927 [fix] Cron issue during custom backup 2018-01-17 18:17:38 +01:00
Alexandre Aubin
b23bc434f8 Bigger depreciation / more explicit depreciation warning about checkurl... 2018-01-16 18:49:31 +01:00
Laurent Peuch
235a2ed2b7 [fix] as_dict was used for manifest comparison 2018-01-14 02:59:03 +01:00
Alexandre Aubin
d8435eaccc Add missing translation 2018-01-14 00:59:48 +01:00
Alexandre Aubin
6ccf054d5c Forgot to import errno 2018-01-14 00:40:44 +01:00
Laurent Peuch
af21d5ab0d
Merge pull request #416 from YunoHost/fix-1044-symlink-archives-dir
[fix] Broken symlink to the archives dir
2018-01-14 00:31:33 +01:00
Laurent Peuch
ee65c7c461
Merge pull request #417 from YunoHost/rename_app
[enh] new command 'app change-label'
2018-01-14 00:27:25 +01:00
Laurent Peuch
979123bf61 [fix] other part of the code didn't expected this new datastructure 2018-01-13 23:01:54 +01:00
Alexandre Aubin
294310e94f Merge commit '80cfa3a786173976cf61a4a0202291f0c08fc8fc' as 'src/yunohost/vendor/spectre-meltdown-checker' 2018-01-13 21:22:22 +01:00
Alexandre Aubin
de4d4fdd37 Moving spectre/meltdown checker script to vendor folder 2018-01-13 21:20:35 +01:00
Alexandre Aubin
3026035e41 Use --variant 3 to directly check Meltdown only 2018-01-13 21:18:09 +01:00
Laurent Peuch
f46351c7c5 [enh] uses speed47 script to check for meltdown vulnerability 2018-01-13 05:30:20 +01:00
Laurent Peuch
a934b3fd19 [mod] move spectre-meltdown check to diagnosis function 2018-01-13 05:20:50 +01:00
Laurent Peuch
b60d8ca822 [enh] add new api entry point to check for meltdown vulnerability 2018-01-13 05:20:27 +01:00
Laurent Peuch
ae6f65141a
Merge pull request #410 from YunoHost/fix_diagnosis_disk_not_available
[fix] was replacing the dictionnary with a string and thus breaking everything
2018-01-12 01:57:09 +01:00
Laurent Peuch
7363892794
Merge pull request #412 from YunoHost/backports_packages_in_diagnosis
[enh] display backports .deb in diagnosis
2018-01-12 01:54:53 +01:00
Laurent Peuch
935f609136 [enh] display backports .deb in diagnosis 2018-01-12 01:54:13 +01:00
Laurent Peuch
de3e5bed25
Merge pull request #411 from YunoHost/regen_conf_in_diagnosis
[enh] display regen-conf in private diagnosis
2018-01-11 15:53:50 +01:00
Laurent Peuch
27b8dc392f
Merge pull request #389 from YunoHost/clean-postinstall-firewall
Use systemd for all service operations (+ update postinstall firewall enable/start)
2018-01-11 14:15:17 +01:00
Laurent Peuch
f78d9009d8
Merge pull request #413 from YunoHost/nginx-t_in_diagnosis
[enh] add nginx -t output to diagnosis
2018-01-11 14:13:31 +01:00
Laurent Peuch
3759df8f06
Merge pull request #414 from YunoHost/package_version_stable_testing_unstable
Package version stable testing unstable
2018-01-11 14:13:11 +01:00
Laurent Peuch
2b2676a9c1 [enh] add nginx -t output to diagnosis 2018-01-11 04:49:21 +01:00
Laurent Peuch
28450ce8c3 [enh] new command 'app change-label' 2018-01-10 16:30:20 +01:00
Laurent Peuch
9163051af3
Merge pull request #407 from YunoHost/save_app_conf
[enh] save the conf/ directory of app during installation and upgrade
2018-01-09 23:15:35 +01:00
Jimmy Monin
20f0e9a40c Fix conf dir clean-up 2018-01-09 23:01:19 +01:00
JimboJoe
4f679367eb
Typo 2018-01-09 20:30:43 +01:00
ljf
8d2848a426 [enh] Warn users their symlink archives directory is broken 2018-01-09 13:00:40 +01:00
ljf (zamentur)
436c6d74bb
[fix] Add ability to symlink the archives dir 2018-01-09 12:07:47 +01:00
JocelynDelalande
d7967f6d5f
Fix comment lines in DNS zone example (using ";")
If copy-pasted into a registrar zone file, the provided DNS zone sample for a given domain will fail, because comments lines start with "#"

However, comments character in DNS zone files is ";" not "#"

https://en.wikipedia.org/wiki/Zone_file
2018-01-08 17:59:53 +01:00
Laurent Peuch
e0edbeca35 [enh] --version now display stable/testing/unstable information 2018-01-08 04:13:55 +01:00
Laurent Peuch
70e08ed40f [fix] pkg is None, can't continue loop 2018-01-08 02:47:36 +01:00
Laurent Peuch
97fea34124 [enh] display regen-conf in private diagnosis 2018-01-07 20:23:00 +01:00
Laurent Peuch
cb29e20b9f
Merge pull request #409 from YunoHost/better_error_ux_app_not_available
Better error ux app not available
2018-01-07 18:45:01 +01:00
Laurent Peuch
93fee93a58
Merge pull request #402 from YunoHost/app_info_change_url
[enh] make change_url possibility available on the API for the admin
2018-01-07 18:42:47 +01:00
Laurent Peuch
0922568d64 [fix] was replacing the dictionnary with a string and thus breaking everything 2018-01-07 17:34:27 +01:00
Laurent Peuch
e8196cbc98 [doc] add comment to speak intent 2018-01-07 17:23:02 +01:00
Laurent Peuch
9cd760defd [enh] make exceptions messages more obivous 2018-01-07 17:22:25 +01:00
Laurent Peuch
297026e654 [fix] improve UX, previous message was unclear for users
qsd
2018-01-07 17:22:03 +01:00
Laurent Peuch
f20ef340dc [fix] .github was not in the right folder 2018-01-07 02:04:18 +01:00
Alexandre Aubin
08caf2e07f Fixing a few stuff after tests.. 2018-01-06 22:43:04 +01:00