Carsten Brandt
8ac2b7364d
moved redis to extensions
2013-11-25 02:27:04 +01:00
Qiang Xue
4b353c7bce
Fixes #1297 : CSRF not generated on error pages
2013-11-24 17:41:09 -05:00
Qiang Xue
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
Qiang Xue
0b43aa4f81
Fixes #1310 : ActiveRelation does not preserve order of items on find via() and viaTable()
2013-11-24 13:47:40 -05:00
Carsten Brandt
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
Qiang Xue
e4e376ba28
fixed test break.
2013-11-24 11:52:50 -05:00
Qiang Xue
858326c074
Fixed test break.
2013-11-24 11:51:55 -05:00
Qiang Xue
039ed688cf
Fixes #1301 : fixed scenario generation when there are "except" scenarios.
2013-11-24 10:23:22 -05:00
John Was
e9fcde3264
support for batch insert in sqlite older than 3.7.11
2013-11-24 11:53:27 +01:00
Qiang Xue
337b1b08b5
Fixes #1298 : supporting route with trailing slash.
2013-11-23 23:22:58 -05:00
Qiang Xue
210cbda732
Fixes #1296 : stricter check of dashes in route.
2013-11-23 23:05:06 -05:00
Qiang Xue
69fa7bab6b
Fixes #1307 : move batchInsert() to base class.
2013-11-23 20:44:36 -05:00
Qiang Xue
7b0ba10d31
Fixes #1248 : url manager didn't handle array parameters well.
2013-11-23 13:13:12 -05:00
Qiang Xue
04739a0876
Merge pull request #1304 from pmoust/revokeAll
...
implements #563 - revokeAll()
2013-11-23 10:06:28 -08:00
Carsten Brandt
1ae4103b9d
fixed Sort::params to be retrieved from Request instead of $_GET
...
for consistency with paginiation
2013-11-23 18:08:14 +01:00
Panagiotis Moustafellos
ec37003a9a
revokeAll() implementation for PhpManager
2013-11-23 18:36:40 +02:00
Panagiotis Moustafellos
234feabaac
revokeAll() implementation for DbManager
2013-11-23 18:36:19 +02:00
Panagiotis Moustafellos
8eb3b53f2a
added abstract function revokeAll()
2013-11-23 18:35:28 +02:00
Alexander Makarov
454a9ee52e
fixes #1303 : Security::decrypt now returns null w/o error when null is passed as $data
2013-11-23 19:44:03 +04:00
Carsten Brandt
d8feaeb93b
refactored redis AR Query::scalar()
2013-11-23 03:20:49 +01:00
Qiang Xue
a07facf434
Refactored hasMany and hasOne so that they support cross-DBMS relationship.
2013-11-22 20:47:39 -05:00
Qiang Xue
a95d54ccb7
Merge pull request #905 from yiisoft/redis
...
[WIP] Redis ActiveRecord
2013-11-22 17:26:19 -08:00
Carsten Brandt
863f523896
removed unused asset.php files
2013-11-23 02:16:19 +01:00
Carsten Brandt
ed98df5cd8
fixed broken UniqueValidator
2013-11-22 19:20:46 +01:00
Carsten Brandt
6995e8ddd0
removed call to nonexistsend property
2013-11-22 19:02:27 +01:00
Carsten Brandt
4459cb4f2b
cleanup redis AR
2013-11-22 19:01:33 +01:00
Carsten Brandt
cb4504a10f
refactored Model and redis AR to allow drop of RecordSchema
2013-11-22 18:44:22 +01:00
Carsten Brandt
8542448f20
refactored redis AR to relect the latest changes
...
- make use of traits
- short array
- better implementation of query findByPk
2013-11-22 17:29:05 +01:00
Carsten Brandt
bc4324c041
Merge branch 'master' into redis
...
* master: (613 commits)
fixed typo
Fixes #1222 : refactored jui/Widget, intorduced jui/Slider and jui/SliderInput
Correct Nav.php comments/PHP doc to reflect BS3 dropdown support.
Correct Nav.php comments/PHP doc to reflect BS3 dropdown support.
Correct Nav.php comments/PHP doc to reflect BS3 dropdown support.
Added example for dividers to bootstrap Nav
Checkboxlist documentation fix
Added "Using controller action to render errors"
Fix doc
Renamed DetailView attribute type to format
encode email in Formatter
Added default status code setting.
"yii\swiftmailer\Mailer" transport setup has been advanced to support constructor arguments and plugins.
fix rbac select statement
Comments cleanup.
Reverted closeButton
Nomenclature and code realignment.
better nginx config
guide about using bootstrap less files
Include Schema in new migrations by default
...
Conflicts:
framework/yii/db/ActiveRecord.php
framework/yii/db/ActiveRelation.php
tests/unit/data/config.php
2013-11-22 15:04:08 +01:00
Andrea Panattoni
4941db1eee
Checkboxlist documentation fix
...
"Item" parameter keys are the values of the checkbox list,
while the values are the checkbox labels.
2013-11-21 22:37:03 +01:00
Sergey Gonimar
ff92af3f0b
Fix doc
2013-11-21 19:43:10 +05:00
Carsten Brandt
c7ef701d8a
Renamed DetailView attribute type to format
...
for consistency with GridViews DataColumn where the same property is
also named format
2013-11-21 15:18:06 +01:00
Carsten Brandt
f3ab5d999b
encode email in Formatter
...
avoid XSS with emails in format "Carsten Brandt <mail@cebe.cc >"
2013-11-21 14:45:27 +01:00
Qiang Xue
248e0cb916
Added default status code setting.
2013-11-21 08:41:04 -05:00
Serge Bezborodov
1259b0dac6
fix rbac select statement
2013-11-21 12:53:00 +02:00
bethrezen
4fcad2b347
Include Schema in new migrations by default
2013-11-21 12:26:01 +04:00
Qiang Xue
9e1fa1f7a4
Added code example.
2013-11-20 22:56:21 -05:00
Qiang Xue
423ce83798
adjusted log place.
2013-11-20 22:53:43 -05:00
Carsten Brandt
33f4a142ee
fixes invalid value in controller redirect
...
fixes #1261
2013-11-21 01:56:42 +01:00
Qiang Xue
c6ecf4f2de
Fixed public property naming.
2013-11-20 16:04:38 -05:00
Qiang Xue
fb945866c7
Fixes #1255 : typecast empty string to null for non-string DB columns.
2013-11-20 16:00:10 -05:00
Alexander Makarov
c5e8aabe05
Fixes #1245 : LinkPager now renders disabled links as spans preventing these to be clickable
2013-11-21 00:38:48 +04:00
Qiang Xue
900100c29e
Merge pull request #1258 from cebe/self-static
...
Changed usage of self to static to allow extendibility
2013-11-20 12:29:04 -08:00
Carsten Brandt
a82330b212
reverted duplicated fix for #1244
...
fixes #1244
2013-11-20 21:09:30 +01:00
Carsten Brandt
070bd9625c
removed checkPort feature from email validator
...
fixes #1246
2013-11-20 18:57:29 +01:00
Carsten Brandt
e775c82dd8
Changed usage of self to static to allow extendibility
...
code style section has been added here:
https://github.com/yiisoft/yii2/wiki/Core-framework-code-style#self-vs-static
verification code for properties:
https://gist.github.com/cebe/7566916
2013-11-20 18:36:05 +01:00
Carsten Brandt
4079acf4a6
changed EmailValidator MX check to be more useful
...
issue #1246
2013-11-20 16:30:12 +01:00
Carsten Brandt
8dab87be3d
fixed EmailValidator IDN and full pattern support
...
also made everything conistent with client validation
2013-11-20 16:18:19 +01:00
Carsten Brandt
64862f96ca
disable CSRF validation after validation has failed
...
this allows to be able to call error action.
fixes #1244
2013-11-20 14:35:08 +01:00
Carsten Brandt
f5219d2481
Response status code default is 200
...
fixes #1220
2013-11-20 14:14:04 +01:00