merge dev into feat/postgres-support

This commit is contained in:
Maurice
2026-11-17 11:10:01 +01:00
3032 changed files with 153102 additions and 20800 deletions
@@ -93,6 +93,7 @@ export async function accommodationsOver(
await createTestJourneyPhotosRepo(conn),
await createTestJourneyEntryPhotosRepo(conn),
await createTestPlacesRepo(conn),
{ releaseValues: async () => 0 } as never, // StorageReleaseService
),
await createTestUnitOfWork(conn),
await createTestDayAssignmentsRepo(conn),
+2 -2
View File
@@ -33,10 +33,10 @@ export async function setAddonEnabled(orm: FactoryOrm, addonId: string, enabled:
await upsertRow(orm, Addons, { id: addonId, name: addonId, type: 'global', enabled }, ['enabled']);
}
/** Collab's chat, notes, polls and next-up panels are opt-out app settings, not addon rows. */
/** Collab's chat, notes, polls, links and next-up panels are opt-out app settings, not addon rows. */
export async function setCollabFeature(
orm: FactoryOrm,
feature: 'chat' | 'notes' | 'polls' | 'whatsnext',
feature: 'chat' | 'notes' | 'polls' | 'links' | 'whatsnext',
enabled: boolean,
): Promise<void> {
await setAppSetting(orm, `collab_${feature}_enabled`, enabled ? 'true' : 'false');
+1
View File
@@ -361,6 +361,7 @@ export async function createPluginRpcHostParts(
await createTestJourneyPhotosRepo(db),
await createTestJourneyEntryPhotosRepo(db),
await createTestPlacesRepo(db),
{ releaseValues: async () => 0 } as never, // StorageReleaseService
);
const atlas = new AtlasService(
await createTestBucketListRepo(db),
+1 -1
View File
@@ -182,7 +182,7 @@ export function setAddonEnabled(db: Database.Database, addonId: string, enabled:
/** Collab's sub-feature flags are opt-out app_settings, not addon rows. */
export function setCollabFeature(
db: Database.Database,
feature: 'chat' | 'notes' | 'polls' | 'whatsnext',
feature: 'chat' | 'notes' | 'polls' | 'links' | 'whatsnext',
enabled: boolean,
): void {
db.prepare('INSERT OR REPLACE INTO app_settings (key, value) VALUES (?, ?)').run(