Commit Graph

33 Commits

Author SHA1 Message Date
Miguel Nogueira cbcc1f025a
Refactored ban system
Implemented a Reddit-like account suspension system (similar to subreddit bans). This makes it easier to ban users from the app, and the code has also been cleaned up.

The interface was also revamped.
2021-07-20 22:35:49 +01:00
Miguel N 638b2719a8 Blade change 2021-01-29 17:28:29 +00:00
Miguel N aad04d6d14 Support markdown for application fields 2021-01-29 17:27:03 +00:00
Miguel Nogueira 14a8e9e9d5
Force users to change password
This commit applies the password_expiration setting to all users.
Users won't be able to do anything other than update password until it's done.
2021-01-06 05:03:38 +00:00
Miguel Nogueira 6518ad3447
Fixed #2
This method would always fail for cached options because at the end it was expecting an Eloquent model, which would never be populated if the requested value was cached in the first place.

Uncached requests wouldn't fail because the exec path would lead to $value being a Model.

Also removed reference to old feature causing application page to crash.
2020-12-08 00:07:53 +00:00
Miguel Nogueira 96aa01b9c6 Recent changes 2020-11-02 21:44:05 +00:00
Miguel Nogueira 596a469e15 Add user invitation facilities RSM-5
Adds user invitation to teams, and framework for assigning taems
Also adds user acc. deletion.
2020-10-08 19:19:10 +01:00
Miguel Nogueira 7e58c3af6b Add more missing translation strings
Also fixed broken vacancy editor
2020-09-03 02:20:15 +01:00
Miguel Nogueira 5ca155ba42 Add more missing translation strings 2020-09-03 02:08:14 +01:00
Miguel Nogueira 7c7c20d5b2 Add more missing translation strings 2020-09-03 01:58:29 +01:00
Miguel Nogueira 6e34b6b8fa Fix broken notes 2020-09-03 00:38:59 +01:00
Miguel Nogueira 48054f0837 Missing translations 2020-09-02 20:57:38 +01:00
Miguel Nogueira 4c7783f366 Variable fix 2020-09-02 20:32:34 +01:00
Miguel Nogueira af2c23a73c Variable fix 2020-09-02 20:30:25 +01:00
Miguel Nogueira a10f3f9c96 Fix unclosed a tag causing whole page to be a link 2020-09-02 18:36:35 +01:00
Miguel Nogueira 9b469c434b Add app render localization options 2020-09-01 19:30:28 +01:00
Miguel Nogueira ca3a06f248 Add directory localization options 2020-09-01 18:49:08 +01:00
Miguel Nogueira 1e2f331778 Add profile localization options 2020-09-01 17:46:27 +01:00
Miguel Nogueira 535a2c3973 Fixed broken banning logic 2020-08-13 22:12:17 +01:00
Miguel Nogueira d392c0593f Add two factor authentication 2020-07-17 22:44:10 +01:00
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
Miguel Nogueira 3693ce3431 Add footer to all dashboard pages 2020-07-16 06:46:20 +01:00
Miguel Nogueira bca6020ab0 Add ability to edit forms and add new fields
This commit adds the ability to edit and modify existing forms.
On the technical side, it also adds a new reusable validation Facade which helps reduce duplicated code.
2020-07-15 06:48:49 +01:00
Miguel Nogueira 33c16fcf46 Add user directory & isolate authorisation 2020-06-27 19:15:33 +01:00
Miguel Nogueira 5a8c080a31 Beta version
This commit is too large to list all changes.
2020-06-27 00:32:33 +01:00
Miguel Nogueira d15c0cb12f Major changes - Vote system now finished 2020-05-30 00:20:39 +01:00
Miguel Nogueira cc8c293cc6 Significant changes
Added several components and features too long to list here
2020-05-22 03:49:16 +01:00
Miguel Nogueira 2ff0da3e4f Made Profile & Account Settings functional
Also moved redundant HTML markup to component file for reuse.
Username to UUID converter also added as Middleware
2020-05-13 22:47:51 +01:00
Miguel Nogueira 7635f8e2f4 Add application list for users 2020-05-11 16:44:47 +01:00
Miguel Nogueira cf7cc142a7 Add Dynamic Form Processing for Custom Forms 2020-05-08 08:10:25 +01:00
Miguel Nogueira c802908bf3 Add "My Profile" Page
This commit adds the layout for the profile page, for users and staff members.
2020-04-30 22:53:57 +01:00
Miguel Nogueira 76d6ea6704 Added denied applications page
This commit adds a modified version of the previous page, meant for displaying denied apps.
Also modified method names and adds dates.
2020-04-30 16:55:14 +01:00
Miguel Nogueira 045b0c42f6 Added Under Review page
The user applications page has been added into the app.
2020-04-30 16:38:54 +01:00