48 Commits

Author SHA1 Message Date
68c30c1034 Replace aliases of functions 2015-06-29 22:59:22 +03:00
631d0ffb66 Merge pull request #8055 from Agrumas/patch-2
[REST] extraPatterns should take precedence over patterns
2015-04-20 21:44:20 -04:00
9c40341d03 'links' and 'meta' envelope names are now configurable at yii\rest\Serializer 2015-04-20 13:27:29 +03:00
ef912f4e43 [REST] specifying a higher priority rule via extraPatterns 2015-04-19 15:19:33 +03:00
f1edafffaf PHPDoc comment doesn't contain all necessary @throws tag
close #5762
2014-10-25 12:47:08 +02:00
998076d0c8 Fixes #5665: The currentPage meta data in the RESTful result should be 1-based, similar to that in HTTP headers 2014-10-20 09:46:44 -04:00
5cba8b2e68 Fix PHPDoc [skip ci] 2014-09-24 21:04:19 +04:00
91e41b0470 Fixes #5001: yii\rest\CreateAction, yii\rest\UpdateAction and yii\rest\DeleteAction should throw 500 error if the model operation returns false without validation errors 2014-09-12 13:49:34 -04:00
1bd738243c Typo fixed inside \yii\rest\CreateAction 2014-09-09 04:18:53 +04:00
31a17d6791 Revert "Fixes #4829: Removed PARSING_ONLY from \yii\rest\UrlRule to allow creating non-GET URLs for forms and tests"
This reverts commit 4ffbfec9aa032e5923b6fdfd7db9bc7e25275b40.
2014-08-27 21:42:07 +04:00
4ffbfec9aa Fixes #4829: Removed PARSING_ONLY from \yii\rest\UrlRule to allow creating non-GET URLs for forms and tests 2014-08-27 12:56:01 +04:00
3a1e0f3a5c property codestyle framework 2014-07-30 00:21:31 +02:00
0edd8bc65a Fixed missing and incorrect phpdoc 2014-07-25 17:26:35 +04:00
0c14f47f9a Fixes #3793: Changed inline autocomplete hints style to get more IDEs support 2014-06-20 17:40:00 +04:00
d7a251bbec Removed unused imports, added missing phpdoc 2014-05-30 11:55:17 +06:00
9b2fec6b50 Moved yii\rest\Controller::checkAccess() to ActiveController. 2014-05-16 11:32:55 -04:00
3dd4e71938 rest guide WIP [skip ci] 2014-05-12 23:05:15 -04:00
b491441246 Removed yii\rest\ActiveController::$transactional property and connected functionality 2014-05-07 22:16:37 +04:00
c7c708d454 Removed unused imports 2014-04-17 15:35:09 +04:00
0b29c9607d fixed broken API links [skip ci] 2014-04-09 22:22:49 -04:00
134d3d4610 Fixes #2034: Added ContentNegotiator to support response format and language negotiation 2014-04-09 14:57:04 -04:00
75154d351d Refactored AR find 2014-04-07 09:43:03 +04:00
8a3fe89149 renamed "auth" to "authenticator". [skip ci] 2014-04-06 00:53:42 -04:00
83da0cd07a refactored authentication filters. 2014-04-06 00:50:46 -04:00
12cd71d7c4 Refactored rate limiting by turning RateLimiter into an action filter. 2014-04-05 21:31:47 -04:00
a15a3835c7 Moved all filter classes to namespace yii\filters 2014-04-05 01:00:14 -04:00
50e338127d Improved action filter and action execution flow by supporting installing action filters at controller, module and application levels 2014-04-04 23:30:59 -04:00
85412adb46 perform API auth before configured User class may require login
This allows usage of AccessControl filter in API
2014-03-27 00:38:53 +01:00
0b2aafc780 fixed private / self in helpers
fixes #2886
2014-03-26 16:03:42 +01:00
bf3c75147d reverted breaking PHPdoc codestyle changes
issue #2852
2014-03-23 20:51:09 +01:00
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
2646e2cdcc Added $action param. 2014-03-15 16:51:03 -04:00
7b75538963 fixes #2739 2014-03-13 22:03:01 +01:00
66315a2cb6 Update HttpBearerAuth.php
typo fix
2014-03-08 17:41:11 +03:00
fad635440b Fixes #2655: Arrayable and ArrayableTrait are incompatible for some PHP versions. 2014-03-07 19:08:27 -05:00
1b03dc8f4c major features and documentation finished for REST API. 2014-03-05 23:52:33 -05:00
18c7c63e66 rest WIP 2014-03-05 22:21:55 -05:00
3f42d5826a REST wip. 2014-03-05 13:29:24 -05:00
c41e389f91 more docs. 2014-03-03 23:32:46 -05:00
64370f1ad6 Implemented rate limiter. 2014-03-03 22:01:58 -05:00
93861e09da Refactored auth methods. 2014-03-03 18:48:52 -05:00
74322593ed added support for rate limiting. 2014-03-03 17:02:06 -05:00
9a23e313d3 support authentication via query parameter. 2014-03-03 16:46:14 -05:00
94a9087b89 Renamed User::loginByToken() to loginByAccessToken(). 2014-03-03 15:03:18 -05:00
46d9285640 updated error code. 2014-03-03 13:45:55 -05:00
7a04dbaae1 Support for other auth types. 2014-03-03 10:18:39 -05:00
48a12559b2 rest api WIP 2014-03-01 23:14:16 -05:00
39947be66b rest WIP 2014-02-28 21:25:43 -05:00