Commit graph

3345 commits

Author SHA1 Message Date
Alexandre Aubin
ba7bdb8f14 No m18n.n needed in YunohostErrors 2019-02-22 15:07:09 +01:00
Alexandre Aubin
dcf2ca8b55 Check dpkg status asap in app_install 2019-02-22 15:06:11 +01:00
Alexandre Aubin
c824f10cc2 Also check for dpkg corruption before upgrading system or app... 2019-02-22 15:04:34 +01:00
Alexandre Aubin
e7241394af Adding dpkg checks after removal of an application 2019-02-22 15:00:18 +01:00
Alexandre Aubin
53ba867f30 Also forbid to app_upgrade if dpkg is broken 2019-02-22 14:46:53 +01:00
Alexandre Aubin
bca2af3391 [microdecision] I'm sick of those people who end up with app repo being added as app list and messing up everything -.- 2019-02-21 23:37:19 +01:00
Romuald du Song
ac250e2549 fix service_regen_conf syntax 2019-02-21 21:15:25 +01:00
Romuald du Song
9aa6cb6ac5 add hook to reconfigure nginx or ssh on settings change 2019-02-21 20:46:18 +01:00
Alexandre Aubin
5c5330be3d Issue happening with some weird app instance name ... 2019-02-21 15:36:06 +01:00
Alexandre Aubin
c029ccb7ad Also feed the setting name when calling setting hook 2019-02-21 15:07:06 +01:00
Josué Tille
81e1d163f4
Add more explicit args for permissions 2019-02-21 09:35:17 +01:00
Josué Tille
dd89391f01
Add more explicit args for permissions 2019-02-21 09:31:29 +01:00
Josué Tille
96b65f938b
Fix dirty fix ssowatconf 2019-02-20 23:07:17 +01:00
Josué Tille
76ad77f829
Define permission in app_clearaccess 2019-02-20 23:02:18 +01:00
Alexandre Aubin
b2a606987c It was a debug print indeed :D 2019-02-19 18:05:09 +01:00
Alexandre Aubin
ddf2b49d54 Cache results from meltdown checker 2019-02-19 17:57:38 +01:00
Kayou
44455cd433
More explicit error 2019-02-19 17:50:12 +01:00
Kayou
39ae736044
Ensure the tar file is closed 2019-02-19 17:43:33 +01:00
Alexandre Aubin
9a7dc6d43e Be able to define hook to trigger after changing a setting value 2019-02-19 16:40:47 +01:00
Alexandre Aubin
d7d2242862 Fix imports in some migrations 2019-02-18 19:27:40 +01:00
Alexandre Aubin
0ebbb83191 Add migration for services.yml on existing instance 2019-02-18 19:27:40 +01:00
Alexandre Aubin
96bd6f8deb Fix a few things for service_regen_conf backward compatibility 2019-02-18 19:27:40 +01:00
Alexandre Aubin
39891b228c Inteface with regenconf.yml instead of services.yml 2019-02-18 19:27:40 +01:00
Alexandre Aubin
e6f3a99269 Change binding from service_regen_conf to tools_regen_conf 2019-02-18 19:27:40 +01:00
Alexandre Aubin
3067e8e897 Misc renaming for consistency, basically service->category 2019-02-18 19:27:40 +01:00
Alexandre Aubin
739bf8e559 Brutally move regenconf stuff to a new regenconf.py file 2019-02-18 19:27:40 +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
fc00b59be4 Add messages before app install, remove, and some messages for backups 2019-02-16 20:44:50 +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
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
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
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
Josue-T
e1ccab212a
Reload fail2ban instead of restart 2019-02-13 22:33:58 +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
Josué Tille
6ab5d71603
Add the possibility to have multiple path per hook name 2019-02-11 20:05:21 +01:00
Josué Tille
cbf2c1f82a
Merge branch 'stretch-unstable' into hook_return 2019-02-11 16:06:03 +01:00
Romuald du Song
f084de5a69 declare setting security.ciphers.compatibility 2019-02-09 23:30:40 +01:00
Laurent Peuch
169ae96f0a [mod] please flake8 by respecting pep8 and removing except: 2019-02-06 19:32:35 +01:00
Laurent Peuch
0267a798a7 [fix] sterror doesn't exist most of the time 2019-02-06 19:27:43 +01:00
Alexandre Aubin
c849b4732a [microdecision] Move this message to info to improve UX 2019-02-04 19:03:47 +01:00
Alexandre Aubin
81bbb62b82 [microdecision] Missing translation for key 'file_not_exist' 2019-02-04 18:27:50 +01:00
Alexandre Aubin
d8ef303cde Missing os import -.- 2019-01-30 21:16:56 +01:00
Alexandre Aubin
d95931c8f1 Ignore stderr from meltdown checker 2019-01-30 19:23:36 +01:00
Alexandre Aubin
8b3e645578 [microdecision] Archive folder might not exist 2019-01-30 14:03:04 +01:00