Commit graph

966 commits

Author SHA1 Message Date
Maniack Crudelis
d77bc92b6e
Check if dpkg is broken 2019-01-31 17:54:25 +01:00
Maniack Crudelis
5f0fc73dce
Merge branch 'stretch-unstable' into use_getops 2019-01-31 13:55:58 +01:00
Alexandre Aubin
4a7e33a145 #564 broke the autoconfig, nginx was lookin for mailconfig.xml instead of main/config.xml 2019-01-30 17:34:51 +01:00
Alexandre Aubin
4e7a4f6827 Update IP for CCC Berlin 2019-01-30 15:25:02 +01:00
Alexandre Aubin
40382acbfb Update gozmail IP 2019-01-30 15:24:09 +01:00
opi
d5bf9a61b8
[fix] Remove old SMTP port (465) from Fail2ban jail.conf. Fix #1283 2019-01-30 14:10:16 +01:00
Alexandre Aubin
a26994fd70 Update DNS resolver list according to diyisp.org 2019-01-29 23:04:14 +01:00
Alexandre Aubin
68b01ae6ec Warn the user that ynh_secure_remove should be used with only one argument 2019-01-29 01:51:52 +01:00
Maniack Crudelis
b9fa901bda
Add ynh_script_progression 2019-01-28 16:31:54 +01:00
Maniack Crudelis
35ffadbe1c
Use ynh_systemd_action for backend helpers 2019-01-28 16:26:43 +01:00
Maniack Crudelis
2e1ccf2b99
Add ynh_systemd_action helper 2019-01-28 16:20:47 +01:00
Alexandre Aubin
081d4b2a46
Merge pull request #629 from YunoHost/Fix_ynh_system_user_create
[fix] Fix home_dir unset in ynh_system_user_create
2019-01-28 02:06:05 +01:00
Maniack Crudelis
0e96a8f659
Getopts's not yet implemented for other helpers. 2019-01-28 01:41:40 +01:00
Maniack Crudelis
63d62b4f7a
[enh] Allow to dig deeper into an archive with ynh_setup_source 2019-01-28 00:42:56 +01:00
Maniack Crudelis
a06ace4aa8
[fix] Fix home_dir unset in ynh_system_user_create 2019-01-27 23:46:26 +01:00
Maniack Crudelis
8ffd7e87f5
[fix] Update ynh_handle_getopts_args
Fix ynh_handle_getopts_args from https://github.com/YunoHost/yunohost/pull/561

- 2094557e1e (diff-a1f538c2eae234f6ba78e0bed0ae54db)
- 976f160afb (diff-a1f538c2eae234f6ba78e0bed0ae54db)
- 50f3291ea7 (diff-a1f538c2eae234f6ba78e0bed0ae54db)
- 540291a7e0 (diff-a1f538c2eae234f6ba78e0bed0ae54db)
2019-01-27 23:28:43 +01:00
Maniack Crudelis
e14d897c13
Merge branch 'stretch-unstable' into use_getops 2019-01-27 23:11:50 +01:00
Alexandre Aubin
0bc8300b88
Merge pull request #455 from YunoHost/enh_ynh_system_user_create_with_login_shell
[enh] Control the login shell when creating users in ynh_system_user_create
2019-01-27 15:58:27 +01:00
frju365
7b70305448
Update yunohost_admin.conf 2019-01-26 23:51:22 +01:00
Alexandre Aubin
b43a31bf6f
Merge pull request #624 from kay0u/enh-add-systemd-logs-for-apps
[enh] add systemd logs
2019-01-26 23:34:19 +01:00
Alexandre Aubin
c90108c172
Merge pull request #625 from YunoHost/clear_equivs
[enh] Keep it fucking clear...
2019-01-26 21:19:32 +01:00
Alexandre Aubin
661250d12e
Merge pull request #627 from YunoHost/fix_do_not_use_phpini
Fix #548
2019-01-26 21:19:14 +01:00
Alexandre Aubin
8ec7d361a4 Old comment from when http2 was disabled 2019-01-26 20:11:17 +01:00
Alexandre Aubin
951d60c6d5
Merge pull request #618 from frju365/patch-1
[fix] Propagate HTTP2, more_set_headers and ecdh_curve changes to webadmin
2019-01-26 20:06:24 +01:00
Alexandre Aubin
e706daa9b9
Update data/helpers.d/backend
Co-Authored-By: maniackcrudelis <maniackcrudelis@users.noreply.github.com>
2019-01-24 18:33:35 +01:00
Maniack Crudelis
cd993ff065
Print backup and restore logs into the upgrade log
Without --debug in upgrade command line, no more log will be printed in stdout.
Still the log will be added to the log file, and so will help to debug a backup in that case.
2019-01-24 18:32:52 +01:00
Maniack Crudelis
37810a22a2
Fix #548 2019-01-24 18:20:40 +01:00
Maniack Crudelis
7bbd30b3cf
[enh] Keep it fucking clear...
In order to keep the code clear in case of failure, one should not pile up command with logical AND.
By keeping each command on its line, we can know which line fails.
2019-01-24 00:41:41 +01:00
Pierre Bourré
bbb004e056 fix typo 2019-01-23 00:50:45 +01:00
Pierre Bourré
dffecf4ae6 add actionsmap type_log to precise if the log is a file or a systemd log 2019-01-23 00:00:25 +01:00
Maniack Crudelis
66acd35c80
[fix] Restore warning in backup
The warning for a non existing file during the backup disappear during a [conflict resolve](72159f702f)...
I restore it as a micro decision.
2019-01-22 13:19:34 +01:00
frju365
a42df2d8fe
Update yunohost_admin.conf 2019-01-21 21:39:07 +01:00
frju365
08869c329c
Update yunohost_admin.conf 2019-01-21 21:17:33 +01:00
Maniack Crudelis
aa3a137f3d
Use getopts 2019-01-21 20:24:02 +01:00
Alexandre Aubin
bd0eef1b36
Remove old comment about jessie 2019-01-18 17:54:26 +01:00
frju365
2e460cb4d6
Update yunohost_admin.conf 2019-01-18 17:31:28 +01:00
Alexandre Aubin
c1dcf4c6ac
Merge branch 'stretch-unstable' into enh-add-reload-and-restart-service 2019-01-17 16:10:38 +01:00
Alexandre Aubin
f16da6856f
Merge pull request #608 from YunoHost/fix_change_url
[fix] Fix the way change_url updates the domain/path
2019-01-17 16:07:14 +01:00
Alexandre Aubin
1c7f0d173a Fix UX when change_url args get asked interactively 2019-01-17 00:24:02 +00:00
Maniack Crudelis
9fb302fe04
[fix] Replace manifest_path by manifest
manifest_path isn't defined
2019-01-13 14:24:17 +01:00
Maniack Crudelis
0a3e5c60ea
source getopts in filesystem
Many core backup script source /usr/share/yunohost/helpers.d/filesystem only. Not sure it's a wonderful idea...
2019-01-05 15:09:17 +01:00
Pierre Bourré
d1a822211c add restart and reload functionality to yunohost service 2019-01-05 03:11:08 +01:00
Maniack Crudelis
bf443f2ec0 db_pwd shouldn't be local 2019-01-04 19:30:07 +01:00
Maniack Crudelis
540291a7e0 Ignore useless parameters in legacy mode 2019-01-04 19:26:54 +01:00
Maniack Crudelis
50f3291ea7 Fix getopts with blank argument's value
There's no reason in that loop where we're looking for values of an option to have a blank cell in the array of arguments. Unless for an option with a missing value.
In that case, it's better to ignore this condition and store a blank value in the variable.
Otherwise, in case of missing value for an option, with this condition, we enter in an infinite loop, because the shift will stay at 0.
2019-01-04 18:44:40 +01:00
Maniack Crudelis
1a4e661e4e Keep db_pwd instead of db_password 2019-01-04 18:43:56 +01:00
Maniack Crudelis
7de184a520 Use getopts helpers in mysql, again 2019-01-04 17:21:17 +01:00
Maniack Crudelis
976f160afb Fix getopts and its legacy mode 2019-01-04 17:11:49 +01:00
Alexandre Aubin
6a7990d7fb [fix] Weird duplicated code + fix missing key file triggering an error 2019-01-04 16:25:49 +01:00
Maniack Crudelis
4bac17a162
Merge branch 'stretch-unstable' into use_getops 2018-12-29 19:07:25 +01:00