akastijn
5622db917b
Rename username to discordUsername in DiscordAppeal and update references for clarity.
2025-11-24 01:34:32 +01:00
akastijn
2bc5c41435
Add sorting functionality to staff playtime table and include roles in UI and database mapping
2025-11-24 01:08:43 +01:00
akastijn
fb01fc7571
Add staff role mapping, display role in UI, and enhance staff playtime calculations
2025-11-24 00:49:56 +01:00
akastijn
1d76895cbb
Prevent username retrieval if user is not authenticated and fix variable naming in DiscordAppealMapper.
2025-11-23 05:03:42 +01:00
akastijn
b15386d157
Add DiscordAppealMapper to initialization and simplify username reload logic in auth service.
2025-11-23 04:44:26 +01:00
akastijn
7d59885395
Implement Discord appeal functionality, including database schema, API endpoints, front-end form, and Discord message handling.
2025-11-22 22:26:40 +01:00
akastijn
65820cf0a4
Implement appeal assignment system with AppealListMapper and associated logic.
2025-11-22 00:44:18 +01:00
akastijn
a50b4ed658
Handle WARN case in EditHistoryMapper by updating "litebans_warnings" instead of throwing an exception.
2025-11-22 00:13:11 +01:00
akastijn
724b773be5
Refactor createPrivilegedUser to accept PrivilegedUser object and adjust LoginController for consistency.
2025-11-08 18:21:21 +01:00
akastijn
5ab81ee66e
Switch to @SelectKey for id generation in createPrivilegedUser and remove unused @Nullable import.
2025-11-08 17:58:03 +01:00
akastijn
8b0d2f9203
Add staff playtime feature, including backend services, API endpoint, and frontend integration.
...
WIP
2025-11-02 22:25:10 +01:00
akastijn
423d5e4a4c
Fix getTeamMembers query to scope permissions to the global server
2025-10-26 01:45:19 +02:00
akastijn
a0db55dede
Fix getTeamMembers query to scope permissions to the global server
2025-10-26 01:43:00 +02:00
akastijn
bc0739f707
Fix table name casing in VotingPluginUsersMapper query
2025-10-24 21:34:54 +02:00
akastijn
00bf7caec2
Add vote statistics feature and improve vote page functionality
2025-10-24 19:39:08 +02:00
akastijn
41dab473b0
Add admin endpoints for editing and removing punishments and implement frontend dialog for punishment management
2025-10-23 23:52:52 +02:00
akastijn
b71ea7da8b
Limit returned usernames to 1
2025-10-21 22:48:21 +02:00
akastijn
a55806e5dd
make scheduled methoded protected, fix connection
2025-10-21 22:22:43 +02:00
akastijn
6f6801c728
Include applicant's username in staff application emails and Discord notifications.
2025-10-18 23:07:03 +02:00
akastijn
745dab4d80
Update query in SettingsMapper to use internal_name instead of name for database identification.
2025-10-12 21:16:16 +02:00
akastijn
dc65b19a8f
Add error handling and logging improvements for database settings loading process.
2025-10-12 21:04:59 +02:00
akastijn
01dab905d4
Improve staff application flow with error handling updates, new email address, and code formatting adjustments.
2025-09-27 21:13:04 +02:00
akastijn
643b15f2e0
Add staff application support with database integration and submission flow
2025-09-24 23:12:09 +02:00
akastijn
4962d16abd
Add EmailVerificationMapper initialization in web database setup.
2025-08-24 02:49:09 +02:00
akastijn
c75f0cdb15
Mark appeals as sent when successfully submitted and processed, ensuring accurate tracking and status updates.
2025-08-24 02:39:47 +02:00
akastijn
641083732d
Add email verification functionality, including backend support, email handling, and user interface integration.
2025-08-23 21:46:10 +02:00
akastijn
de1876c90c
Add historyType and historyId to Appeal, update database schema, API, and email templates to include punishment details.
2025-08-16 23:40:20 +02:00
akastijn
f026f24263
Refactor createAppeal in AppealMapper to void return type, adjust AppealController to remove redundant UUID handling. Optimize AppealDataMapper to use UUID.randomUUID().
2025-08-14 02:34:28 +02:00
akastijn
eaee31ab2b
Change createAppeal method in AppealMapper to return UUID, adjust AppealController to construct Appeal with generated UUID.
2025-08-14 01:37:57 +02:00
akastijn
24d7cfe913
Register UUIDTypeHandler in MyBatis configuration to handle UUID mapping in Connection.java.
2025-08-13 23:56:31 +02:00
akastijn
770a2e0d14
Add Minecraft appeal functionality with database integration, UUID handling, and API response adjustments.
2025-08-13 23:54:20 +02:00
akastijn
d1ba89acc8
Refactor KeyPairMapper to improve query readability by aliasing fields and reformatting SQL.
2025-08-05 23:55:15 +02:00
akastijn
56f4ccf40e
Add session rollback handling in Connection.java, improve resource management, and refine debug logging in LoginController.
2025-08-05 23:46:47 +02:00
akastijn
bdb38e5011
Add username retrieval functionality to LoginController using RecentNamesMapper query
2025-08-05 23:12:50 +02:00
akastijn
343964eda8
Add server.address property and update issuer field in LoginController to use dynamic server address. Modify SQL query in PrivilegedUserMapper to simplify permissions retrieval.
2025-07-28 23:01:18 +02:00
akastijn
dfea91d8ca
Add PrivilegedUserMapper to InitializeWebDb setup
2025-07-04 21:37:11 +02:00
akastijn
c72703ea32
Refactor user privilege handling to use Optional instead of null checks. Remove unused cache entries and update security configuration to refine access controls.
2025-06-23 21:34:54 +02:00
Teriuihi
07646e8c42
Implement enhanced login functionality with JWT, role-based permissions, and frontend integration
...
Added JWT-based login dialog with form validation and secure token handling on the frontend. Updated backend with role-based access control, privilege management, and refined security configurations. Extended database schema for user privileges and permissions.
2025-05-30 23:41:13 +02:00
Teriuihi
c4c17b3adc
Add JWT-based login flow with key pair generation
...
Introduced a secure login flow using JWTs with dynamically generated RSA key pairs stored in the database. Updated relevant APIs, database schema, and services to support login codes, JWT encoding, and secret validation.
2025-05-24 01:33:36 +02:00
Teriuihi
cf758bfe60
Add endpoints and schema for history retrieval by UUID
...
Introduced a new API endpoint to fetch all punishment history for a specified UUID. Updated existing schemas, controllers, and mappers to support this functionality. Adjusted login endpoints to improve request handling and streamlined frontend form setup for appeals.
2025-05-03 04:37:47 +02:00
Teriuihi
8c7ec0a237
Restrict team member query to global world scope.
2025-05-02 01:33:45 +02:00
Teriuihi
3babde5513
Add punishment details and history retrieval functionality
...
This commit introduces a new `DetailsComponent` for displaying detailed punishment data and establishes a route to view punishment history by ID and type. It also updates the API to support fetching individual punishment records and refines database mappings for improved data handling.
2025-04-19 04:02:51 +02:00
Teriuihi
235f4fb60f
Refactor database queries and handle non-429 errors in history
...
Updated database query code to use consistent parameter naming and revised query structure for clarity. Added logic in the history component to return existing data when encountering non-429 HTTP errors.
2025-04-18 22:41:04 +02:00
Teriuihi
ecee377f01
Add API endpoints for search result counts by name and UUID
...
Introduced new API paths and backend logic to retrieve total punishment counts based on user search queries using names or UUIDs. Updated the frontend to utilize these endpoints and display the total search results dynamically.
2025-04-18 20:43:17 +02:00
Teriuihi
a01038e86c
Refactor rate-limiting and name history queries.
...
Removed redundant rate-limit response headers and improved query methods for fetching punishment history. Refactored methods to handle cases where partial names are empty and added escaping for underscores in search names.
2025-04-18 18:33:47 +02:00
Teriuihi
02c69b318a
Sort history query results by time in descending order.
...
Added `ORDER BY time DESC` to ensure that history query results are consistently returned with the most recent entries first. This update improves data clarity and usability for end-users.
2025-04-11 23:44:22 +02:00
Teriuihi
44d28494e5
Add API endpoint to retrieve total punishment counts
...
Introduced a new API endpoint `/history/total` for fetching the total counts of bans, mutes, kicks, and warnings. Added database mapping and DTO classes to support this functionality, along with necessary schema and controller updates.
2025-04-11 23:27:20 +02:00
Teriuihi
e7fde81f49
Change page size from 100 to 10
2025-04-11 21:57:10 +02:00
Teriuihi
23367b6dea
Fix history not loading
2025-04-11 21:37:21 +02:00
Teriuihi
2289b14b5a
Add history page
2025-04-11 21:20:02 +02:00