Install

Works with Drupal: 7.x

Using Composer to manage Drupal site dependencies

Downloads

Download tar.gz 195.46 KB
MD5: 7a557da5dc7be9e058cf4281507ca03a
SHA-1: 471d1c315ef01e135515dc85b75f9cf843e450f4
SHA-256: 32656071b55bd22d15c4d922c7f7c34dd8c05db09131b879521050806be79b72
Download zip 351.97 KB
MD5: fd491c8903fd8fb9700419c9e5463f90
SHA-1: af58ff3702675e9dc61117b05b286309a41bd77f
SHA-256: cfad19572d2ea7e161e50411ffbb48a5c9793bdc532db018a9271467a40d7273

Release notes

[BUGFIX] Avoid INNER JOIN for LEFT JOIN filters

fa5205c by Mateu Aguiló Bosch (G)

If the first field condition (alphabetically) is a LEFT JOIN filter,
make sure that subsequent fields do not join to it with an INNER
JOIN.

:100644 100644 9f2f944... c47114a... M	src/Plugin/resource/DataProvider/DataProvider.php
:100644 100644 adb10cb... 85a8340... M	src/Util/EntityFieldQuery.php

[BUGFIX] Better support for forbidden entities

7c956e5 by Mateu Aguiló Bosch (G)

When requesting a forbidden entity a 403 should arise. When
requesting a forbidden entity as part of a list, it should be
ignored and reported as denied in the metadata.

:100644 100644 f03350f... 889259d... M	modules/restful_example/src/Plugin/resource/variables/DataProviderVariable.php
:100644 100644 7ef87d4... f552044... M	modules/restful_token_auth/src/Plugin/resource/AccessToken__1_0.php
:100644 100644 64964e5... 66fe45a... M	restful.admin.inc
:100644 100644 b898f45... 2edf0ad... M	restful.info
:000000 100644 0000000... 52fc653... A	src/Exception/InaccessibleRecordException.php
:100644 100644 a8df667... fb599b5... M	src/Plugin/formatter/FormatterJson.php
:100644 100644 5c21672... c5007c9... M	src/Plugin/formatter/FormatterJsonApi.php
:100644 100644 e78c224... b0fc62e... M	src/Plugin/resource/DataProvider/CacheDecoratedDataProvider.php
:100644 100644 f898625... c097361... M	src/Plugin/resource/DataProvider/DataProviderEntity.php
:100644 100644 e32a452... 4b6e05a... M	src/Plugin/resource/DataProvider/DataProviderFile.php
:100644 100644 4993a24... d210480... M	src/Plugin/resource/DataProvider/DataProviderPlug.php
:100644 100644 946c0ca... 0c3839c... M	src/Plugin/resource/Decorators/CacheDecoratedResource.php
:100644 100644 d51d845... 1478305... M	src/Plugin/resource/Field/ResourceFieldEntity.php
:100644 100644 955688e... cddcda5... M	src/Plugin/resource/Resource.php
:100644 100644 3dc5cb8... c85af4e... M	tests/RestfulDiscoveryTestCase.test
:100644 100644 076b4c6... f74de58... M	tests/RestfulEntityUserAccessTestCase.test
:100644 100644 519d3dd... 265c7e8... M	tests/RestfulExceptionHandleTestCase.test
:000000 100644 0000000... f13009d... A	tests/RestfulForbiddenItemsTestCase.test
:100644 100644 7df77aa... 811781a... M	tests/RestfulJsonApiTestCase.test
:100644 100644 0d5e9a8... 5cc2b06... M	tests/RestfulListTestCase.test
:100644 100644 26fd73e... e3197c9... M	tests/modules/restful_test/restful_test.module

[BUGFIX] Handle invalid entity error

e37a569 by Mateu Aguiló Bosch (G)

If the underlying data provider does not return a resource field
collection, we cannot call any related method to it.

:100644 100644 ec3fd10... e78c224... M	src/Plugin/resource/DataProvider/CacheDecoratedDataProvider.php

[BUGFIX] Allow disabling default resources from the admin

194ef8d by Mateu Aguiló Bosch (G)

Connect the admin interface so plugins are disbled.

:100644 100644 a27059f... 9623915... M	restful.module
:100644 100644 f949bdd... 3dc5cb8... M	tests/RestfulDiscoveryTestCase.test

[BUGFIX] Remove trailing slash to fix resource list

fc8cb65 by Roy Segall (G)

Remove the trailing slash in the dynamic hook_menu that leads to
the 404 on the discovery page.

:100644 100644 17f124e... a27059f... M	restful.module
:100644 100644 3e087b0... f949bdd... M	tests/RestfulDiscoveryTestCase.test

[FEATURE] Allow setting the bundles to FALSE

b49b024 by edwardaa (G)

If the bundles are set to FALSE then the no bundles are considered
in the generated EFQ instead of adding them all.

:000000 100644 0000000... 2edd60c... A	modules/restful_example/src/Plugin/resource/comment/Comments__1_0.php
:000000 100644 0000000... 7ca6e00... A	modules/restful_example/src/Plugin/resource/comment/DataProviderComment.php
:100644 100644 de9a129... b898f45... M	restful.info
:100644 100644 9a75c7e... f898625... M	src/Plugin/resource/DataProvider/DataProviderEntity.php
:000000 100644 0000000... c1e24c7... A	tests/RestfulCommentTestCase.test

[BUGFIX] Pass in the interpreter to the ResourceField::value

5000a51 by Mateu Aguiló Bosch (G)

Failing to do so results in a PHP error with the type hinting.

:100644 100644 6319283... d53d726... M	src/Plugin/resource/Field/ResourceField.php
Created by: e0ipso
Created on: 3 Dec 2015 at 17:10 UTC
Last updated: 2 Aug 2018 at 04:56 UTC
Bug fixes
New features
Insecure
Unsupported

Other releases