Commit Graph

  • d1ff7b3f88 Apply inline code formatting for Discord usernames and user details in StaffApplicationDiscord and AppealDiscord to avoid formatting them. master akastijn 2025-11-28 19:55:23 +0100
  • a6fbd19b6d Add loading state guard to prevent duplicate form submissions in Appeal and DiscordAppeal components. akastijn 2025-11-24 19:00:38 +0100
  • 525116e89b Enhance DiscordAppeal submission process by adding username retrieval and updating email notifications with Minecraft username. Refactor for clarity and consistency in variable usage. akastijn 2025-11-24 18:56:29 +0100
  • c56f5f9fe1 Prevent duplicate submissions in sendForm by adding a loading state guard and updating the submit button's disabled condition. akastijn 2025-11-24 01:56:36 +0100
  • a9e9f1f03a Add loading state guards to checkPunishment and onSubmit buttons to prevent duplicate actions and update visibility of related variables. akastijn 2025-11-24 01:55:13 +0100
  • beb5cd496a Prevent duplicate requests in checkPunishment and sendForm by adding loading state guards. akastijn 2025-11-24 01:54:18 +0100
  • 186a26fae1 Refactor AppealDiscord to simplify appeal list processing using Comparator and optimize imports. akastijn 2025-11-24 01:45:08 +0100
  • 9c0a298145 Annotate id and assignedTo parameters with @Param in mappers for improved MyBatis compatibility. akastijn 2025-11-24 01:39:12 +0100
  • 5622db917b Rename username to discordUsername in DiscordAppeal and update references for clarity. akastijn 2025-11-24 01:34:32 +0100
  • bfb656e033 Apply theme-based font color styling to staff playtime component for consistency with global design. akastijn 2025-11-24 01:30:50 +0100
  • ee83bab77e Simplify time display format in staff playtime component by adjusting hour abbreviation. akastijn 2025-11-24 01:19:24 +0100
  • bdad0ff0ae Refactor Angular Material table styles to use global theme-based CSS variables and remove redundant component-specific overrides. akastijn 2025-11-24 01:19:19 +0100
  • 2bc5c41435 Add sorting functionality to staff playtime table and include roles in UI and database mapping akastijn 2025-11-24 01:08:43 +0100
  • fb01fc7571 Add staff role mapping, display role in UI, and enhance staff playtime calculations akastijn 2025-11-24 00:49:56 +0100
  • 1d76895cbb Prevent username retrieval if user is not authenticated and fix variable naming in DiscordAppealMapper. akastijn 2025-11-23 05:03:42 +0100
  • d69ef2cd20 Adjust checkAuthStatus timing and introduce reloadUsername on service initialization. akastijn 2025-11-23 04:48:37 +0100
  • 9ab0a130ed Delay checkAuthStatus execution on auth service initialization and add logging for username retrieval and errors. akastijn 2025-11-23 04:46:58 +0100
  • b15386d157 Add DiscordAppealMapper to initialization and simplify username reload logic in auth service. akastijn 2025-11-23 04:44:26 +0100
  • 2baa3ef51f Fix incorrect condition in Discord appeal form banning status check. akastijn 2025-11-23 04:31:16 +0100
  • bfed460d8e Add detailed logging for user ban status in DiscordAppealDiscord akastijn 2025-11-23 04:21:12 +0100
  • 2e7c91bb73 Change discordId type from integer to string across frontend, backend, and API schema for consistency and proper validation. akastijn 2025-11-23 04:14:21 +0100
  • ea4780cc91 Fix minlength and maxlength being reversed. akastijn 2025-11-23 03:59:38 +0100
  • a6813129bb Add logging for user ban retrieval in DiscordAppealDiscord and annotate class with @Slf4j. akastijn 2025-11-23 03:48:20 +0100
  • 20c89a4f8e Refactor Discord token retrieval by prioritizing environment variable and update lambda formatting in DiscordSender. akastijn 2025-11-23 03:45:28 +0100
  • 1bf08fb4fc Refactor DiscordBotInstance to remove start method from public API, initialize JDA with lazy loading, and clean up unused token validation logic. akastijn 2025-11-23 03:40:53 +0100
  • af9e1e627f Refactor DiscordBotInstance to initialize JDA lazily and standardize "Discord ID" terminology in appeal form. akastijn 2025-11-23 03:34:20 +0100
  • 7d59885395 Implement Discord appeal functionality, including database schema, API endpoints, front-end form, and Discord message handling. akastijn 2025-11-22 22:26:40 +0100
  • 20ec3648c4 Refactor AppealComponent to remove dynamic height logic, integrate FullSizeComponent, and simplify imports. akastijn 2025-11-22 01:22:15 +0100
  • 5876298ae9 Simplify SentComponent template by removing unnecessary <ng-content> wrapper. akastijn 2025-11-22 01:19:46 +0100
  • da3a818f03 Add FullSizeComponent for dynamic height adjustment and update SentComponent to use it akastijn 2025-11-22 01:17:54 +0100
  • 9311a1ccd6 Refactor appeal message sending to use AppealSender and improve assignment handling with thread creation and button interactions. akastijn 2025-11-22 00:56:18 +0100
  • 65820cf0a4 Implement appeal assignment system with AppealListMapper and associated logic. akastijn 2025-11-22 00:44:18 +0100
  • 9d23838eb0 Remove email information from Discord appeal message. akastijn 2025-11-22 00:17:03 +0100
  • a50b4ed658 Handle WARN case in EditHistoryMapper by updating "litebans_warnings" instead of throwing an exception. akastijn 2025-11-22 00:13:11 +0100
  • 0f11167953 Refactor Discord message sending to use MessageForEmbed object and add support for creating threads in targeted channels. akastijn 2025-11-21 23:39:35 +0100
  • ec3435dccc Add grove-dl route and corresponding redirect to MediaFire folder in RedirectComponent akastijn 2025-11-15 20:50:18 +0100
  • 07048567a1 Set body background color in RedirectComponent styles to use secondary theme color akastijn 2025-11-13 21:24:20 +0100
  • 5d9bf922a4 Update RedirectComponent to use window.location.href for external navigation instead of router.navigateByUrl. akastijn 2025-11-13 21:18:10 +0100
  • 19bc6fc8e3 Create RedirectComponent to handle dynamic redirections and update routes for improved maintainability. akastijn 2025-11-13 21:10:38 +0100
  • 42786dce74 Add route to redirect /worlddl path to external MediaFire link akastijn 2025-11-13 20:59:28 +0100
  • e415ecc415 Implement dynamic container height adjustment in NickGeneratorComponent based on header and footer dimensions. Refactor HTML structure for improved dark mode styling and accessibility. Optimize component lifecycle by adding AfterViewInit and OnDestroy handling with a ResizeObserver. akastijn 2025-11-08 22:09:35 +0100
  • 72b9109ece Configure additional assets output path in angular.json. akastijn 2025-11-08 21:40:53 +0100
  • 19f37e7dd7 Correct misassigned section classes in CommunityComponent HTML for consistent styling. akastijn 2025-11-08 21:23:06 +0100
  • 7ce9ee33c4 Add "Developers" section to CommunityComponent with dynamic team member display and adjust structure of existing sections. akastijn 2025-11-08 21:21:53 +0100
  • a1fbdf3581 Add "Developers" section to CommunityComponent with dynamic team member display and adjust structure of existing sections. akastijn 2025-11-08 21:20:25 +0100
  • a05a751628 Remove redundant unit tests for CommunityComponent and RanksComponent, enhance community.component with dynamic team member display and toggle functionality, update routing for community links, and set stricter field constraints in team schema. akastijn 2025-11-08 18:45:03 +0100
  • 042a6450c2 Fix spacing akastijn 2025-11-08 18:32:49 +0100
  • 724b773be5 Refactor createPrivilegedUser to accept PrivilegedUser object and adjust LoginController for consistency. akastijn 2025-11-08 18:21:21 +0100
  • 7315ea8455 Navigate to root path after successful login via login/:code route in AuthGuard. akastijn 2025-11-08 18:06:13 +0100
  • b7c553acc1 Add login/:code route with AuthGuard and required authorizations akastijn 2025-11-08 18:02:34 +0100
  • 5ab81ee66e Switch to @SelectKey for id generation in createPrivilegedUser and remove unused @Nullable import. akastijn 2025-11-08 17:58:03 +0100
  • e83d109012 Add route parameter handling for appeal paths and enhance AuthGuard to support login via code query parameter akastijn 2025-11-08 17:42:29 +0100
  • e8f952e7e2 Ensure all staff members are included in playtime mapping by adding default playtime data for missing UUIDs. akastijn 2025-11-02 23:15:12 +0100
  • ff85b42190 Highlight playtime under threshold in red in Staff Playtime view. akastijn 2025-11-02 23:12:04 +0100
  • 0a96593992 Simplify "Playtime" column header in Staff Playtime view. akastijn 2025-11-02 23:09:27 +0100
  • 795bd22ee9 Adjust loadStaffData method to handle timezones accurately in Staff Playtime component. akastijn 2025-11-02 23:06:12 +0100
  • 83893f947d Center Staff Playtime container for improved layout alignment. akastijn 2025-11-02 23:04:15 +0100
  • 9a039e1e10 Limit Staff Playtime component width to improve layout consistency. akastijn 2025-11-02 23:03:25 +0100
  • 2bdebb71b7 Add rate limiting to getStaffPlaytime and getVoteStats endpoints akastijn 2025-11-02 23:03:00 +0100
  • 39b7a398a5 Refactor minutesToHm method in Staff Playtime component for improved readability by adding explicit braces to conditional blocks. akastijn 2025-11-02 22:58:47 +0100
  • 06a1cd64e3 Remove "Last Played" column from Staff Playtime view and enhance time formatting in minutesToHm method to include days. akastijn 2025-11-02 22:58:21 +0100
  • 6292d0cacf Update weekStart to dynamically use the current date instead of a fixed one in Staff Playtime component akastijn 2025-11-02 22:54:45 +0100
  • 8b4f1c2785 Wrap weekLabel in a <span> for improved styling and DOM structure consistency in Staff Playtime view. akastijn 2025-11-02 22:52:50 +0100
  • 710771f5f7 Integrate HeaderComponent into Staff Playtime view, update layout with full-height styling, and enhance UI consistency. akastijn 2025-11-02 22:48:27 +0100
  • edaebe9e4a Fix getTeamMembers query to scope permissions to the global server akastijn 2025-11-02 22:46:26 +0100
  • e43cbbf9e4 WIP staff pt akastijn 2025-11-02 22:36:28 +0100
  • 8b0d2f9203 Add staff playtime feature, including backend services, API endpoint, and frontend integration. WIP akastijn 2025-11-02 22:25:10 +0100
  • 2be79c180a Refactor Nickname Generator component with Angular Material, update logic for fields and commands, and improve styling. akastijn 2025-10-29 21:39:39 +0100
  • 423d5e4a4c Fix getTeamMembers query to scope permissions to the global server akastijn 2025-10-26 01:45:19 +0200
  • a0db55dede Fix getTeamMembers query to scope permissions to the global server akastijn 2025-10-26 01:43:00 +0200
  • e0a09d303c Update vote eligibility logic, add MatIconModule, and refine button styles for improved clarity. akastijn 2025-10-24 22:43:38 +0200
  • 29967d65b8 Improve vote eligibility check by adding find to handle cases where voteSite is not found. akastijn 2025-10-24 22:28:36 +0200
  • 8b265514a6 Refactor RateLimitAspect to use authenticated UUID instead of client IP for rate limiting. Enhance AuthenticatedUuid with optional UUID retrieval method. akastijn 2025-10-24 22:27:04 +0200
  • e766fd1125 Fix vote eligibility check logic by correcting timestamp comparison direction. akastijn 2025-10-24 22:22:32 +0200
  • 86a85049b3 center p akastijn 2025-10-24 22:20:50 +0200
  • cf73303218 center div akastijn 2025-10-24 22:18:19 +0200
  • d075464ded center div akastijn 2025-10-24 22:16:58 +0200
  • 7be3b6f9d3 Wrap vote statistics message in a centered <div> for improved alignment and readability. akastijn 2025-10-24 22:15:30 +0200
  • 24e28015d3 Adjust vote refresh interval to 1 minute and update vote disclaimer text. Add vote statistics display. akastijn 2025-10-24 22:13:44 +0200
  • 754479eb98 Refactor: move actor and actorUuid UUID retrieval to method to thread with auth akastijn 2025-10-24 22:01:12 +0200
  • 5974ec1dba Revert "Refactor getAuthenticatedUserUuid - extract getAuthentication method for improved null handling and clarity" akastijn 2025-10-24 21:59:57 +0200
  • c5ed657d3e Revert "Enhance AuthenticatedUuid to improve UUID extraction by adding support for decoding tokens from the Authorization header. Add logging, refactor for better null handling, and introduce @RequiredArgsConstructor." akastijn 2025-10-24 21:59:57 +0200
  • 02adbb2522 Enhance AuthenticatedUuid to improve UUID extraction by adding support for decoding tokens from the Authorization header. Add logging, refactor for better null handling, and introduce @RequiredArgsConstructor. akastijn 2025-10-24 21:58:07 +0200
  • 4b466f314e Refactor getAuthenticatedUserUuid - extract getAuthentication method for improved null handling and clarity akastijn 2025-10-24 21:46:07 +0200
  • 6531526278 Add logging for invalid authentication principal in AuthenticatedUuid and annotate with @Slf4j akastijn 2025-10-24 21:43:50 +0200
  • bc0739f707 Fix table name casing in VotingPluginUsersMapper query akastijn 2025-10-24 21:34:54 +0200
  • 8bfcdb6ccc Replace edit button with a Material icon, adjust styles, and add MatIconModule to component imports. edit-punishments akastijn 2025-10-24 21:28:20 +0200
  • 64ea68ab39 Refactor AuthenticatedUuid to singleton service and replace static calls across the codebase. Add JWT authority converters, improve punishment expiry handling, and enhance frontend dialog functionality for editing punishments. Extend CORS allowed methods and origins. akastijn 2025-10-24 21:10:34 +0200
  • f117cb2477 Remove debug console.log statements from auth.service.ts. akastijn 2025-10-24 19:52:26 +0200
  • d84d0c7fef Add conditional button styling and logic to indicate vote availability based on last vote timestamp. akastijn 2025-10-24 19:50:48 +0200
  • 00bf7caec2 Add vote statistics feature and improve vote page functionality akastijn 2025-10-24 19:39:08 +0200
  • 41dab473b0 Add admin endpoints for editing and removing punishments and implement frontend dialog for punishment management akastijn 2025-10-23 23:52:52 +0200
  • b71ea7da8b Limit returned usernames to 1 akastijn 2025-10-21 22:48:21 +0200
  • a55806e5dd make scheduled methoded protected, fix connection akastijn 2025-10-21 22:22:43 +0200
  • 7e25cc583c Enable scheduling so code cache gets cleared akastijn 2025-10-21 22:17:08 +0200
  • 894dfac0c6 Validate weekly playtime as a whole number in staff application form. akastijn 2025-10-19 02:39:56 +0200
  • 300d33da7d Prevent duplicate staff application submissions by disabling the submit button during processing. akastijn 2025-10-18 23:10:56 +0200
  • 6f6801c728 Include applicant's username in staff application emails and Discord notifications. akastijn 2025-10-18 23:07:03 +0200
  • f8157e997a Update staff application close date to 2025-10-26 to match open period akastijn 2025-10-18 02:53:32 +0200
  • 74e8697fef Enhance "Staff applications closed" message with improved styling and structure. akastijn 2025-10-18 02:49:51 +0200