Commit Graph

15391 Commits

Author SHA1 Message Date
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
Alexander Makarov
38445c6e3e Added blackfire to the list of profilers, added "Prepare application for scaling" section 2016-06-06 23:16:24 +03:00
Jorge Robles
532242041c Fixes #11702: Added yii\rbac\DbManager::$assignmentTablePk to be able to customize RBAC DB schema more 2016-06-06 22:06:36 +03:00
Super Raccoon
b9bff5f681 Correct links for migration database accessing methods. (#11669) [skip ci] 2016-06-06 20:49:28 +02:00
Alexander Makarov
7cea46bcb4 Changed SQLite fix #11652 according to https://github.com/yiisoft/yii2/pull/11653#issuecomment-224016289 2016-06-06 19:57:42 +03:00
Boudewijn Vahrmeijer
0a60466729 Fixes #11527: Fixed bigPrimaryKey() for SQLite 2016-06-06 19:33:22 +03:00
Roman Grinyov
7032b96331 Add missing paragraph (#11678) [skip ci] 2016-06-06 18:21:03 +02:00
Alexander Makarov
1918f271da Changelog for #11662 2016-06-06 19:20:29 +03:00
jonny7
dca4f00030 Update schema-oci.sql (#11662)
- `if exists` is not a recognized oracle expression. To do something like this it needs to be in a package
- `text` is not a valid data type in oracle, adjusted to VARCHAR()
- `on update` does not exist in Oracle
2016-06-06 18:18:45 +02:00
Konstantin Baranov
d7933547f1 Fixed syntax of command (#11703) [skip ci] 2016-06-06 18:06:26 +02:00
DumpOfTheVar
c55b20a3d2 fix misspell (theses -> these) in docs/guide/db-active-record.md (#11688) [skip ci] 2016-06-05 22:01:57 +02:00
Luciano Baraglia
21c2c7a768 Some spanish docs updates [skip ci] (#11695) 2016-06-05 21:58:03 +02:00