Commit graph

530 commits

Author SHA1 Message Date
Josue-T
ab2b7db0cf Trigger error if app dependency install fails (Redmine 1006) + allow for 'or' in dependencies (#381)
* Solve issue https://dev.yunohost.org/issues/1006
I purpose this change to improve the helper 'ynh_install_app_dependencies'.
Before this change if the dependences are not installable the install didn't fail. By these change the helper generate an error and the install stop.

* Get the error if apt fail
* Remove old change
* Add dependence choice
2018-04-13 14:31:36 +02:00
Maniack Crudelis
6c7fb0cef2 Fix n usage (#446)
* Fix n usage
* Fix ynh_remove_nodejs as well
2018-04-13 14:28:58 +02:00
Maniack Crudelis
91d0965569 Add nodejs helpers (#441)
* Add nodejs helpers
* Typo fix
* Add explanation for load_n_path
* Remove useless line
* Remove another old useless line
* Move to a dedicated file
* Move to a dedicated file
* Fix check n already installed
2018-03-30 23:05:04 +02:00
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
Maniack Crudelis
65dab2022c
Merge branch 'unstable' into backup_core_only 2018-03-15 17:27:40 +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
Alexandre Aubin
9a80635dbc [fix] Fail2ban conf/filter was not matching failed login attempts... 2018-02-28 08:54:11 -05: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
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
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
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
971a2b06b5
Merge pull request #420 from YunoHost/fix-1034-nginx-traversal
Fix 1037 nginx traversal
2018-02-07 21:39:18 +01:00
Maniack Crudelis
8e92bb8328
[enh] --verbose for backup during upgrade 2018-02-04 19:26:49 +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
Alexandre Aubin
a1831ce0f8 Manage etckeeper.conf to make etckeeper quiet 2018-01-26 22:40:33 +01:00
Alexandre Aubin
a975e5e684
Improve comment / helper description 2018-01-26 22:21:14 +01:00
Josué Tille
9c4ddcca39 Add service name as arg (optionnal) 2018-01-26 21:17:18 +01:00
Maniack Crudelis
8a51b46d47
[Fix] Fix ynh_restore_upgradebackup 2018-01-22 19:06:37 +01:00
Alexandre Aubin
6f2acb7eb6
Wording 2018-01-18 21:10:08 +01:00
ljf
5cf6895ba2 [fix] Bad issue number in a comment 2018-01-17 17:22:13 +01:00
ljf
8a2434eb44 [fix] Nginx traversal issue 2018-01-17 17:19:06 +01:00
Laurent Peuch
e9c87da028
[fix] previous patch mistakely remove variable name 2018-01-15 22:59:20 +01:00
Alexandre Aubin
4eeeb783af
Keep only css and javascript for gzip types. 2018-01-14 02:11:11 +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
JimboJoe
e59e2da0b3
Harmonize help strings 2018-01-12 09:18:31 +01:00
Laurent Peuch
3ed6a2a7ef Revert "Create milter_headers.conf"
This reverts commit 0122c26492.
2018-01-11 15:15:22 +01:00
taziden
0784917573 Create milter_headers.conf
This file define a header : X-Spam which will be added to mail considered as spam by rspamd.

This configuration is defined here : https://rspamd.com/doc/modules/milter_headers.html and as of the time I'm creating this PR, this documentation page is not up-to-date because X-Spam was supposed to be added when extended_spam_headers is set to True and it's not the case anymore since 1.6.2.

This header is being used by rspamd.sieve which we push into dovecot in order to put spammy e-mails in Junk folder automatically.
2018-01-11 14:26:47 +01:00
JimboJoe
3fbcd1f110
Merge branch 'unstable' into default_version 2018-01-11 14:19:47 +01:00
Laurent Peuch
28450ce8c3 [enh] new command 'app change-label' 2018-01-10 16:30:20 +01:00
JimboJoe
a62edfd76e
Merge branch 'unstable' into helpers_local_variables 2018-01-10 08:22:33 +01:00
Maniack Crudelis
5289889174
Be nice with set -eu 2018-01-10 00:44:25 +01:00
Laurent Peuch
c55b8cec16 [enh] add commands to manage authorized-keys of users 2018-01-05 00:12:43 +01:00
Laurent Peuch
ab282e88a7 [enh] add commands to allow user to have access in ssh 2018-01-04 22:04:15 +01:00
ljf (zamentur)
a194e1fa1c
[enh] Maintain ssh client connexion 2018-01-04 18:44:13 +01:00
frju365
bd2f459e86
[Fix] Referrer 2017-12-30 11:18:58 +01:00
frju365
b655229cbd
[Fix] Referrer 2017-12-30 11:18:17 +01:00
frju365
804d0b29c3
[Fix] Add CSP in Admin conf 2017-12-29 18:25:17 +01:00
frju365
95835118bd
[Fix] CSP Standart. 2017-12-29 17:59:12 +01:00
frju365
5cd30e584d
[Fix] Nginx headers in Admin conf 2017-12-29 16:16:37 +01:00