Skip to content

7.x-2.8

Compare
Choose a tag to compare
@e0ipso e0ipso released this 06 Apr 09:14
· 19 commits to 7.x-2.x since this release

[BUGFIX] Revert plugin massaging

ebfbca2 by Mateu Aguiló Bosch (G)

It was done elsewhere.

:100644 100644 54e38da... 1e203a7... M  src/Resource/ResourceManager.php

[BUGFIX] Allow NULL plugins to be massaged

8c0842b by Mateu Aguiló Bosch (G)

:100644 100644 c0c52ba... 54e38da... M  src/Resource/ResourceManager.php

[FEATURE] Allow custom resouce field classes to alter queries

504c518 by Mateu Aguiló Bosch (G)

To add special handling for filters and sorts. This is very
useful when used with filters that are not regular fields or
properties, like the URL alias. This is required for restful_alias
to work properly.

:100644 100644 01d079b... 850380b... M  src/Plugin/resource/DataProvider/DataProvider.php
:100644 100644 b2a897f... 6dc62d2... M  src/Plugin/resource/DataProvider/DataProviderDecorator.php
:100644 100644 4706bac... 4d5d6d1... M  src/Plugin/resource/DataProvider/DataProviderEntity.php
:000000 100644 0000000... 4d0b44d... A  src/Plugin/resource/Field/ResourceFieldEntityAlterableInterface.php
:100644 100644 1e203a7... c0c52ba... M  src/Resource/ResourceManager.php

[BUGFIX] Use the alias to compare existing aliases

221e73e by Mateu Aguiló Bosch (N)

Fix the logic that generates new alias table names to check for
the existing aliases instead of the table names.

:100644 100644 85a8340... 25f06aa... M  src/Util/EntityFieldQuery.php

[FEATURE] Allow altering filters to support custom filters

4700e5e by Mateu Aguiló Bosch (G)

Allow an easy way of altering the filtering by a custom data
provider. This is the only recommended way to add support for
filtering based on:

  • Computed public fields: reverse the computation for the filter.
  • Fields with preprocesses: reverse the preprocess for the
    filter. For instance, in a date field that is stored as a UNIX
    timestamp but displayed as a ISO-8601 the consumer wants to be
    able to accept filters with ISO-8601 dates in them. The
    alterFieldQuery would take the date string and parse it back
    to a UNIX timestamp.
:100644 100644 6d3dcf1... 4706bac... M  src/Plugin/resource/DataProvider/DataProviderEntity.php

[FEATURE] Allow other auth providers to use Authorization

828e577 by Mateu Aguiló Bosch (G)

Let other providers to use the Authorization header. The Basic
prefix will be used to detect basic authentication when that
header is used. This allows Simple OAuth.

Additionally changes the String class name, since it's not
compatible with PHP7.

:100644 100644 3828b0e... 3d01864... M  src/Http/Request.php
:100644 100644 31b43d2... 6c5562b... M  src/Plugin/resource/Field/ResourceFieldEntity.php
:100644 000000 9e2144b... 0000000... D  src/Util/String.php
:000000 100644 0000000... d113ad0... A  src/Util/StringHelper.php
:100644 100644 b96ebd2... 77452b6... M  tests/RestfulAuthenticationTestCase.test