Commit graph

3232 commits

Author SHA1 Message Date
Alexandre Aubin
42b41aa934 Add new regen-conf API in tools category 2019-02-18 19:27:40 +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
19bd4da104 Assert that dpkg is not broken when trying to install an app 2019-02-18 15:58:24 +01:00
Alexandre Aubin
1d8d3c2828 Add small helper to check if dpkg is in a broken state 2019-02-18 15:58:05 +01:00
Alexandre Aubin
4ddfa6881f
Merge pull request #651 from YunoHost/fix-missing-getopts
[fix] Loading only one helper file leads to errors because missing getopts
2019-02-18 15:55:42 +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
fc00b59be4 Add messages before app install, remove, and some messages for backups 2019-02-16 20:44:50 +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
7583af076c
Merge pull request #649 from YunoHost/firewall_fail2ban_reload
Reload fail2ban instead of restart
2019-02-16 20:31:32 +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
Alexandre Aubin
683d62d0e5 [microdecision] Fix interface with meltdown checker script, stdout contains weird debug messages when ran inside LXC :| 2019-02-16 18:43:14 +01:00
Alexandre Aubin
d495d315c0 [fix] Loading only one helper file leads to errors because missing getopts 2019-02-16 16:36:35 +01:00
Josué Tille
af82be4ffd
Check if file exist 2019-02-16 15:43:09 +01:00
Alexandre Aubin
fe37acd315 Avoid checking for duplicates 2019-02-16 14:45:05 +01:00
Alexandre Aubin
7d3319332d Improve message when some upgrades fail 2019-02-16 14:38:39 +01:00
Alexandre Aubin
562b3b98f6 Improve messages when app upgrades start 2019-02-16 14:37:36 +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
Romuald du Song
5d48640f3c Adapt comment to new context 2019-02-14 23:12:59 +01:00
Romuald du Song
aaf6dba8d7 fix yunhost admin config filename 2019-02-14 23:03:27 +01:00
Romuald du Song
375b7d53b1 fix enum syntax 2019-02-14 23:00:52 +01:00
Romuald du Song
a899102efc don't share setting for nginx and ssh 2019-02-14 22:57:24 +01:00
Romuald du Song
e8eff87297 switch to enum type to store cipher policy setting 2019-02-14 22:49:13 +01:00
Romuald du Song
ec52ded777 don't conflict translation tool 2019-02-14 22:38:28 +01:00
Romuald du Song
12d0e0e1de add instruction to rebuild yunohost-admin conf 2019-02-14 22:34:35 +01:00
Romuald du Song
e9274ee443 Handle yunohost admin nginx config 2019-02-14 22:27:49 +01:00
Romuald du Song
7b01ccfefb remove whitespace control attempt 2019-02-14 21:33:36 +01:00
Romuald du Song
a267e1bc74 what a cumbersome whitespace control 2019-02-14 21:28:56 +01:00
Romuald du Song
3251189ab8 what a cumbersome whitespace control 2019-02-14 21:26:25 +01:00
Romuald du Song
e776c777e6 remove strip whitespace syntax 2019-02-14 21:17:58 +01:00
Josue-T
e1ccab212a
Reload fail2ban instead of restart 2019-02-13 22:33:58 +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
Josué Tille
37a2cc2e1c
Adapt the service and backup to support new result of hook_callback result 2019-02-12 10:15:23 +01:00
Josué Tille
d15092a740
Fix result from hook_callback 2019-02-12 09:43:09 +01:00
Maniack Crudelis
2065b89142
Use jq instead of python3 2019-02-12 00:28:39 +01:00
Josué Tille
6ab5d71603
Add the possibility to have multiple path per hook name 2019-02-11 20:05:21 +01:00
Kayou
b6c5b1fce9
Don't normilize path_url 2019-02-11 16:45:40 +01:00
Josué Tille
cbf2c1f82a
Merge branch 'stretch-unstable' into hook_return 2019-02-11 16:06:03 +01:00
Maniack Crudelis
2d3ff79683
Merge pull request #646 from YunoHost/fix_getopts
[fix] Escape double quote before eval in getopts
2019-02-11 15:27:41 +01:00
Maniack Crudelis
3dbe9af7dd
Create debug 2019-02-10 23:43:27 +01:00