Commit graph

2050 commits

Author SHA1 Message Date
Josue-T
bdf923aafc Solve issue with ynh_restore_file (#384)
* Solve issue with ynh_restore_file

While we use the `ynh_restore_file` if the destination already exist the `mv` fonction don't work correctly. By this commit the old directory is renamed.

* Move to /home/yunohost.conf file if already exist in restoration

* Remove if the file is bigger than 500Mo

* Use a local variable

* Fix DEST_PATH

* Fix comment and typo

* More precise comment regarding the behavior if DEST_PATH exists
2018-03-15 18:58:11 +01:00
Alexandre Aubin
fc8537643b
Merge pull request #398 from YunoHost/backup_core_only
[enh] Tranfer backup_core_only to BACKUP_CORE_ONLY
2018-03-15 17:32:39 +01:00
Maniack Crudelis
65dab2022c
Merge branch 'unstable' into backup_core_only 2018-03-15 17:27:40 +01:00
Alexandre Aubin
44325ec87b
Merge pull request #440 from YunoHost/clean-helper-doc
Misc fixes in the helpers to clean the autodoc
2018-03-15 00:41:55 +01:00
Alexandre Aubin
af22474a50 Add some [internal] flags in the comment to hide a few helpers from autodoc 2018-03-10 19:01:37 +01:00
Alexandre Aubin
935b972d6e Misc fixes in the helpers to clean the autodoc 2018-03-09 17:55:07 +01:00
Maniack Crudelis
8652435d8a
[fix] Remove warning from equivs 2018-03-08 18:53:21 +01:00
Laurent Peuch
bdface200a
Merge pull request #428 from jlescher/unstable
[Fix] Stronger match for acme-challenge nginx location
2018-03-07 22:07:58 +01:00
Alexandre Aubin
f79e25f822 Merge branch 'testing' into unstable 2018-03-07 12:45:36 +00:00
Alexandre Aubin
00481af499 Update changelog for 2.7.10 release 2018-03-07 12:44:15 +00:00
Alexandre Aubin
89215f0402 [fix] Fail2ban conf/filter was not matching failed login attempts... 2018-03-07 12:43:10 +00:00
Laurent Peuch
a80f7471bd
Merge pull request #438 from YunoHost/emaged-fail2ban-conf-was-broken-wtf
[fix] [critical] Fail2ban conf/filter was not matching failed login attempts...
2018-03-06 21:36:35 +01:00
Alexandre Aubin
9a80635dbc [fix] Fail2ban conf/filter was not matching failed login attempts... 2018-02-28 08:54:11 -05:00
Maniack Crudelis
79c7ba7615
Indentation fix... 2018-02-22 11:52:55 +01:00
Maniack Crudelis
b3c600ac1d
Merge branch 'unstable' into NO_BACKUP_UPGRADE 2018-02-22 11:51:27 +01:00
Laurent Peuch
c992085009
Merge pull request #404 from YunoHost/authorized_keys
[enh] add commands to manage authorized-keys of users
2018-02-15 05:51:57 +01:00
Laurent Peuch
79ee4cb13d
Merge pull request #403 from YunoHost/allow_ssh_user
Add commands to allow/disallow a yunohost user to connect in ssh
2018-02-15 05:51:46 +01:00
Alexandre Aubin
88d7a31bda
[fix] Microdecision : add mailutils as a dependency 2018-02-11 22:23:40 +01:00
Laurent Peuch
f70949b350 [fix] handle uncatched exception 2018-02-11 05:39:45 +01:00
Laurent Peuch
bda19df019
Merge pull request #399 from frju365/unstable
Fix security of nginx headers .
2018-02-09 19:32:23 +01:00
frju365
6ab29260cf
[enh] Mozilla directives. 2018-02-09 16:25:09 +01:00
frju365
4276a187a0
[enh] Comment with the URL of the Mozilla Directives 2018-02-09 16:24:16 +01:00
frju365
03273e3b94
[fix] typo 2018-02-09 16:20:29 +01:00
frju365
4f616fe8c7
[Fix] CSP cf. another PR. 2018-02-09 16:11:41 +01:00
frju365
c824f403a4
[Fix] Referrer, CSP bad conf. cf. Another pr. 2018-02-09 16:10:31 +01:00
Laurent Peuch
a343e39dda
Merge pull request #425 from Josue-T/systemd_config
Add service name as arg (optionnal) in helper systemd
2018-02-09 00:40:24 +01:00
Laurent Peuch
8c0b66420f
Merge pull request #426 from YunoHost/make-etckeeper-stfu
[enh] Make etckeeper stfu
2018-02-09 00:40:06 +01:00
Laurent Peuch
b055a41d04
Merge pull request #421 from YunoHost/fix-1043-cron-dont-run-during-backup
[fix] Cron issue during custom backup
2018-02-08 03:46:23 +01:00
Laurent Peuch
62b3674f4c
Merge pull request #432 from YunoHost/backup_upgrade_verbose
[enh] --verbose for backup during upgrade
2018-02-08 03:17:41 +01:00
Laurent Peuch
c88cafbcbd
Merge pull request #360 from YunoHost/enh-add-post-hook-for-apps
Add post hooks for apps operation
2018-02-08 03:10:03 +01:00
Laurent Peuch
c6d6367077
Merge pull request #356 from ariasuni/unstable
[enh] enable gzip compression for common text mimetypes in Nginx
2018-02-08 00:40:34 +01:00
Laurent Peuch
92a3caa8b2
Merge pull request #373 from YunoHost/enh-phpfpm-helper-php7-stretch
Update php-fpm helpers to handle stretch/php7 and a smooth migration
2018-02-08 00:08:40 +01:00
Laurent Peuch
f59d0c5ab6
Merge pull request #435 from Jibec/patch-2
L10N - reset AR file
2018-02-07 22:11:18 +01:00
Jean-Baptiste
78b87a6288
reset file 2018-02-07 22:09:41 +01:00
Laurent Peuch
d6311b62fe
[fix] double backslash again 2018-02-07 22:04:35 +01:00
Laurent Peuch
06d6dd33b9
Merge pull request #434 from yunohost-bot/weblate-yunohost-yunohost
Update from Weblate.
2018-02-07 21:59:03 +01:00
ButterflyOfFire
89848a9b57 Added translation using Weblate (Arabic) 2018-02-07 20:58:26 +00:00
Laurent Peuch
a2ab9c6cac
Merge pull request #427 from YunoHost/enh_conf_folder_for_change-url
Add access to conf folder when executing change_url script
2018-02-07 21:58:02 +01:00
Laurent Peuch
fd3a17cc7e
Merge pull request #424 from YunoHost/clean-get-public-ip
[fix] Simplify get_public_ip
2018-02-07 21:57:02 +01:00
Laurent Peuch
52a54c5ab1
[mod] we are in 2017 2018-02-07 21:46:38 +01:00
Laurent Peuch
e5a41be518
[fix] backslash needs to be double escaped 2018-02-07 21:42:27 +01:00
Laurent Peuch
971a2b06b5
Merge pull request #420 from YunoHost/fix-1034-nginx-traversal
Fix 1037 nginx traversal
2018-02-07 21:39:18 +01:00
Laurent Peuch
400dc25d0e
Merge pull request #418 from YunoHost/checkurl_is_deprecated_meh
Moar depreciation warning about checkurl
2018-02-07 21:19:35 +01:00
Maniack Crudelis
8e92bb8328
[enh] --verbose for backup during upgrade 2018-02-04 19:26:49 +01:00
Maniack Crudelis
ebdc67e02f
[enh] Allow to disable the backup during the upgrade 2018-02-04 19:21:24 +01:00
Alexandre Aubin
61a60d0f5c Update changelog for 2.7.9 release 2018-01-30 17:43:01 +00:00
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
Alexandre Aubin
e15ccdf0b7
Microdecison: more weird spaces 2018-01-27 20:06:16 +01:00
Alexandre Aubin
1056977dc6
Microdecision: those weren't space, wtf 2018-01-27 20:03:42 +01:00
Jimmy Monin
9511e01f5a Add access to conf folder when executing change_url script 2018-01-27 16:16:42 +01:00