122 Commits

Author SHA1 Message Date
665aefbb55 Fixes #3042: yii\widgets\Pjax should end application right after it finishes responding to a pjax request 2014-04-16 10:25:03 -04:00
8ac79a35ae support hiding error and label tags via error(false) and label(false). 2014-04-11 20:09:19 -04:00
c6e1a2f02f Merge branch 'master' of github.com:yiisoft/yii2
* 'master' of github.com:yiisoft/yii2: (79 commits)
  Refactored app bootstrap logic.
  Update authorization.md
  Fixes #3052: Fixed the issue that cache dependency data is not reused when `reusable` is set true
  start debug logging only if debug runs when bootstrap.
  Update finnish translation
  Add ODBC support to yii\db\Connection
  updated error handler and requirement checker links.
  fixed broken API links [skip ci]
  added more doc [skip ci]
  update class map.
  Fixes #2034: Added `ContentNegotiator` to support response format and language negotiation
  renamed attributes to attributeNames in model
  updated phpdoc
  Removed `Application::preload` in favor of `Application::bootstrap`
  Update module-debug.md
  Update model.md
  Fixes
  Update basics.md
  typo fix [skip ci]
  Added `HtmlResponseFormatter` and `JsonResponseFormatter`
  ...
2014-04-10 22:22:36 +02:00
3c400dbca8 fixed file PHPdoc
issue #3026
2014-04-10 22:10:59 +02:00
0b29c9607d fixed broken API links [skip ci] 2014-04-09 22:22:49 -04:00
c93231e26b improved session error handling
fixes #1946
2014-03-29 23:54:26 +01:00
e250b96a8f Added summaryOptions and emptyTextOptions to BaseListView 2014-03-26 23:00:42 +01:00
2ec58e64d6 Fixed whenClient. 2014-03-24 10:51:21 -04:00
bf3c75147d reverted breaking PHPdoc codestyle changes
issue #2852
2014-03-23 20:51:09 +01:00
bbc7b0768f separate id and name of attribute for client side validation 2014-03-22 21:21:11 -04:00
8e11ad0360 refactored code to use Instance::ensure() 2014-03-18 12:31:27 -04:00
8c2e39235f Turn module and application into DI containers. 2014-03-17 23:57:01 -04:00
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
a5e3e46905 Fixes #735: Added back ActiveField::hiddenInput() 2014-03-14 20:42:31 -04:00
ca3b2cd057 Fix some references to removed Html::url in phpdoc 2014-03-11 11:15:21 +01:00
6fff5662df better use @see for See in phpdoc 2014-03-11 05:38:35 +01:00
c94a40e90d added a large amount of missing documentation 2014-03-11 05:38:35 +01:00
5d6c314d4e Adjusted URL helper, fixed usage 2014-03-10 15:25:15 +04:00
92b381795b Adjusted Url helper methods 2014-03-10 01:34:05 +04:00
3400eb5215 #2630: yii\heplers\Html::url moved to new yii\helpers\Url::create 2014-03-09 16:41:55 +04:00
f7148c2d80 callback -> callable
this term is resolveable by the php docs when linking types in apidoc
2014-03-08 21:04:47 +01:00
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
80e9b80078 replace pjax with external resouce via composer
We are now maintaining a fork of pjax:
https://github.com/yiisoft/jquery-pjax
2014-03-05 05:06:37 +01:00
078fdab686 Added some documentation to new pjax attribute 2014-03-04 13:45:36 +01:00
eaaa5b1bb5 fix code style 2014-03-04 06:12:30 +02:00
112f67d20a fix code style There must be one blank line after the namespace declaration 2014-03-04 05:39:17 +02:00
95ea1c20bb code style. FOREACH 2014-03-03 21:47:47 +03:00
c7e8d8b900 @param, @var, @property and @return must declare types as boolean, integer, string, array or null 2014-03-03 20:50:44 +03:00
4d5ba13cba make registering of link tags optional in LinkPager 2014-02-28 16:37:34 +01:00
5feba5946e Added relational link tags to LinkPager widget
for prev, next, first and last page.
http://www.w3.org/TR/html401/struct/links.html#h-12.1.2
2014-02-28 16:29:50 +01:00
3d1d7f72ed Fixes #2544: Changed DetailView's name:format:label to attribute:format:label to match GridView 2014-02-25 23:16:05 +04:00
f7911bc9ac Unused? 2014-02-24 15:57:28 +00:00
72ff9c58df Pjax container only required on first load.
Pjax inserts the response HTML into the container, it doesn't replace it.
So any subsequent pjax requests duplicate the container.
2014-02-24 15:56:31 +00:00
b7fddd8dd6 Added LinkPager::$linkOptions
fixes #2367
2014-02-20 19:14:46 +01:00
7660827dd3 Fixes #2460: custom listview/gridview summary was broken 2014-02-20 17:37:30 +04:00
098567ce16 fixed phpdoc errors and updated properties 2014-02-20 13:42:30 +01:00
26cb7b2a3c Renamed fooVar to fooParam for various classes. 2014-02-15 18:18:27 -05:00
25b466d278 Fixes #2083: make sure keys of object type work with ActionColumn, GridView, etc. 2014-02-13 12:04:37 -05:00
36aab9e36c Removing @since tag 2014-02-13 16:42:08 +02:00
0a27360cd8 Adding @since tag and changelog line 2014-02-13 16:41:27 +02:00
a32753b5e5 #2417 Possibility to specify dataType for $.ajax call in yii.activeForm.js 2014-02-13 16:13:22 +02:00
afb4aaefd8 error summary tag mistype 2014-02-13 13:42:35 +08:00
92fb014980 Fixes #2405: The CSS class of MaskedInput now defaults to form-control 2014-02-11 16:36:00 -05:00
40b3c2e89c Fixes #2209: When I18N message translation is missing source language is now used for formatting 2014-02-09 02:49:02 +04:00
076c7cd38c Fixes #2310 2014-02-05 22:45:52 -05:00
73dff0146c doc improvement [skip ci] 2014-02-05 21:33:32 -05:00
e70817e887 Fixes #2336. 2014-02-05 21:18:53 -05:00
13b7c8e866 refactored Pjax. Added title change support. [skip ci] 2014-02-05 20:49:38 -05:00
a872d60503 Fixes #2335. 2014-02-05 16:08:39 -05:00
b21fd298c5 Fixed minor coding style issues 2014-02-01 01:18:38 +04:00