* feat(tos): persist versioned approval (OpenSim/Services/Interfaces/IUserAccountService.cs) * docs(tos): archive complete City NexVerse Bürgerordnung 1.0 as supplied * feat(tos): persist versioned approval (OpenSim/Services/Interfaces/IUserAccountService.cs) * feat(tos): persist versioned approval (OpenSim/Services/Interfaces/ILoginService.cs) * feat(tos): persist versioned approval (OpenSim/Services/UserAccountService/UserAccountService.cs) * feat(tos): persist versioned approval (OpenSim/Data/SQLite/Resources/UserAccount.migrations) * feat(tos): persist versioned approval (OpenSim/Data/PGSQL/Resources/UserAccount.migrations) * feat(tos): persist versioned approval (OpenSim/Data/MySQL/Resources/UserAccount.migrations) * feat(tos): forward Firestorm consent flag in XML-RPC and LLSD login requests * feat(login): require versioned Bürgerordnung acceptance before simulator entry * config(login): prepare versioned NexVerse Bürgerordnung ToS (disabled until verified) * config(login): prepare versioned NexVerse Bürgerordnung ToS (disabled until verified) * config(login): prepare versioned NexVerse Bürgerordnung ToS (disabled until verified) * docs(tos): preserve final newline in original Bürgerordnung attachment * test(tos): guard exact Bürgerordnung 1.0, consent ordering and SQL migrations * docs(tos): full Bürgerordnung v1.0, Firestorm handshake, migration and staged rollout * fix(tos): remove duplicate UserAccount consent declarations and mappings * fix(tos): persist consent fields through remote UserAccount setaccount handler * test(tos): prevent remote setaccount from dropping persisted consent fields * docs(tos): clarify Firestorm early consent checkbox and remote account persistence * feat(tos): enable mandatory Bürgerordnung v1.0 in active Robust.HG.ini * test(tos): require active Bürgerordnung confirmation in production HG config * docs(tos): activate HG TOS by default in project config and document deployment/rollback
75 lines
2.1 KiB
Plaintext
75 lines
2.1 KiB
Plaintext
:VERSION 1
|
|
|
|
BEGIN TRANSACTION;
|
|
|
|
-- useraccounts table
|
|
CREATE TABLE UserAccounts (
|
|
PrincipalID CHAR(36) primary key,
|
|
ScopeID CHAR(36) NOT NULL,
|
|
FirstName VARCHAR(64) NOT NULL,
|
|
LastName VARCHAR(64) NOT NULL,
|
|
Email VARCHAR(64),
|
|
ServiceURLs TEXT,
|
|
Created INT(11),
|
|
UserLevel integer NOT NULL DEFAULT 0,
|
|
UserFlags integer NOT NULL DEFAULT 0,
|
|
UserTitle varchar(64) NOT NULL DEFAULT ''
|
|
);
|
|
|
|
COMMIT;
|
|
|
|
:VERSION 2
|
|
|
|
BEGIN TRANSACTION;
|
|
|
|
INSERT INTO UserAccounts (PrincipalID, ScopeID, FirstName, LastName, Email, ServiceURLs, Created) SELECT `UUID` AS PrincipalID, '00000000-0000-0000-0000-000000000000' AS ScopeID, username AS FirstName, surname AS LastName, '' as Email, '' AS ServiceURLs, created as Created FROM users;
|
|
|
|
COMMIT;
|
|
|
|
:VERSION 3 # -------------------------
|
|
|
|
BEGIN;
|
|
|
|
ALTER TABLE `UserAccounts` ADD `active` BOOLEAN NOT NULL DEFAULT TRUE;
|
|
|
|
COMMIT;
|
|
|
|
:VERSION 4 # NexVerse account lifecycle -------------------------
|
|
|
|
BEGIN;
|
|
|
|
ALTER TABLE `UserAccounts` ADD `UserCountry` varchar(64) NOT NULL DEFAULT '';
|
|
ALTER TABLE `UserAccounts` ADD `NexVerseState` varchar(32) NOT NULL DEFAULT 'active';
|
|
ALTER TABLE `UserAccounts` ADD `NexVerseStateReason` varchar(255) NOT NULL DEFAULT '';
|
|
ALTER TABLE `UserAccounts` ADD `NexVerseStateChanged` integer NOT NULL DEFAULT 0;
|
|
|
|
COMMIT;
|
|
|
|
:VERSION 5 # NexVerse display names -------------------------
|
|
|
|
BEGIN;
|
|
|
|
ALTER TABLE `UserAccounts` ADD `DisplayName` varchar(64) NOT NULL DEFAULT '';
|
|
ALTER TABLE `UserAccounts` ADD `DisplayNameChanged` integer NOT NULL DEFAULT 0;
|
|
|
|
COMMIT;
|
|
|
|
|
|
:VERSION 6 # NexVerse roles and scopes -------------------------
|
|
|
|
BEGIN;
|
|
|
|
ALTER TABLE `UserAccounts` ADD `NexVerseRoles` varchar(512) NOT NULL DEFAULT 'resident';
|
|
ALTER TABLE `UserAccounts` ADD `NexVerseScopes` varchar(2048) NOT NULL DEFAULT '';
|
|
|
|
COMMIT;
|
|
|
|
:VERSION 7 # NexVerse Firestorm ToS approval -------------------------
|
|
|
|
BEGIN TRANSACTION;
|
|
|
|
ALTER TABLE `UserAccounts` ADD `NexVerseTosAcceptedVersion` varchar(64) NOT NULL DEFAULT '';
|
|
ALTER TABLE `UserAccounts` ADD `NexVerseTosAcceptedAtUtc` integer NOT NULL DEFAULT 0;
|
|
|
|
COMMIT;
|