Commit Graph

62 Commits

Author SHA1 Message Date
Alexander Makarov
6d97ded6c6 Fixes #2659 2014-03-08 03:01:14 +04:00
Carsten Brandt
1b7e1cd027 Merge pull request #2605 branch 'feature' of https://github.com/mongosoft/yii2 into code-style
* 'feature' of https://github.com/mongosoft/yii2:
  returned back formatting language files
  code style. WHILE
  code style. FOR
  code style. FOREACH
  code style. operator IF
  @param, @var, @property and @return must declare types as boolean, integer, string, array or null
  short echo tags
  short array syntax

Conflicts:
	extensions/apidoc/commands/RenderController.php
	extensions/apidoc/models/BaseDoc.php
	extensions/apidoc/models/Context.php
	extensions/apidoc/templates/bootstrap/Renderer.php
	extensions/apidoc/templates/bootstrap/layouts/guide.php
	extensions/apidoc/templates/bootstrap/layouts/main.php
	extensions/apidoc/templates/bootstrap/views/index.php
	extensions/apidoc/templates/html/Renderer.php
	extensions/apidoc/templates/offline/views/index.php
	extensions/apidoc/templates/offline/views/offline.php
	extensions/apidoc/templates/online/views/index.php
	extensions/elasticsearch/Connection.php
	extensions/redis/ActiveQuery.php
	framework/base/ErrorException.php
	framework/helpers/BaseFileHelper.php
	tests/unit/framework/helpers/FileHelperTest.php
2014-03-07 21:54:44 +01:00
AlexGx
1982efbdfe many phpcs fixes 2014-03-05 00:22:55 +02:00
Alexander Makarov
b0ef4c9084 Removed unused variables 2014-03-04 21:46:30 +04:00
Alexander Mohorev
95ea1c20bb code style. FOREACH 2014-03-03 21:47:47 +03:00
Qiang Xue
6bdf02dc93 Fixes #2601 2014-03-02 17:04:40 -05:00
Thiago Talma
7037769fa7 Fixed typo 2014-02-26 19:22:15 -03:00
Thiago Talma
8f7aa2fb8f Fixed typos 2014-02-26 17:11:56 -03:00
Alexander Makarov
80d3afa0dc Gii extension generator adjustments 2014-02-26 12:46:57 +04:00
Tobias Munk
c624f91dc3 fixed typos 2014-02-26 00:38:46 +01:00
Tobias Munk
d32b3a0e8f updated docs and hints 2014-02-26 00:38:23 +01:00
Tobias Munk
9ad28d9088 added safe validator for keywords 2014-02-26 00:37:26 +01:00
Tobias Munk
be54f24b47 updated defaults, UI, validation and templates 2014-02-25 01:11:42 +01:00
Tobias Munk
01d444f6da Merge commit 'fcac7f64b37c6a8d4ead9816b2580f50580c540d' into feature/gii-extension-generator 2014-02-24 18:34:07 +01:00
Tobias Munk
4192c72256 minor docs update (still WIP) 2014-02-24 18:33:50 +01:00
Qiang Xue
976532c131 fixed typo 2014-02-24 07:12:33 -05:00
Qiang Xue
73a15c2bbf Merge pull request #2504 from thiagotalma/master
Allow add a condition telling the table to avoid ambiguity error.
2014-02-23 18:15:45 -05:00
Tobias Munk
87e09805f1 Merge branch 'master' into feature/gii-extension-generator 2014-02-23 01:22:34 +01:00
Qiang Xue
50308d8788 Fixes #2491: Added support for using the same base class name of search model and data model in Gii [skip ci] 2014-02-22 15:01:18 -05:00
Carsten Brandt
5ee50a8454 Merge pull request #2497 from yiisoft/merge-query-and-relation2
WIP merge ActiveRelation into ActiveQuery
2014-02-21 19:00:45 +01:00
Thiago Talma
ba9f5d6521 Allow add a condition telling the table to avoid ambiguity error. 2014-02-20 17:20:10 -03:00
Carsten Brandt
b7fddd8dd6 Added LinkPager::$linkOptions
fixes #2367
2014-02-20 19:14:46 +01:00
Carsten Brandt
098567ce16 fixed phpdoc errors and updated properties 2014-02-20 13:42:30 +01:00
Carsten Brandt
1708a36d95 WIP merge ActiveRelation into ActiveQuery
allow extending only one class to add scopes, fixes #2146

TODO:

- [ ] adjust guide docs
- [ ] adjust README files of extensions
- [ ] finish work and fix test breaks
2014-02-20 05:53:36 +01:00
Johnny Theill
276883b890 Use 'Yii::$app->request->post()' instead of $_POST 2014-02-17 03:29:48 +01:00
Tobias Munk
097ee6f874 first draft of the extension generator 2014-02-13 04:06:42 +01:00
Alexander Makarov
4a201c7ad5 Removed unused variables 2014-02-07 13:39:35 +04:00
Qiang Xue
bb2256a723 Fixes #2298: Fixed the bug that Gii controller generator did not allow digit in the controller ID (qiangxue) 2014-02-04 08:30:27 -05:00
Alexander Makarov
22fa0d7c90 Added missing phpdoc for gii classes 2014-02-01 04:55:03 +04:00
Qiang Xue
505cb7d622 added missing use statement. 2014-01-27 18:21:55 -05:00
Carsten Brandt
21ae27b306 updated phpdoc properties 2014-01-28 00:11:18 +01:00
Qiang Xue
150d71368b Merge branch 'request-params-refactoring' of github.com:cebe/yii2 into cebe-request-params-refactoring
Conflicts:
	framework/CHANGELOG.md
2014-01-26 17:41:14 -05:00
Thiago Talma
d92a23536c Ensure that the table prefix is used when generating the class name. 2014-01-23 18:03:30 -02:00
Thiago Talma
e299b78a2c Best way to get the labels to search, the existing model. 2014-01-21 18:01:35 -02:00
Carsten Brandt
e7e6bee928 replaced usages of $_GET with Request::queryParams 2014-01-21 15:13:51 +01:00
Carsten Brandt
c5022203de fixed issue with null value in CRUD controller findModel() 2014-01-16 08:39:13 +01:00
BelalWM
7baf261f94 Fix phpdoc generation in gii model generator. 2014-01-11 12:24:23 +04:00
Qiang Xue
da9d544c54 psr-4 change. 2014-01-10 21:06:25 -05:00
Qiang Xue
41685a2409 moved extensions under yii. 2013-12-09 23:51:49 -05:00
Alexander Makarov
51592f179f Fixed wrong refactoring of helpers 2013-12-04 14:31:10 +01:00
Alexander Makarov
26767735dc Renamed byte methods, moved path methods back to StringHelper 2013-12-04 14:26:47 +01:00
Alexander Makarov
5f2a612c78 Moved file and path related methods from StringHelper to FileHelper, renamed StringHelper byte methods not to be misused as string methods 2013-12-04 09:48:01 +01:00
Qiang Xue
f473abe17f Fixes #1405: fixed disambiguation of relation names generated by gii. 2013-12-02 21:00:58 -05:00
Luciano Baraglia
7d1443e4b3 Gii crud generator broken 2013-12-02 10:29:42 -03:00
Carsten Brandt
d650ca3a08 updated gii crud to work with non SQL AR 2013-12-01 02:47:41 +01:00
Qiang Xue
c7c13a6693 Added concrete http exception classes. 2013-11-29 21:22:08 -05:00
Qiang Xue
a5e3c00d75 replaced inheritdoc tags. 2013-11-29 12:49:07 -05:00
Panagiotis Moustafellos
2ff8ac3d61 fixed PhpDoc by swapping to {@inheritdoc} 2013-11-26 04:24:20 +02:00
Qiang Xue
542477c323 typo fix. 2013-11-15 09:18:30 -05:00
Qiang Xue
6992cc2c73 Fixes #1196. 2013-11-15 08:44:59 -05:00