Commit graph

806 commits

Author SHA1 Message Date
Alexandre Aubin
0bd781be47 [fix] Small issue with optional arguments... c.f. issue 1261 2019-03-27 15:11:17 +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
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
5e0f63eab4 Reject app password if they contains { or } 2019-03-07 15:45:48 +01:00
Alexandre Aubin
650232b1c3
Merge branch 'stretch-unstable' into group_permission 2019-03-05 02:59:05 +01:00
Alexandre Aubin
b7aa7f6fbb Cover small edge case where domain key doesnt exist 2019-03-05 01:43:19 +01:00
Laurent Peuch
b8c5e9f1b6 [enh] allow 'display_text' ~fake~ argument in manifest.json 2019-03-04 03:27:49 +01:00
Alexandre Aubin
e81e232fb2 Add a check that some required services are up before running install and upgrade 2019-03-04 03:09:23 +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
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
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
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
Josué Tille
76ad77f829
Define permission in app_clearaccess 2019-02-20 23:02:18 +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
fc00b59be4 Add messages before app install, remove, and some messages for backups 2019-02-16 20:44:50 +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
Josué Tille
cbf2c1f82a
Merge branch 'stretch-unstable' into hook_return 2019-02-11 16:06:03 +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
02e6c1241f [fix] app conflicting with itself during change_url 2019-01-24 17:02:42 +01:00
Josué Tille
ad3d8786d6
Change MoulinetteError to YunohostError 2019-01-17 22:15:14 +01:00
Josué Tille
811d1f6a9c
Fix app_setings_get for path 2019-01-17 22:15:14 +01:00
Josué Tille
9ac60be564
Sync permission only at end of each operation 2019-01-17 22:15:14 +01:00
Josué Tille
4c2ae4fc77
Implement permission helper 2019-01-17 22:15:13 +01:00
Josué Tille
c1dc117863
Implement permission for app 2019-01-17 22:15:13 +01:00
Mickaël Martin
808d844f84 Change git clone for gitlab working with branch (#615) 2019-01-17 16:12:21 +01:00
Alexandre Aubin
f16da6856f
Merge pull request #608 from YunoHost/fix_change_url
[fix] Fix the way change_url updates the domain/path
2019-01-17 16:07:14 +01:00
Laurent Peuch
2e0efb5b56 [fix] bad key for string formatting 2019-01-07 18:59:23 +01:00
Laurent Peuch
9e1cd73400 [mod] add more verbose error messages 2019-01-07 18:51:12 +01:00
Josué Tille
d656d5b4ba
Raise a error is path is not available 2018-12-30 22:33:30 +01:00
Josué Tille
412c656a9b
Fix change_url too 2018-12-30 18:59:40 +01:00
Josué Tille
9da00bd8b6
Fix change url function 2018-12-30 17:51:55 +01:00
Laurent Peuch
afaac841ec [fix] missing old error 2018-12-16 03:13:22 +01:00
Josue-T
2f63e3ba07
Merge branch 'stretch-unstable' into hook_return 2018-12-15 21:28:51 +01:00
Alexandre Aubin
174cbcb8b6
Merge pull request #598 from YunoHost/confirm-when-asking-bad-quality-apps
[enh] Ask confirmation before installing low-quality, experimental or third party apps
2018-12-15 15:48:03 +01:00
Alexandre Aubin
ba5c55e50d
Merge branch 'stretch-unstable' into autopep8 2018-12-15 15:11:29 +01:00
Bram
2c41a4539e
Update src/yunohost/app.py
Co-Authored-By: alexAubin <alex.aubin@mailoo.org>
2018-12-14 21:01:46 +01:00
Alexandre Aubin
7e3a90232f __raw_msg__ -> raw_msg 2018-12-14 14:17:20 +00:00
Alexandre Aubin
115b557b67 autopep8 + a few manual tweaks 2018-12-13 18:52:26 +00:00
Alexandre Aubin
f6b244f294 Raw message 2018-12-13 15:39:24 +00:00