Commit Graph

4221 Commits

Author SHA1 Message Date
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
Carsten Brandt
5d7807860c linked the upgrade section to guide articles 2013-11-21 00:59:17 +01:00
Carsten Brandt
e700ca0a97 more on yii basics 2013-11-21 00:45:58 +01:00
Carsten Brandt
bcfb1eaf2e updated application guide and index 2013-11-21 00:34:32 +01:00
Carsten Brandt
d775814602 restructuring guide index.md and structure
worked though all the guide files adjusted structure and
added some missing does
2013-11-21 00:18:07 +01:00
Alexander Makarov
987d9ab5f0 Added assets section to the guide 2013-11-21 03:07:16 +04:00
Alexander Makarov
6c5e8e4031 Fixes #1222: removed Slider widget from JUI extension since it's not input widget and a wrapper doesn't really add anything 2013-11-21 01:24:09 +04: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
Qiang Xue
182dfb39dc Added warning log when access to gii and debugger is denied due to IP restriction. 2013-11-20 15:26:45 -05:00
Carsten Brandt
a82330b212 reverted duplicated fix for #1244
fixes #1244
2013-11-20 21:09:30 +01:00
Klimov Paul
7fa572460e Merge branch 'master' of github.com:yiisoft/yii2 into sphinx 2013-11-20 20:25:24 +02:00
Klimov Paul
bb46d0594e Sphinx documentation updated. 2013-11-20 20:24:56 +02:00
Carsten Brandt
070bd9625c removed checkPort feature from email validator
fixes #1246
2013-11-20 18:57:29 +01:00
Kartik Visweswaran
2bff5f80bc Alert types for flash messages are now configurable.
Each flash variable can be mapped to a bootstrap alert type through a configuration array passed to this widget.
2013-11-20 23:15:16 +05:30
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
Kartik Visweswaran
8ff4c3d46d Code & minor bug cleanup.
Cleaned up redundant code (and a typo missed earlier).
2013-11-20 22:53:08 +05:30
Kartik Visweswaran
8a436c4acb Code cleanup.
Removed redundant declarations and checks in the code.
2013-11-20 22:45:49 +05:30
Kartik Visweswaran
c550628558 CSS Class assignment correction # 2.
Ensure previous CSS classes are not appended and reinitialized in the foreach loop.
2013-11-20 22:35:35 +05:30
Carsten Brandt
45d92f1cef refactored emailvalidator test 2013-11-20 16:50:29 +01:00
Carsten Brandt
7b5b93efd2 fixed email validator test break 2013-11-20 16:46:04 +01:00
Carsten Brandt
4079acf4a6 changed EmailValidator MX check to be more useful
issue #1246
2013-11-20 16:30:12 +01:00
Paul Klimov
d1c87c7e31 Sphinx documentation updated. 2013-11-20 17:28:02 +02: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
Kartik Visweswaran
affa9589dc CSS Class assignment corrected.
Used ```Html::addCssClass``` and ```Html::removeCssClass``` more effectively.
2013-11-20 19:58:25 +05:30
Kartik Visweswaran
70f41387b6 Update Alert.php to add some refinements and clean up bugs.
Added closeButton parameter, assignment of CSS class corrected, and added php doc comments.
2013-11-20 19:39:55 +05:30
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
Kartik Visweswaran
1c56edd000 Update Alert.php 2013-11-20 18:39:37 +05:30
Kartik Visweswaran
8fc77afc63 Update Alert.php to display multiple flash messages for the session.
The previous alert widget within the advanced/basic app does not render multiple flash messages. The current implementation allows display of all flash messages assigned through setFlash. Also a validation is done for allowed bootstrap alert types.
2013-11-20 17:50:47 +05:30
Paul Klimov
e19c9cebc6 Sphinx has many relation test prepared. 2013-11-20 13:14:21 +02:00
Paul Klimov
6a5b8d1904 Sphinx Query refactored. 2013-11-20 11:27:44 +02:00
Qiang Xue
2d5f4e5618 Merge pull request #1243 from kumorig/patch-1
Small edit for consistency with frontend config.
2013-11-19 19:57:30 -08:00
kumorig
7450fc1000 Small edit for consistency with frontend config.
Small edit for consistency with /apps/advanced/backend/config/main.php. Sorry, my OCD kicked in.
2013-11-20 09:26:51 +09:00
Qiang Xue
9ef3560f5a Fixed test break. 2013-11-19 18:03:52 -05:00
Qiang Xue
f67ddb17f6 Fixes #1242: Gii Model generation added dropped table fields in Postgresql 2013-11-19 17:25:05 -05:00
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
Qiang Xue
53457a0a3f Simplified ArrayHelper::multisort(). 2013-11-19 14:10:00 -05:00
Qiang Xue
52bf6ac4c6 Merge pull request #1241 from Alex-Code/script-filter
Update script filter
2013-11-19 08:49:43 -08:00
Qiang Xue
7d9639ea49 Fixed test break. 2013-11-19 11:47:09 -05:00
Alex-Code
719e3bca19 Update yii.js
```map``` and ```indexOf``` on arrays were only added in IE9.
Changed to make use of jQuery's equivalents.
2013-11-19 16:41:32 +00:00
Qiang Xue
3959b8dbda Fixed test break. 2013-11-19 11:33:25 -05:00
Qiang Xue
726a305b7e fixed test break. 2013-11-19 10:57:59 -05:00
Qiang Xue
dd97c002a6 fixed test break. 2013-11-19 10:43:30 -05:00
Qiang Xue
0833fe2e40 Fixed test break. 2013-11-19 10:30:28 -05:00