Kayou
979f18a559
Merge branch 'stretch-unstable' into patch-2
2019-02-20 20:53:47 +01:00
Kayou
a20b0e96c8
Fix ynh_psql_setup_db
2019-02-20 02:18:38 +01:00
Kayou
203b8c06a9
Fix ynh_psql_user_exists and ynh_psql_database_exists
2019-02-20 02:18:24 +01:00
Kayou
a7af86832e
Small fix
2019-02-20 01:56:14 +01:00
Kayou
f2a4be2992
fix ynh_psql_create_db
2019-02-20 01:39:22 +01:00
Kayou
d030628a9b
Update psql helper
2019-02-20 01:27:27 +01:00
Kayou
d5ca4dd88b
Fix ynh_psql_user_exists
2019-02-20 00:21:44 +01:00
Alexandre Aubin
10f3301061
Merge pull request #647 from YunoHost/app_debugger
...
Add app debugger helper
2019-02-19 17:10:27 +01:00
Alexandre Aubin
b63c33de4e
Merge pull request #638 from YunoHost/broken_dpkg
...
[enh] Check if dpkg is not broken when calling ynh_wait_dpkg_free
2019-02-19 17:09:45 +01:00
Pierre Bourré
b5ae91b34e
[WIP] Update
2019-02-19 01:39:00 +01:00
Kayou
1b7d25de96
Update psql
2019-02-19 00:03:46 +01:00
Alexandre Aubin
8085838072
Merge pull request #364 from YunoHost-Apps/enh_add_fail2ban_helpers
...
[enh] Add fail2ban helpers
2019-02-18 16:33:58 +01:00
Alexandre Aubin
fbedd9b419
Merge pull request #521 from YunoHost/add_ynh_check_app_version_changed
...
Add ynh_check_app_version_changed
2019-02-18 16:33:28 +01:00
Alexandre Aubin
d5ea18d042
Merge pull request #644 from kay0u/patch-1
...
[fix] ynh_local_curl
2019-02-16 20:34:06 +01:00
Maniack Crudelis
b62d72f77b
Factorize into ynh_read_manifest
2019-02-16 00:28:27 +01:00
Maniack Crudelis
ccb0cad296
Fix various issues
2019-02-15 16:32:13 +01:00
Maniack Crudelis
54eb3efec0
Reorganize comment header
2019-02-15 16:21:30 +01:00
Maniack Crudelis
91d1849750
Update usage comment
2019-02-15 16:18:36 +01:00
Josué Tille
bba393c45c
Add possibility to use template or predefined config
2019-02-15 14:06:53 +01:00
Josué Tille
140ae8e51a
Change the way to manage the jail and filter file and improve documentations
...
Using a template file make more easy to use a custom failregex.
It also give the possiblitity to use custom settings in the fail2ban config
2019-02-13 21:25:49 +01:00
Maniack Crudelis
2065b89142
Use jq instead of python3
2019-02-12 00:28:39 +01:00
Kayou
b6c5b1fce9
Don't normilize path_url
2019-02-11 16:45:40 +01:00
Maniack Crudelis
3dbe9af7dd
Create debug
2019-02-10 23:43:27 +01:00
Maniack Crudelis
573fab4268
[fix] Escape double quote before eval in getopts
...
Work in progress...
Need to be tested.
2019-02-10 21:23:56 +01:00
Maniack Crudelis
76e1c2e395
Fix template variable in ynh_add_systemd_config
...
Merged as a micro decision, as it's only a small mistake.
2019-02-10 20:51:40 +01:00
Alexandre Aubin
55f19c7dcd
Merge pull request #634 from YunoHost/add_ynh_script_progression
...
Add ynh_script_progression
2019-02-10 14:05:14 +01:00
Kayou
a0dfae269f
Update utils
2019-02-09 23:13:48 +01:00
Kayou
6ba12bb9ae
Fix ynh_local_curl
2019-02-09 23:04:21 +01:00
Maniack Crudelis
060370ef88
Fix #635 on ynh_secure_remove
2019-02-06 22:46:21 +01:00
Alexandre Aubin
8ba8b24ee3
Merge branch 'stretch-unstable' into use_getops
2019-02-05 17:52:12 +01:00
Alexandre Aubin
a82bbcb225
Merge pull request #635 from YunoHost/ynh-secure-remove-has-only-one-arg
...
Warn the user that ynh_secure_remove should be used with only one arg…
2019-02-05 17:50:56 +01:00
Alexandre Aubin
1b63012790
Merge pull request #630 from YunoHost/ynh_setup_source_digs_deeper
...
[enh] Allow to dig deeper into an archive with ynh_setup_source
2019-02-05 16:49:23 +01:00
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
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
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
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