-
For a lot of roleplaying communities (Roblox, FiveM and others) that are starting out, or are just looking for free things to make their roleplaying-experience be better, there aren't that much free tools or websites online that are offering what these servers need. I don't like paying for things like scripts and other software for a server or something else which I'm just doing for fun. I want to create something that a lot of people can work with, that's easy to use and understand, and configure to their own needs. I hope this project can offer just a little bit of the feel and functionality which you get when you pay for it, the only thing I want to change is that I just want to do it for free, and I hope people can enjoy.
-
-
- This project is licensed under the MIT license, you can read more about the license in the
LICENSE.md
file
- This project is licensed under the MIT license, you can read more about the license in the
-
-
-
This project has been made using Laravel.
-
Other packages
-
-
- User editor
- Form
- Username (changeable) (done)
- Email (changeable) (done)
- Department (select from list) (done)
- Create the form to edit user information and style it (done)
- Switch the form and inputs over to components to easily re-use the form elements (later stage)
- Password reset (todo, later stage)
- Admins should be able to reset the password
- Send the user a magic link to set up their new password
- Admins should be able to reset the password
- Deletion
- Modal
- Bugs
- Modal is looping in foreach (fixed)
- Bugs
- Modal
- Form
- User editor
-
- Department editor
- Department name (changeable) (done)
- Manager | Select a member (with search) using a modal (done)
- Member count | Total members of the department (later also 1their function/role) (done, except for the increment)
- Should be added one every time someone gets added to the department, logic still needs to be figured out
- Applications | On or off (checkbox/toggle) (later stage)
- Optional: notify manager with an email that there have been made changes to the department
- Department editor
-
- Controllers The department and user controller should be put in an admin folder for better organization. Then the other controllers can go into other folders and the organization will still be alright.
-
- Base
- PSA model, migration and basic showing
- Belongs to a user (user has many)
- Only show PSA to department members (auth()->user()->department == $psa->department (which is a foreignID to the department_id))
- PSA model, migration and basic showing
- Usable functionality (done)
- Create a PSA as a department manager (link to department table) using markdown syntax (spatie/markdown)
- Edit and delete PSA
- Admin
- Admin can change, edit and delete PSA's
- Base
-
- Pagination (done)
- Change the pagination so you can use both the user and department paginator at the same time, see: (done)
- Laravel paginator docs
- This was stupid, it was just one function that had to be added to the paginate method (
withQueryString()
), but it works now :D
- Pagination (done)
This section will give a list of all the things that have been done with the date and commit message
-
27-07-2023
- Added basic user functionality, you can now;
- Show the user
- Edit user information
- Username
- Delete the user
- Added basic user functionality, you can now;
-
28-07-2023
- Small updates to the project
- Added Laravel Scout, but this is not yet used
- Small updates to the project
-
29-07-2023
- Fixes to the models and database seeder
- Finally fixed the annoying bug which was causing the database seeder to not be able to seed
- I wanted to create a user that has a linked department, but from 2 different factories this was not really possible
- Solution
- The solution I used now might not be the best one, but it works!
- In the department factory, I've added a configure method which returns the factory after creation, this then takes in the user factory associated with the manager id for the department factory, finds the user with the manager_id and adds the department to the user model from the made department factory.
- Long story short; it now works :D
- For more information, see the
Database/seeders/DatabaseSeeder.php
file, and theDatabase/factories/DepartmentFactory.php
file. Here you can see the changes and how it works now.
- The solution I used now might not be the best one, but it works!
- Finally fixed the annoying bug which was causing the database seeder to not be able to seed
- Fixes to the models and database seeder
-
09-08-2023
- Bugfixes and preparation for search functions
- Bugfixes
- Pagination After a vacation, working a bit on the project, I was really annoyed with the user/department paginator on the admin dashboard not working together, but now it does :D.
- New
- Search
- Models
- User and department models are now searchable using Laravel Scout with Meilisearch
- Models
- Search
- Bugfixes
- Bugfixes and preparation for search functions
-
13-08-2023
- Department admin page
- Added a member list to the department page, this way you'll be able to see all the members that are in that department, when you click the user you can see more information about them.
- Bugs
- Styling
- There is still a weird issue with the styling, this still needs to be addressed.
- Logic
- The member count is not correct because the seeder currently just fakes a number, this should be converted into counting the users that are added to the department.
- Styling
- Department admin page
-
14-08-2023
- Livewire update
- Added a search component to be able to add users to a department by opening a modal, searching for the user and selecting the user, the department id is currently set to 2, but this can be made dynamic when configuring the component to be used in the department and user editor.
- Fun stuff - Added a flash message with Livewire, wow that was easy! Love it already!
- Livewire update
-
15-08-2023
- Department Editor
- Livewire components
Changed the component to work correctly with the department editor, also changed the styling a bit, manager can now be searched and selected and it works like a charm, some small things still need to be done, these can be found in the files with
TODO
tags.
- Livewire components
Changed the component to work correctly with the department editor, also changed the styling a bit, manager can now be searched and selected and it works like a charm, some small things still need to be done, these can be found in the files with
- Department Editor
-
17-08-2023
- User editor
- Livewire components
Started changing the component to be able to search for departments and add the user to a department. The
dd
function is returning the correct value but the text inside the blade view is not showing correctly.
- Livewire components
Started changing the component to be able to search for departments and add the user to a department. The
- Department editor
- Livewire components Works completely. You can select a manager and this is persisted inside the database. No issues for now, but will probably see some in a test session with others.
- Fun Livewire's awesome, it just works. Easy to figure stuff out. Absolutely amazing! Have a nice day!
- User editor
-
18-08-2023
- User editor
- Bugfix
There was an issue with displaying the user department name
$user->department->name
(function
). I accidentally put themanager_id
in theUser
model for the primary key for thebelongsTo
relationship. Now this is fixed.
- Bugfix
There was an issue with displaying the user department name
- Progress notes
- Admin user/department editors For this stage I'm quite happy with the result I got for the editors. They're working how they're intended to work and no further changes need to be made for now. In a later stage, there will be some more things added, like creating a new department, a new user and when the functionality is there; public service announcements.
- User editor
-
19-08-2023
- Public service announcements
- Prepared the basic functionality, created the model, factory and migration and migrated the database. Also prepared the dashboard to display the posts but the controller still needs to be prepared.
- Public service announcements
-
12-09-2023
- Public service announcements
- Made the basic display for the announcements. It redirects to a page for the specific PSA to show the whole announcement. On the display page the maximum content is 256 characters.
- Public service announcements
-
21-09-2024
- Public service announcements
- Restyled the card, it doesn't need another page to read it, 256 characters should be fine. You can only see the PSA's in your department (code is commented out, but does work. Commented since there is still a db factory / seeder issue)
- General
- Changed the
.env.example
file to make setting up the project a little easier (e.g. Meilisearch, SQLite)
- Changed the
- Public service announcements