Commit graph

4018 commits

Author SHA1 Message Date
Alexandre Aubin
23bd32b3cd Fix linters 2021-10-06 13:45:15 +02:00
Alexandre Aubin
99d2637cfe FileQuestion: self.value may not be an str 2021-10-06 13:07:50 +02:00
yunohost-bot
eb8a59751e [CI] Format code 2021-10-06 00:57:04 +00:00
ljf
7425684552 [enh] Add visible attribute support in cli 2021-10-06 02:37:27 +02:00
Alexandre Aubin
bbba01a72c
Merge pull request #1353 from YunoHost/ci-format-dev
[CI] Format code
2021-10-05 13:46:46 +02:00
Alexandre Aubin
4cd5e9b632 app_info: return a new is_webapp info meant to be used by API 2021-10-05 13:46:06 +02:00
yunohost-bot
1baebeba6d [CI] Format code 2021-10-05 11:13:38 +00:00
Alexandre Aubin
de4b3825ab Ambiguous var name 2021-10-05 12:50:25 +02:00
Alexandre Aubin
61ec02c97c lint: Kill bare excepts 2021-10-05 12:47:32 +02:00
Alexandre Aubin
54d901ad78 config: handle case where file quetion didnt get modified from webadmin, in which case self.value contains a path 2021-10-05 12:26:21 +02:00
Alexandre Aubin
df19488c87
Merge pull request #1351 from YunoHost/ci-format-dev
[CI] Format code
2021-10-04 23:16:57 +02:00
Alexandre Aubin
496625919d
Merge pull request #1350 from YunoHost/fix-app-upgrade
fix app upgrade
2021-10-04 23:16:39 +02:00
Kayou
7411abde24
Merge branch 'dev' into bullseye 2021-10-04 15:15:10 +02:00
yunohost-bot
27721749da [CI] Format code 2021-10-04 12:50:57 +00:00
Kay0u
32998b1185
my_webapp is to clean too 2021-10-04 14:33:30 +02:00
Kay0u
d0c956e132
Merge branch 'dev' into fix-app-upgrade 2021-10-04 13:29:59 +02:00
Kay0u
96e7f1444d
fix string in test_apps 2021-10-04 13:29:46 +02:00
Kay0u
d5aaaa6fc6
Merge branch 'dev' into fix-app-upgrade 2021-10-04 12:23:04 +02:00
Kay0u
9863263a28
test to install/upgrade/remove an app from the manifest 2021-10-04 12:21:10 +02:00
Kay0u
4739859598
fix app upgrade 2021-10-04 11:52:12 +02:00
Alexandre Aubin
75b36f3b4a tests: Try to fix mypy again /o\ 2021-10-04 03:40:41 +02:00
yunohost-bot
a68f98d800 [CI] Format code 2021-10-03 23:56:11 +00:00
Alexandre Aubin
42da171819 Add proper test for parse_app_instance_name 2021-10-04 01:24:16 +02:00
Alexandre Aubin
9c4ea1ccc6 Try to make mypy happy 2021-10-04 01:16:20 +02:00
Alexandre Aubin
8375ef7d5b Re-drop app_fetchlist legacy 2021-10-02 20:49:26 +02:00
Alexandre Aubin
38ea29afd1 Merge branch 'dev' into bullseye 2021-10-02 20:46:36 +02:00
Alexandre Aubin
4640d4577d Moar mypy 2021-10-02 20:24:13 +02:00
Alexandre Aubin
b88074b007 Make linter happy 2021-10-02 20:23:23 +02:00
Alexandre Aubin
3591a01fdb Merge branch 'dev' into bullseye 2021-10-02 20:08:36 +02:00
yunohost-bot
a40ecdc986 [CI] Format code 2021-10-02 02:29:22 +00:00
Alexandre Aubin
4fda262bc0 fix tests: Missing mkdir on force 2021-10-02 01:59:16 +02:00
Alexandre Aubin
6c03cf2b11 Yoloattempt to try to cleanup some ugly os.system 2021-10-01 20:22:59 +02:00
Alexandre Aubin
3daac24443 Typos 2021-10-01 19:25:36 +02:00
Alexandre Aubin
0f0f26f5c4 For some reason these tests now wanted to interactively ask for is_public arg ... don't know why it was working before ... 2021-10-01 19:25:32 +02:00
Alexandre Aubin
310b664fab Clarify return type for mypy 2021-10-01 19:20:21 +02:00
Alexandre Aubin
34d9573121 Misc fixes for app repo url check / parsing 2021-10-01 16:46:05 +02:00
Alexandre Aubin
171b3b25d9 Improve check that arg is a yunohost repo url 2021-10-01 16:16:31 +02:00
Alexandre Aubin
680e13c044 Make mypy happier 2021-10-01 03:45:40 +02:00
Alexandre Aubin
a26145ece0 Simplify(?) YNH_APP_BASEDIR creation, to happen in _make_env_for_app_script 2021-10-01 03:42:59 +02:00
Alexandre Aubin
313897d184 Simplify _check_manifest_requirements 2021-10-01 03:33:12 +02:00
Alexandre Aubin
5fc493058d Aaaaaand I forgot to commit app_catalog.py ... 2021-10-01 03:10:26 +02:00
Alexandre Aubin
80f4b892e6 Prevent full-domain app to be moved to a subpath with change-url ? 2021-10-01 03:05:14 +02:00
Alexandre Aubin
1e046dcd37 Misc typoz 2021-10-01 02:50:38 +02:00
Alexandre Aubin
206b430a9f Offload appcatalog stuff to a separate file to limit the size of app.py 2021-10-01 02:50:30 +02:00
Alexandre Aubin
f84d8618bc Offload legacy app patching stuff to utils/legacy.py to limit the size of app.py 2021-10-01 02:22:23 +02:00
Alexandre Aubin
a1ff2ced37 Clarify code that extract app from folder/gitrepo + misc other small refactors 2021-10-01 02:21:31 +02:00
Alexandre Aubin
8cdd5e43d7 Simplify / fix inconsistencies in app files kept after install/upgrade 2021-10-01 02:18:35 +02:00
Alexandre Aubin
55598151c0 Unhappy linter is unhappy 2021-09-29 22:29:28 +02:00
Alexandre Aubin
df0cdd483d Black 2021-09-29 22:20:36 +02:00
Alexandre Aubin
d75c1a61e8 Adapt ready_for_ACME check to the new dnsrecord result format... 2021-09-29 22:11:24 +02:00