Commit graph

4018 commits

Author SHA1 Message Date
axolotle
eacb7016e2 options:tests: replace display_text tests 2023-03-21 19:03:09 +01:00
axolotle
af0cd78fcc options:tests: replace number tests 2023-03-21 19:01:45 +01:00
axolotle
af77e0b62f options:tests: replace user tests 2023-03-21 18:58:25 +01:00
axolotle
db1710a0a9 options:tests: replace domain tests 2023-03-21 18:56:02 +01:00
axolotle
df6bb22820 options:tests: replace boolean tests 2023-03-21 18:53:55 +01:00
axolotle
70149fe41d options:tests: replace path tests 2023-03-21 18:50:23 +01:00
axolotle
38381b8149 options:tests: replace some password tests 2023-03-21 18:47:04 +01:00
axolotle
26ca9e5c69 options:tests: replace some string tests 2023-03-21 18:38:53 +01:00
axolotle
c211b75279 options:tests: add base class Test 2023-03-21 18:31:24 +01:00
Alexandre Aubin
b2596f3287 appsv2: add validation for expected types for permissions stuff 2023-03-14 19:23:24 +01:00
Alexandre Aubin
a95d10e50c backup: fix boring issue where archive is a broken symlink... 2023-03-13 18:48:57 +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
Alexandre Aubin
729868429a appsv2: when hydrating template, the data may be not-string, eg ports are int 2023-03-03 22:54:37 +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
Alexandre Aubin
276cf11c4d
Merge pull request #1602 from YunoHost/app-upgrade-continue-on-failures
feat: add '--continue-on-failure' to 'yunohost app upgrade
2023-02-28 13:33:50 +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
Laurent Peuch
404746c125 feat: add '--continue-on-failure' to 'yunohost app upgrade 2023-02-24 03:33:10 +01: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
Alexandre Aubin
ad63e5d383 Make the linters god happy... 2023-02-23 22:27:46 +01:00
Alexandre Aubin
943b9ff89f appsv2: fix usage of __DOMAIN__ in permission url 2023-02-23 22:25:44 +01:00
Alexandre Aubin
139e54a2e5
appsv2: data_dir's owner should have rwx by default 2023-02-23 21:53:59 +01:00
Alexandre Aubin
309c868f8c
Merge pull request #1607 from YunoHost/fix-dovecot-pop3d
[fix] dovecot-pop3d is never installed
2023-02-23 16:09:26 +01:00
ljf (zamentur)
f91f87a1be
[fix] dovecot-pop3d is never installed 2023-02-23 16:06:47 +01:00
Eric Geldmacher
bef4809f94
Pass errors='replace' to open command
This is to handle decoding errors described in YunoHost/issues#2156
2023-02-23 08:48:22 -06:00
Alexandre Aubin
bab27014d9 apps: when creating the app's bash env for script, make sure to use the manifest from the workdir instead of app setting dir, which is important for consistency during edge case when upgrade from v1 to v2 fails 2023-02-23 14:53:57 +01:00
yunohost-bot
aa50526ccd [CI] Format code with Black 2023-02-21 19:49:52 +00:00
Alexandre Aubin
1dc8b75315 appsv2: fix check that postgresql db exists... 2023-02-21 17:08:12 +01:00
Alexandre Aubin
d725b45428 appsv2: fix reload_only_if_change option not working as expected, resulting in incorrect 'Firewall reloaded' messages 2023-02-21 15:22:50 +01:00
Alexandre Aubin
888593ad22 appsv2: fix resource provisioning scripts picking up already-closed operation logger, resulting in confusing debugging output 2023-02-21 14:57:10 +01:00
Alexandre Aubin
4dfff20140 appsv2: add support for a packages_from_raw_bash option in apt where one can add a multiline bash snippet to echo packages 2023-02-21 14:51:51 +01:00
Alexandre Aubin
df6a2a2cd2 apps: add 'YNH_DEBIAN_VERSION' variable in apps contexts 2023-02-21 13:03:51 +01:00
Alexandre Aubin
e1d62a1910
apps: Fix edge case in change_url where old_nginx_conf_backup could be None 2023-02-20 20:50:53 +01:00
yunohost-bot
95b80b056f [CI] Format code with Black 2023-02-20 19:46:58 +00:00
Alexandre Aubin
ec4c2684f7 appsv2: zblerg I inadvertendly removed the line that update the user group x_x 2023-02-20 20:26:50 +01:00
Alexandre Aubin
63f0f08421 appsv2: revert commit that adds a bunch of warning about apt/database consistency, it's more relevant to have them in package linter instead 2023-02-20 18:03:32 +01:00
Alexandre Aubin
2b70ccbf40 apps: simplify the redaction of change_url scripts by adding a new ynh_change_url_nginx_config helper + predefining new/old/change domain/path variables 2023-02-20 17:52:27 +01:00
Alexandre Aubin
890b8e8082 Semantic 2023-02-20 17:52:27 +01:00
Alexandre Aubin
290d627faf ux: Moar boring postgresql messages displayed as warning 2023-02-20 17:52:27 +01:00