-
Notifications
You must be signed in to change notification settings - Fork 25
Release 1.5.0 #5
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
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
963943d
fix: log request headers for debugging in JwtDefaultGuard
kastov a64a63b
fix: improve logging of request headers in JwtDefaultGuard
kastov d8285af
feat: add debug log
kastov 71f1170
chore: add restart flag "always"
mishkatik 757ef2f
Merge pull request #3 from mishkatik/patch-1
kastov 10baba3
chore: update dependencies for version 1.5.0
kastov f425fd5
refactor: change logging level for request headers in JwtDefaultGuard
kastov 2471cd5
chore: add support for multi-platform builds in GitHub Actions workflow
kastov 8bdda37
feat: enhance startup message with XRay service information
kastov a528f30
fix: filter users with non-zero uplink and downlink in GetUsersStatsR…
kastov cc7bccf
chore: update Xray and Node.js versions in Dockerfiles and package de…
kastov 5bdcaee
feat: integrate supervisord-nestjs for process management
kastov b8aba3f
refactor: debug logging
kastov 2a2d910
feat: add p-retry for enhanced retry logic and update logging
kastov cb63f68
refactor: –
kastov 8203e97
fix: improve error handling in XrayService
kastov 1369f79
refactor: update supervisord configuration and enhance XrayService
kastov d62b52f
feat: integrate XrayService into HandlerService for user management
kastov d885b73
chore: bump version to 0.5.0 and remove tags from RemoveUserCommand
kastov 7b1fd1a
Merge pull request #4 from remnawave/supervisord
kastov bef2e45
chrome: clean up workflows
kastov 65387ec
refactor: remove redundant process log clearing in XrayService on app…
kastov 754d07b
refactor: reorder imports and enhance error logging in HandlerControl…
kastov 09f3102
fix: update host address in app module for local development
kastov f067b4c
refactor: streamline constructor syntax in Internal, Stats, and Xray …
kastov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,3 +6,4 @@ services: | |
| env_file: | ||
| - .env | ||
| network_mode: host | ||
| restart: always | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,163 @@ | ||
| import typescriptEslintEslintPlugin from '@typescript-eslint/eslint-plugin'; | ||
| import perfectionist from 'eslint-plugin-perfectionist'; | ||
| import tsParser from '@typescript-eslint/parser'; | ||
| import { FlatCompat } from '@eslint/eslintrc'; | ||
| import { fileURLToPath } from 'node:url'; | ||
| import paths from 'eslint-plugin-paths'; | ||
| import globals from 'globals'; | ||
| import path from 'node:path'; | ||
|
|
||
| const __filename = fileURLToPath(import.meta.url); | ||
| const __dirname = path.dirname(__filename); | ||
| const compat = new FlatCompat({ | ||
| baseDirectory: __dirname, | ||
| }); | ||
|
|
||
| export default [ | ||
| { | ||
| ignores: ['**/.eslintrc.js', 'prisma/**/*', '.hygen.js', '.hygen/**/*'], | ||
| }, | ||
| ...compat.extends('plugin:@typescript-eslint/recommended', 'plugin:prettier/recommended'), | ||
| perfectionist.configs['recommended-alphabetical'], | ||
| { | ||
| plugins: { | ||
| '@typescript-eslint': typescriptEslintEslintPlugin, | ||
| paths, | ||
| }, | ||
|
|
||
| languageOptions: { | ||
| globals: { | ||
| ...globals.node, | ||
| }, | ||
|
|
||
| parser: tsParser, | ||
| ecmaVersion: 'latest', | ||
| sourceType: 'commonjs', | ||
|
|
||
| parserOptions: { | ||
| project: 'tsconfig.json', | ||
| tsconfigRootDir: __dirname, | ||
| }, | ||
| }, | ||
|
|
||
| rules: { | ||
| 'perfectionist/sort-imports': [ | ||
| 'error', | ||
| { | ||
| type: 'line-length', | ||
| order: 'desc', | ||
| ignoreCase: true, | ||
| specialCharacters: 'keep', | ||
| internalPattern: ['^~/.+'], | ||
| tsconfigRootDir: '.', | ||
| partitionByComment: false, | ||
| partitionByNewLine: false, | ||
| newlinesBetween: 'always', | ||
| maxLineLength: undefined, | ||
| tsconfigRootDir: __dirname, | ||
|
|
||
| groups: [ | ||
| 'type', | ||
| ['builtin', 'external'], | ||
| 'internal-type', | ||
| 'internal', | ||
| 'nestJs', | ||
| 'remnawave', | ||
| 'aliasCommon', | ||
| { newlinesBetween: 'never' }, | ||
| 'aliasLibs', | ||
| 'aliasIntegrationModules', | ||
| 'aliasModules', | ||
| 'aliasScheduler', | ||
| 'aliasQueue', | ||
| ['parent-type', 'sibling-type', 'index-type'], | ||
| ['parent', 'sibling', 'index'], | ||
| 'object', | ||
| 'unknown', | ||
| ], | ||
|
|
||
| customGroups: { | ||
| value: { | ||
| aliasModules: '@modules/*.', | ||
| aliasCommon: '@common/*.', | ||
| aliasLibs: '@libs/*.', | ||
| aliasIntegrationModules: '@integration-modules/*.', | ||
| aliasScheduler: '@scheduler/*.', | ||
| aliasQueue: '@queue/*.', | ||
| remnawave: '@remnawave/*.', | ||
| nestJs: '@nestjs/*.', | ||
| }, | ||
| }, | ||
|
|
||
| environment: 'node', | ||
| }, | ||
| ], | ||
| 'perfectionist/sort-decorators': [ | ||
| 'error', | ||
| { | ||
| groups: [ | ||
| 'unknown', | ||
| 'httpCodes', | ||
| 'filters', | ||
| 'guards', | ||
| 'controllers', | ||
| 'nestJSMethods', | ||
| ], | ||
|
|
||
| customGroups: { | ||
| httpCodes: ['HttpCode'], | ||
| filters: ['UseFilters'], | ||
| guards: ['UseGuards'], | ||
| controllers: ['Controller'], | ||
| nestJSMethods: ['Post', 'Get', 'Put', 'Delete', 'Patch', 'Options', 'Head'], | ||
| }, | ||
| }, | ||
| ], | ||
|
|
||
| 'perfectionist/sort-objects': ['off'], | ||
| 'perfectionist/sort-classes': ['off'], | ||
| 'perfectionist/sort-switch-case': ['off'], | ||
| 'perfectionist/sort-object-types': ['off'], | ||
| 'perfectionist/sort-interfaces': ['off'], | ||
| 'perfectionist/sort-union-types': ['off'], | ||
| 'perfectionist/sort-named-imports': ['off'], | ||
| 'perfectionist/sort-modules': ['off'], | ||
| 'paths/alias': 'error', | ||
| '@typescript-eslint/interface-name-prefix': 'off', | ||
| '@typescript-eslint/explicit-function-return-type': 'off', | ||
| '@typescript-eslint/explicit-module-boundary-types': 'off', | ||
| '@typescript-eslint/no-explicit-any': 'off', | ||
| '@typescript-eslint/no-namespace': 'off', | ||
| 'linebreak-style': 0, | ||
| 'no-console': 'warn', | ||
|
|
||
| 'prettier/prettier': [ | ||
| 'error', | ||
| { | ||
| bracketSpacing: true, | ||
| tabWidth: 4, | ||
| printWidth: 100, | ||
| singleQuote: true, | ||
| trailingComma: 'all', | ||
|
|
||
| overrides: [ | ||
| { | ||
| files: ['*.js', '*.jsx', '*.ts', '*.tsx'], | ||
|
|
||
| options: { | ||
| parser: 'typescript', | ||
| }, | ||
| }, | ||
| { | ||
| files: ['*.md', '*.json', '*.yaml', '*.yml'], | ||
|
|
||
| options: { | ||
| tabWidth: 2, | ||
| }, | ||
| }, | ||
| ], | ||
| }, | ||
| ], | ||
| }, | ||
| }, | ||
| ]; | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.