Commit Graph

15402 Commits

Author SHA1 Message Date
Cesar Nicola
348cc17dbb Fixes #11168: yii\helpers\BaseHtml now uses abstracted booleanInput() and activeBooleanInput() methods to render radio(), checkbox(), activeRadio() and activeCheckbox() 2016-06-24 00:01:46 +03:00
Sam Mousa
dfa292652d Fixes #11561: Fixed DI container throwing exceptions for optional dependencies 2016-06-23 23:53:28 +03:00
Sam Mousa
b30b5a99ea Fixes #11672: Fixed yii\validators\NumberValidator erroring when value is an object without __toString() method 2016-06-23 23:32:25 +03:00
Thiago Talma
60a2a54fc8 CheckboxColumn - Use CSS class to find the elements (#11729)
* Use CSS class to fetch the elements

* default null

* CHANGELOG.md

* CHANGELOG.md
2016-06-23 20:16:56 +03:00
Nobuo Kihara
e888102497 docs/guide-ja updated [ci skip] (#11809) 2016-06-23 18:06:52 +03:00
Nobuo Kihara
cf81f0e5be docs/guide-ja updated (#11798) [skip ci] 2016-06-22 02:29:12 +03:00
Alexander Makarov
ebef9039e8 Enhanced nginx config denying php files in /assets and .dotfiles access [skip ci] 2016-06-21 23:30:42 +03:00
nikhiltri
b3ff32f507 Add instructions for adding authorization to your controllers #11777 (#11791) [skip ci]
* Add instructions for adding authorization to your controllers

* Fixed typos
2016-06-21 23:07:42 +03:00
Alexander Makarov
0a4b1484e2 Moved advanced app docs to corresponding repository 2016-06-21 23:04:30 +03:00
Kalinin Alexandr
ab92c1eb49 Update concept-di-container.md (#11793) 2016-06-21 13:23:09 +02:00
Carsten Brandt
70e8bfa725 test against php 7.1 2016-06-20 23:40:57 +02:00
Carsten Brandt
76ffcb8bdd Merge pull request #11789 from yiisoft/refactor-db-tests
[wip] refactored database tests
2016-06-20 23:38:01 +02:00
Carsten Brandt
f0b9a0ee6b use the same db connection for reading and writing data
obviously the test should use the same db in both cases :-D
2016-06-20 23:28:15 +02:00
Carsten Brandt
86f17c8dad added tests classes for db related tests 2016-06-20 23:07:07 +02:00
Carsten Brandt
8ba032d147 refactored database tests
- changed test class naming for easier copying and searching of classes
- made base tests abstract and made MySQL an equal citisen in the test
  hierarchie
- added missing db specific test classes
2016-06-20 19:26:43 +02:00
Carsten Brandt
7ba631b4ae improved docs about using CORS with REST controllers
fixes #10405, #6254 (thanks to @ydatech and @tunecino)

related to #8626

close #11086
2016-06-20 17:10:50 +02:00
Carsten Brandt
4e3c9e4a98 fixed scalar value for IN condition
fixes regression from 2.0.8 #10961

fixes #11536
2016-06-20 15:20:21 +02:00
Carsten Brandt
1621f65545 guide section about comparing dates
close #10832
2016-06-20 15:03:02 +02:00
Carsten Brandt
4e7f6f64d2 added errorHandler, Request and Response getter
to web and console application to ensure better ide completion.

methods in base class are required because they are called from base
class.

fixes #10947
2016-06-20 14:47:17 +02:00
Carsten Brandt
ab47fb3ccb fixed tutorial about using yii 1 with yii 2
correct call to autoloader
fixes #9881
2016-06-20 13:17:28 +02:00
Carsten Brandt
e4dc2026bc note about JOIN syntax
fixes #7549
2016-06-20 13:04:08 +02:00
Carsten Brandt
0bb6f98ed1 added note about varying source languages
fixes #8125
2016-06-20 12:54:14 +02:00
刘李鹏
0fe003195a Updated language packs zh-CN and ZH-TW
close #11769
2016-06-20 12:06:31 +02:00
Ricardo Pérez
33dfddd0c2 Fixes #8644: Fixed trying to ENABLE/DISABLE TRIGGER ALL on a view in PostgreSQL 2016-06-19 15:33:00 +03:00
wanghui
01c84e2ff2 Fixes #11549: Fixed ArrayHelper::getValue() to work properly with float keys 2016-06-19 15:26:44 +03:00
AnikanovD
b45e5fbaf2 Unit test for #11549 2016-06-19 15:22:12 +03:00
AnikanovD
239d7814eb Fixes #11739: Fixed ArrayHelper::index() losing precision for float keys 2016-06-19 15:00:46 +03:00
Shybko
0e3fc540cd Fix russian translation for Data widgets page (#11776) [skip ci] 2016-06-19 11:37:42 +03:00
AnikanovD
b39a0a1e5a Fixes #11774: Fixed incorrect recusuive symlinks check in FileHelper 2016-06-18 17:34:25 +03:00
Dmitry Dorogin
a5bbb3d8f3 Fixed non-translation block of text (#11765) 2016-06-18 16:10:15 +03:00
Thiago
bafc8b3325 Fixes #10422, #9574: New proposal fix for ColumnSchemaBuilder not null column
* Added ability to explicitly set column nullability #10422

* Removed isNull property.

* add since tag.
2016-06-18 15:03:55 +03:00
Carsten Brandt
56308eab1d fixed guide docs about controller map
fixes #11762
2016-06-16 12:30:33 +02:00
Artur Fursa
0b6169858f Fix tables prefix use for i18n migrations (#11748) 2016-06-13 00:22:38 +02:00
Nazar Mokrynskyi
cc102294f8 Simplify ready callback (#11749) 2016-06-13 00:22:06 +02:00
Alexander Makarov
c5b87fd932 Updated deprecation notice 2016-06-12 23:26:41 +03:00
Erkan Karataş
89ad1f534a Update yii.php (#11742) 2016-06-10 15:43:15 +02:00
Rogério
c9d30b2a66 Fixes #11735: Fixed yii\web\UploadedFile to return null when there's no file uploaded 2016-06-10 15:10:44 +03:00
Carsten Brandt
b6a0592903 fixed broken links in the guide 2016-06-09 14:33:39 +02:00
Hisateru Tanaka
9585939d9f Fixes #11723: Fixed PHP 7 + XDebug error handling displaying "Expected array for frame 0" 2016-06-09 15:30:48 +03:00
Sam Mousa
03e23adab8 Fixes #11679: Extracted CheckAccessInterface from ManagerInterface 2016-06-09 15:15:44 +03:00
taobig
2238c32098 fix BaseArrayHelper::isIn() in strict mode
close #11686
2016-06-09 13:10:11 +02:00
Carsten Brandt
b211e6bf69 added failing test for #11686
test BaseArrayHelper::isIn() in strict mode
2016-06-09 13:08:26 +02:00
Carsten Brandt
84e9c40ca1 updated datevalidator docs
issue #11692
2016-06-09 13:07:40 +02:00
Evgeniy Tkachenko
8e34f9f45d Update DataColumn.php (#11724) [skip ci] 2016-06-08 18:25:41 +02:00
Nikola Kovacs
662f86acb5 fix missing closing bracket in documentation (#11716) 2016-06-07 13:20:56 +02:00
Sam
2ebccf0e73 Skip filehelper tests (and mark them as incomplete) when runtime is not a local file system. (#11713) 2016-06-07 12:58:35 +02:00
Oleg Poludnenko
b9eb09b8b5 Set attribute $form as a scope for selector 2016-06-07 13:22:55 +03:00
Sam
cf820a98d7 Fixed issue #11712: DbSessionTest is now skipped when SQLite is not available. (#11714) 2016-06-07 12:22:22 +02:00
Oleg Poludnenko
251812f426 Pass $form to the attribute 2016-06-07 13:17:53 +03:00
Alexander Makarov
94dfb97e69 Reverted #11702: Added yii\rbac\DbManager::$assignmentTablePk to be able to customize RBAC DB schema more (reverted from commit 532242041c) 2016-06-07 11:39:48 +03:00