80da46c32d
REST OPTIONS Action bug fix with Header name ( #15869 )
2018-03-10 23:59:46 +03:00
f10cb6aeee
SCA with Php Inspections (EA Ultimate)
2018-02-27 19:13:22 +01:00
e6f5c46cdc
Fixes #15633 : Deprecate some things going away/changing in 2.1
...
- Deprecated `yii\base\BaseObject::className()` in favor of native PHP syntax `::class`, which does not trigger autoloading
- Deprecated XCache and Zend data cache support as caching backends
- Deprecated `yii\BaseYii::powered()` method
- Added `yii\base\InvalidArgumentException` and deprecated `yii\base\InvalidParamException`
- Added `yii\BaseYii::debug()` and deprecated `yii\BaseYii::trace()`
2018-02-11 01:48:29 +03:00
65f6b59b35
@inheritdoc
notation changed
2018-01-23 13:11:24 +02:00
27376951c1
Fixes #9137 : Added Access-Control-Allow-Method
header for the OPTIONS request
2017-11-30 22:08:38 +03:00
fb23b0d0ea
Code style fixes
2017-11-01 02:43:02 +03:00
376006a2d5
Data filter enhancements and docs
...
- Added docs.
- Moved to "data" namespace.
- Moved messages to "yii" category.
- Added Russian messages translation.
2017-10-26 11:32:52 +03:00
5cec42a108
Fixed error messages in data filters ( #15018 )
2017-10-24 15:38:21 +03:00
695bc54913
Fix translations of DataFilter::$_errorMessages
( #14975 )
...
Fix translations pickup for `DataFilter::$_errorMessages`.
2017-10-16 14:16:51 +03:00
744b87fabc
Fixes #4479 : Implemented REST filters
2017-10-09 00:01:58 +02:00
1501c659ac
Add empty lines before return statements. ( #14682 ) [skip ci]
2017-08-21 01:58:49 +03:00
fe8a0a6a2e
Enable no_useless_else
rule in php-cs-fixer ( #14420 )
2017-07-10 11:26:21 +03:00
ba0ab403b5
Added php-cs-fixer coding standards validation to Travis CI ( #14100 )
...
* php-cs-fixer: PSR2 rule.
* php-cs-fixer: PSR2 rule - fix views.
* Travis setup refactoring.
* Add php-cs-fixer to travis cs tests.
* Fix tests on hhvm-3.12
* improve travis config
* composer update
* revert composer update
* improve travis config
* Fix CS.
* Extract config to separate classes.
* Extract config to separate classes.
* Add file header.
* Force short array syntax.
* binary_operator_spaces fixer
* Fix broken tests
* cast_spaces fixer
* concat_space fixer
* dir_constant fixer
* ereg_to_preg fixer
* function_typehint_space fixer
* hash_to_slash_comment fixer
* is_null fixer
* linebreak_after_opening_tag fixer
* lowercase_cast fixer
* magic_constant_casing fixer
* modernize_types_casting fixer
* native_function_casing fixer
* new_with_braces fixer
* no_alias_functions fixer
* no_blank_lines_after_class_opening fixer
* no_blank_lines_after_phpdoc fixer
* no_empty_comment fixer
* no_empty_phpdoc fixer
* no_empty_statement fixer
* no_extra_consecutive_blank_lines fixer
* no_leading_import_slash fixer
* no_leading_namespace_whitespace fixer
* no_mixed_echo_print fixer
* no_multiline_whitespace_around_double_arrow fixer
* no_multiline_whitespace_before_semicolons fixer
* no_php4_constructor fixer
* no_short_bool_cast fixer
* no_singleline_whitespace_before_semicolons fixer
* no_spaces_around_offset fixer
* no_trailing_comma_in_list_call fixer
* no_trailing_comma_in_singleline_array fixer
* no_unneeded_control_parentheses fixer
* no_unused_imports fixer
* no_useless_return fixer
* no_whitespace_before_comma_in_array fixer
* no_whitespace_in_blank_line fixer
* not_operator_with_successor_space fixer
* object_operator_without_whitespace fixer
* ordered_imports fixer
* php_unit_construct fixer
* php_unit_dedicate_assert fixer
* php_unit_fqcn_annotation fixer
* phpdoc_indent fixer
* phpdoc_no_access fixer
* phpdoc_no_empty_return fixer
* phpdoc_no_package fixer
* phpdoc_no_useless_inheritdoc fixer
* Fix broken tests
* phpdoc_return_self_reference fixer
* phpdoc_single_line_var_spacing fixer
* phpdoc_single_line_var_spacing fixer
* phpdoc_to_comment fixer
* phpdoc_trim fixer
* phpdoc_var_without_name fixer
* psr4 fixer
* self_accessor fixer
* short_scalar_cast fixer
* single_blank_line_before_namespace fixer
* single_quote fixer
* standardize_not_equals fixer
* ternary_operator_spaces fixer
* trailing_comma_in_multiline_array fixer
* trim_array_spaces fixer
* protected_to_private fixer
* unary_operator_spaces fixer
* whitespace_after_comma_in_array fixer
* `parent::setRules()` -> `$this->setRules()`
* blank_line_after_opening_tag fixer
* Update finder config.
* Revert changes for YiiRequirementChecker.
* Fix array formatting.
* Add missing import.
* Fix CS for new code merged from master.
* Fix some indentation issues.
2017-06-12 12:25:45 +03:00
daa8b67c7b
Fixes #13350 , #14094 , #11288
...
- Bug #13350 : Fixed bug with incorrect caching of `yii\web\UrlRule::createUrl()` results in `yii\web\UrlManager`.
- Bug #14094 : Fixed bug when single `yii\web\UrlManager::createUrl()` call my result multiple calls of `yii\web\UrlRule::createUrl()` for the same rule.
- Enh #11288 : Added support for caching of `yii\web\UrlRule::createUrl()` results in `yii\web\UrlManager` for rules with defaults.
2017-05-10 12:30:43 +03:00
c19b2f7dc8
release version 2.0.11
2017-02-01 17:46:29 +01:00
be4ebdd049
Fixes #13134 : Added logging URL rules (bashkarev)
2017-01-27 19:03:45 +03:00
736cd7bc80
Fixes #13417 : Allow customizing yii\data\ActiveDataProvider
in yii\rest\IndexAction
2017-01-22 11:46:47 +03:00
9821c589c5
fixed issue with rest\UrlRule extraPatterns
...
url creation did not work when no HTTP verb was specified.
fixes #13200
2016-12-16 00:00:27 +01:00
4aa935e69e
Fixes #12055 : Changed boolean
to bool
and integer
to int
in phpdoc
2016-11-07 02:51:39 +03:00
32f4dc8997
Fixes #5385 : links created from classes to corresponding guide articles ( #12920 )
2016-11-04 18:55:14 +03:00
04848a6c3b
Fix yii\rest\Serializer serialize ArrayDataProvider with pagination bug
...
fixes #11987
close #12683
2016-10-20 13:17:10 +02:00
cd8c01f555
Fixed yii\rest\Serializer::serialize()
serializes DataProvider incorrectly, if models keys do not compose integer sequence
2016-08-29 18:20:16 +03:00
10806a65a4
validate input in REST serializer
...
fixes #12107
2016-08-08 13:14:22 +02:00
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