9 Commits

Author SHA1 Message Date
Vari
891b7fe7c5 Added an admin tool to set multipliers for XP gain and Currency gain. 2024-09-13 02:00:43 +02:00
Vari
a0e2e321cc Created a middleware for checking permissions in admin controllers, so I cannot forget to add permission checks.
Changed some descriptions of the admin tools for Miraak.

Aded some more Permissions and added a moderator role.
2024-08-11 16:34:59 +02:00
Vari
1093e11250 Hopefully finished Inbox Messages! 2024-07-07 23:24:48 +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
Vari
139c1f0b47 Started work on User Details admin page 2024-03-25 23:31:37 +01:00
Vari
fca0d17443 Added User List admin tool
Also added the default laravel pagination to tailwind.config.js
2024-03-24 20:52:54 +01:00
Vari
a9d6d00185 Created Admin frontend layout and created the first admin tools. 2024-03-17 00:09:09 +01:00
Patrik Leifert
679a132407 Move role creation into seeder and add file-upload permission 2024-03-01 02:26:11 +01:00
Vari
1bf28e2c50 Added package spatie/laravel-permission for adding roles and permissions.
Setup default admin and view-log role and permission (the whole reason i added all this stuff).

also added artisan command to give user a role via command line with artisan permissions:AddRoleToUser {rolename} {userId}
2024-02-14 21:50:42 +01:00