Commit graph

802 commits

Author SHA1 Message Date
Alexandre Aubin
daa0c95015 More stupid trick to dump what's wrong with php7.3-fpm during tests... 2021-04-17 01:18:23 +02:00
Alexandre Aubin
6e4f1fa42e Stupid tmp fix to try to track why the tests are failing 2021-04-17 00:49:17 +02:00
Kayou
9d64e850b8
Update src/yunohost/app.py
Co-authored-by: ljf (zamentur) <zamentur@users.noreply.github.com>
2021-04-16 01:03:34 +02:00
Alexandre Aubin
9adf5e522c Add app_manifest to fetch manifest of an app from the catalog or using url 2021-04-16 00:45:54 +02:00
Alexandre Aubin
a373047756 More uniform tmp dir for apps, remove some weird 'admin' ownership 2021-04-15 22:27:05 +02:00
Kay0u
6745fce647
fix tests 2021-04-13 16:28:32 +02:00
Kay0u
f6687e69f8
user_permission_list: use the new apps arg when we can 2021-04-13 13:22:07 +02:00
Kay0u
bd72a59e1f
remove app settings after removing the app permissions 2021-04-13 13:21:27 +02:00
Alexandre Aubin
ce64a6380a
Merge pull request #1192 from YunoHost/uniformize-actionmap-api
Uniformize API routes
2021-04-12 17:51:17 +02:00
Alexandre Aubin
e6312db3c0 perf: add optional 'apps' argument to user_permission_list to speed up user_info / user_list 2021-04-09 21:07:35 +02:00
Alexandre Aubin
00b6af5dcb
Merge branch 'dev' into uniformize-actionmap-api 2021-04-09 18:39:45 +02:00
Alexandre Aubin
81c43747a0 Increase delay for reloading services + display actual status in error message (seeing some weird php7.3-fpm stuff during some specific test...) 2021-04-05 18:48:05 +02:00
Alexandre Aubin
378cf904c8
Merge branch 'dev' into cron-legacy 2021-04-02 00:27:19 +02:00
Alexandre Aubin
40b22617d3 Unused mports 2021-04-01 23:14:43 +02:00
Alexandre Aubin
6725a7f2bf
Merge pull request #1187 from YunoHost/improve-error-semantic
Improve error semantic
2021-03-23 00:34:06 +01:00
Alexandre Aubin
33fab1c99f Be more robust against non-int values for level in app catalog (e.g. for apps 'inprogress' for which level is '?') 2021-03-22 20:45:03 +01:00
Alexandre Aubin
1fb9ddd42a Tweak tools update/upgrade to have a single 'target' arg for simpler routing 2021-03-19 17:45:37 +01:00
Kay0u
4a19a60b44 dirty patch to wait for services to finish reloading 2021-03-17 15:32:19 +01:00
Kay0u
3c3e8711ed
fix _patch_legacy_helpers 2021-03-16 16:28:12 +01:00
Alexandre Aubin
721f6f265e
Typo ... 2021-03-14 18:45:36 +01:00
Alexandre Aubin
37f0c30ddc Inject log_ref into all is_unit_operation failures 2021-03-11 03:57:15 +01:00
Alexandre Aubin
01ccab5252 Add semantic of YunohostValidationError for all exceptions which are related to validating stuff 2021-03-11 01:39:52 +01:00
Alexandre Aubin
e639c8cd5a Move applist refresh cron + lets encrypt renewal cron to regen conf 2021-03-10 19:00:24 +01:00
Kay0u
bfd7257a8c
fix linter, remove allow_failure for corresponding tests 2021-02-02 16:16:07 +01:00
yunohost-bot
c4439110e1 [CI] Format code 2021-02-02 03:37:40 +00:00
Alexandre Aubin
10ba00affe logger.exception -> logger.error because logger.exception displays a stacktrace and it ain't relevant in any of these cases 2021-02-02 03:57:33 +01:00
Alexandre Aubin
bff5ad59dc
Merge pull request #1070 from cyxae/enh-app-search
Define a new "yunohost app search" command
2021-01-24 05:04:13 +01:00
Alexandre Aubin
c091559e7b
Merge pull request #1077 from YunoHost/return-additional-error-data-to-api
Support more complex errors (be able to return additional data in a json structure)
2021-01-23 16:05:54 +01:00
Alexandre Aubin
041e175319 Merge branch '4.1.6-hotfixes' into dev 2021-01-20 02:13:46 +01:00
Alexandre Aubin
35a0711713
Stupid yolopatch for not-normalized app path settings >_> (#1141)
* Update app.py
* Be more careful (c.f. _normalize_domain_path code ... maybe the path doesn't start with / either ..)
* Annnnnd ignore case where path is '/' which is fine
2021-01-20 01:28:55 +01:00
Alexandre Aubin
09acc2a466
Merge branch 'dev' into less-madness-for-hook-exec 2021-01-19 23:25:43 +01:00
Alexandre Aubin
b98dd8585b
Merge pull request #1116 from YunoHost/enh-python3
Python2 -> Python3
2021-01-19 23:06:57 +01:00
Alexandre Aubin
739d831cf9
Merge pull request #1135 from YunoHost/fix-default-in-arg-parse
fix default arg parse for password
2021-01-14 19:46:54 +01:00
Kay0u
e11741ca94
fix default arg parse for password 2021-01-12 10:53:12 +01:00
Kay0u
5999f13142
fix boolean arg parse 2021-01-12 10:21:20 +01:00
Alexandre Aubin
c43a51ba30
Merge branch 'dev' into enh-python3 2021-01-10 18:31:19 +01:00
Alexandre Aubin
25ed25e6e9 Annnnd our legacy app is using restore_dir in restore script... 2021-01-04 03:50:25 +01:00
Alexandre Aubin
b0accd506e Report / patch old usage of foo= in install/backup/restore scripts 2021-01-04 01:06:19 +01:00
Alexandre Aubin
46a902a263 Merge branch 'dev' into less-madness-for-hook-exec 2021-01-03 23:05:44 +01:00
Alexandre Aubin
de126fcdce Don't allow failure for invalid python3 code + fix unsued variables 2021-01-02 20:43:39 +01:00
Alexandre Aubin
58522d4105 Had a buggy exception here ... this syntax ain't supported anymore in python3 2021-01-02 20:31:42 +01:00
Alexandre Aubin
2b12b67847 python3: Add some list() where that sounds relevant 2021-01-02 19:48:44 +01:00
Alexandre Aubin
4491568e6d
Merge pull request #1066 from YunoHost/no-upgrade-advertise-for-bad-quality-apps
Do not advertise upgrades for bad-quality apps
2021-01-02 00:40:16 +01:00
Laurent Peuch
effc87da26 [fix] key name of app label wasn't the real label 2021-01-01 18:36:11 +01:00
Laurent Peuch
9eb6fa1961 [enh] display domain_path of app on app list 2021-01-01 15:53:50 +01:00
Alexandre Aubin
cce020daac Uniformize check_output calls to use moulinette helpers which shall now automatically decode() automatically + also strip() etc 2021-01-01 05:03:55 +01:00
Alexandre Aubin
5f0b1b7450 Encoding fixes 2021-01-01 04:06:09 +01:00
Alexandre Aubin
8e30768598 2to3-2.7 ./src/yunohost/{,data_migrations/,utils/,tests/}*.py data/hooks/diagnosis/*.py -w -x dict -x print --nobackups --no-diffs 2020-12-30 21:53:43 +01:00
Kayou
4f1ea2405d
fix my mess 2020-12-18 15:11:37 +01:00
Kay0u
401778f68e
fix the fixme 2020-12-11 16:22:29 +01:00