-
Notifications
You must be signed in to change notification settings - Fork 54
chore: release v2.5.0 #129
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
base: main
Are you sure you want to change the base?
Conversation
…s in Axios service and update related event handling
…ant and update webhook event handling
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
PR Summary
|
Greptile SummaryThis release (v2.5.0) introduces bulk user management capabilities and enhances webhook event handling with scope-based categorization. Major Changes:
Performance Improvements:
Dependencies:
Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant US as UsersService
participant EB as EventBus
participant AUH as AddUsersToNodeHandler
participant RUH as RemoveUsersFromNodeHandler
participant QB as QueryBus
participant UR as UsersRepository
participant NQS as NodesQueuesService
participant BulkQ as BulkUsersQueue
participant BP as NodeBulkUsersProcessor
participant AS as AxiosService
participant Node as RemoteNode
Note over US,Node: Bulk Delete Users Flow
US->>UR: getIdsAndHashesByUserUuids(uuids)
UR-->>US: [{tId, vlessUuid}]
US->>UR: deleteManyByUuid(uuids)
UR-->>US: deleteCount
US->>EB: publish(RemoveUsersFromNodeEvent)
EB->>RUH: handle(event)
RUH->>NQS: removeUsersFromNode(payload)
NQS->>BulkQ: add(REMOVE_USERS_FROM_NODE)
BulkQ->>BP: process(job)
BP->>AS: deleteUsers(data, url, port)
AS->>Node: POST /api/v1/xray/users/remove (zstd compressed)
Node-->>AS: response
AS-->>BP: result
Note over US,Node: Bulk Update Users Internal Squads Flow
US->>UR: getUserIdsByUuids(usersUuids)
UR-->>US: [tIds]
US->>UR: removeUsersFromInternalSquads(userIds)
US->>UR: addUsersToInternalSquads(userIds, squadsUuids)
US->>EB: publish(AddUsersToNodeEvent)
EB->>AUH: handle(event)
AUH->>QB: execute(GetUsersWithResolvedInboundsQuery)
QB->>UR: getUsersWithResolvedInbounds(tIds)
UR-->>QB: [users with inbounds]
QB-->>AUH: users
loop For each active node
AUH->>AUH: Filter users by active inbound tags
AUH->>NQS: addUsersToNode(usersForNode)
NQS->>BulkQ: add(ADD_USERS_TO_NODE)
BulkQ->>BP: process(job)
BP->>AS: addUsers(data, url, port)
AS->>Node: POST /api/v1/xray/users/add (zstd compressed)
Node-->>AS: response
AS-->>BP: result
opt Users to remove
AUH->>NQS: removeUsersFromNode(usersToRemove)
NQS->>BulkQ: add(REMOVE_USERS_FROM_NODE)
end
end
|
… Dockerfile for build metadata
Adds new template keys for crypto links and enhances subscription page configuration - Expands template keys to include HAPP_CRYPT3_LINK and HAPP_CRYPT4_LINK - Adds new option to hide get link button - Removes local happ crypto link utility in favor of external package
No description provided.