50 Commits

Author SHA1 Message Date
161526cd41 HTTPS everywhere (#19503) 2022-08-03 12:32:18 +03:00
a87c02c712 Fix more types (#19333)
* Migration::upsert() returns void

* Unneeded `@property` tags

* Add missing `null` param/return types

* Null types for db\Query + db\ActiveQuery

* Fixed testSelect

* Null types for Validator

* Several more null types

* One more

* Make AccessRule::$allow always a boolean

It doesn't have any special null handling, so it's safe to default to false

* Validator::$skipOnEmpty is always a boolean

* Catch all throwable from Widget::widget()

* Don't limit $previous args to \Exception

The actual \Exception allows $previous to be any throwable in PHP 7+

* Add Throwable catch block to Instance::get()

* Throwable cleanup

Comment changes only.

- Document \Throwable instead of \Exception wherever appropriate
- Removed redundant exception/error classes when \Throwable is referenced

* Yii::setlogger() accepts null

* ArrayHelper::removeValue() can remove any type of value

* Change default $allow value to false
2022-04-03 11:20:21 +02:00
da1fddb576 Fix #17766: Remove previous PJAX event binding before registering new one 2020-01-11 16:27:55 +03:00
a6b135e058 Fix #17355: Fixed Pjax after request event bug 2019-08-27 18:56:33 +03:00
9910519aba Revert "Fixes #16657: Ensure widgets after run event result contains the result of the rendered widget"
This reverts commit 7dc38ff4029ec96931c574dac430a924370ea039.
2018-10-01 01:04:11 +03:00
7dc38ff402 Fixes #16657: Ensure widgets after run event result contains the result of the rendered widget 2018-09-23 13:28:09 +03:00
08eccb612f Fixes #15536: Fixed yii\widgets\ActiveForm::init() for call parent::init() 2018-01-24 11:15:10 +03:00
65f6b59b35 @inheritdoc notation changed 2018-01-23 13:11:24 +02:00
a9d18c4a8e Disable temporary fix (#15024)
Please disable the temp fix, that was fixed in https://github.com/yiisoft/jquery-pjax/pull/50
2017-12-11 23:51:48 +02:00
38488ca55b Fixes #13694: yii\widgets\Pjax now sends X-Pjax-Url header with response to fix redirect 2017-04-24 11:24:52 +03:00
fec8ae2e1e removed @since 2016-12-02 09:05:10 +01:00
5784dd1dbf fix travis 2016-12-01 22:48:40 +01:00
7b3f4095c2 added @since 2016-12-01 17:57:11 +01:00
9218adcec2 fixes after @samdark review 2016-12-01 15:34:03 +01:00
7f537d684e Custom ID generation for Pjax widgets to solve unstable ajax calls (issue #12969)
Implements the solution proposed in the following comment:
https://github.com/yiisoft/yii2/pull/12977#issuecomment-260123078
2016-12-01 14:27:20 +01:00
4aa935e69e Fixes #12055: Changed boolean to bool and integer to int in phpdoc 2016-11-07 02:51:39 +03:00
7ebf625be1 Merge branch 'master' of https://github.com/h0ckeypl4yer/yii2 into h0ckeypl4yer-master 2016-08-25 21:58:13 +03:00
0895f212c6 improved docs about tag option in HTML options 2016-07-03 10:57:47 +02:00
d9f1987d0f Fix for #11850 2016-07-01 11:16:01 +03:00
debb467f42 Fixes #11847: Fixed yii\widgets\Pjax to properly respond with partials when custom selector is used for container 2016-06-30 11:47:21 +03:00
1dc688e35f Fixes #11850: Introduced yii\widgets\Pjax::$submitEvent to be able to customize event triggering PJAX form submit 2016-06-30 11:34:18 +03:00
10a2954d13 Fix Pjax container
If we set client option "container", it will be ignored, because param "container" of function always set.
2016-04-13 20:49:33 +03:00
f620f4de90 phpdoc fixes 2016-02-07 19:48:13 +01:00
e8aa60e411 Merge branch 'pjax' of https://github.com/Alex-Code/yii2 into Alex-Code-pjax 2015-12-06 21:50:33 +02:00
17e2255472 Fixes #6363, #8301, #8582, #9566: Fixed data methods and PJAX issues when used together 2015-10-19 11:31:07 +03:00
78d3a856d3 Added Json::htmlEncode() to support safer JSON data encoding in HTML code 2015-05-09 23:38:17 -04:00
36a0e8384a Fixes #7918: yii\widgets\Pjax got ability to avoid registering link/form handler via setting false to $linkSelector/$formSelector 2015-04-09 23:16:38 +03:00
3a1e0f3a5c property codestyle framework 2014-07-30 00:21:31 +02:00
504e973f67 Fixes #4241: yii\widgets\Pjax was incorrectly setting container id 2014-07-10 17:30:55 +04:00
665aefbb55 Fixes #3042: yii\widgets\Pjax should end application right after it finishes responding to a pjax request 2014-04-16 10:25:03 -04:00
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
6fff5662df better use @see for See in phpdoc 2014-03-11 05:38:35 +01:00
c94a40e90d added a large amount of missing documentation 2014-03-11 05:38:35 +01:00
80e9b80078 replace pjax with external resouce via composer
We are now maintaining a fork of pjax:
https://github.com/yiisoft/jquery-pjax
2014-03-05 05:06:37 +01:00
078fdab686 Added some documentation to new pjax attribute 2014-03-04 13:45:36 +01:00
f7911bc9ac Unused? 2014-02-24 15:57:28 +00:00
72ff9c58df Pjax container only required on first load.
Pjax inserts the response HTML into the container, it doesn't replace it.
So any subsequent pjax requests duplicate the container.
2014-02-24 15:56:31 +00:00
076c7cd38c Fixes #2310 2014-02-05 22:45:52 -05:00
73dff0146c doc improvement [skip ci] 2014-02-05 21:33:32 -05:00
e70817e887 Fixes #2336. 2014-02-05 21:18:53 -05:00
13b7c8e866 refactored Pjax. Added title change support. [skip ci] 2014-02-05 20:49:38 -05:00
ff521fd7e0 updated pjax doc. 2014-01-30 22:38:42 -05:00
07c7236bc7 GridView filter now works with Pjax. 2014-01-30 22:04:47 -05:00
e63a82471d Added Pjax::scrollTo. 2014-01-30 21:12:39 -05:00
afefcd6ebe support form submission by pjax. 2014-01-30 16:04:31 -05:00
64c238a2d9 doc note about forms in pjax, fixes #2214 2014-01-30 09:11:03 +01:00
823227fce3 Added Pjax::timeout and clientOptions. 2014-01-29 16:38:34 -05:00
5c26f01f84 fixed doc links 2014-01-29 12:22:30 +01:00
6bc4a8cf94 Fixes #706: Added yii\widgets\Pjax and enhanced GridView to work with Pjax to support AJAX-update 2014-01-28 23:27:24 -05:00
6ab97d92cd pjax WIP 2014-01-28 16:19:18 -05:00