Commit graph

286 commits

Author SHA1 Message Date
Alexandre Aubin
a0986f2377
Merge pull request #633 from YunoHost/add_ynh_systemd_action
[enh] Add ynh_systemd_action helper
2019-03-09 15:34:33 +01:00
Maniack Crudelis
08e51f2680
Do not show errors about log not existing yet. 2019-03-03 18:58:38 +01:00
Maniack Crudelis
337a065b4a
Print progression only after 3s 2019-03-03 18:57:41 +01:00
Maniack Crudelis
58af343a84
Add warning about exec_* printers 2019-03-03 17:25:07 +01:00
Maniack Crudelis
12c61eeb65
Use printers 2019-03-03 16:38:54 +01:00
Maniack Crudelis
f51101152a
Missing } 2019-02-26 15:37:50 +01:00
Maniack Crudelis
b3edc2a63c
Fix ynh_add_fail2ban_config legacy mode
Merged as a micro decision
Fix https://github.com/YunoHost/issues/issues/1313
2019-02-26 01:59:03 +01:00
Alexandre Aubin
ac6f24671c In case no file in dir, still an empty string will be read, which matches [[:digit:]]* (but won't with +) 2019-02-26 00:59:31 +01:00
Alexandre Aubin
990eeb76e1 Missing space breaks bash parsing of the whole file 2019-02-26 00:40:16 +01:00
Alexandre Aubin
fa4023283b
Merge pull request #660 from yalh76/patch-1
[enh] Add the arch argument to ynh_install_nodejs
2019-02-25 00:52:08 +01:00
Alexandre Aubin
ec72a8d632
Merge pull request #648 from YunoHost/diff_backup_file
[enh] Print diff of files when backup by ynh_backup_if_checksum_is_different
2019-02-25 00:49:31 +01:00
yalh76
dd28717308
Fix $uname 2019-02-23 01:23:02 +01:00
yalh76
81178e0841
remove arguments
and let ynh_install_nodejs manage the issue
2019-02-22 17:55:42 +01:00
Maniack Crudelis
0a84e2f226
Default value for $arch 2019-02-22 15:38:04 +01:00
yalh76
7342f894e5
add the arch argument to ynh_install_nodejs
CF https://github.com/YunoHost/issues/issues/1311#issuecomment-466379366
2019-02-22 14:28:08 +01:00
Alexandre Aubin
9cb71e61f4
Merge branch 'stretch-unstable' into add_ynh_systemd_action 2019-02-22 12:38:43 +01:00
Alexandre Aubin
fdbffe9590
Merge pull request #643 from YunoHost/get-rid-of-frontend-warnings
[fix] Get rid of annoying 'unable to initialize frontend' messages
2019-02-21 14:32:34 +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
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
Maniack Crudelis
631ca47636
Be sure to get the correct PID 2019-02-18 00:12:01 +01:00
Maniack Crudelis
9052bb0b78
Do not pipe into less 2019-02-18 00:11:04 +01:00
Maniack Crudelis
9f3bf11fd0
Add warning about --line_match usage 2019-02-18 00:04:55 +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
Alexandre Aubin
d0c7603d9d Wtf is wrong with you sudo :| Why don't you forward the damn DEBIAN_FRONTEND 2019-02-16 20:25:30 +01:00
Josué Tille
af82be4ffd
Check if file exist 2019-02-16 15:43:09 +01:00
Maniack Crudelis
b62d72f77b
Factorize into ynh_read_manifest 2019-02-16 00:28:27 +01:00
Maniack Crudelis
0e3f3159cb
ynh_print_warn instead of info 2019-02-16 00:20:51 +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
6c925c04c3
Fail with ynh_print_info 2019-02-12 22:08:37 +01:00
Maniack Crudelis
73986ab10f
Be clever... diff the file after modification... 2019-02-12 21:47:40 +01:00
Maniack Crudelis
2f1a517a42
Print a diff of the files when backup by ynh_backup_if_checksum_is_different 2019-02-12 20:17:15 +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
Alexandre Aubin
a742ca8939 Attempt to get rid of annoying 'unable to initialize frontend' messages 2019-02-09 15:40:29 +01:00
Maniack Crudelis
8e8ed22395
Fix usage of $service_name 2019-02-09 11:38:15 +01:00
Alexandre Aubin
508439b112
Merge branch 'stretch-unstable' into add_ynh_systemd_action 2019-02-08 19:45:19 +01:00
Maniack Crudelis
060370ef88
Fix #635 on ynh_secure_remove 2019-02-06 22:46:21 +01:00
Maniack Crudelis
1895e1ac63
since 0 instead of since 45 2019-02-06 11:18:16 +01:00