Commit graph

184 commits

Author SHA1 Message Date
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
c90108c172
Merge pull request #625 from YunoHost/clear_equivs
[enh] Keep it fucking clear...
2019-01-26 21:19:32 +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
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
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
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
Alexandre Aubin
3d81f032e9 Fixes following tests (some sshd_config options do not exists or are deprecated) 2018-11-28 17:50:20 +00:00
Alexandre Aubin
a455cae3bf Typo + fixes for helper doc generation 2018-11-26 14:56:47 +00:00
Maniack Crudelis
6bfcedfe1d Do not fail on missing fail2ban config during the backup (#558)
* Do not fail on missing file during the backup
* Fix for allow to backup without a fail2ban config file
* Tab -> space consistency
2018-11-23 13:21:37 +01:00
ljf (zamentur)
eb8792376c
[enh] Better name ynh_wait_dpkg_free 2018-11-20 20:47:36 +01:00
Maniack Crudelis
b67105f04b
[enh] Wait for dpkg lock to be free 2018-11-06 01:00:57 +01:00
Maniack Crudelis
1c628c8d73
[enh] Use more blocks for dd in ynh_string_random
200 are not enough if you try to generate a 64 characters string.
2018-11-04 18:54:59 +01:00
Alexandre Aubin
787bfaa058
We are in Stretch and use php7 now (#566) 2018-11-04 16:14:56 +01:00
Josue-T
428a29936f Fix http2 with curl (#547) 2018-10-19 16:08:28 +02:00
Bram
cedaaa9087
Merge pull request #524 from YunoHost/add_ynh_delete_file_checksum
Add ynh_delete_file_checksum
2018-10-03 02:34:56 +02:00
Bram
f6780aeede
Merge pull request #545 from YunoHost/fix-noisy-wget
[fix] Silent output/warning but display errors
2018-10-03 02:30:27 +02:00
Alexandre Aubin
30ca5bbd4a
Merge pull request #520 from YunoHost/add_helper_ynh_handle_getopts_args
Add the internal helper ynh_handle_getopts_args
2018-09-20 20:05:23 +02:00
ljf (zamentur)
10770aebd9
[fix] Silent output/warning but display errors 2018-09-19 16:35:23 +02:00
Maniack Crudelis
9550bf3eb1 Add many print helpers (#523)
* Add many print helpers

* Typo fix
2018-09-07 16:50:17 +02:00
Bram
c3d8da7f07
Merge pull request #511 from Josue-T/patch-10
Add su directive as option for logroate
2018-09-06 00:14:06 +02:00
Maniack Crudelis
22cff38bbb
Revert Indentation typo
It's part of the syntax
2018-09-05 19:57:11 +02:00
Alexandre Aubin
26fe3d8c95
Indentation typo 2018-09-02 18:02:32 +02:00
Maniack Crudelis
7f7fb80b38
Add ynh_delete_file_checksum 2018-08-28 16:49:20 +02:00
Maniack Crudelis
45ad53eb43
Add the internal helper ynh_handle_getopts_args 2018-08-27 21:44:22 +02:00
Josue-T
cdd510642f Set equiv as base dependance (#515) 2018-08-25 19:45:55 +02:00
Alexandre Aubin
0eaee300c6
Merge branch 'stretch-unstable' into app-stdinfo 2018-08-23 21:25:29 +02:00
Alexandre Aubin
477cf18a68
Merge pull request #463 from YunoHost/ynh-render-template-with-jinja2
[enh] Add ynh_render_template helper to render templates with jinja2
2018-08-23 21:22:53 +02:00
Alexandre Aubin
f7563b2cb4
Merge branch 'stretch-unstable' into app-stdinfo 2018-08-22 18:42:23 +02:00
Josue-T
36fd98e020
Fix switch user/group 2018-08-03 09:38:39 +02:00
Josue-T
e2567c82f1
Add su directive as option for logroate 2018-07-31 17:30:26 +02:00
Alexandre Aubin
344ae6bbf2
Fix nodejs removal in ynh_remove_nodejs 2018-07-01 18:37:34 +02:00
Alexandre Aubin
e55cbb401f [fix] [microdecision] Remove --verbose and --ignore-system in backup/restore during app upgrades 2018-06-18 18:28:02 +02:00
Laurent Peuch
5e77e6e108 [fix] local variables and various fix on psql helpers 2018-06-17 01:39:22 +02:00
ljf (zamentur)
e7a4b6df2c [enh] Add postgresql helpers (#238)
* [enh] Add postgresql helpers
* Updated from experimental helpers repo
* Update postgresql helpers, c.f. Experimental_helpers/#13
2018-05-21 01:28:08 +02:00
Alexandre Aubin
711645c750
Merge branch 'unstable' into ynh-render-template-with-jinja2 2018-05-21 01:00:57 +02:00
Bram
deec04e6d5
Merge pull request #475 from YunoHost/remove_qq
[enh] We need a fucking log
2018-05-17 05:30:45 +02:00
Bram
923ce03d0b
Merge pull request #439 from YunoHost/compatibility_levels
[fix] Remove warning from equivs
2018-05-16 18:50:53 +02:00
Bram
28af17f33f
Merge pull request #462 from Josue-T/patch-8
[enh] Improve ynh_add_nginx_config
2018-05-16 06:49:26 +02:00