Commit graph

806 commits

Author SHA1 Message Date
Alexandre Aubin
413778d2bc Check if app broke something important only if install succeeded (if install fails, this check only matters *after* we remove the app which is already done) 2020-05-15 04:23:58 +02:00
Laurent Peuch
c600b3b53e [mod] rename everything in _parse_args_in_yunohost_format because I'm too old and too tired for shitty variable name, also docstring 2020-05-15 03:23:12 +02:00
Laurent Peuch
757cef32b3 [mod] remove unused import 2020-05-14 21:30:00 +02:00
Alexandre Aubin
4d734a27a0 Forcing unicode creates issue with non-ascii strings or whatever.. 2020-05-13 16:18:23 +02:00
Bram
10946c3bf8
Merge pull request #980 from YunoHost/check-for-fatal-code-errors
Check for fatal code errors
2020-05-08 00:08:20 +02:00
Bram
9962fd610e
Merge pull request #968 from YunoHost/simplify-and-optimize-yunohost-version
Simplify / optimize reading version of yunohost packages...
2020-05-07 21:47:45 +02:00
Alexandre Aubin
3a62d828ba version was not defined... 2020-05-07 18:18:59 +02:00
Alexandre Aubin
882b003bd7 Fix i18n string test 2020-05-07 00:07:10 +02:00
Alexandre Aubin
49c4324ee1 During app installs, set default answer for user-type args to main user 2020-05-06 22:17:39 +02:00
Alexandre Aubin
c7dd881774 Default 'ask' questions for common app manifest args 2020-05-06 21:41:54 +02:00
Alexandre Aubin
40eaec605e Make flake8 happy (c.f. previous commit) 2020-05-06 19:45:16 +02:00
Alexandre Aubin
c721aaf258 version was not defined... 2020-05-06 19:01:07 +02:00
Kay0u
cf57b77d6a
[fix] multi instance upgrade 2020-05-04 18:28:05 +02:00
Josué Tille
8d2bde84ec
Install python-packaging as dependance 2020-05-03 19:56:14 +02:00
Josué Tille
95b7885890
Merge remote-tracking branch 'upstream/stretch-unstable' into abort_if_up_to_date_manifest 2020-05-02 11:22:22 +02:00
Josué Tille
5c6b4118b7
Add comment about dependances 2020-05-02 11:20:27 +02:00
Alexandre Aubin
bb82c41db6 Apparently set +x is set +o xtrace now ;P 2020-04-30 05:21:42 +02:00
Alexandre Aubin
9a7b9b0b32 declare -Ar -> local -A 2020-04-30 05:09:56 +02:00
Alexandre Aubin
1cb330823d Try to show smarter / more useful logs by filtering irrelevant lines like 'set +x' etc 2020-04-30 05:09:56 +02:00
Alexandre Aubin
ab33da5178
Merge pull request #954 from YunoHost/fix-helper-patching
Fix helper patching + patch usage of old 'yunohost tools diagnosis'
2020-04-29 18:14:41 +02:00
Alexandre Aubin
ae98ec1aa7 Trailing slash in ssowat uris cause issues to access app installed on root, we only need it for app_map ... 2020-04-28 18:55:39 +02:00
Josué Tille
76c7bcc69b
Fix some typos 2020-04-28 15:11:34 +02:00
Josué Tille
c4f7fc2bac
Remove migration of legacy settings in install 2020-04-28 15:11:34 +02:00
Josué Tille
60af7e0fe9
Fix typo 2020-04-28 15:11:33 +02:00
Josué Tille
2b3c368470
Fix app_ssowatconf 2020-04-28 15:11:33 +02:00
Josué Tille
79fb034321
Improve support of settings migrations 2020-04-28 15:11:32 +02:00
Josué Tille
fe5ca24222
Migrate old skipped,unprotected,protected_uris and create permission instead 2020-04-28 15:11:32 +02:00
Josué Tille
73e2ede910
Merge branch 'stretch-unstable' into permission_protection 2020-04-28 14:20:25 +02:00
Alexandre Aubin
cb223be4d1
Merge pull request #953 from YunoHost/fix-app-map-with-app-on-root
[fix] Make sure to return '/' and not empty string for stuff on domain root
2020-04-27 23:24:55 +02:00
Alexandre Aubin
e01859ffc4 Fix tests 2020-04-27 20:57:38 +02:00
Josue-T
72b412c6d3
Cleanup code indentation 2020-04-27 11:16:40 +02:00
Josue-T
01d5c91e60
Simply code
Co-Authored-By: Alexandre Aubin <alex.aubin@mailoo.org>
2020-04-27 11:09:10 +02:00
Josue-T
f2791c911f
Make more rebobut version check
Co-Authored-By: Alexandre Aubin <alex.aubin@mailoo.org>
2020-04-27 11:08:36 +02:00
Josue-T
ce6c33aa90
Fix version key in installed version
Co-Authored-By: Alexandre Aubin <alex.aubin@mailoo.org>
2020-04-27 11:05:01 +02:00
Alexandre Aubin
69938c3feb Re-add 'app fetchlist', 'app list -i', 'app list' filter for backward compatibility... 2020-04-26 03:43:36 +02:00
Alexandre Aubin
cde68cd7cc
Make sure to strip() the path just in case
Co-Authored-By: Bram <cortex@worlddomination.be>
2020-04-25 23:52:55 +02:00
Josué Tille
c34de0b792
Improve version management in catalog 2020-04-24 14:36:06 +02:00
Alexandre Aubin
cb0a87de25 Patch usage of old in apps 'yunohost tools diagnosis' 2020-04-23 18:59:12 +02:00
Alexandre Aubin
f68ae4561f Patch files earlier to avoid raising an exception is setting folder already exists 2020-04-23 18:00:46 +02:00
Alexandre Aubin
e79f73d463 Make sure to return / and not empty string for stuff on domain root 2020-04-23 17:02:58 +02:00
Josué Tille
1826e3c5b6
Make more robust version management in upgrade 2020-04-23 14:56:16 +02:00
Josué Tille
e7970d8571
Check settings 'upgrade_only_if_version_changes' before to check update availability 2020-04-23 14:56:15 +02:00
Alexandre Aubin
9eef8af53d Fix improper use of logger.exception in app.py 2020-04-23 04:18:23 +02:00
Josué Tille
84e275ea97
Merge branch 'stretch-unstable' into permission_protection 2020-04-22 21:59:06 +02:00
Josué Tille
6eab62ceb1
Fix show_tile settings 2020-04-21 11:19:39 +02:00
Alexandre Aubin
08f9091257 Handle stupid weird case where the manifest file disappeared yet the app folder is still there ... 2020-04-18 02:40:40 +02:00
Josué Tille
a096a36e27
Also manage downgrade 2020-04-15 16:30:49 +02:00
Josué Tille
4f0d5cef96
Improve version management in '_app_upgradable' 2020-04-15 16:26:01 +02:00
Josué Tille
8dd3986cac
Fix rename variable 2020-04-15 15:52:22 +02:00
Josue-T
f416b94fb8
Put upgrade_only_if_version_changes in integration section
Co-Authored-By: Alexandre Aubin <alex.aubin@mailoo.org>
2020-04-15 11:54:55 +02:00