Commit graph

80 commits

Author SHA1 Message Date
Alexandre Aubin
8ab28849a1 app resource: handle the --purge logic for data_dir removal 2022-12-21 23:11:09 +01:00
Alexandre Aubin
fa2ef3e7ec appv2: better error handling for app resources provisioning/deprovisioning/update failures 2022-12-21 20:39:10 +01:00
axolotle
66d99e7fcb _check_manifest_requirements: fix "disk" req message with least free space dir 2022-12-21 15:53:05 +01:00
axolotle
cf2e7e1295 _check_manifest_requirements: raise error for "packaging_format" check 2022-12-21 13:04:09 +01:00
Alexandre Aubin
57c36a668d appv2: for app v1 backward compat, don't set arbitrary values for ram/disk usage, use '?' instead 2022-12-07 21:12:54 +01:00
Alexandre Aubin
70a2251588 Merge branch 'dev' into enh-apps-v2 2022-12-07 19:36:52 +01:00
Alexandre Aubin
08521882ca Add a global setting to choose SSOwat's theme 2022-12-06 20:20:24 +01:00
axolotle
700154ceb6 app_upgrade return post_install notif to API 2022-12-04 15:20:03 +01:00
axolotle
968687b512 move tools_update check for notif in _list_upgradable_apps helper 2022-12-04 15:02:32 +01:00
axolotle
6ae9108dec add --with-screenshot option for app_manifest + rename 'image' key to 'screenshot' 2022-12-04 14:42:07 +01:00
Axolotle
b17e00c31e
skip confirmation if ran from CLI in a non-interactive context
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2022-12-04 13:24:47 +01:00
Axolotle
d4d739bbe2
improve version check & rename check key
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2022-12-04 13:23:32 +01:00
Axolotle
92608c6ee3
normalize _extract_app_from_* manifest keys
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2022-12-04 13:19:11 +01:00
Axolotle
8d9605161c
add some comments
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2022-12-04 13:15:29 +01:00
Axolotle
34b191582a
rename 'check' boolean to 'passed'
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2022-12-04 13:12:42 +01:00
Alexandre Aubin
807c1b3794
Merge branch 'dev' into enh-apps-v2 2022-12-03 16:11:56 +01:00
Alexandre Aubin
080988d20e Fixes for the linter overlords 2022-11-26 23:56:27 +01:00
axolotle
dcf4b85b21 app_manifest: return base64 screenshot to API 2022-11-26 15:48:18 +01:00
axolotle
d766e74a6a app_install: return post_install notifs to API 2022-11-26 13:52:19 +01:00
axolotle
f096a14189 app_config_get: do not raise error if no config panel found on API 2022-11-26 12:46:11 +01:00
axolotle
2d3546247a [kindafix] app_install: override manifest name by given label 2022-11-26 12:45:05 +01:00
Alexandre Aubin
ae5941116d
Allow apps to be installed on a path sharing a common base, eg /foo and /foo2 (#1537) 2022-11-26 00:17:26 +01:00
axolotle
a54e976e21 app_install: update notifications display with helpers 2022-11-23 16:12:24 +01:00
axolotle
d0faf8a64a tools_update: add hydrated pre/post upgrade notifications 2022-11-23 16:12:24 +01:00
axolotle
c4432b7823 app_upgrade: display pre and post notifications 2022-11-23 16:12:24 +01:00
axolotle
cdcd967eb1 app: add notifications helpers 2022-11-23 16:12:24 +01:00
axolotle
ea3826fb8d add new type 'simple' to cli _ask_confirmation 2022-11-23 16:12:24 +01:00
axolotle
cbaa26f472 AppUpgrade: ask confirmation when not enough ram 2022-11-23 16:12:24 +01:00
axolotle
d3d18c5ff2 add locales & fix multi_instance check 2022-11-23 16:12:24 +01:00
axolotle
e202df4793 update checks for app requirements as generator 2022-11-23 16:12:24 +01:00
axolotle
727bef92e5 add ask_confirmation helper 2022-11-23 16:12:24 +01:00
axolotle
c45c0a98f2 add app quality, antifeatures and alternative to base manifest 2022-11-23 16:12:24 +01:00
axolotle
56de320a9a add antifeatures and alternatives to catalog's apps manifest 2022-11-23 16:12:24 +01:00
tituspijean
5063e12835
Add 502 custom error page (#1530) 2022-11-14 23:24:08 +01:00
yunohost-bot
7c05df05b7 [CI] Format code with Black 2022-10-24 16:59:10 +00:00
Alexandre Aubin
5cfa0d3be8 questions: improve support for group question used in manifestv2 2022-10-18 20:10:42 +02:00
Alexandre Aubin
bd7081baf2 maintenance: cleanup .py file headers + automate boring copyright headers... 2022-10-09 18:38:34 +02:00
Alexandre Aubin
e2838455e0 Moar i18n friskies 2022-10-05 14:18:21 +02:00
Alexandre Aubin
d1d203726b Merge remote-tracking branch 'origin/enh-actions' into 11.1 2022-10-04 22:33:28 +02:00
axolotle
3d4909bbf5 configpanel: misc fix + add section visible evaluation 2022-10-02 17:10:05 +02:00
Alexandre Aubin
90e3f3235c configpanels: Quick and dirty POC for config panel actions 2022-09-30 15:03:03 +02:00
Alexandre Aubin
6f0478b383 Merge branch 'dev' into manifestv2 2022-09-01 15:12:40 +02:00
yunohost-bot
26665b231a [CI] Format code with Black 2022-08-17 00:34:05 +00:00
Alexandre Aubin
9eb123f8b1 [fix] Better handling of super shitty edge case where an app settings.yml is empty for some unexpected mystic reason ... 2022-08-16 23:01:11 +02:00
Alexandre Aubin
da7efd73cf Merge branch 'buster' into dev 2022-08-13 20:07:41 +02:00
Alexandre Aubin
dc1f5725d0 manifestv2: fix v1/v2 conversion for maintainers 2022-08-03 21:47:02 +02:00
Alexandre Aubin
d9e326f2cd manifestv2: print pre/post install notices during install in cli 2022-05-21 17:11:41 +02:00
Alexandre Aubin
2ccb0c8db6 manifestv2: add some i18n support for doc/notifications 2022-05-21 16:38:51 +02:00
Alexandre Aubin
8b1333a837 manifestv2: iterate on notifications/doc + implement tests for it 2022-05-21 14:23:11 +02:00
Alexandre Aubin
dd6c8976f8 manifestv2: drafty implementation for notifications/doc inside the manifest 2022-05-06 21:14:44 +02:00