octicon-git-branch(16/) Commit Graph

550 Commits

Author SHA1 Message Date
Qiang Xue
7a5a29c767 Added ArrayHelper::keyExists(). 2013-12-02 20:57:24 -05:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
fb3ebe7000 doc cleanup. 2013-11-29 12:47:10 -05:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
bd8f74cf12 Refactored MessageInterface::send(). 2013-11-28 09:55:35 -05:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
0390a99833 Use backquotes to quote column and table names for sqlite (related with #1318) 2013-11-28 09:04:16 -05:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
bb6b75e794 fixed exception check in test. 2013-11-27 23:07:15 -05:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
be583a7a22 fixed problem with sorting by id in elasticsearch
issue #1317
2013-11-27 23:27:47 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
Panagiotis Moustafellos
58bd2fb958 Only whitespace removal 2013-11-27 20:19:56 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
5164a1671c finalized Query interface + general cleanup 2013-11-25 20:12:45 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
025d36cbec even more on random test failure 2013-11-25 16:05:49 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
d56e020109 more random test fixes 2013-11-25 14:07:30 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
c1febb74ff reduce randomness in test results 2013-11-25 13:29:54 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
b081cf5e46 moved elasticsearch to extensions 2013-11-25 03:23:12 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
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 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
8ac2b7364d moved redis to extensions 2013-11-25 02:27:04 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
325fc28182 several fixes and cleanup 2013-11-24 22:46:13 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
47705f0bc9 corrected assertations for test on #1310 2013-11-24 20:58:28 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
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 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
af5d87ac4d renamed elasticsearch PK to id 2013-11-24 20:49:12 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
643593737d added test case for #1310 2013-11-24 20:45:50 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
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 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
1de06faa3b Fixes #1253 2013-11-24 14:18:33 -05:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
f017ba357f refactored unit tests. put common AR tests in trait 2013-11-24 19:18:16 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
039ed688cf Fixes #1301: fixed scenario generation when there are "except" scenarios. 2013-11-24 10:23:22 -05:00 octicon-file-diff(16/) octicon-file-code(16/)
John Was
e9fcde3264 support for batch insert in sqlite older than 3.7.11 2013-11-24 11:53:27 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
983b2286ba elasticsearch AR relations + null values 2013-11-24 04:07:25 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
f8b53197ac Merge branch 'master' into elasticsearch
* master:
  Fixes #1248: url manager didn't handle array parameters well.
  travis: speed up composer
  fixes #1306
  fixed travis and composer issue
  fixed array helper test
  fixed Sort test
  some clarification on model docs
  fixed Sort::params to be retrieved from Request instead of $_GET
  revokeAll() implementation for PhpManager
  revokeAll() implementation for DbManager
  added abstract function revokeAll()
  indentation fix
  fixes #1303: Security::decrypt now returns null w/o error when null is passed as $data
  Added link to new RBAC page
  added link to forum thread
  Basic information about RBAC
  RBAC documentation
  added revokeAll() test
  refactored redis AR Query::scalar()

Conflicts:
	.travis.yml
2013-11-24 00:32:43 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
e15860c3fa more on elasticsearch Query interface added facet search 2013-11-24 00:30:36 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
04739a0876 Merge pull request #1304 from pmoust/revokeAll
implements #563 - revokeAll()
2013-11-23 10:06:28 -08:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
c10e8af824 fixed array helper test 2013-11-23 18:36:26 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
9288efb924 fixed Sort test 2013-11-23 18:27:58 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
Panagiotis Moustafellos
e16fb9596b indentation fix 2013-11-23 18:21:26 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
c6347d6d01 polished elasticsearch AR api, added mget and fixed AR::equals() 2013-11-23 15:26:00 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
Panagiotis Moustafellos
820f840ce3 added revokeAll() test 2013-11-23 15:30:15 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
426223af1d more query methods and fixes 2013-11-23 07:41:12 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
779d6b6e96 fixed count and asArray() 2013-11-23 07:40:40 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
39ff11a374 first draft of elasticsearch AR 2013-11-23 06:30:36 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
bd589620d8 Merge branch 'master' into elasticsearch
* master: (59 commits)
  Refactored hasMany and hasOne so that they support cross-DBMS relationship.
  removed unused asset.php files
  fixed composer.json autoload pathes
  fixed c&p error
  allow installing yii2-dev and get the Yii.php file in the same place
  updated dev composer.json dependencies
  added composer.json for yii2-dev package
  fixed broken UniqueValidator
  removed call to nonexistsend property
  cleanup redis AR
  refactored Model and redis AR to allow drop of RecordSchema
  refactored redis AR to relect the latest changes
  "yii\swiftmailer\Mailer::createSwiftObject()" simplified.
  fixed empty result in findByPk list
  fixed problem with not closed transaction in deleteAll()
  fixed broken test
  apply changes to db\AR -> redis\AR
  added dependency in db\AR -> redis\AR needs to be refactored later
  redis AR cleanup
  ensure atomicity of operations
  ...

Conflicts:
	tests/unit/data/config.php
2013-11-23 03:02:35 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
8341a59717 Merge branch 'master' into elasticsearch
* master: (587 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/composer.json
	tests/unit/data/config.php
2013-11-22 20:19:49 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
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 octicon-file-diff(16/) octicon-file-code(16/)
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 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
45d92f1cef refactored emailvalidator test 2013-11-20 16:50:29 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
7b5b93efd2 fixed email validator test break 2013-11-20 16:46:04 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
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 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
d2e5f2c507 Fixes #1234: use dash instead of underscore to separate language and country in locale id. 2013-11-19 16:33:52 -05:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
53457a0a3f Simplified ArrayHelper::multisort(). 2013-11-19 14:10:00 -05:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
9efe446545 Fixes #1236: removed Sort::ASC and DESC 2013-11-19 10:20:07 -05:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
09a3300b7c refactored redis cache, added mset() 2013-11-17 21:09:13 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
1c24b3e0d8 removed TestCase and WebTestCase. 2013-11-16 21:30:20 -05:00 octicon-file-diff(16/) octicon-file-code(16/)
Alexander Makarov
979e8d1619 Replaced assertTrue(file_exists with assertFileExists in FileHelperTest 2013-11-17 04:19:57 +04:00 octicon-file-diff(16/) octicon-file-code(16/)
Alexander Makarov
1a7a15a3ef Implemented mset, madd for cache. Added tests. 2013-11-17 04:00:43 +04:00 octicon-file-diff(16/) octicon-file-code(16/)