Commit graph

4436 commits

Author SHA1 Message Date
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
opi
f0ef491949
[fix] Do not log migration to stretch in /tmp/. Issue #1280 2019-01-28 10:29:28 +01:00
Alexandre Aubin
758028b8e6
Merge pull request #620 from YunoHost/update-spectre-meltdown-checker
Update spectre meltdown checker
2019-01-26 23:35:42 +01:00
Alexandre Aubin
b43a31bf6f
Merge pull request #624 from kay0u/enh-add-systemd-logs-for-apps
[enh] add systemd logs
2019-01-26 23:34:19 +01:00
Alexandre Aubin
723ff2eebb More elegant loop 2019-01-26 23:33:38 +01:00
Alexandre Aubin
e379f4e3db Fix handling of old services with empty log_type 2019-01-26 23:32:07 +01:00
Alexandre Aubin
e293cdcd77
Merge pull request #626 from YunoHost/ignore-self-conflict-during-change-url
[fix] app conflicting with itself during change_url
2019-01-26 21:19:48 +01:00
Alexandre Aubin
969577b4c2 Fix an issue where postgresql-9.4 was being detected as installed whereas it was in fact not 2019-01-26 19:43:40 +01:00
Alexandre Aubin
02e6c1241f [fix] app conflicting with itself during change_url 2019-01-24 17:02:42 +01:00
Pierre Bourré
bbb004e056 fix typo 2019-01-23 00:50:45 +01:00