Skip to content

Releases: bristol-su/support

v5.2.0

30 Nov 14:52
Compare
Choose a tag to compare

v5.2.0 - 22/10/2021

Changed

  • Logic Groups now use the database for quick audience lookup

v5.1.2

22 Oct 23:58
Compare
Choose a tag to compare

v5.1.2 - 22/10/2021

Changed

  • Updated forn schema version to 3

v5.1.1

21 Oct 14:23
Compare
Choose a tag to compare

v5.1.1 - 21/10/2021

Fixed

  • participant middleware was being loaded on the admin side of modules

v5.1.0

18 Oct 11:17
Compare
Choose a tag to compare

v5.1.0 - 18/10/2021

Changed

  • Activity Instances return dummy models if the control model does not exist

v5.0.2

23 Sep 12:17
Compare
Choose a tag to compare

v5.0.2 - 23/10/2021

Changed

  • Activity Instances return dummy models if the control model does not exist

v5.0.1

22 Sep 11:03
Compare
Choose a tag to compare

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 and participant-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

11 Aug 16:19
ca53c53
Compare
Choose a tag to compare

[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 and support.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 and hasRole 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() and setDatabaseUser() from testing - tests no longer use database users
    • Deleted BristolSU\ActivityInstance\AuthenticationProvider\ActivityInstanceProvider as now handled through WebRequestActivityInstanceResolver and ApiActivityInstanceResolver
    • BristolSU\Testing\ActivityInstance\LaravelAuthActivityInstanceResolver changed to use session rather than the whole laravel auth system, and renamed to BristolSU\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

20 Mar 15:26
b21c20c
Compare
Choose a tag to compare

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

v4.7.5

06 Mar 15:30
4478081
Compare
Choose a tag to compare

v4.7.5 - 06/03/2021

Changed

  • portal-85: Only update progress snapshots when changes have been made

v4.7.4

09 Sep 21:14
Compare
Choose a tag to compare

v4.7.4 - 09/09/2020

Fixed

  • ServiceRequest resolves from contract not concretion