Skip to content

7.x-2.7

Compare
Choose a tag to compare
@e0ipso e0ipso released this 20 Feb 11:10
· 25 commits to 7.x-2.x since this release

[FEATURE] Switch user during RESTful execution

eadbca2 by Mateu Aguiló Bosch (G)

Allow other code to rely on the global $user object when reacting
to a RESTful thread execution.

:100644 100644 1d9b015... 923865d... M  restful.module
:100644 100644 2f0e059... 447c317... M  src/Authentication/AuthenticationManager.php
:100644 100644 018ef74... 4f511b1... M  src/Authentication/AuthenticationManagerInterface.php
:000000 100644 0000000... 933735c... A  src/Authentication/UserSessionState.php
:000000 100644 0000000... e76c160... A  src/Authentication/UserSessionStateInterface.php
:100644 100644 6931615... b504f9e... M  src/Plugin/resource/Decorators/CacheDecoratedResource.php
:100644 100644 1cdb714... 1842532... M  src/Plugin/resource/Decorators/RateLimitDecoratedResource.php
:100644 100644 451100a... 5992b43... M  src/Plugin/resource/Decorators/ResourceDecoratorBase.php
:100644 100644 4af2df6... 801c9d6... M  src/Plugin/resource/LoginCookie__1_0.php
:100644 100644 5feb304... 40b50a3... M  src/Plugin/resource/Resource.php
:100644 100644 38ba007... 5044fc3... M  src/Plugin/resource/ResourceInterface.php
:100644 100644 da933fc... 5745acf... M  tests/RestfulUserLoginCookieTestCase.test

[CLEANUP] Deprecate PHP 5.4 since Plug depends on 5.5.9

7e21136 by Mateu Aguiló Bosch (G)

The 5.4 version support was unrealistic since one of the
dependencies already depens on PHP 5.5.9.

:100644 100644 bc6a21f... d20552a... M  .travis.yml
:100644 100644 2edf0ad... 35d6faf... M  restful.info

[BUGFIX] Move the resource to a new test module

04b612f by Mateu Aguiló Bosch (G)

Allow implementors to use the 'articles' namespace when Token Auth
is enabled.

:000000 100644 0000000... 4902efe... A  modules/restful_token_auth/modules/restful_token_auth_test/restful_token_auth_test.info
:000000 100644 0000000... 478ba2a... A  modules/restful_token_auth/modules/restful_token_auth_test/restful_token_auth_test.module
:000000 100644 0000000... c05534f... A  modules/restful_token_auth/modules/restful_token_auth_test/src/Plugin/resource/Articles__1_3.php
:100644 000000 03fe34a... 0000000... D  modules/restful_token_auth/src/Plugin/resource/Articles__1_3.php
:100644 100644 9ab0990... f2a4200... M  modules/restful_token_auth/tests/RestfulTokenAuthenticationTestCase.test

[BUGFIX] Reverse access token logic

387e4ea by lukewertz (G)

This bug was breaking all access token authentication!

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