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 |
|
Alexandre Aubin
|
848adf89c8
|
log: Previous trick about getting rid of setting didnt work, forgot to use metadata instead of self.metadata
|
2023-02-20 17:52:27 +01:00 |
|
yunohost-bot
|
16aa09174d
|
[CI] Format code with Black
|
2023-02-19 23:31:08 +00:00 |
|
Alexandre Aubin
|
93d011704f
|
Merge pull request #1598 from YunoHost/ci-format-debian/11.1.8
[CI] Format code with Black
|
2023-02-19 20:12:40 +01:00 |
|
yunohost-bot
|
2389884e85
|
[CI] Format code with Black
|
2023-02-19 19:10:51 +00:00 |
|
Alexandre Aubin
|
50f86af51a
|
quality: unused function
|
2023-02-19 19:40:28 +01:00 |
|
Alexandre Aubin
|
13d50f4f9a
|
postgresql: ugly hack to hide boring warning messages when installing postgresql with apt the first time ...
|
2023-02-19 19:40:15 +01:00 |
|
Alexandre Aubin
|
d3ec5d055f
|
apps: fix edge case when upgrading using a local folder not modified since a while
|
2023-02-19 18:10:35 +01:00 |
|
Alexandre Aubin
|
ce7227c078
|
appsv2: add home dir that defaults to /var/www/__APP__ for system user resource
|
2023-02-19 18:10:05 +01:00 |
|
Alexandre Aubin
|
771b801ece
|
appsv2: zbfgblg using '&' in os.system calls is interpreted using sh and not bash i guess...
|
2023-02-18 17:29:37 +01:00 |
|
Alexandre Aubin
|
d123fd7674
|
appsv2: fix user provisionion ... Aleks was drunk ... check_output('cmd &>/dev/null') will always return empty string...
|
2023-02-18 16:08:26 +01:00 |
|
Alexandre Aubin
|
475c93d582
|
postinstall: raise a proper error when trying to use e.g. 'admin' as the first username which will conflict with the admins group mail aliases
|
2023-02-17 16:37:00 +01:00 |
|
Alexandre Aubin
|
58ac633d80
|
apps: don't miserably crash when failing to read .md file such as DESCRIPTION.md
|
2023-02-17 15:27:28 +01:00 |
|
Alexandre Aubin
|
97b69e7c69
|
appsv2: add check about database vs. apt consistency in resource / warn about lack of explicit dependency to mariadb-server
|
2023-02-17 15:19:23 +01:00 |
|
yunohost-bot
|
069b782f07
|
[CI] Format code with Black
|
2023-02-15 21:37:05 +00:00 |
|
Alexandre Aubin
|
0c4a006a4f
|
appsv2: also replace __DOMAIN__ in resource properties
|
2023-02-15 19:46:25 +01:00 |
|
Alexandre Aubin
|
8fd7547528
|
Unused imports
|
2023-02-15 16:57:32 +01:00 |
|
Alexandre Aubin
|
7be7eb1154
|
apps: fix inconsistent app removal during remove-after-failed-upgrade and remove-after-failed-backup contexts
|
2023-02-14 17:33:50 +01:00 |
|
Alexandre Aubin
|
0ab20b733b
|
appsv2: mysqlshow is fucking dumb and returns exit code 0 when DB doesnt exists ...
|
2023-02-14 16:09:55 +01:00 |
|
Alexandre Aubin
|
ab8a6b940f
|
appsv2: fix check that main permission url is '/'
|
2023-02-13 18:28:45 +01:00 |
|
Alexandre Aubin
|
1d1a3756ba
|
appsv2: missing raw_msg=True for exceptions
|
2023-02-13 18:17:39 +01:00 |
|
Alexandre Aubin
|
aa9bc47aa6
|
appsv2: fix i18n for arch mismatch, can't juste join() inside string formated with .format()
|
2023-02-13 14:47:25 +01:00 |
|
Alexandre Aubin
|
d0ca120eb0
|
diagnosis: fix typo, diagnosis detail should be a list, not a string
|
2023-02-13 02:37:07 +01:00 |
|
Alexandre Aubin
|
9bd4344f25
|
appsv2: we don't want to store user-provided passwords by default, but they should still be set in the env for the script to use it
|
2023-02-12 22:26:05 +01:00 |
|
Alexandre Aubin
|
658940079d
|
backup: fix postinstall during full restore ... tmp admin user can't be named 'admin' because of conflicting alias with the admins group
|
2023-02-09 18:59:55 +01:00 |
|
Alexandre Aubin
|
a4fa6e07d0
|
permissions: fix trailing-slash issue in edge case where app has additional urls related to a different domain
|
2023-02-09 17:09:15 +01:00 |
|
Alexandre Aubin
|
48e488f89e
|
backup: fix full backup restore postinstall calls that now need first username+fullname+password
|
2023-02-08 22:46:03 +01:00 |
|
Alexandre Aubin
|
2eb7da0603
|
dns: fix CAA recommended DNS conf -> 0 is apparently a more sensible value than 128...
|
2023-02-07 12:17:28 +01:00 |
|
Alexandre Aubin
|
e39c89e087
|
Merge branch 'dev' into dev
|
2023-02-06 17:48:07 +01:00 |
|
Alexandre Aubin
|
1e5203426b
|
admins migration: try to losen up even more the search for first admin user x_x
|
2023-02-06 17:41:43 +01:00 |
|
Alexandre Aubin
|
b5b69e952d
|
domain/dns: don't miserably crash when the domain is known by lexicon but not in registrar_list.toml
|
2023-02-06 16:26:46 +01:00 |
|