Commit Graph

251 Commits

Author SHA1 Message Date
Vari
b483513064 Added some more links to the chat messages list to easer go to the message users profile, inbox, bans etc. 2024-07-27 19:07:09 +02:00
Vari
45cb45b8cc Added Admin UI for handling bad chat messages. 2024-07-27 18:25:02 +02:00
Vari
b411a34189 Added Database Table for detected bad chat messages and add them automatically if the profanity filter detects something. 2024-07-23 20:54:34 +02:00
Vari
4e81dec317 Added moderation check chat message endpoint. 2024-07-21 00:47:45 +02:00
MiraakDG
2a40f7cc6d
Merge pull request #20 from Deathgarden-Rebirth/player_inbox
Player Inbox + Mailer
2024-07-20 21:49:16 +02:00
Vari
acc1674c36 Fix missing correctet where query in InboxController list method like it is in count method. 2024-07-20 21:34:44 +02:00
Vari
660c745d96 Fix expire_at always bing the current timestamp when mailing an inbox message with no expire Date 2024-07-11 22:07:11 +02:00
Vari
4bc7c16a33 Fix delete messages using old naming 2024-07-11 21:56:17 +02:00
Vari
4cb61c1c2a Add default value to timestamp because it defaults to ON UPDATE CURRENT_TIMESTAMP() and messes with the timestampIds 2024-07-11 21:56:17 +02:00
Vari
e86a347920 Add DB Query log 2024-07-11 21:56:17 +02:00
Vari
0555a6b6f4 Player inbox: Try to fix stuff. 2024-07-11 21:56:17 +02:00
Vari
7a389832d9 Player inbox: rename rewardType to type because game expects that. 2024-07-11 21:56:17 +02:00
Vari
b86ac5e1ec Player inbox: rename rewardType to type because game expects that. 2024-07-11 20:52:32 +02:00
Vari
644a6ffcf8 Player inbox: fix reward id wrong format. 2024-07-09 18:41:04 +02:00
Vari
c9c8022b39 Some bugfixes + now added showing the deleted messages in the user inbox. 2024-07-09 01:43:59 +02:00
Vari
8a9ec5cf19 Fixed recevied timestamp being send back as datetime string and not MS timestamp in mark messages endpoint. 2024-07-09 00:53:39 +02:00
Vari
332b127e21 Fix old timestamp format being used to find an inbox message with 'received'.
Also fixed message count not working when expire_at is null.
2024-07-08 00:00:32 +02:00
Vari
06248ffe26 Fix created_at and updated_at not being send when sending inbox messages because of the bulk insert. 2024-07-07 23:29:38 +02:00
Vari
1093e11250 Hopefully finished Inbox Messages! 2024-07-07 23:24:48 +02:00
Vari
e51cbce906 Fixed template and Js of the item-selector because it only worked if it was only one time on the page.
Added user-selector dropdown with data fetching from the backend.

Fix a null error in the inbox-message component.
2024-07-06 21:17:24 +02:00
Vari
b975170b55 Almost Finished the inbox messages adminpage. Now the only thing missing is the creation of new messages and the mailer. 2024-07-02 23:45:02 +02:00
Vari
16e1ab191d Inbox Message:
- Changed 'received' column type to timestamp.
- Implemented Soft deletes and Prunable job for InboxMessage Model.
2024-05-28 07:52:13 +02:00
Vari
68c0d6f130 Fixed inbox Message MarkAs endpoint using logif of old table structure 2024-05-27 07:08:24 +02:00
Vari
49bc120a21 Fixed Inbox message wrong field for received. 2024-05-27 06:49:49 +02:00
Vari
ca2f379238 Allow null claimable to catch some cases of wrong database entries for the claimable field. 2024-05-27 06:48:28 +02:00
Vari
81f5d5f54c Added Login and Endpoint for claiming message rewards. 2024-05-26 19:19:19 +02:00
Vari
34fd1e0ac7 Fixed Delete Message endpoint always deleting all messages. 2024-05-26 07:09:35 +02:00
Vari
beed8d7e37 Fixed Delete Message endpoint always deleting all messages. 2024-05-26 06:42:36 +02:00
Vari
c1bba9dbdb Fixed Messages being marked as read too early because there were missing endpoints. 2024-05-26 06:34:28 +02:00
Vari
f25401c77e Implemented Mark Messages As endpoint (POST api/v1/messages/v2/markAs) 2024-05-26 06:19:02 +02:00
Vari
5b50c75646 Implemented Delete message list endpoint (DELETE /api/v1/messages/list) 2024-05-26 05:55:02 +02:00
Vari
365ba978c0 Implemented Model,logic and response for inbox messages. 2024-05-26 05:07:13 +02:00
Vari
eea8a235d8 Deleted Insomnium Collection and Moved into a Bruno Collection. 2024-05-25 06:20:48 +02:00
Vari
58294c0c77 Started working on player inbox 2024-05-20 23:52:21 +02:00
Vari
113ca5554c
Merge pull request #19 from Deathgarden-Rebirth/update_ban_check
Updated Bans
2024-05-20 05:13:17 +02:00
Vari
a1cd7e3798 Added permission check to bans page to only allow it when the user has the EDIT_USERS permission. 2024-05-20 05:06:46 +02:00
Vari
4f865b4d2a Tried fixing some more timezone stuff and ban status check for the admin UI 2024-05-20 04:42:37 +02:00
Vari
832894675c User Bans page: Removed seconds from start and end date input 2024-05-20 04:14:30 +02:00
Vari
82f583a10a Added the buttons from the user list to the user details page
Added the Ban Status to the user details Page
2024-05-20 02:13:33 +02:00
Vari
511ae204db Fixed a duplicate file. 2024-05-20 01:12:54 +02:00
Vari
3ca095524a (Hopefully) Fixed some timezone stuff with the bans 2024-05-20 01:12:54 +02:00
Vari
91ac9b2138 Added UI to create/delete and edit bans. 2024-05-20 01:12:54 +02:00
Vari
7354d16b73 Cahnged Ban date fields to datetime 2024-05-20 01:12:54 +02:00
Vari
bad4324d86 Changed ban check to also consider the start and end time.
Also moved the colored ban status check into own component.
2024-05-20 01:12:54 +02:00
Vari
415a19c393
Merge pull request #18 from Deathgarden-Rebirth/bugfix_PlayerEndOfMatch
Fixed PlayerEndOfMatch Missing match Error
2024-05-16 02:37:43 +02:00
Vari
11ab7b6a11 Updates the Level Numbers and Experience function 2024-05-13 04:32:22 +02:00
Vari
865bdb0d2e Fixed Deleting match early when the host sends himself too early for playerEndOfMatch.
Not the game only gets deleted when all players are removed, or when its getting cleaned up by the cleanup job.
2024-05-13 04:03:47 +02:00
Vari
188ff19b10
Merge pull request #13 from Deathgarden-Rebirth/maintenance-page
Maintenance Mode
2024-04-28 20:54:47 +02:00
Vari
a5b2b59c59 Added 'Admin Login' Button to maintenance page.
Added 'Return to Homepage' Button to admin navbar.
2024-04-28 17:27:24 +02:00
Vari
e2342578e6 Added maintenance Mode which can be enabled by creating a file named .maintenance inside the storage/app directory.
When on, users get shown a maintenance page, except if you have the VIEW_MAINTENANCE permission. The admin area works either way and you get shown a small 'maintenance mode' watermark in the bottom right corner.
2024-04-28 16:41:01 +02:00