Commit graph

101 commits

Author SHA1 Message Date
Alexandre Aubin
476908bdc2 appsv2: fix permission provisioning for fulldomain apps + fix apps not properly getting removed after failed resources init 2023-02-03 20:38:27 +01:00
Alexandre Aubin
ba4f192557 maintenance: new year, update copyright header 2023-02-02 23:51:14 +01:00
yunohost-bot
ca3fb85286 [CI] Format code with Black 2023-02-02 22:43:47 +00:00
Alexandre Aubin
2b2d49a504 appv2: fix env not including vars for v1->v2 upgrade 2023-02-02 23:20:52 +01:00
Alexandre Aubin
1c95bcff09 appv2: safety-backup-before-upgrade should only contain the app 2023-02-02 23:20:52 +01:00
Alexandre Aubin
3110460a40 appv2: resource upgrade will tweak settings, we have to re-update the env_dict after upgrading resources 2023-02-02 23:20:52 +01:00
yunohost-bot
b943c69c8b [CI] Format code with Black 2023-02-01 17:10:08 +00:00
yunohost-bot
8859038a41 [CI] Format code with Black 2023-01-10 01:30:51 +00:00
Alexandre Aubin
25c10166cf apps: fix trick to find the default branch from git repo @_@ 2023-01-10 00:48:44 +01:00
Alexandre Aubin
f258eab6c2 ssowat: add use_remote_user_var_in_nginx_conf flag on permission 2023-01-09 23:58:45 +01:00
YunoHost Bot
b9be18c781
[CI] Format code with Black (#1562) 2023-01-08 15:52:48 +01:00
Alexandre Aubin
a6db52b7b4 apps: don't clone 'master' branch by default, use git ls-remote to check what's the default branch instead 2023-01-08 14:59:10 +01:00
Alexandre Aubin
dd33476fac i18n: fix (un)defined string issues 2023-01-06 21:33:36 +01:00
yunohost-bot
9bf2b0b546 [CI] Format code with Black 2023-01-06 06:00:05 +00:00
Alexandre Aubin
e54bf2ed67 appv2: fix pre-upgrade version check 2023-01-05 20:50:43 +01:00
axolotle
946c0bcf7d fix app_instance_name var + formatting 2023-01-05 20:35:47 +01:00
Alexandre Aubin
7a35a3a671 appv2: implement dismiss logic for app notifications 2023-01-04 20:22:49 +01:00
Alexandre Aubin
d0d0d3e0da appv2: cosmetic, having the notification name is weird, it's gonna be pretty much always just 'main' 2023-01-04 01:18:06 +01:00
Alexandre Aubin
2f1ddb1edf appv2: simplify the expected notification file/folder structure in apps 2023-01-04 01:16:47 +01:00
Alexandre Aubin
e9b5ec90a4 Yoloimplementation of app logo support (require change in app catalog build) 2023-01-03 00:46:14 +01:00
Alexandre Aubin
7d9984c109 Fix a bunch of inconsistency or variable not properly replaced between final_path/install_dir 2022-12-26 15:37:28 +01:00
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