Skip to content

7.x-2.6

Compare
Choose a tag to compare
@e0ipso e0ipso released this 15 Feb 19:05
· 29 commits to 7.x-2.x since this release

[BUGFIX] Use correct range in pagination when exceeding max

6b80e32 by Mateu Aguiló Bosch (G)

When a range is passed via query string parameter, the correct
pagination links should be calculated. Even if the passed range
exceeds the maximum allowed range.

:100644 100644 ec1e7b3... 8d9a31f... M  src/Plugin/formatter/Formatter.php
:100644 100644 00d3acf... 1b21302... M  src/Plugin/formatter/FormatterHalJson.php
:100644 100644 fb599b5... 4af48da... M  src/Plugin/formatter/FormatterJson.php
:100644 100644 c5007c9... e9f38eb... M  src/Plugin/formatter/FormatterJsonApi.php
:100644 100644 d059281... 472387b... M  tests/RestfulJsonApiTestCase.test
:100644 100644 07fd381... 42ee4c1... M  tests/RestfulSimpleJsonTestCase.test

[BUGFIX] Use the decorator to get metadata

162251e by Mateu Aguiló Bosch (G)

In the decorated resource, use the subject to get the underlying
metadata information.

:100644 100644 a5e8aad... ff84000... M  src/Plugin/resource/DataProvider/CacheDecoratedDataProvider.php
:100644 100644 d30b54b... 7d5edac... M  src/Plugin/resource/DataProvider/DataProviderNode.php

Lost credits.

2abb180 by Thanos Korakas (N)

:100644 100644 f714a84... 75d6a01... M  README.md

[FEATURE] Create semi singleton for plugin managers

c93e064 by Mateu Aguiló Bosch (G)

And apply it to the authentication manager. This adds a performance
boost.

Thanks to @emisaacson for the report and analysis.

:100644 100644 ce344b1... c02bcc7... M  src/Plugin/AuthenticationPluginManager.php
:000000 100644 0000000... 354df6f... A  src/Plugin/SemiSingletonTrait.php

[FEATURE] Do not take the anon user as a valid authentication

54d285f by jeff-h (G)

If an authentication provider yields the anonymous user, keep
trying other authentication providers.

:100644 100644 460815c... 2f0e059... M  src/Authentication/AuthenticationManager.php

[FEATURE] Give access-token a new chance

7349ed0 by lukewertz (G)

Add support to access-token as a header name, instead of
access_token via code. Even if the key name can be changed in the
annotation, this is common enough to deserve some babysitting.

:100644 100644 c749323... 331281a... M  modules/restful_token_auth/src/Plugin/authentication/TokenAuthentication.php

[BUGFIX] Allow content headers to be parsed

f295fd6 by mcdruid (G)

Content headers do not start with HTTP_ so they don't get a
plausible header name generated. Fix that.

:100644 100644 102b8a6... 3828b0e... M  src/Http/Request.php

[BUGFIX] Avoid cache poisoning with colliding cache keys

7135886 by edwardaa (G)

Replace drupal_static(FUNCTION) with drupal_static(METHOD)

:100644 100644 9cfda2a... f59dbfa... M  src/Formatter/FormatterManager.php