Feat/server refactor#26
Merged
Merged
Conversation
…for permission checks
…cluding creation, cancellation, payment processing, and reactivation; updated API documentation and added tests for registration functionality
…ions, API documentation, and repository methods to support additional event data; refactored event registration logic to accommodate new field
…ing organizers to manage pending registrations; updated API documentation and registration status handling; introduced new registration statuses and refactored related logic
… approval and rejection endpoints to restrict functionality to games only; modified payment handling to disallow payments for games; introduced new GameEventStrategy for managing game registrations and cancellations
…ted related logic and documentation to reflect new status handling; refactored registration and event strategies to accommodate changes
TODO: add admin endpoints for registration
…ated documentation; introduced 'RegistrationWithEvent' schema for detailed registration information.
…ed JSON validation utility to ensure event data integrity and security.
…ourts, events, and registrations to improve clarity and maintainability; added new event filtering capabilities and updated related components for better user experience.
…al for payment details, improved status handling, and enhanced filtering options in the RegistrationsPage. Updated UI elements for better user experience and integrated payment status display.
…for DatePicker in index.css; refactored EventResultsModal to remove unused state and improve participant handling; enhanced GamesPage with custom game type selection and improved game type management.
…RegistrationsPage by removing the Badge import for improved clarity and maintainability.
POST /events/filter now use filter with statuses GET /registrations/my now returns events with "data" field
AlexDyakonov
added a commit
that referenced
this pull request
Aug 12, 2025
* added migration to refactor * added domain models * removed endpoints and rest gateway for registrations/tournament * refactored usecases * added basic event endpoints * added endpoints * added simple tests * added permission tests * added DELETE endpoint * refactored event creation and deletion logic to use strategy pattern for permission checks * added registration endpoints for event management ONLY TOURNAMENT, including creation, cancellation, payment processing, and reactivation; updated API documentation and added tests for registration functionality * added 'data' field to event model and updated related database migrations, API documentation, and repository methods to support additional event data; refactored event registration logic to accommodate new field * added approval and rejection endpoints for event registrations, allowing organizers to manage pending registrations; updated API documentation and registration status handling; introduced new registration statuses and refactored related logic * refactored tests * refactored registration logic to enforce game-specific rules; updated approval and rejection endpoints to restrict functionality to games only; modified payment handling to disallow payments for games; introduced new GameEventStrategy for managing game registrations and cancellations * fixed migrations * added admin API endpoints * added 'INVITED' registration status to support game invitations; updated related logic and documentation to reflect new status handling; refactored registration and event strategies to accommodate changes * db migration refactor * added admin waitlist endpoint * added new admin panel for EVENTS TODO: add admin endpoints for registration * removed OLD page for tournaments * small tests refactor, added migration with needed data * Clubs refactor * added registrations/my to retrieve user registrations and updated related documentation; introduced 'RegistrationWithEvent' schema for detailed registration information. * Added example JSON data for game and tournament migrations; implemented JSON validation utility to ensure event data integrity and security. * Enhanced dark theme support in CSS; refactored API types for clubs, courts, events, and registrations to improve clarity and maintainability; added new event filtering capabilities and updated related components for better user experience. * added admin register endpoints * Refactored registration API and components; added new RegistrationModal for payment details, improved status handling, and enhanced filtering options in the RegistrationsPage. Updated UI elements for better user experience and integrated payment status display. * added event data update (results/type) TODO: MAKE BETTER * Updated API URL in config.js for production; added dark theme styles for DatePicker in index.css; refactored EventResultsModal to remove unused state and improve participant handling; enhanced GamesPage with custom game type selection and improved game type management. * Refactored EventResultsModal to remove unused imports and cleaned up RegistrationsPage by removing the Badge import for improved clarity and maintainability. * Change /events/filter and /registrations/my POST /events/filter now use filter with statuses GET /registrations/my now returns events with "data" field * make swag * Waitlist auto update * change waitlist try register order * Fix message text * fix link href * more try register from waitlist * fix typo --------- Co-authored-by: vaniog <vaniog@yandex-team.ru>
AlexDyakonov
added a commit
that referenced
this pull request
Aug 12, 2025
* new event type * api refactor * mutation hooks refactor * tournaments functionality * added games home page * fixed type * game page, start param prefixes fix * change training start data prefix * game edit * game players counter selector * my registrations * fix lint * color fix * leaderboard in tournament fix * added game leaderboard * game player registration approve and reject * price in create game * game status actions * waitlist queue * game statuses * fix lint * bugfix * game fixes * waitlist api fixes * remove discount for games * update statuses * game startapp parsing * Feat/server refactor (#26) * added migration to refactor * added domain models * removed endpoints and rest gateway for registrations/tournament * refactored usecases * added basic event endpoints * added endpoints * added simple tests * added permission tests * added DELETE endpoint * refactored event creation and deletion logic to use strategy pattern for permission checks * added registration endpoints for event management ONLY TOURNAMENT, including creation, cancellation, payment processing, and reactivation; updated API documentation and added tests for registration functionality * added 'data' field to event model and updated related database migrations, API documentation, and repository methods to support additional event data; refactored event registration logic to accommodate new field * added approval and rejection endpoints for event registrations, allowing organizers to manage pending registrations; updated API documentation and registration status handling; introduced new registration statuses and refactored related logic * refactored tests * refactored registration logic to enforce game-specific rules; updated approval and rejection endpoints to restrict functionality to games only; modified payment handling to disallow payments for games; introduced new GameEventStrategy for managing game registrations and cancellations * fixed migrations * added admin API endpoints * added 'INVITED' registration status to support game invitations; updated related logic and documentation to reflect new status handling; refactored registration and event strategies to accommodate changes * db migration refactor * added admin waitlist endpoint * added new admin panel for EVENTS TODO: add admin endpoints for registration * removed OLD page for tournaments * small tests refactor, added migration with needed data * Clubs refactor * added registrations/my to retrieve user registrations and updated related documentation; introduced 'RegistrationWithEvent' schema for detailed registration information. * Added example JSON data for game and tournament migrations; implemented JSON validation utility to ensure event data integrity and security. * Enhanced dark theme support in CSS; refactored API types for clubs, courts, events, and registrations to improve clarity and maintainability; added new event filtering capabilities and updated related components for better user experience. * added admin register endpoints * Refactored registration API and components; added new RegistrationModal for payment details, improved status handling, and enhanced filtering options in the RegistrationsPage. Updated UI elements for better user experience and integrated payment status display. * added event data update (results/type) TODO: MAKE BETTER * Updated API URL in config.js for production; added dark theme styles for DatePicker in index.css; refactored EventResultsModal to remove unused state and improve participant handling; enhanced GamesPage with custom game type selection and improved game type management. * Refactored EventResultsModal to remove unused imports and cleaned up RegistrationsPage by removing the Badge import for improved clarity and maintainability. * Change /events/filter and /registrations/my POST /events/filter now use filter with statuses GET /registrations/my now returns events with "data" field * make swag * Waitlist auto update * change waitlist try register order * Fix message text * fix link href * more try register from waitlist * fix typo --------- Co-authored-by: vaniog <vaniog@yandex-team.ru> --------- Co-authored-by: Alex Dyakonov <115474788+AlexDyakonov@users.noreply.github.com> Co-authored-by: vaniog <vaniog@yandex-team.ru> Co-authored-by: AlexDyakonov <shram.monolit@mail.ru>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.