Commit Graph

357 Commits

Author SHA1 Message Date
Miguel N d234415d38 Logic changes for confirmation dialog
This commit changes the deletion mechanism for forms. Currently, it sets the wanted deletion ID to the session, and redirects the user to the previous page, to open a confirmation dialog for deletion.
2021-01-27 02:23:30 +00:00
Miguel N 9c597eeb65 Update 'resources/views/dashboard/administration/formbuilder.blade.php' 2021-01-27 02:07:34 +00:00
Miguel N 7319d091e2 Add exit popup 2021-01-27 02:01:59 +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 aa2bfac3e5
Show current pw policy in register page
Also adds a warning for when pw policy is set to off
2021-01-06 03:48:14 +00:00
Miguel Nogueira 42868be96e
Fix 2021-01-06 03:25:19 +00:00
Miguel Nogueira d1142d3e0c
Apply license and password settings 2021-01-06 03:21:53 +00:00
Miguel Nogueira 3b28bf1cfe
Track IP changes 2021-01-06 02:11:47 +00:00
Miguel Nogueira 5cf6b2b241
Selectable game integration 2021-01-06 01:55:22 +00:00
Miguel Nogueira 3e1a75dfea
Set default 0 for password_expiry 2021-01-06 01:30:57 +00:00
Miguel Nogueira 3156b0d17d
Remove ignoreOptions 2021-01-06 01:29:47 +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 baddf3fc76
Save value instead of raw model to cache 2021-01-06 01:02:47 +00:00
Miguel Nogueira 2ec2a92645
Saveable settings 2021-01-06 00:57:27 +00:00
Miguel Nogueira 33960270f3
Added Sanctum + new options to seeder 2021-01-01 21:01:23 +00:00
Miguel Nogueira 8be29f9739
Merge branch 'develop' of git.spacejewel-hosting.com:spacejewelhosting/staffmanager into develop 2020-12-30 00:12:05 +00:00
Miguel Nogueira 8b9cb7fbc4
Add 3rd party integrations
This commit adds third party integrations to the settings page.
It will allow users to link the games and services their community is using, to facilitate recruiting in each service.
These settings are not saved yet.
2020-12-30 00:11:50 +00:00
Proximity e0fc9b2d94 Addeed Development branch warning 2020-12-24 03:59:35 +00:00
Miguel Nogueira 29f697d7b2
More footer info 2020-12-21 01:20:46 +00:00
Miguel Nogueira 1c0eeb4bb0
Added Gate authorization arguments
Gate Auth arguments were missing for TeamFile and Team controllers.
This means that Gate has no idea where to look for policies, meaning that
the ability passed is perceived literally, causing an Unauthorized error.

Adding the Model with which to authorize the request solved the error since
Gate now knows which policy to look in for permission logic.
2020-12-21 01:02:05 +00:00
Miguel Nogueira 2f0fc14825
Merge remote-tracking branch 'origin/develop' into develop 2020-12-21 00:48:35 +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
Proximity aaaf56d415 Removed stray message from players tab 2020-12-20 12:57:41 -05:00
Proximity 79571d8b4c Fixed variable caps 2020-12-20 12:14:27 -05:00
Proximity 035e94421e Fixed variable . 2020-12-20 12:12:58 -05:00
Proximity a72abb9147 Updated footer variables 2020-12-20 12:11:25 -05:00
Proximity 96ebdc554e Update Description again 2020-12-20 12:10:13 -05:00
Proximity ece01fc71f Change header description 2020-12-20 12:06:48 -05:00
root 6f08b852f4 Merge branch 'develop' of https://code.spacejewel-hosting.com/spacejewelhosting/staffmanager into develop 2020-12-20 11:53:40 -05:00
Miguel Nogueira 889c771454 Remove StyleCI used at bitbucket 2020-12-20 16:53:14 +00:00
root 2e78d8c321 Updated Font Awesome 2020-12-20 11:53:09 -05:00
Proximity d7331b2dc1 Added GNU License comment. 2020-12-20 16:39:30 +00:00
Miguel Nogueira a8107a5421 Merge pull request 'Footer changes' (#5) from Proximity/staffmanager:develop into develop
Reviewed-on: https://code.spacejewel-hosting.com/spacejewelhosting/staffmanager/pulls/5
2020-12-20 16:36:33 +00:00
Proximity bf9b6d43f3 Update from GitHub to Gitea 2020-12-20 15:37:30 +00:00
Proximity 7fef7a0ac7 Added APP_NAME/URL to main page footer. 2020-12-20 15:36:32 +00:00
Miguel Nogueira 7c663dcc02 Merge pull request 'Make pretty' (#4) from Proximity/staffmanager:develop into develop
Reviewed-on: https://code.spacejewel-hosting.com/spacejewelhosting/staffmanager/pulls/4
2020-12-20 14:15:47 +00:00
Proximity 37c22f4377 Merge branch 'develop' into develop 2020-12-20 11:30:19 +00:00
Proximity d3d1f6f2b1 Update 'README.md' 2020-12-20 11:29:44 +00:00
Proximity 36f9e4f9f0 Added links to used 2020-12-20 11:28:57 +00:00
Proximity d8dac401cb Make pretty 2020-12-20 05:55:03 +00:00
Miguel Nogueira a04510ac36 Merge pull request 'Fixed carousel width' (#3) from Proximity/staffmanager:develop into develop
Reviewed-on: https://code.spacejewel-hosting.com/spacejewelhosting/staffmanager/pulls/3
2020-12-20 04:40:54 +00:00
Proximity a7d0e05188 Fixed carousel width 2020-12-20 04:37:00 +00:00
Miguel Nogueira 975f0a69c7
Removed now-unsupported message option 2020-12-19 15:37:15 +00:00
Miguel Nogueira a1edef026f
Fix naming typo 2020-12-19 04:09:32 +00:00
Miguel Nogueira cf65569702
Un-hardcode configuration value 2020-12-19 03:13:27 +00:00
Miguel Nogueira 0c667d74ef
Refactored seeders 2020-12-08 14:56:19 +00:00
Miguel Nogueira a206782187
Added TeamFile Authorization Policy 2020-12-08 03:09:17 +00:00
Miguel Nogueira 7323ffec2b
Added Team Authorization Policy 2020-12-08 02:58:10 +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 8882804c6e
Menu changes 2020-12-07 20:28:18 +00:00