Commit graph

113 commits

Author SHA1 Message Date
Alexandre Aubin
157f8c8121
Merge pull request #1729 from YunoHost/extras_packages_from_raw_bash
Support packages_from_raw_bash in extra packages
2023-10-30 18:51:51 +01:00
Alexandre Aubin
54bc79ed58
Apply suggestions from code review 2023-10-22 18:53:57 +02:00
Sebastian Gumprich
74fd75ea33
fix typos 2023-10-22 18:43:26 +02:00
Alexandre Aubin
662998a1ab
Update src/utils/resources.py 2023-10-16 15:49:12 +02:00
tituspijean
23cdf91b01
Restore deleted line 2023-10-15 16:49:55 +02:00
tituspijean
dc362dd636
Revert packages_from_raw_bash test
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2023-10-15 16:48:59 +02:00
tituspijean
a69b80972e
Improve support for packages_from_raw_bash
Co-authored-by: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com>
2023-10-15 16:46:24 +02:00
tituspijean
96e99459e6
Support packages_from_raw_bash in extra packages 2023-10-15 16:31:14 +02:00
Tagada
73a144fa46
Update src/utils/resources.py
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2023-08-22 17:12:03 +02:00
Tagada
ee4d94d382
Update src/utils/resources.py
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2023-08-22 17:11:56 +02:00
Tagada
32376cf18f
Use the existing db_name setting for database provising
This should help upgrading an app from packaging v1 when db_name was different from `app`
2023-08-21 16:39:54 +02:00
yunohost-bot
6e63b6fc53 [CI] Format code with Black 2023-07-17 16:00:11 +00:00
Alexandre Aubin
961dc5a6ee
Merge pull request #815 from YunoHost/allow-system-user-to-auth-on-mail-stack
Allow system users to auth on the mail stack and send emails
2023-07-10 19:14:30 +02:00
yunohost-bot
14040b8fd2 [CI] Format code with Black 2023-07-10 17:05:52 +00:00
Kayou
36a17dfdbd
change string into fstring in resources.py 2023-07-04 14:15:50 +02:00
Alexandre Aubin
dc0fa8c4ac app resources: fix apt resource broken by previous commits ... 2023-07-04 03:27:33 +02:00
Alexandre Aubin
7d2ecc358e quality: ignore complain from mypy 2023-07-04 03:02:20 +02:00
Alexandre Aubin
510e82fa22 quality: fix mypy complaining about types for the 'extras' key in apt resource 2023-06-23 19:08:53 +02:00
Alexandre Aubin
fb4693be39 apps: be able to customize the user-part and domain-part of email when using allow_email on system user 2023-06-20 17:59:09 +02:00
8caff6a9dc Allow passing a list in the manifest.toml for the apt resource packages 2023-06-10 22:27:39 +02:00
Alexandre Aubin
ecc4c2bd1c tests: flake8 not happy about escape sequence in comment @_@ 2023-05-15 16:23:09 +02:00
yunohost-bot
74f4c1660c [CI] Format code with Black 2023-05-08 14:27:54 +00:00
Alexandre Aubin
8fbdd228ab appsv2: in perm resource, fix handling of additional urls containing vars to replace 2023-04-28 22:40:40 +02:00
Alexandre Aubin
b489d8bd99
Merge pull request #1637 from YunoHost/enh-perms-declaration
Support variables in permissions declaration
2023-04-11 13:58:19 +02:00
Alexandre Aubin
8ca756dbd3 appsv2: simplify code to hydrate url/additional_urls with app settings 2023-04-11 13:57:50 +02:00
Alexandre Aubin
aa43e6c22b appsv2: fix edge-case when validating packager-provided infos for permissions resource 2023-04-10 14:34:10 +02:00
tituspijean
fa26574b51
Ooops 2023-04-06 23:32:46 +02:00
tituspijean
a66fccbd5b
Support variables in permissions declaration 2023-04-06 23:21:57 +02:00
Alexandre Aubin
9a4267ffa4 appsv2: for the dir/subdirs of data_dir, create parent folders if they don't exist 2023-04-05 15:58:26 +02:00
yunohost-bot
4e799bfbc3 [CI] Format code with Black 2023-04-02 18:52:32 +00:00
Alexandre Aubin
4b46f32201 appv2: add support for subdirs property in data_dir 2023-03-31 20:26:08 +02:00
Alexandre Aubin
306c5e0e10 app resources: add documentation about latest_github_commit strategy for source autoupdate + autoupdate.upstream 2023-03-31 20:11:25 +02:00
Alexandre Aubin
63981aacf9 appsv2: Add documentation about the new 'autoupdate' mechanism for app sources 2023-03-27 20:34:49 +02:00
Alexandre Aubin
b2596f3287 appsv2: add validation for expected types for permissions stuff 2023-03-14 19:23:24 +01:00
yunohost-bot
98c7b60311 [CI] Format code with Black 2023-03-09 16:19:40 +00:00
Alexandre Aubin
738d0679da
Merge pull request #1615 from YunoHost/sources_toml
helpers: add support for a 'sources' app resources to modernize and replace app.src format
2023-03-09 15:20:06 +01:00
Alexandre Aubin
0d524220e5 appsv2/sources: i18n 2023-03-08 16:44:52 +01:00
Alexandre Aubin
ebc9e645fc
Typo
Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com>
2023-03-08 16:23:58 +01:00
Alexandre Aubin
acb359bdbf Forgot to remove pdb D: 2023-03-06 20:15:20 +01:00
Alexandre Aubin
0a937ab0bd Unecessary pass statement 2023-03-06 20:06:11 +01:00
Alexandre Aubin
4102d626e5 appsv2/sources: change 'sources.toml' to a new 'sources' app resource instead 2023-03-06 19:57:12 +01:00
Kay0u
030d876329
trying to fix _port_is_used 2023-03-02 18:40:56 +01:00
yunohost-bot
76ff5b1844 [CI] Format code with Black 2023-03-01 00:47:18 +00:00
tituspijean
8701d8ec62
Handle undefined main permission url 2023-02-28 22:58:17 +01:00
Alexandre Aubin
8188c28167 appsv2: add documentation for previously introduced allow_email flag 2023-02-28 18:10:27 +01:00
Alexandre Aubin
c48d9ec483 appsv2/mail: add new 'allow_email' flag on app system users that will autogenerate a passwd-like file to be used by dovecot + map for postfix 2023-02-28 17:56:49 +01:00
Éric Gaspar
a3df78fe7e
Update resources.py
set `w` as default permission on `install_dir` folder
2023-02-24 18:46:31 +01:00
John Schmidt
9d214fd3c6
[Fixes 2158] Create parent dirs when provisioning install_dir
Signed-off-by: John Schmidt <john@schmidthaus.rocks>
2023-02-23 20:25:24 -08:00
Alexandre Aubin
e05df676dc appsv2: fix previous commit about __DOMAIN__ because url may be None x_x 2023-02-24 01:30:01 +01:00
yunohost-bot
6210d07c24 [CI] Format code with Black 2023-02-23 23:17:35 +00:00