Commit graph

761 commits

Author SHA1 Message Date
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
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
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
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
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
Pierre Bourré
d1a822211c add restart and reload functionality to yunohost service 2019-01-05 03:11:08 +01:00
Alexandre Aubin
6a7990d7fb [fix] Weird duplicated code + fix missing key file triggering an error 2019-01-04 16:25:49 +01:00
chateau
06522b1fa8 Merge branch 'stretch-unstable' of github.com:eauchat/yunohost into stretch-unstable 2018-12-16 22:29:43 +01:00
chateau
0ed392cec0 Added removal of "/var/mail/<username>" directory when removing user with --purge option. 2018-12-16 22:29:31 +01:00
Alexandre Aubin
777108d844 Ask confirmation before installing low-quality, experimental or third party apps 2018-12-11 18:39:15 +00:00
Alexandre Aubin
c975829387 [fix] Missing 'fi' as found by M. Martin 2018-12-11 15:54:50 +01:00
Maniack Crudelis
08818757cc [enh] Do not fail on backup and restore if some missing files are not mandatory (#576) 2018-12-09 21:27:43 +01:00
Alexandre Aubin
a7dbdc3f48
Merge branch 'stretch-unstable' into fix-standardize-sshd-config 2018-12-09 21:20:50 +01:00
Alexandre Aubin
4f05cd5b2b Uh for some reason we need to return *0* explicitly 2018-12-03 16:56:28 +00:00
Alexandre Aubin
447372d07c
[enh] Clean + harden sshd config using Mozilla recommendation (#590)
* Clean sshd_config + harden using Mozilla recommendation
* Order of keys matter, ed25519 is recommended
2018-12-03 17:03:22 +01:00
Alexandre Aubin
0ac908326a Return instead of break, otherwise warning is shown 2018-12-03 14:02:12 +01:00
Maniack Crudelis
41c1a9ce13 Do not use a separate ini file for php pools (#548)
Have a look to https://github.com/YunoHost-Apps/nextcloud_ynh/issues/138 for more information.
2018-12-01 23:07:32 +01:00
Maniack Crudelis
e918836ab0 Fix multiple value for getopts (#592) 2018-12-01 16:21:31 +01:00
ljf (zamentur)
847d18293a
[enh] Add other private ip network and link local 2018-11-30 15:47:42 +01:00
Alexandre Aubin
90e542a931 Allow root login on local networks 2018-11-28 21:30:26 +00:00
Alexandre Aubin
0576b17442 Simplify code / indentation levels 2018-11-28 21:03:28 +00:00
Alexandre Aubin
4db65682eb Fix IPv6 handling in ssh regen conf script 2018-11-28 20:42:39 +00:00
Alexandre Aubin
6a812190c5 Enforce permissions for /etc/ssh/sshd_config 2018-11-28 20:27:42 +00:00
Alexandre Aubin
f295c83fd3 Order of keys matter, ed25519 is recommended 2018-11-28 19:15:21 +00:00
Alexandre Aubin
3d81f032e9 Fixes following tests (some sshd_config options do not exists or are deprecated) 2018-11-28 17:50:20 +00:00
frju365
8cb029a55e Better Configuration of nginx (#564)
* path-traversal

* [fix] try a patch for path-traversal

* Use more_set_headers insta
2018-11-28 01:21:28 +01:00
Alexandre Aubin
fad4ff090a Use templating for more robustness about which SSH keys are enabled 2018-11-28 00:26:25 +01:00
Alexandre Aubin
325678f541 More explicit name for setting 2018-11-28 00:04:25 +01:00
Alexandre Aubin
7b6bf6f4b8 Missing 'get' 2018-11-28 00:03:25 +01:00
ljf
8e0086d493 [fix] Allow user to trigger the moment when they remove dsa 2018-11-28 00:00:30 +01:00