Commit Graph

10542 Commits

Author SHA1 Message Date
Steve Guns
86c8b5958b [NL] Updated translations 2014-09-24 09:05:32 +02:00
Qiang Xue
613d3071a7 Fixes #5106: Refactored query caching to not load cache component when query caching is not used at all. 2014-09-23 20:59:51 -04:00
Carsten Brandt
d6b7a5e093 Update .travis.yml
caching cubrid breaks the build on a regular basis and has nearly no speedup
2014-09-23 23:15:12 +02:00
Carsten Brandt
39c796e42b chanded jui DatePicker widget to use ICU date format
- use default application formatting for the date value
- auto adjust to application language and format setting changes
- be consistent with formatter and date validator

fixes #1551
2014-09-23 18:59:07 +02:00
Qiang Xue
aa8c013ebf Fixes #3197: Using ActiveQuery::indexBy() may cause relational AR queries to generate incorrect relational results 2014-09-23 10:29:11 -04:00
Carsten Brandt
a1d10b2cea updated guide about i18n and ICU
fixes #2593
2014-09-23 15:42:33 +02:00
Evgeniy Tkachenko
d2c32a27a3 Update rest-rate-limiting.md 2014-09-23 16:12:26 +03:00
Evgeniy Tkachenko
01b8f7745f Update rest-rate-limiting.md
Чуть улучшил ясность написанного.
2014-09-23 16:08:40 +03:00
Carsten Brandt
426e6c9f4c reword/structure of the i18n and formatter guide 2014-09-23 14:32:44 +02:00
Qiang Xue
6c0dde6f5e Fixes #5143: yii\bootstrap\ActiveField::label() should not encode label if it is explicitly specified. [skip ci] 2014-09-23 08:05:45 -04:00
Carsten Brandt
982a27db83 removed support for unlinkAll() from elasticsearch
feature is not reliable

fixes #5136
2014-09-23 12:56:05 +02:00
Carsten Brandt
3b0f561480 format timestamps with invalid date input
fixes #4989
2014-09-23 12:13:00 +02:00
Kartik Visweswaran
18b57af5ac Better date parsing and formatting including 32 bit support
Enhances `normalizeDateTimeValue` to return a DateTime object instead of a converted double value, that fails. The DateTime object input is supported by 32 bit, 64 bit, as well as the `IntlDateFormatter` to format all years. (including fixing of the Y2K38 bug). Fixes issue in #4989.

close #5000
2014-09-23 11:59:19 +02:00
Alexander Makarov
a8ed099b99 Merge pull request #5140 from gegebao/patch-1
[ci skip] Update User.php
2014-09-23 13:26:07 +04:00
Carsten Brandt
d973e337cf Added issue stats
- https://github.com/blog/1892-third-annual-data-challenge-winners
- http://issuestats.com/github/yiisoft/yii2
2014-09-23 11:21:00 +02:00
宝哥哥
1b716a119f Update User.php
delete spaces
2014-09-23 17:20:01 +08:00
Qiang Xue
1b509ccc37 Mark failed tests as skipped. 2014-09-22 20:47:02 -04:00
Alexander Makarov
9a82b85e0f Merge pull request #5103 from tebazil/patch-7
Перевод runtime-logging на русский язык
2014-09-23 03:01:12 +04:00
Qiang Xue
851d15380f Fixes #5131: Added $autoRenew parameter to yii\web\User::getIdentity() 2014-09-22 17:58:58 -04:00
Qiang Xue
9c375d6538 Fixed test break. 2014-09-22 17:55:04 -04:00
Qiang Xue
d9f897ca56 Merge branch 'unlink-tests' 2014-09-22 16:37:34 -04:00
Qiang Xue
aeaf0511d2 Fixes #3725: Fixed the bug that the filtering condition used in relation definition was ignored when calling ActiveRecord::unlinkAll() 2014-09-22 16:36:55 -04:00
Carsten Brandt
1fe5b53f39 Merge pull request #4944 from yiisoft/redis-fixes
Fixed storing and loading nulls and booleans in Redis
2014-09-22 18:59:59 +02:00
Carsten Brandt
7e0c6353f7 optimized redis AR insert 2014-09-22 18:57:21 +02:00
Carsten Brandt
ece300ac30 removed null value adjustment in redis ActiveQuery
asArray will not include null valued keys
2014-09-22 18:54:00 +02:00
Carsten Brandt
df22616c76 finished fix for redis null and boolean value storage
fixes #1311
2014-09-22 18:45:37 +02:00
Qiang Xue
82037bc70e Fixes #5124: Added support to prevent duplicated form submission when using ActiveForm 2014-09-22 12:19:11 -04:00
Qiang Xue
ac7e3bdbed Fixes #5126: Fixed text body and charset not being set for multipart mail 2014-09-22 11:42:34 -04:00
Nikola Kovacs
f82519b1c3 Use text/plain part of multipart message for text body and charset in debug mail panel.
Fixes #5126
2014-09-22 11:41:30 -04:00
Qiang Xue
3697682a8e Merge branch 'master' of git://github.com/yiisoft/yii2 2014-09-22 11:38:46 -04:00
Qiang Xue
34a2c590e4 Fixes #5117: Added beforeFilter and afterFilter JS events to GridView 2014-09-22 11:38:26 -04:00
Carsten Brandt
1e5c48957d composer.json tabs -> spaces 2014-09-22 17:37:19 +02:00
Kartik Visweswaran
db99b5fda5 Code cleanup - beforeFilter and afterFilter events 2014-09-22 11:35:00 -04:00
Kartik Visweswaran
2c64ee0f1d Updated comments for beforeFilter event 2014-09-22 11:34:59 -04:00
Kartik Visweswaran
9496c46646 Updated formatting - Created beforeFilter and afterFilter grid events 2014-09-22 11:34:59 -04:00
Kartik Visweswaran
4c9556a9f3 Simplified afterFilter event trigger code 2014-09-22 11:34:58 -04:00
Kartik Visweswaran
f8dc796d23 Simplified beforeFilter and afterFilter events
Removed `form` as a parameter to the events since it can be retrieved using `$grid.find('form.gridview-filter-form')`.
2014-09-22 11:34:58 -04:00
Kartik Visweswaran
4bd8a8c9dd Corrected trigger element for beforeFilter 2014-09-22 11:34:57 -04:00
Kartik Visweswaran
df99a2435e Updated comments for beforeFilter and afterFilter events 2014-09-22 11:34:57 -04:00
Kartik Visweswaran
141e3d7039 Updated comments for beforeFilter event 2014-09-22 11:34:56 -04:00
Kartik Visweswaran
f95be734cf Created beforeFilter and afterFilter grid events
Events `beforeFilter.yiiGridView` and `afterFilter.yiiGridView` javascript events created for advanced use cases.
2014-09-22 11:34:56 -04:00
Kartik Visweswaran
48d2204226 Add event for coding post filter triggers
Trigger a new `filter.yiiGridView` event for yii grid view after grid filters are applied. This will enable developer to code a lot of use cases based on the grid filtering event. The filter `$form` can be accessed as a parameter to the event.
2014-09-22 11:34:56 -04:00
Carsten Brandt
46488e674a improved version constraints for bower asset packages 2014-09-22 17:34:18 +02:00
Carsten Brandt
e40fd9d623 added branch alias to composer.json 2014-09-22 17:26:21 +02:00
Dmitry Kushnikov
3d55ee5af0 Add possibility to customize path to binary using alias.
If you don't want to install command-line utils globally, you have to specify it's paths.

    public $commands = [
        'styl' => ['css', '@app/node_modules/bin/stylus < {from} > {to}'],
    ];

close #5130
2014-09-22 16:37:28 +02:00
Qiang Xue
65edc03b49 Fixes #5127. 2014-09-22 08:27:04 -04:00
Carsten Brandt
8176a392bb Changed version constratints to be semantic versioning again
- in composer the `~` operator is just a shortcut for `~1.0` = `>=1.0.0,<2.0.0`
  it does not prevent dev versions to be installed but neither does `1.*`
- dev versions are constrolled via `minimum-stability` setting and the
  `@dev`, `@beta`, `@stable`,... settings.
- setting bower packages that ship compiled files only with the stable
  release to use `@stable` in composer.json of the applictaions. This
  setting can be removed when we remove the `minimum-stability=dev`
  setting after GA.
2014-09-22 13:15:43 +02:00
Carsten Brandt
708d586201 Merge pull request #5114 from larnu/master
Translate spanish docs
2014-09-22 12:53:09 +02:00
Carsten Brandt
8fa4899e02 use utf8_unicode_ci instead of utf8_general_ci
fixes #5119
2014-09-22 12:46:22 +02:00
Carsten Brandt
6c51866e36 Update UPGRADE.md 2014-09-22 12:20:05 +02:00