1487 Commits

Author SHA1 Message Date
05272b7120 doc fix. 2013-11-28 12:34:10 -05:00
bd8f74cf12 Refactored MessageInterface::send(). 2013-11-28 09:55:35 -05:00
eb3b2f45bc refactored EmailTarget with the new mailer interfaces. 2013-11-28 09:46:20 -05:00
d6f97ff4c1 Added Application::getMail(). 2013-11-28 09:08:02 -05:00
0390a99833 Use backquotes to quote column and table names for sqlite (related with #1318) 2013-11-28 09:04:16 -05:00
0b1ddc9327 Merge pull request #1346 from slavcodev/clean-var-dumper
Remove extra var
2013-11-28 05:54:37 -08:00
f1452d3070 Remove extra var 2013-11-28 13:21:30 +02:00
3b5768b40a avoid throwing the same type of new db exception. 2013-11-27 23:35:43 -05:00
83527e85ca made Model::attributes() non static again
- allows to have dynamic definition of attributes depended on the
  instance
- there was no real need for it to be static. Places that used it static
  have been refactored.

fixes #1318
2013-11-28 01:01:48 +01:00
58bd2fb958 Only whitespace removal 2013-11-27 20:19:56 +02:00
bf708aa824 Fixes #1334: foreign key is incorrectly determined for pgsql. 2013-11-27 11:55:35 -05:00
1fe7f5aaf8 Fixes #1335: findLayoutFile() should respect View::defaultExtension. 2013-11-27 08:47:10 -05:00
af778d1a13 Fixed actions() docs where alias was used to refer to class 2013-11-27 13:36:05 +04:00
13c6b99814 Fixes #1331: Added support for using '*' to specify verb filters for all actions. 2013-11-26 16:28:55 -05:00
35de471aa6 Merge pull request #1327 from kamilsk/master
fix issue #1315
2013-11-26 10:11:32 -08:00
7e12ae5767 fix issue #1315 2013-11-26 21:30:06 +04:00
3a613e8565 allow setting css rel explicitly
used e.g. for less client side compiling
2013-11-26 17:33:05 +01:00
56f2530151 Fixed typo. 2013-11-26 09:57:53 -05:00
1b504be650 Fixes #1323: Added View::defaultExtension. 2013-11-26 08:52:21 -05:00
19bffa38c8 Fixes #1326: DetailView: visibility of the attribute 2013-11-26 08:44:57 -05:00
21014b4064 swapped docs and Exception to type InvalidParamException 2013-11-26 04:56:07 +02:00
16739ec3f0 Merge pull request #1321 from pmoust/inheritdoc-fix
fixed PhpDoc by swapping to {@inheritdoc}
2013-11-25 18:29:59 -08:00
2ff8ac3d61 fixed PhpDoc by swapping to {@inheritdoc} 2013-11-26 04:24:20 +02:00
324e10694d updated sphinx active record with changes from DB AR 2013-11-26 01:48:52 +01:00
25fb11e93f Merge pull request #1295 from yiisoft/elasticsearch
[WIP] Elasticsearch
2013-11-25 16:28:11 -08:00
4205623918 Fixes #1312: fixed types map for MSSQL 2013-11-26 01:26:39 +04:00
5164a1671c finalized Query interface + general cleanup 2013-11-25 20:12:45 +01:00
084f6666f1 Merge branch 'master' into elasticsearch
* master:
  fixed broken sphinx AR::attributes() declaration
  updated properties of extensions
  fixed cubrid limit
  added redis Session
  allow redis connection to be configure directly in cache
  removed unneeded setting.
  refactored redis cache.

Conflicts:
	extensions/redis/README.md
2013-11-25 15:49:06 +01:00
8be4f3778a updated properties of extensions 2013-11-25 15:33:59 +01:00
de1b533a08 fixed cubrid limit 2013-11-25 14:52:36 +01:00
3cb366020a added redis Session
as suggested in issue #1316
2013-11-25 14:39:21 +01:00
b081cf5e46 moved elasticsearch to extensions 2013-11-25 03:23:12 +01:00
f6811002ca Merge branch 'master' into elasticsearch
* master: (59 commits)
  updated ext composer.json for issue labels
  moved redis to extensions
  fixed whitespaces
  update composer to include sphinx
  Added initial steps about configuring DB-based RBAC
  Fixes #1297: CSRF not generated on error pages
  fixes #1158 mentioned @web alias in docs
  Merged RBAC draft into authorization
  "yii\sphinx\ActiveQuery" updated to throw exception on conflict between "asArray" and "snippetByModel" options.
  Code style and docs at "yii\sphinx\*" fixed.
  Docs for Sphinx extension updated.
  Redundant typecast removed from yii\sphinx\ActiveRecord::create()
  yii\sphinx\Command reworked to extend yii\db\Command. yii\sphinx\DataReader removed.
  Sphinx Active Record updated to be compatible with ActiveDataProvider.
  Sphinx documentation updated.
  Sphinx documentation updated.
  Sphinx has many relation test prepared.
  Sphinx Query refactored.
  Create relation methods added to Sphinx Active Record.
  Sphinx Query Builder updated to respect column types for where statements
  ...
2013-11-25 03:21:08 +01:00
8ac2b7364d moved redis to extensions 2013-11-25 02:27:04 +01:00
2cd0a2cdba docs
[ci skip]
2013-11-25 00:47:10 +01:00
4b353c7bce Fixes #1297: CSRF not generated on error pages 2013-11-24 17:41:09 -05:00
325fc28182 several fixes and cleanup 2013-11-24 22:46:13 +01:00
b6b2689853 Merge branch 'master' into elasticsearch
* master:
  Fixes #1253
  Fixes #1310: ActiveRelation does not preserve order of items on find via() and viaTable()
  fixed limit/offset for sqlite,mysql and cubrid
  fixed test break.
  Fixed test break.
  Fixes #1301: fixed scenario generation when there are "except" scenarios.
  support for batch insert in sqlite older than 3.7.11
  Fixes #1298: supporting route with trailing slash.
  Fixes #1296: stricter check of dashes in route.
  Fixes #1307: move batchInsert() to base class.
  Update apps-advanced.md
2013-11-24 20:51:26 +01:00
af5d87ac4d renamed elasticsearch PK to id 2013-11-24 20:49:12 +01:00
cf73f40d79 Merge pull request #1309 from nineinchnick/batch-insert
support for batch insert in sqlite older than 3.7.11
2013-11-24 11:36:57 -08:00
0b43aa4f81 Fixes #1310: ActiveRelation does not preserve order of items on find via() and viaTable() 2013-11-24 13:47:40 -05:00
6920da4a80 fixed limit/offset for sqlite,mysql and cubrid
tests for this are on elasticsearch branch (due to huge refactoring
there) and will come later by merge
2013-11-24 19:22:51 +01:00
f017ba357f refactored unit tests. put common AR tests in trait 2013-11-24 19:18:16 +01:00
e4e376ba28 fixed test break. 2013-11-24 11:52:50 -05:00
858326c074 Fixed test break. 2013-11-24 11:51:55 -05:00
039ed688cf Fixes #1301: fixed scenario generation when there are "except" scenarios. 2013-11-24 10:23:22 -05:00
e9fcde3264 support for batch insert in sqlite older than 3.7.11 2013-11-24 11:53:27 +01:00
337b1b08b5 Fixes #1298: supporting route with trailing slash. 2013-11-23 23:22:58 -05:00
210cbda732 Fixes #1296: stricter check of dashes in route. 2013-11-23 23:05:06 -05:00
983b2286ba elasticsearch AR relations + null values 2013-11-24 04:07:25 +01:00