Releases: bristol-su/support
Releases · bristol-su/support
v5.2.0
v5.1.2
v5.1.1
v5.1.0
v5.1.0 - 18/10/2021
Changed
- Activity Instances return dummy models if the control model does not exist
v5.0.2
v5.0.2 - 23/10/2021
Changed
- Activity Instances return dummy models if the control model does not exist
v5.0.1
v5.0.1 - 22/10/2021
Changed
- Resolve Transformer contract rather than using VFGTransformer.
- PR-344: Use new form schema
- Fix client caching not properly caching response
Added
- Add position to js variables
participant-activity
andparticipant-module
middleware groups- Migrations to update settings
- Added a title prefix to resource
- Name the main module route 'module.admin' and 'module.participant'
v5.0.0
[v5.0.0 - 11/08/2021]
You should follow the upgrade guide (UPGRADE.md) to help you change to this version
Fixed
- When support redirects to a module page, the query string is added to the new redirection
- Handle error thrown by the
ControlServiceProvider
when settings retrieved in the service provider due to no set app key
Added
- Image URL for module instance and activity models
- Added a blade wrapper around content and the frontend body, to allow for further html customisations
- Added Setting framework for global and user settings (portal-147, portal-265)
- Add more injected data that js can access
- Old input
- Validation errors
- All named routes
- config values
support.url
andsupport.api_url
that can be used to get the base url or api url.
Changed
- Upgraded from PHP 7.4 to PHP 8.0
- Upgraded from Laravel 6.0 to Laravel 8.0
- Use modern factories for everything rather than legacy factories. If your tests use any factories from Control or the SDK, you'll need to change them to use modern factories.
- Changed the variable names to be injected for JavaScript use, and do so through a view composer for all Bristol SU bases.
- Add
hasUser
,hasGroup
andhasRole
to the Authentication contract. - Neatened up middleware groups to only those documented
Removed
- Moved authentication to the portal-auth package
- Moved Passport Service provider
- Moved the `BristolSU\Support\Authentication\Contracts\Authentication implementations
- Moved the request->user() function override to the portal-auth package
- Moved everything in the
BristolSU\Support\User
namespace to package.BristolSU\Support\User\User
->BristolSU\Auth\User\AuthenticationUser
BristolSU\Support\User\UserRepository
->BristolSU\Auth\User\AuthenticationUserRepository
BristolSU\Support\User\Contracts\UserRepository
->BristolSU\Auth\User\Contracts\AuthenticationUserRepository
- User authentication resolvers for both API and Web
BristolSU\Support\User\Contracts\UserAuthentication
->BristolSU\Auth\User\Contracts\AuthenticationUserResolver
- CheckAdminIsAtLeastUser obsolete because now handled in the Authentication
getDatabaseUser()
andsetDatabaseUser()
from testing - tests no longer use database users- Deleted
BristolSU\ActivityInstance\AuthenticationProvider\ActivityInstanceProvider
as now handled throughWebRequestActivityInstanceResolver
andApiActivityInstanceResolver
BristolSU\Testing\ActivityInstance\LaravelAuthActivityInstanceResolver
changed to use session rather than the whole laravel auth system, and renamed toBristolSU\Testing\ActivityInstance\SessionActivityInstanceResolver
- Simplified default header (portal-226)
- Removed the passport dependency
- Removed support for the blade partials cookies_warning and analytics
v4.7.6
v4.7.6 - 20/03/2021
Fixed
- portal-19: Set action history messages to a text not string
- portal-330: Stop UpdateProgress from timing out by chunking resulting jobs