chore: remove unused files (#1966)
* chore: removed unused files Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr> * chore: remove cypress deprecated config option Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr> * chore: remove deprecated log file Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr> --------- Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>
This commit is contained in:
@@ -6,7 +6,6 @@
|
|||||||
.editorconfig
|
.editorconfig
|
||||||
.eslintrc.js
|
.eslintrc.js
|
||||||
.git
|
.git
|
||||||
.gitbook.yaml
|
|
||||||
.gitconfig
|
.gitconfig
|
||||||
.github
|
.github
|
||||||
.gitignore
|
.gitignore
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
root: ./docs
|
|
||||||
|
|
||||||
structure:
|
|
||||||
readme: README.md
|
|
||||||
summary: SUMMARY.md
|
|
||||||
5
.github/holopin.yml
vendored
5
.github/holopin.yml
vendored
@@ -1,5 +0,0 @@
|
|||||||
organization: overseerr
|
|
||||||
defaultSticker: clcyagj1j329008l468ya8pu2
|
|
||||||
stickers:
|
|
||||||
- id: clcyagj1j329008l468ya8pu2
|
|
||||||
alias: overseerr-contributor
|
|
||||||
38
.github/lock.yml
vendored
38
.github/lock.yml
vendored
@@ -1,38 +0,0 @@
|
|||||||
# Configuration for Lock Threads - https://github.com/dessant/lock-threads-app
|
|
||||||
|
|
||||||
# Number of days of inactivity before a closed issue or pull request is locked
|
|
||||||
daysUntilLock: 365
|
|
||||||
|
|
||||||
# Skip issues and pull requests created before a given timestamp. Timestamp must
|
|
||||||
# follow ISO 8601 (`YYYY-MM-DD`). Set to `false` to disable
|
|
||||||
skipCreatedBefore: false
|
|
||||||
|
|
||||||
# Issues and pull requests with these labels will be ignored. Set to `[]` to disable
|
|
||||||
exemptLabels:
|
|
||||||
- dependencies
|
|
||||||
|
|
||||||
# Label to add before locking, such as `outdated`. Set to `false` to disable
|
|
||||||
lockLabel: false
|
|
||||||
|
|
||||||
# Comment to post before locking. Set to `false` to disable
|
|
||||||
lockComment: >
|
|
||||||
This thread has been automatically locked since there has not been
|
|
||||||
any recent activity after it was closed. Please open a new issue for
|
|
||||||
related bugs.
|
|
||||||
|
|
||||||
# Assign `resolved` as the reason for locking. Set to `false` to disable
|
|
||||||
setLockReason: true
|
|
||||||
# Limit to only `issues` or `pulls`
|
|
||||||
# only: issues
|
|
||||||
|
|
||||||
# Optionally, specify configuration settings just for `issues` or `pulls`
|
|
||||||
# issues:
|
|
||||||
# exemptLabels:
|
|
||||||
# - help-wanted
|
|
||||||
# lockLabel: outdated
|
|
||||||
|
|
||||||
# pulls:
|
|
||||||
# daysUntilLock: 30
|
|
||||||
|
|
||||||
# Repository to extend settings from
|
|
||||||
# _extends: repo
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
{
|
|
||||||
"formats": {
|
|
||||||
"openapi": {
|
|
||||||
"rootDir": ".",
|
|
||||||
"include": ["**"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"exclude": ["docs"]
|
|
||||||
}
|
|
||||||
@@ -5,7 +5,6 @@ export default defineConfig({
|
|||||||
e2e: {
|
e2e: {
|
||||||
baseUrl: 'http://localhost:5055',
|
baseUrl: 'http://localhost:5055',
|
||||||
video: true,
|
video: true,
|
||||||
experimentalSessionAndOrigin: true,
|
|
||||||
},
|
},
|
||||||
env: {
|
env: {
|
||||||
ADMIN_EMAIL: 'admin@seerr.dev',
|
ADMIN_EMAIL: 'admin@seerr.dev',
|
||||||
|
|||||||
@@ -1,18 +1,7 @@
|
|||||||
import fs from 'fs';
|
|
||||||
import path from 'path';
|
import path from 'path';
|
||||||
import * as winston from 'winston';
|
import * as winston from 'winston';
|
||||||
import 'winston-daily-rotate-file';
|
import 'winston-daily-rotate-file';
|
||||||
|
|
||||||
// Migrate away from old log
|
|
||||||
const OLD_LOG_FILE = path.join(__dirname, '../config/logs/overseerr.log');
|
|
||||||
if (fs.existsSync(OLD_LOG_FILE)) {
|
|
||||||
const file = fs.lstatSync(OLD_LOG_FILE);
|
|
||||||
|
|
||||||
if (!file.isSymbolicLink()) {
|
|
||||||
fs.unlinkSync(OLD_LOG_FILE);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
const hformat = winston.format.printf(
|
const hformat = winston.format.printf(
|
||||||
({ level, label, message, timestamp, ...metadata }) => {
|
({ level, label, message, timestamp, ...metadata }) => {
|
||||||
let msg = `${timestamp} [${level}]${
|
let msg = `${timestamp} [${level}]${
|
||||||
|
|||||||
Reference in New Issue
Block a user