enable name resolution via Flux servers

This commit is contained in:
Evgeny Poberezkin
2026-07-03 09:51:18 +01:00
parent 24ec83636d
commit f92e2d956f
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -39,8 +39,8 @@ operatorFlux =
serverDomains = ["simplexonflux.com"],
conditionsAcceptance = CARequired Nothing,
enabled = True,
smpRoles = ServerRoles {storage = False, proxy = True, names = False},
xftpRoles = ServerRoles {storage = False, proxy = True, names = False}
smpRoles = ServerRoles {storage = False, proxy = True, names = True},
xftpRoles = allRoles
}
-- Please note: if any servers are removed from the lists below, they MUST be added here.
@@ -19,7 +19,7 @@ ALTER TABLE groups ADD COLUMN group_domain_verified SMALLINT;
ALTER TABLE user_contact_links ADD COLUMN link_priv_sig_key BYTEA;
ALTER TABLE server_operators ADD COLUMN smp_role_names SMALLINT NOT NULL DEFAULT 0;
UPDATE server_operators SET smp_role_names = 1 WHERE server_operator_tag = 'simplex';
UPDATE server_operators SET smp_role_names = 1 WHERE server_operator_tag = 'simplex' OR server_operator_tag = 'flux';
|]
down_m20260603_simplex_name :: Text
@@ -18,7 +18,7 @@ ALTER TABLE groups ADD COLUMN group_domain_verified INTEGER;
ALTER TABLE user_contact_links ADD COLUMN link_priv_sig_key BLOB;
ALTER TABLE server_operators ADD COLUMN smp_role_names INTEGER NOT NULL DEFAULT 0;
UPDATE server_operators SET smp_role_names = 1 WHERE server_operator_tag = 'simplex';
UPDATE server_operators SET smp_role_names = 1 WHERE server_operator_tag = 'simplex' OR server_operator_tag = 'flux';
|]
down_m20260603_simplex_name :: Query