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 |
|
Alexandre Aubin
|
29c6564f09
|
ci: fix backup test / gotta tell the mocker about the new 'name' arg for backup create messages é_è
|
2023-02-06 16:15:55 +01:00 |
|
Alexandre Aubin
|
0f24846e0b
|
backup: fix previou fix /o\, name is sometimes None
|
2023-02-06 16:15:22 +01:00 |
|
Alexandre Aubin
|
71042f0860
|
appsv2: when initalizing permission, make sure to add 'all_users' when visitors is chosen
|
2023-02-06 14:32:19 +01:00 |
|
Alexandre Aubin
|
c179d4b88f
|
appsv2/group question: don't include primary groups in choices
|
2023-02-06 14:32:19 +01:00 |
|
Alexandre Aubin
|
4dee434e71
|
domains: add missing logic to inject translated 'help' keys in config panel like we do for global settings
|
2023-02-05 18:31:36 +01:00 |
|
Alexandre Aubin
|
fb54da2e35
|
appsv2: moar fixes for v1->v2 upgrade not getting the proper env context
|
2023-02-04 18:46:33 +01:00 |
|
Alexandre Aubin
|
8485ebc75a
|
admin->admins migration: try to handle boring case where the 'first' user cant be identified because it doesnt have the root@ alias
|
2023-02-03 21:13:17 +01:00 |
|
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
|
0e787acb5d
|
appv2: typo in ports resource doc x_x
|
2023-02-03 15:32:09 +01:00 |
|
Éric Gaspar
|
b06a3053f6
|
Fix spacing
|
2023-02-03 10:21:09 +01:00 |
|
Alexandre Aubin
|
2107a84852
|
appv2 resources: document the fact that the apt resource may create a phpversion setting when the dependencies contain php packages
|
2023-02-03 02:41:28 +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
|
8090acb158
|
backup: add name of the backup in create/delete message, otherwise that creates some spooky messages with 'Backup created' directly followed by 'Backup deleted' during safety-backup-before-upgrade in v2 apps
|
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 |
|
Alexandre Aubin
|
a9ac55e4a5
|
log/appv2: don't dump all settings in log metadata
|
2023-02-02 23:20:52 +01:00 |
|
yunohost-bot
|
3577956c06
|
[CI] Format code with Black
|
2023-02-02 13:35:03 +00:00 |
|
Alexandre Aubin
|
314d27bec1
|
Fix flake8 complains
|
2023-02-01 20:21:19 +01:00 |
|