Commit Graph

154 Commits

Author SHA1 Message Date
Miguel Nogueira f32c4dc68c Fixed misspelled translation string 2020-09-02 20:08:20 +01:00
Miguel Nogueira 687316d77a Language menu accessibility 2020-09-02 20:02:56 +01:00
Miguel Nogueira ff70c21283 Homepage: add crowdin badge 2020-09-02 19:57:41 +01:00
Miguel Nogueira 6b7d2db612 Default flag for English 2020-09-02 19:32:31 +01:00
Miguel Nogueira d743554df6 Add country flag to dropdown 2020-09-02 19:29:37 +01:00
Miguel Nogueira bd530696d2 Quick dropdown toggle 2020-09-02 19:24:32 +01:00
Miguel Nogueira 3040afd730 Default language list item 2020-09-02 19:20:06 +01:00
Miguel Nogueira e7d2c548c0 Populate language list 2020-09-02 19:15:01 +01:00
Miguel Nogueira f001a16d4d Add homepage language selector 2020-09-02 19:05:24 +01:00
Miguel Nogueira d8dbb1a0a2 Add homepage language selector 2020-09-02 19:04: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 800d205c74 New translations validation.php (Portuguese) 2020-09-02 03:53:10 +01:00
Miguel Nogueira 3cd7292c36 New translations messages.php (Portuguese) 2020-09-02 03:53:08 +01:00
Miguel Nogueira 36db8a1337 New translations messages.php (Portuguese) 2020-09-02 03:08:35 +01:00
Miguel Nogueira bcd11c462a New translations messages.php (Portuguese) 2020-09-02 00:34:47 +01:00
Miguel Nogueira 6703ac89c1 Update source file messages.php 2020-09-02 00:34:44 +01:00
Miguel Nogueira fda34ad8bf New translations messages.php (Portuguese) 2020-09-01 23:29:41 +01:00
Miguel Nogueira 2cde1cdbbe New translations messages.php (Spanish) 2020-09-01 23:29:38 +01:00
Miguel Nogueira 0bca7619f7 New translations messages.php (French) 2020-09-01 23:29:35 +01:00
Miguel Nogueira db5d150758 New translations validation.php (Portuguese) 2020-09-01 23:13:19 +01:00
Miguel Nogueira 348b1a37d0 New translations passwords.php (Portuguese) 2020-09-01 23:13:17 +01:00
Miguel Nogueira 86bf02bb42 New translations pagination.php (Portuguese) 2020-09-01 23:13:16 +01:00
Miguel Nogueira 6c45573fbe New translations messages.php (Portuguese) 2020-09-01 23:13:14 +01:00
Miguel Nogueira 910863bdea New translations auth.php (Portuguese) 2020-09-01 23:13:13 +01:00
Miguel Nogueira 884ff74f42 New translations messages.php (Portuguese) 2020-09-01 22:07:20 +01:00
Miguel Nogueira 3a53f3bbc2 New translations validation.php (Portuguese) 2020-09-01 21:01:43 +01:00
Miguel Nogueira 6c08e839d6 New translations passwords.php (Portuguese) 2020-09-01 21:01:42 +01:00
Miguel Nogueira 362ce6c866 New translations pagination.php (Portuguese) 2020-09-01 21:01:40 +01:00
Miguel Nogueira d336354482 New translations messages.php (Portuguese) 2020-09-01 21:01:39 +01:00
Miguel Nogueira 88cf53c53d New translations auth.php (Portuguese) 2020-09-01 21:01:37 +01:00
Miguel Nogueira a5568be339 New translations validation.php (Spanish) 2020-09-01 21:01:36 +01:00
Miguel Nogueira d393a8cedc New translations passwords.php (Spanish) 2020-09-01 21:01:34 +01:00
Miguel Nogueira 62d5f68279 New translations pagination.php (Spanish) 2020-09-01 21:01:33 +01:00
Miguel Nogueira 5c068a325d New translations messages.php (Spanish) 2020-09-01 21:01:32 +01:00
Miguel Nogueira 15c02c1de1 New translations auth.php (Spanish) 2020-09-01 21:01:30 +01:00
Miguel Nogueira 3782f79b51 New translations validation.php (French) 2020-09-01 21:01:29 +01:00
Miguel Nogueira 0c53757912 New translations passwords.php (French) 2020-09-01 21:01:28 +01:00
Miguel Nogueira 6db69f997d New translations pagination.php (French) 2020-09-01 21:01:26 +01:00
Miguel Nogueira edb2e4b2d6 New translations messages.php (French) 2020-09-01 21:01:25 +01:00
Miguel Nogueira baac37e967 New translations auth.php (French) 2020-09-01 21:01:23 +01:00
Miguel Nogueira b80e168dfb Add side menu localization options
This commit also adds the option to specify your own logo, from the .env configuration file.
2020-09-01 20:30:17 +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 4a09fa581d Add application management localization options 2020-09-01 14:40:41 +01:00
Miguel Nogueira c58b5b56d7 Add administration localization options 2020-09-01 12:43:39 +01:00
Miguel Nogueira bf5d4058ad Add auth localization options 2020-09-01 01:01:32 +01:00
Miguel Nogueira f871e14307 Add homepage localization options 2020-09-01 00:29:58 +01:00
Miguel Nogueira 1e78a8e6d9 Use app name 2020-08-31 23:20:53 +01:00
Miguel Nogueira 41e3e817a2 Added error messages to settings.blade.php 2020-08-31 19:50:58 +01:00
Miguel Nogueira 42de40e320 Added CSRF protection to settings 2020-08-31 18:34:09 +01:00
Miguel Nogueira faa3a65e2b Added unchecked checkbox workaround 2020-08-31 18:32:08 +01:00
Miguel Nogueira ba3a139d1c Wrapped settings with form-check 2020-08-31 18:13:44 +01:00
Miguel Nogueira 25ddf81118 Added form control buttons
Also improved form styling
2020-08-31 18:11:00 +01:00
Miguel Nogueira 9431eb5036 Updated options rendering 2020-08-31 18:03:20 +01:00
Miguel Nogueira ca82f5882d Add settings page 2020-08-30 23:06:01 +01:00
Miguel Nogueira 535a2c3973 Fixed broken banning logic 2020-08-13 22:12:17 +01:00
Miguel Nogueira 91627decbe Added Heroku Procfile
Also changed required password length for new users
2020-07-18 02:45:15 +01:00
Miguel Nogueira 2763f777ab Add password strength requirment
This commit adds a password strength requirement for new users using 
regular expressions.
Also adds a dismissable alert so users know how to create passwords 
properly.
2020-07-17 23:13:46 +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 9e2d571298 Fix homepage bg issue 2020-07-16 07:32:52 +01:00
Miguel Nogueira 1a04880489 Replace basic authentication pages 2020-07-16 06:50:59 +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 1f50faaea7 Add ability to preview application 2020-07-12 19:36:12 +01:00
Miguel Nogueira e978a5417b Added ability to delete single application
Also moved User observer code to Application observer
2020-07-12 17:01:33 +01:00
Miguel Nogueira bd0664ce0d Add ability to edit Vacancies 2020-07-11 20:34:26 +01:00
Miguel Nogueira 4b390ea536 Added full Vacancy description
Also added support for Markdown
2020-07-11 05:34:12 +01:00
Miguel Nogueira 035c9399a6 Add "All Applications" page 2020-07-11 02:43:59 +01:00
Miguel Nogueira ed95f02e00 Fix error where exception appeared instead of error message
This commit fixes an issue with fake MC usernames being used and 
resulting in a fatal exception. Displays an error msg now.
2020-06-28 04:51:32 +01:00
Miguel Nogueira 50692a8abf Remove card 2020-06-27 23:46:03 +01:00
Miguel Nogueira 664bdcf45e Improve hompeage 2020-06-27 23:44:07 +01:00
Miguel Nogueira 33c16fcf46 Add user directory & isolate authorisation 2020-06-27 19:15:33 +01:00
Miguel Nogueira 71efdf93d8 Add dashboard widgets 2020-06-27 04:49:55 +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 f46a941b61 Add hold period enforcement 2020-05-10 06:36:42 +01:00
Miguel Nogueira cf7cc142a7 Add Dynamic Form Processing for Custom Forms 2020-05-08 08:10:25 +01:00
Miguel Nogueira 4c6a435e34 Entrypoint: Add Application Page
This commit finally adds the dynamically rendered form that changes according to how the user builds their form.
It also fragments the header and footer for the main page into their own separate files for ease of access later.
Vacancy status has also been added to the Vacancies in DB.
All staff application endpoints have also been moved to under the user application endpoints group, for ease of use (duplicated route group).
2020-05-08 06:06:24 +01:00
Miguel Nogueira 49c1ed4698 Dynamic position rendering for homepage 2020-05-08 01:45:29 +01:00
Miguel Nogueira a4e415943a Add save & update functionality to positions
Tooltips also added, as well as a general configuration file for Mojang Status URL.
Relationships were also added between forms and Vacancies.
Status verification for the dashboard was moved to a Service Provider, where it adds log entries when cache expires.
Authentication controllers were also updated to reflect the new dashboard URL.
2020-05-08 00:24:56 +01:00
Miguel Nogueira 290104eea7 Added view forms 2020-05-07 00:36:33 +01:00
Miguel Nogueira f52b249834 Error and success messages from form builder 2020-05-06 23:16:34 +01:00
Miguel Nogueira 8d79345095 Store form structure in DB 2020-05-06 05:42:55 +01:00
Miguel Nogueira 2df5bf144d Added save function to save button
This commit also improves how forms are parsed by PHP by passing them as arrays, therefore making them easier to process.
Note: One of the files contains a debug statement that will be removed in the next commit
2020-05-06 03:44:39 +01:00
Miguel Nogueira 79eaa2ea54 Add dynamic form builder
This form builder still needs some improvements and names for every field.
2020-05-05 05:25:56 +01:00
Miguel Nogueira 27794729b9 Added vacancies list 2020-05-03 05:04:26 +01:00
Miguel Nogueira f5bb92b3c8 Add Registered Player listing 2020-05-03 04:31:02 +01:00
Miguel Nogueira cfb8e6bbca Add Staff Member listing 2020-05-03 04:10:33 +01:00
Miguel Nogueira 669fbc1ae5 Add Mojang's status to dashboard
Also adds a Cache table to the database. Contains incomplete routes.
2020-05-03 00:45:29 +01:00
Miguel Nogueira 5e87fb7683 Finish pending interview queue page 2020-05-02 20:51:36 +01:00
Miguel Nogueira 623200914d Add interview page (incomplete commit) 2020-05-02 06:54:14 +01:00
Miguel Nogueira e0e417e631 Add peer review tab 2020-05-01 06:21:44 +01:00
Miguel Nogueira b5e6a4a94b Added Outstanding applications page
This commit also includes Chart.js for the whole project using Webpack. It also updates NPM packages to support ChartJS, and suppresses locale.js warnings from Webpack builds.
Gitignore removes the webpack bundle file since that file should be built each time dependencies/js code are modified.
2020-05-01 05:42:19 +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