mirror of
https://github.com/immich-app/immich
synced 2026-08-22 13:13:05 +00:00
feat: magic link to enable backups
This commit is contained in:
parent
5ded6f89b7
commit
d18e09de30
17 changed files with 225 additions and 35 deletions
|
|
@ -137,6 +137,7 @@ describe(ServerService.name, () => {
|
|||
duplicateDetection: true,
|
||||
facialRecognition: true,
|
||||
importFaces: false,
|
||||
backups: false,
|
||||
map: true,
|
||||
reverseGeocoding: true,
|
||||
oauth: false,
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@ export class ServerService extends BaseService {
|
|||
}
|
||||
|
||||
async getFeatures(): Promise<ServerFeaturesDto> {
|
||||
const { reverseGeocoding, metadata, map, machineLearning, trash, oauth, passwordLogin, notifications, ffmpeg } =
|
||||
const { reverseGeocoding, metadata, map, backup, machineLearning, trash, oauth, passwordLogin, notifications, ffmpeg } =
|
||||
await this.getConfig({ withCache: false });
|
||||
const { configFile } = this.configRepository.getEnv();
|
||||
|
||||
|
|
@ -95,6 +95,7 @@ export class ServerService extends BaseService {
|
|||
facialRecognition: isFacialRecognitionEnabled(machineLearning),
|
||||
duplicateDetection: isDuplicateDetectionEnabled(machineLearning),
|
||||
map: map.enabled,
|
||||
backups: backup.beta,
|
||||
reverseGeocoding: reverseGeocoding.enabled,
|
||||
importFaces: metadata.faces.import,
|
||||
sidecar: true,
|
||||
|
|
|
|||
|
|
@ -46,6 +46,7 @@ const updatedConfig = Object.freeze<SystemConfig>({
|
|||
[QueueName.Editor]: { concurrency: 2 },
|
||||
},
|
||||
backup: {
|
||||
beta: false,
|
||||
database: {
|
||||
enabled: true,
|
||||
cronExpression: '0 02 * * *',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue