Commit graph

1133 commits

Author SHA1 Message Date
Alexandre Aubin
51fe6fea27 Factorize function to list upgradable packages 2019-03-22 04:02:00 +01:00
Alexandre Aubin
de7a66ff0e Rework system-part of tools_update... 2019-03-22 01:14:45 +01:00
Alexandre Aubin
d058133f8d
Merge pull request #671 from YunoHost/forbidden-chars-for-app-password
[fix] Reject app password if they contains { or }
2019-03-13 14:50:48 +01:00
Alexandre Aubin
5790ad493d
Merge pull request #672 from YunoHost/fix-1308-output-directory-not-empty
[fix] Backup fails because output directory not empty
2019-03-13 14:50:04 +01:00
ljf (zamentur)
1d37dd4fa2
[fix] Missing import 2019-03-13 13:32:50 +01:00
Alexandre Aubin
f221024e19
Merge pull request #673 from YunoHost/fix-backup-tests
Fix backup tests
2019-03-11 18:02:15 +01:00
Alexandre Aubin
3fdae48d13
[microdecision] c.f. 25efab7 .. there's no way to include files in sshd_config 2019-03-10 23:57:37 +01:00
Alexandre Aubin
bf659db300 Not sure why this stop working, maybe new pytest version or something... 2019-03-08 19:54:26 +01:00
Alexandre Aubin
ea98cf557e Avoid miserably failing when attempting to create link in some edge case 2019-03-08 19:53:56 +01:00
Alexandre Aubin
a974d08897 Fix use case of app_fetchlist with url=None 2019-03-08 01:22:32 +01:00
Alexandre Aubin
b242833dcb
Merge branch 'stretch-unstable' into hook_return 2019-03-07 18:09:50 +01:00
Alexandre Aubin
a066230fe1
Merge pull request #669 from YunoHost/manifest_texte_argument
[enh] allow 'display_text' ~fake~ argument in manifest.json
2019-03-07 18:04:10 +01:00
Alexandre Aubin
7f779ddd1c This ambiguity about 'ret' definitely looks like a bug ... 2019-03-07 17:10:01 +01:00
Alexandre Aubin
135ac60d94 Clarify arguments usage 2019-03-07 17:04:40 +01:00
Alexandre Aubin
55e9df75d0 Clean tmp directory if it not empty 2019-03-07 17:03:59 +01:00
Alexandre Aubin
5e0f63eab4 Reject app password if they contains { or } 2019-03-07 15:45:48 +01:00
Alexandre Aubin
5516e96d07 Simpler fetching of failed/succeeded hooks in CustomBackupMethod 2019-03-04 19:05:43 +01:00
Alexandre Aubin
88b7d77610 Display raw json content in case of exception 2019-03-04 18:58:04 +01:00
Alexandre Aubin
16245f53d9 Fix listing of succeed/failed for backup and restore 2019-03-04 18:33:09 +01:00
Alexandre Aubin
c74bff31d1 Fix listing of succeed/failed hook names 2019-03-04 17:44:20 +01:00
Alexandre Aubin
877fe50685 Use a finally clause to avoid duplicated code 2019-03-04 17:21:57 +01:00
Alexandre Aubin
433e82dfc8
Merge pull request #662 from YunoHost/optimize-dyndns-requests
[fix] Optimize dyndns requests
2019-03-04 17:10:37 +01:00
Alexandre Aubin
f37a6b43e1 More general exception to handle other cases (e.g. SSL errors, ...) 2019-03-04 17:09:31 +01:00
Laurent Peuch
b8c5e9f1b6 [enh] allow 'display_text' ~fake~ argument in manifest.json 2019-03-04 03:27:49 +01:00
Alexandre Aubin
e6f1845448
Add -f to rm 2019-03-01 01:40:52 +01:00
Alexandre Aubin
15b3733e22 Don't raise an exception in the middle of the loop, that check can be done before 2019-02-26 02:34:02 +01:00
Alexandre Aubin
366d8231eb Makes no sense to not show those messages only if that's a user-specified list ... 2019-02-26 02:29:18 +01:00
Alexandre Aubin
b49eeddcf9 Drunk commits were drunk 2019-02-26 02:20:41 +01:00
Alexandre Aubin
0320ca9402
Merge pull request #654 from YunoHost/trigger-actions-when-changing-settings
[enh] Be able to define hook to trigger when changing a setting
2019-02-25 00:51:33 +01:00
Alexandre Aubin
b274a701fe
Merge pull request #652 from YunoHost/assert-dpkg-is-not-broken-before-app-install
[enh] Assert dpkg is not broken before app install
2019-02-25 00:51:20 +01:00
Alexandre Aubin
cfda8ac1de
Merge pull request #650 from YunoHost/app_upgrade_message_ux
[enh] Improve / add some messages to improve UX
2019-02-25 00:51:07 +01:00
Alexandre Aubin
9657387746 Prevent calling dyndns_subscribe if already subscribed 2019-02-24 02:10:24 +01:00
Alexandre Aubin
3f8f328fae Delete the key if subscribing failed, to avoid confusion later trying to detect registered domains 2019-02-24 02:04:41 +01:00
Alexandre Aubin
283e01db8f Don't make a whole HTTP request every dyndns update... 2019-02-24 01:58:33 +01:00
Alexandre Aubin
318e4b0a59
Merge pull request #656 from YunoHost/cache-meltdown-checker-results
Cache results from meltdown checker
2019-02-24 00:50:35 +01:00
Alexandre Aubin
6fc6d6cfe6 Who knows, maybe this folder doesn't exist in some context 2019-02-22 15:16:07 +01:00
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
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
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
19bd4da104 Assert that dpkg is not broken when trying to install an app 2019-02-18 15:58:24 +01:00