staffmanager/app
Miguel Nogueira 5f1f92a9ce Code review
This commit fixes some superficial instances of Broken Access Control 
(https://owasp.org/www-project-top-ten/OWASP_Top_Ten_2017/Top_10-2017_A5-Broken_Access_Control).
There may be some more instances of this, as authorization was only done 
after most of the controllers were done (big mistake).

Some refactoring was also performed, where Route Model Binding with DI 
(dependency injection) was used whenever possible, to increase 
testability of the codebase.
Some reused code was also moved to Helper classes as to enforce DRY; 
There may be some lines of code that are still copy-pasted from other 
parts of the codebase for reuse.

Non-breaking refactoring changes were made, but the app as a whole still 
needs full manual testing, and customised responses to HTTP 500 
responses. Some errors are also not handled gracefully and this wasn't 
checked in this commit.
2020-07-16 21:21:28 +01:00
..
Console Add "All Applications" page 2020-07-11 02:43:59 +01:00
CustomFacades Code review 2020-07-16 21:21:28 +01:00
Events Beta version 2020-06-27 00:32:33 +01:00
Exceptions Major changes - Vote system now finished 2020-05-30 00:20:39 +01:00
Facades Add ability to edit forms and add new fields 2020-07-15 06:48:49 +01:00
Helpers Code review 2020-07-16 21:21:28 +01:00
Http Code review 2020-07-16 21:21:28 +01:00
Jobs Beta version 2020-06-27 00:32:33 +01:00
Listeners Beta version 2020-06-27 00:32:33 +01:00
Mail Added main page 2020-04-27 07:28:00 +01:00
Notifications Code review 2020-07-16 21:21:28 +01:00
Observers Added ability to delete single application 2020-07-12 17:01:33 +01:00
Policies Code review 2020-07-16 21:21:28 +01:00
Providers Fix appointment policy not being called correctly 2020-07-16 05:24:00 +01:00
UUID Fix error where exception appeared instead of error message 2020-06-28 04:51:32 +01:00
View/Components Add ability to preview application 2020-07-12 19:36:12 +01:00
Application.php Beta version 2020-06-27 00:32:33 +01:00
Appointment.php Beta version 2020-06-27 00:32:33 +01:00
Ban.php Beta version 2020-06-27 00:32:33 +01:00
Comment.php Beta version 2020-06-27 00:32:33 +01:00
Form.php Added check for constrained models when deleting 2020-07-12 06:39:39 +01:00
Profile.php Made Profile & Account Settings functional 2020-05-13 22:47:51 +01:00
Response.php Beta version 2020-06-27 00:32:33 +01:00
StaffProfile.php Major changes - Vote system now finished 2020-05-30 00:20:39 +01:00
User.php Beta version 2020-06-27 00:32:33 +01:00
Vacancy.php Add ability to edit Vacancies 2020-07-11 20:34:26 +01:00
Vote.php Major changes - Vote system now finished 2020-05-30 00:20:39 +01:00