From 5d0f9ce30a90fc0eed8235769b1f974956712641 Mon Sep 17 00:00:00 2001 From: gauthier-th Date: Thu, 15 May 2025 00:55:48 +0200 Subject: [PATCH] refactor: rename to Seerr --- cypress/config/settings.cypress.json | 2 +- public/site.webmanifest | 2 +- server/datasource.ts | 4 ++-- server/logger.ts | 6 +++--- src/components/Settings/SettingsLogs/index.tsx | 2 +- src/i18n/locale/en.json | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/cypress/config/settings.cypress.json b/cypress/config/settings.cypress.json index 973f4c59..b9a45a53 100644 --- a/cypress/config/settings.cypress.json +++ b/cypress/config/settings.cypress.json @@ -201,4 +201,4 @@ "forceMaxTtl": -1 } } -} +} \ No newline at end of file diff --git a/public/site.webmanifest b/public/site.webmanifest index 86ca0aa5..cda6a97f 100644 --- a/public/site.webmanifest +++ b/public/site.webmanifest @@ -77,4 +77,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/server/datasource.ts b/server/datasource.ts index 0c5b9ad3..d474658c 100644 --- a/server/datasource.ts +++ b/server/datasource.ts @@ -74,7 +74,7 @@ const postgresDevConfig: DataSourceOptions = { : parseInt(process.env.DB_PORT ?? '5432'), username: process.env.DB_USER, password: process.env.DB_PASS, - database: process.env.DB_NAME ?? 'jellyseerr', + database: process.env.DB_NAME ?? 'seerr', ssl: buildSslConfig(), synchronize: false, migrationsRun: true, @@ -92,7 +92,7 @@ const postgresProdConfig: DataSourceOptions = { : parseInt(process.env.DB_PORT ?? '5432'), username: process.env.DB_USER, password: process.env.DB_PASS, - database: process.env.DB_NAME ?? 'jellyseerr', + database: process.env.DB_NAME ?? 'seerr', ssl: buildSslConfig(), synchronize: false, migrationsRun: false, diff --git a/server/logger.ts b/server/logger.ts index bf4d9ab7..45cc4593 100644 --- a/server/logger.ts +++ b/server/logger.ts @@ -32,14 +32,14 @@ const logger = winston.createLogger({ }), new winston.transports.DailyRotateFile({ filename: process.env.CONFIG_DIRECTORY - ? `${process.env.CONFIG_DIRECTORY}/logs/jellyseerr-%DATE%.log` - : path.join(__dirname, '../config/logs/jellyseerr-%DATE%.log'), + ? `${process.env.CONFIG_DIRECTORY}/logs/seerr-%DATE%.log` + : path.join(__dirname, '../config/logs/seerr-%DATE%.log'), datePattern: 'YYYY-MM-DD', zippedArchive: true, maxSize: '20m', maxFiles: '7d', createSymlink: true, - symlinkName: 'jellyseerr.log', + symlinkName: 'seerr.log', }), new winston.transports.DailyRotateFile({ filename: process.env.CONFIG_DIRECTORY diff --git a/src/components/Settings/SettingsLogs/index.tsx b/src/components/Settings/SettingsLogs/index.tsx index 4fbcafc0..f09a0c34 100644 --- a/src/components/Settings/SettingsLogs/index.tsx +++ b/src/components/Settings/SettingsLogs/index.tsx @@ -35,7 +35,7 @@ import useSWR from 'swr'; const messages = defineMessages('components.Settings.SettingsLogs', { logs: 'Logs', logsDescription: - 'You can also view these logs directly via stdout, or in {appDataPath}/logs/jellyseerr.log.', + 'You can also view these logs directly via stdout, or in {appDataPath}/logs/seerr.log.', time: 'Timestamp', level: 'Severity', label: 'Label', diff --git a/src/i18n/locale/en.json b/src/i18n/locale/en.json index c088143a..34963834 100644 --- a/src/i18n/locale/en.json +++ b/src/i18n/locale/en.json @@ -950,7 +950,7 @@ "components.Settings.SettingsLogs.level": "Severity", "components.Settings.SettingsLogs.logDetails": "Log Details", "components.Settings.SettingsLogs.logs": "Logs", - "components.Settings.SettingsLogs.logsDescription": "You can also view these logs directly via stdout, or in {appDataPath}/logs/jellyseerr.log.", + "components.Settings.SettingsLogs.logsDescription": "You can also view these logs directly via stdout, or in {appDataPath}/logs/seerr.log.", "components.Settings.SettingsLogs.message": "Message", "components.Settings.SettingsLogs.pauseLogs": "Pause", "components.Settings.SettingsLogs.resumeLogs": "Resume",