Commit graph

4048 commits

Author SHA1 Message Date
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
Alexandre Aubin
452ba8bb9a Don't try restarting metronome if no domain configured for it 2023-02-01 18:39:05 +01:00
Alexandre Aubin
daa9eb1cab Duplicate import 2023-02-01 18:31:13 +01:00
yunohost-bot
b943c69c8b [CI] Format code with Black 2023-02-01 17:10:08 +00:00
Alexandre Aubin
ade92e431d diagnosis: we can't yield an ERROR if there's no IPv6, otherwise that blocks all subsequent network-related diagnoser because of the dependency system ... 2023-02-01 17:55:32 +01:00
Alexandre Aubin
c990cee630 metronome: Auto-enable/disable metronome if there's no/at least one domain configured for XMPP 2023-01-31 18:17:53 +01:00
yunohost-bot
2d024557a5 [CI] Format code with Black 2023-01-30 17:34:24 +00:00
Alexandre Aubin
7ff19b78b5
Merge branch 'dev' into enh-ipv6-only 2023-01-30 16:23:44 +01:00
Alexandre Aubin
b8f87e372d dns_exposure setting: we don't want to regenconf nginx/postfix when values change 2023-01-30 16:14:49 +01:00
Tagada
e00d60b049
Apply suggestions from code review
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2023-01-21 13:40:04 +01:00
Alexandre Aubin
95f98a9c68
ipexposuresetting: replace confusing negations with explicit 'in' 2023-01-19 16:45:21 +01:00
Alexandre Aubin
285200a2c7
Merge pull request #1538 from YunoHost/change-loginShell
be able to change the loginShell of a user
2023-01-19 16:25:06 +01:00
Alexandre Aubin
13be9af65f
Simplify code 2023-01-19 16:24:50 +01:00
Kay0u
36b0f58993
rewrite list_shells 2023-01-19 11:15:02 +01:00
Tagadda
e82849492b zblerg 2023-01-10 10:37:40 +01:00
Tagadda
1a07839b5f diagnosis 2023-01-10 10:37:40 +01:00
Tagadda
28e4b45806 oops again... 2023-01-10 10:37:40 +01:00
Tagadda
c4c78f5daa oops 2023-01-10 10:37:40 +01:00
Tagadda
f4b396219c Clarify conditions 2023-01-10 10:37:40 +01:00
Tagadda
029c3b7686 Change to select 2023-01-10 10:37:40 +01:00
Tagadda
ea20b1581d enh: ipv6 only global setting 2023-01-10 10:37:40 +01:00