Commit Graph

53 Commits

Author SHA1 Message Date
Miguel Nogueira b2b29382bf
Merge branch 'develop' 2021-10-13 00:02:42 +01:00
Miguel Nogueira d8e836980a
Move seeder to right place 2021-10-12 22:46:43 +01:00
Miguel Nogueira a3d0730808 Update to Laravel & PHP 8 2021-10-12 18:08:15 +01:00
Miguel Nogueira 3f4bc28fd4
Added Demo mode
Demo mode allows to safely run a demo version of the app, with destructive features limited.

Some bugs were also fixed in this commit.
2021-09-04 00:44:54 +01:00
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 Nogueira 99779c9053
API key management interface 2021-03-30 01:27:49 +01: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 3e1a75dfea
Set default 0 for password_expiry 2021-01-06 01:30:57 +00:00
Miguel Nogueira abace4e85b
Setting categorization system
This categorization system aims to prevent mixing different options together.
2021-01-06 01:29:01 +00:00
Miguel Nogueira 33960270f3
Added Sanctum + new options to seeder 2021-01-01 21:01:23 +00:00
Miguel Nogueira bc8570019c
Force TeamSeeder to skip creating existing permissions
TeamSeeder previously created permissions that already existed, if the migration had ran twice. This commit forces the seeder to verify if the permission it's attempting to create already exists, and if not, it creates it and assigns them at the end.

THis prevents an error from appearing if these permissions were created manually. In this case, the seeder will only assign the permissions instead of creating them.
2020-12-21 00:48:21 +00:00
Miguel Nogueira 0c667d74ef
Refactored seeders 2020-12-08 14:56:19 +00:00
Miguel Nogueira 8882804c6e
Menu changes 2020-12-07 20:28:18 +00:00
Miguel Nogueira 0bdb6cf2fb
Minor fixes 2020-12-07 17:48:15 +00:00
Miguel Nogueira e4fb438721 Merge remote-tracking branch 'origin/develop' into develop
# Conflicts:
#	app/Http/Controllers/TeamFileController.php
#	app/TeamFile.php
#	config/adminlte.php
#	routes/web.php
2020-11-02 21:50:30 +00:00
Miguel Nogueira 96aa01b9c6 Recent changes 2020-11-02 21:44:05 +00:00
Miguel Nogueira 4eb115d165 Revert "Apply fixes from StyleCI (pull request #6)"
This reverts pull request #6.

> This pull request applies code style fixes from an analysis carried out by [StyleCI](https://bitbucket.styleci.io).
> 
> For more information, click [here](https://bitbucket.styleci.io/analyses/a2Jl7D).
2020-10-21 00:29:50 +00:00
Miguel Nogueira 773ec570d9 Apply fixes from StyleCI 2020-10-21 00:01:41 +00:00
Miguel Nogueira d5d23b7dbd Apply fixes from StyleCI 2020-10-11 01:54:22 +00:00
Miguel Nogueira 06d1e0ad3f RSM-8 Add team files page and ability to download files 2020-10-11 02:54:09 +01:00
Miguel Nogueira 6541e25a39 Apply fixes from StyleCI 2020-10-10 16:30:26 +00:00
Miguel Nogueira 0930c29b9a RSM-5 Update to Laravel 8 2020-10-08 23:47:23 +01: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 75f4404259 RSM-6 Team features 2020-10-03 21:36:35 +01:00
Miguel Nogueira 7c0c244e21 Team page skeleton 2020-09-10 23:09:23 +01:00
Miguel Nogueira 982854d5c6 RSM-25 add relevant permisisons to teams 2020-09-10 22:47:51 +01:00
Miguel Nogueira 551741c687 RSM-3 Update team assoc relationship 2020-09-10 19:41:19 +01:00
Miguel Nogueira dbeddd6fdb RSM-3 Update vacancy schema with team assoc 2020-09-10 19:24:55 +01:00
Miguel Nogueira 67d1df7571 RSM-3 Add teams migration and config 2020-09-10 18:43:58 +01:00
Miguel Nogueira 17fb0e236f Make notifications cancellable
This commit makes certain notifications cancellable. This enables notifications to be sent conditionally based on the user's choice.
2020-08-31 22:06:00 +01:00
Miguel Nogueira b0cbf65cfc Added missing permissions to roles 2020-08-31 17:55:36 +01:00
Miguel Nogueira 6be5e241d4 Add permission and provider imports 2020-08-31 16:41:01 +01:00
Miguel Nogueira d6c49a5cf0 Add missing migration 2020-08-30 23:27:06 +01:00
Miguel Nogueira da73c91b4a Update DB seeder 2020-08-30 23:17:06 +01:00
Miguel Nogueira ca82f5882d Add settings page 2020-08-30 23:06:01 +01:00
Miguel Nogueira d392c0593f Add two factor authentication 2020-07-17 22:44:10 +01:00
Miguel Nogueira 4b390ea536 Added full Vacancy description
Also added support for Markdown
2020-07-11 05:34:12 +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 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 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 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 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 20bb7bbcb5 Ammend to previous commit 2020-04-29 22:36:38 +01:00
Miguel Nogueira 914bde3709 Make optional application-related registration parameters optional
This commit makes optional registration parameters optional; They should only be filled in after the user has submitted an application. The application will crash during registration without these parameters being optional, and adding them to the form would be illogical.
2020-04-29 22:23:26 +01:00
Miguel Nogueira 11e8062500 Migration reversal for vote_has_application 2020-04-29 21:59:41 +01:00
Miguel Nogueira 3b0c862d47 Include previous fix 2020-04-29 21:57:57 +01:00
Miguel Nogueira beee71e4c3 Enforce data consistency 2020-04-29 21:56:41 +01:00
Miguel Nogueira f514c4f848 Optimize tables 2020-04-29 21:16:05 +01:00