Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from louislam:master #2

Merged
merged 2 commits into from
Dec 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -33,7 +33,7 @@ VOLUME /app/data
EXPOSE 5001
HEALTHCHECK --interval=60s --timeout=30s --start-period=60s --retries=5 CMD extra/healthcheck
ENTRYPOINT ["/usr/bin/dumb-init", "--"]
CMD ["bash", "-c", "node ./extra/clean-tsx-tmp.js && tsx ./backend/index.ts"]
CMD ["tsx", "./backend/index.ts"]

############################################
# Mark as Nightly
13 changes: 0 additions & 13 deletions extra/clean-tsx-tmp.js

This file was deleted.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -38,22 +38,22 @@
"croner": "~8.1.2",
"dayjs": "~1.11.13",
"dotenv": "~16.3.2",
"express": "~4.21.1",
"express": "~4.21.2",
"express-static-gzip": "~2.1.8",
"http-graceful-shutdown": "~3.1.13",
"jsonwebtoken": "~9.0.2",
"jwt-decode": "~3.1.2",
"knex": "~2.5.1",
"limiter-es6-compat": "~2.1.2",
"mysql2": "~3.11.3",
"mysql2": "~3.12.0",
"promisify-child-process": "~4.1.2",
"redbean-node": "~0.3.3",
"semver": "^7.6.3",
"socket.io": "~4.8.0",
"socket.io-client": "~4.8.0",
"timezones-list": "~3.0.3",
"ts-command-line-args": "~2.5.1",
"tsx": "~4.6.2",
"tsx": "~4.19.2",
"type-fest": "~4.3.3",
"yaml": "~2.3.4"
},
1,904 changes: 1,072 additions & 832 deletions pnpm-lock.yaml

Large diffs are not rendered by default.


Unchanged files with check annotations Beta

import { intHash, isDev } from "../common/util-common";
import dayjs from "dayjs";
export const CONSOLE_STYLE_Reset = "\x1b[0m";

Check warning on line 6 in backend/log.ts

GitHub Actions / ci (macos-latest, 22)

Identifier 'CONSOLE_STYLE_Reset' is not in camel case

Check warning on line 6 in backend/log.ts

GitHub Actions / ci (ubuntu-latest, 22)

Identifier 'CONSOLE_STYLE_Reset' is not in camel case

Check warning on line 6 in backend/log.ts

GitHub Actions / ci (windows-latest, 22)

Identifier 'CONSOLE_STYLE_Reset' is not in camel case

Check warning on line 6 in backend/log.ts

GitHub Actions / ci (ubuntu-latest, 22)

Identifier 'CONSOLE_STYLE_Reset' is not in camel case

Check warning on line 6 in backend/log.ts

GitHub Actions / ci (macos-latest, 22)

Identifier 'CONSOLE_STYLE_Reset' is not in camel case

Check warning on line 6 in backend/log.ts

GitHub Actions / ci (windows-latest, 22)

Identifier 'CONSOLE_STYLE_Reset' is not in camel case
export const CONSOLE_STYLE_Bright = "\x1b[1m";

Check warning on line 7 in backend/log.ts

GitHub Actions / ci (macos-latest, 22)

Identifier 'CONSOLE_STYLE_Bright' is not in camel case

Check warning on line 7 in backend/log.ts

GitHub Actions / ci (ubuntu-latest, 22)

Identifier 'CONSOLE_STYLE_Bright' is not in camel case

Check warning on line 7 in backend/log.ts

GitHub Actions / ci (windows-latest, 22)

Identifier 'CONSOLE_STYLE_Bright' is not in camel case

Check warning on line 7 in backend/log.ts

GitHub Actions / ci (ubuntu-latest, 22)

Identifier 'CONSOLE_STYLE_Bright' is not in camel case

Check warning on line 7 in backend/log.ts

GitHub Actions / ci (macos-latest, 22)

Identifier 'CONSOLE_STYLE_Bright' is not in camel case

Check warning on line 7 in backend/log.ts

GitHub Actions / ci (windows-latest, 22)

Identifier 'CONSOLE_STYLE_Bright' is not in camel case
export const CONSOLE_STYLE_Dim = "\x1b[2m";

Check warning on line 8 in backend/log.ts

GitHub Actions / ci (macos-latest, 22)

Identifier 'CONSOLE_STYLE_Dim' is not in camel case

Check warning on line 8 in backend/log.ts

GitHub Actions / ci (ubuntu-latest, 22)

Identifier 'CONSOLE_STYLE_Dim' is not in camel case

Check warning on line 8 in backend/log.ts

GitHub Actions / ci (windows-latest, 22)

Identifier 'CONSOLE_STYLE_Dim' is not in camel case

Check warning on line 8 in backend/log.ts

GitHub Actions / ci (ubuntu-latest, 22)

Identifier 'CONSOLE_STYLE_Dim' is not in camel case

Check warning on line 8 in backend/log.ts

GitHub Actions / ci (macos-latest, 22)

Identifier 'CONSOLE_STYLE_Dim' is not in camel case

Check warning on line 8 in backend/log.ts

GitHub Actions / ci (windows-latest, 22)

Identifier 'CONSOLE_STYLE_Dim' is not in camel case
export const CONSOLE_STYLE_Underscore = "\x1b[4m";

Check warning on line 9 in backend/log.ts

GitHub Actions / ci (macos-latest, 22)

Identifier 'CONSOLE_STYLE_Underscore' is not in camel case

Check warning on line 9 in backend/log.ts

GitHub Actions / ci (ubuntu-latest, 22)

Identifier 'CONSOLE_STYLE_Underscore' is not in camel case

Check warning on line 9 in backend/log.ts

GitHub Actions / ci (windows-latest, 22)

Identifier 'CONSOLE_STYLE_Underscore' is not in camel case

Check warning on line 9 in backend/log.ts

GitHub Actions / ci (ubuntu-latest, 22)

Identifier 'CONSOLE_STYLE_Underscore' is not in camel case

Check warning on line 9 in backend/log.ts

GitHub Actions / ci (macos-latest, 22)

Identifier 'CONSOLE_STYLE_Underscore' is not in camel case

Check warning on line 9 in backend/log.ts

GitHub Actions / ci (windows-latest, 22)

Identifier 'CONSOLE_STYLE_Underscore' is not in camel case
export const CONSOLE_STYLE_Blink = "\x1b[5m";

Check warning on line 10 in backend/log.ts

GitHub Actions / ci (macos-latest, 22)

Identifier 'CONSOLE_STYLE_Blink' is not in camel case

Check warning on line 10 in backend/log.ts

GitHub Actions / ci (ubuntu-latest, 22)

Identifier 'CONSOLE_STYLE_Blink' is not in camel case

Check warning on line 10 in backend/log.ts

GitHub Actions / ci (windows-latest, 22)

Identifier 'CONSOLE_STYLE_Blink' is not in camel case

Check warning on line 10 in backend/log.ts

GitHub Actions / ci (ubuntu-latest, 22)

Identifier 'CONSOLE_STYLE_Blink' is not in camel case

Check warning on line 10 in backend/log.ts

GitHub Actions / ci (macos-latest, 22)

Identifier 'CONSOLE_STYLE_Blink' is not in camel case

Check warning on line 10 in backend/log.ts

GitHub Actions / ci (windows-latest, 22)

Identifier 'CONSOLE_STYLE_Blink' is not in camel case
export const CONSOLE_STYLE_Reverse = "\x1b[7m";

Check warning on line 11 in backend/log.ts

GitHub Actions / ci (macos-latest, 22)

Identifier 'CONSOLE_STYLE_Reverse' is not in camel case

Check warning on line 11 in backend/log.ts

GitHub Actions / ci (ubuntu-latest, 22)

Identifier 'CONSOLE_STYLE_Reverse' is not in camel case

Check warning on line 11 in backend/log.ts

GitHub Actions / ci (windows-latest, 22)

Identifier 'CONSOLE_STYLE_Reverse' is not in camel case

Check warning on line 11 in backend/log.ts

GitHub Actions / ci (ubuntu-latest, 22)

Identifier 'CONSOLE_STYLE_Reverse' is not in camel case

Check warning on line 11 in backend/log.ts

GitHub Actions / ci (macos-latest, 22)

Identifier 'CONSOLE_STYLE_Reverse' is not in camel case

Check warning on line 11 in backend/log.ts

GitHub Actions / ci (windows-latest, 22)

Identifier 'CONSOLE_STYLE_Reverse' is not in camel case
export const CONSOLE_STYLE_Hidden = "\x1b[8m";

Check warning on line 12 in backend/log.ts

GitHub Actions / ci (macos-latest, 22)

Identifier 'CONSOLE_STYLE_Hidden' is not in camel case

Check warning on line 12 in backend/log.ts

GitHub Actions / ci (ubuntu-latest, 22)

Identifier 'CONSOLE_STYLE_Hidden' is not in camel case

Check warning on line 12 in backend/log.ts

GitHub Actions / ci (windows-latest, 22)

Identifier 'CONSOLE_STYLE_Hidden' is not in camel case

Check warning on line 12 in backend/log.ts

GitHub Actions / ci (ubuntu-latest, 22)

Identifier 'CONSOLE_STYLE_Hidden' is not in camel case

Check warning on line 12 in backend/log.ts

GitHub Actions / ci (macos-latest, 22)

Identifier 'CONSOLE_STYLE_Hidden' is not in camel case

Check warning on line 12 in backend/log.ts

GitHub Actions / ci (windows-latest, 22)

Identifier 'CONSOLE_STYLE_Hidden' is not in camel case
export const CONSOLE_STYLE_FgBlack = "\x1b[30m";

Check warning on line 14 in backend/log.ts

GitHub Actions / ci (macos-latest, 22)

Identifier 'CONSOLE_STYLE_FgBlack' is not in camel case

Check warning on line 14 in backend/log.ts

GitHub Actions / ci (ubuntu-latest, 22)

Identifier 'CONSOLE_STYLE_FgBlack' is not in camel case

Check warning on line 14 in backend/log.ts

GitHub Actions / ci (windows-latest, 22)

Identifier 'CONSOLE_STYLE_FgBlack' is not in camel case

Check warning on line 14 in backend/log.ts

GitHub Actions / ci (ubuntu-latest, 22)

Identifier 'CONSOLE_STYLE_FgBlack' is not in camel case

Check warning on line 14 in backend/log.ts

GitHub Actions / ci (macos-latest, 22)

Identifier 'CONSOLE_STYLE_FgBlack' is not in camel case

Check warning on line 14 in backend/log.ts

GitHub Actions / ci (windows-latest, 22)

Identifier 'CONSOLE_STYLE_FgBlack' is not in camel case
export const CONSOLE_STYLE_FgRed = "\x1b[31m";

Check warning on line 15 in backend/log.ts

GitHub Actions / ci (macos-latest, 22)

Identifier 'CONSOLE_STYLE_FgRed' is not in camel case

Check warning on line 15 in backend/log.ts

GitHub Actions / ci (ubuntu-latest, 22)

Identifier 'CONSOLE_STYLE_FgRed' is not in camel case

Check warning on line 15 in backend/log.ts

GitHub Actions / ci (windows-latest, 22)

Identifier 'CONSOLE_STYLE_FgRed' is not in camel case

Check warning on line 15 in backend/log.ts

GitHub Actions / ci (ubuntu-latest, 22)

Identifier 'CONSOLE_STYLE_FgRed' is not in camel case

Check warning on line 15 in backend/log.ts

GitHub Actions / ci (macos-latest, 22)

Identifier 'CONSOLE_STYLE_FgRed' is not in camel case

Check warning on line 15 in backend/log.ts

GitHub Actions / ci (windows-latest, 22)

Identifier 'CONSOLE_STYLE_FgRed' is not in camel case
export const CONSOLE_STYLE_FgGreen = "\x1b[32m";

Check warning on line 16 in backend/log.ts

GitHub Actions / ci (macos-latest, 22)

Identifier 'CONSOLE_STYLE_FgGreen' is not in camel case

Check warning on line 16 in backend/log.ts

GitHub Actions / ci (ubuntu-latest, 22)

Identifier 'CONSOLE_STYLE_FgGreen' is not in camel case

Check warning on line 16 in backend/log.ts

GitHub Actions / ci (windows-latest, 22)

Identifier 'CONSOLE_STYLE_FgGreen' is not in camel case

Check warning on line 16 in backend/log.ts

GitHub Actions / ci (ubuntu-latest, 22)

Identifier 'CONSOLE_STYLE_FgGreen' is not in camel case

Check warning on line 16 in backend/log.ts

GitHub Actions / ci (macos-latest, 22)

Identifier 'CONSOLE_STYLE_FgGreen' is not in camel case

Check warning on line 16 in backend/log.ts

GitHub Actions / ci (windows-latest, 22)

Identifier 'CONSOLE_STYLE_FgGreen' is not in camel case
export const CONSOLE_STYLE_FgYellow = "\x1b[33m";
export const CONSOLE_STYLE_FgBlue = "\x1b[34m";
export const CONSOLE_STYLE_FgMagenta = "\x1b[35m";