Commit d7f5a86c4b5e1dfa55053d3de91b6187872c7d08

Authored by Yarik
1 parent f86df652

test

common/modules/comment/Controller.php
@@ -205,5 +205,33 @@ @@ -205,5 +205,33 @@
205 return [ 'error' => 'Missing comment_id' ]; 205 return [ 'error' => 'Missing comment_id' ];
206 } 206 }
207 } 207 }
  208 +
  209 + public function actionDeleteAnswer()
  210 + {
  211 + \Yii::$app->response->format = \yii\web\Response::FORMAT_JSON;
  212 + $post = \Yii::$app->request->post('CommentProjectAnswer');
  213 + $get = \Yii::$app->request->get();
  214 + if(empty( $post[ 'comment_id' ] ) && !empty( $get[ 'comment_id' ] )) {
  215 + $post[ 'comment_id' ] = $get[ 'comment_id' ];
  216 + }
  217 + if(!empty( $post[ 'comment_id' ] )) {
  218 + if($model = \common\modules\comment\models\CommentProjectAnswer::findOne($post[ 'comment_id' ])) {
  219 + /**
  220 + * @var \common\modules\comment\models\Comment $model
  221 + */
  222 + $model->scenario = is_int(\Yii::$app->user->getId()) ? \common\modules\comment\models\CommentProjectAnswer::SCENARIO_USER : \common\modules\comment\models\CommentProjectAnswer::SCENARIO_GUEST;
  223 + if($model->deleteComment()) {
  224 + \Yii::$app->response->data = [ 'text' => 'Comment marked as deleted and will be check by administrators' ];
  225 + } else {
  226 + \Yii::$app->response->data = [ 'error' => $model->hasErrors('comment_id') ? $model->getFirstError('comment_id') : 'Cannot delete message' ];
  227 + }
  228 + } else {
  229 + \Yii::$app->response->data = [ 'error' => 'Comment not found' ];
  230 + };
  231 + } else {
  232 + \Yii::$app->response->data = [ 'error' => 'Missing comment_id' ];
  233 + }
  234 + \Yii::$app->response->send();
  235 + }
208 236
209 } 237 }
210 \ No newline at end of file 238 \ No newline at end of file
common/modules/comment/models/CommentProjectAnswer.php
@@ -108,12 +108,10 @@ @@ -108,12 +108,10 @@
108 108
109 public function beforeDelete() 109 public function beforeDelete()
110 { 110 {
111 - if(parent::beforeDelete()) {  
112 -  
113 - return false;  
114 - } else {  
115 - return false; 111 + if(!empty($this->child)) {
  112 + $this->child->delete();
116 } 113 }
  114 + return parent::beforeDelete(); // TODO: Change the autogenerated stub
117 } 115 }
118 116
119 public function checkCreate() 117 public function checkCreate()
common/modules/comment/resources/comment.js
@@ -2,8 +2,9 @@ $(function() { @@ -2,8 +2,9 @@ $(function() {
2 2
3 $(document).on('click', '.artbox_comment_container .removeable', function(e) { 3 $(document).on('click', '.artbox_comment_container .removeable', function(e) {
4 e.preventDefault(); 4 e.preventDefault();
5 - var container = $(this).parents('.artbox_comment_container');  
6 - $(container).remove(); 5 + $(this).remove();
  6 +// var container = $(this).parents('.artbox_comment_container');
  7 +// $(container).remove();
7 }); 8 });
8 9
9 $(document).on( 10 $(document).on(
@@ -152,4 +153,46 @@ $(function() { @@ -152,4 +153,46 @@ $(function() {
152 ) 153 )
153 } 154 }
154 ); 155 );
  156 +
  157 + $(document).on(
  158 + 'click', '.artbox_comment_delete_answer', function(e)
  159 + {
  160 + e.preventDefault();
  161 + var container = $(this).parents('.artbox_comment_container');
  162 + var comment_id = $(container).data('key');
  163 + var form_name = $(container).data('form');
  164 + if(confirm("ะฃะฒะตั€ะตะฝั‹, ั‡ั‚ะพ ั…ะพั‚ะธั‚ะต ัƒะดะฐะปะธั‚ัŒ ะฒะพะฟั€ะพั?"))
  165 + {
  166 + $.post(
  167 + '/artbox-comment/delete-answer', {
  168 + CommentProjectAnswer : {
  169 + comment_id : comment_id
  170 + }
  171 + }, function(data, textStatus, jqXHR)
  172 + {
  173 + if(!data.error)
  174 + {
  175 + $(container).empty();
  176 + $(container).append('<p class="removeable">' + data.text + '</p>');
  177 + } else
  178 + {
  179 + $(container).prepend('<p class="removeable error_message">' + data.error + '</p>')
  180 + }
  181 + }
  182 + );
  183 + }
  184 + }
  185 + );
  186 +
  187 + $(document).on('click', '.artbox_comment_reply_answer', function(e) {
  188 + e.preventDefault();
  189 + var widget = $(this).parents('.artbox_comment_widget');
  190 + $(widget).find('.artbox_comment_answer_label').text('ะžั‚ะฒะตั‚');
  191 + });
  192 +
  193 + $(document).on('click', '.artbox_comment_reply_answer_block', function(e) {
  194 + var form = $(this).parents('.artbox_comment_form');
  195 + $(form).find('.artbox_comment_answer_label').text('ะ’ะพะฟั€ะพั');
  196 + });
  197 +
155 }); 198 });
common/modules/comment/widgets/views/_question_comment_view.php
@@ -14,8 +14,11 @@ @@ -14,8 +14,11 @@
14 * @var User $user 14 * @var User $user
15 */ 15 */
16 $user = $model->user; 16 $user = $model->user;
17 - if(empty($model->comment_pid)) {  
18 - $model->buildButtons([ 'reply', 'delete' ]); 17 + if(empty( $model->comment_pid )) {
  18 + $model->buildButtons([
  19 + 'reply',
  20 + 'delete',
  21 + ]);
19 } 22 }
20 ?> 23 ?>
21 <div class="comments-name <?= CommentWidget::$baseClass[ 'comment_author' ] ?>"> 24 <div class="comments-name <?= CommentWidget::$baseClass[ 'comment_author' ] ?>">
@@ -51,13 +54,13 @@ @@ -51,13 +54,13 @@
51 <div> 54 <div>
52 <?php 55 <?php
53 if(!empty( $model->buttons[ 'delete' ] )) { 56 if(!empty( $model->buttons[ 'delete' ] )) {
54 - echo Html::a(( $model->user_id != NULL && $model->user_id == \Yii::$app->user->id ) ? 'ะฃะดะฐะปะธั‚ัŒ' : 'ะŸะพะถะฐะปะพะฒะฐั‚ัŒัั ', $model->buttons[ 'delete' ], [ 'class' => CommentWidget::$baseClass[ 'comment_delete' ] ]); 57 + echo Html::a(( $model->user_id != NULL && $model->user_id == \Yii::$app->user->id ) ? 'ะฃะดะฐะปะธั‚ัŒ' : 'ะŸะพะถะฐะปะพะฒะฐั‚ัŒัั ', $model->buttons[ 'delete' ], [ 'class' => 'artbox_comment_delete_answer' ]);
55 } 58 }
56 if(!empty( $model->buttons[ 'update' ] )) { 59 if(!empty( $model->buttons[ 'update' ] )) {
57 echo Html::a('ะ ะตะดะฐะบั‚ะธั€ะพะฒะฐั‚ัŒ', $model->buttons[ 'update' ], [ 'class' => 'artbox_comment_update_answer' ]); 60 echo Html::a('ะ ะตะดะฐะบั‚ะธั€ะพะฒะฐั‚ัŒ', $model->buttons[ 'update' ], [ 'class' => 'artbox_comment_update_answer' ]);
58 } 61 }
59 if(!empty( $model->buttons[ 'reply' ] )) { 62 if(!empty( $model->buttons[ 'reply' ] )) {
60 - echo Html::a('ะžั‚ะฒะตั‚ะธั‚ัŒ', $model->buttons[ 'reply' ], [ 'class' => CommentWidget::$baseClass[ 'comment_reply' ] ]); 63 + echo Html::a('ะžั‚ะฒะตั‚ะธั‚ัŒ', $model->buttons[ 'reply' ], [ 'class' => CommentWidget::$baseClass[ 'comment_reply' ].' artbox_comment_reply_answer' ]);
61 } 64 }
62 ?> 65 ?>
63 </div> 66 </div>
common/modules/comment/widgets/views/form-comment-answer.php
@@ -55,7 +55,7 @@ @@ -55,7 +55,7 @@
55 } 55 }
56 56
57 ?> 57 ?>
58 - <div class="artbox_comment_reply_block"></div> 58 + <div class="artbox_comment_reply_block artbox_comment_reply_answer_block"></div>
59 <?php 59 <?php
60 60
61 echo $form->field($model, 'text', [ 61 echo $form->field($model, 'text', [
@@ -66,7 +66,7 @@ @@ -66,7 +66,7 @@
66 'class' => 'custom-area-4', 66 'class' => 'custom-area-4',
67 ], 67 ],
68 ]) 68 ])
69 - ->label($model->isNewRecord?'ะ’ะพะฟั€ะพั':'ะžั‚ะฒะตั‚') 69 + ->label($model->isNewRecord?'ะ’ะพะฟั€ะพั':'ะžั‚ะฒะตั‚', ['class' => 'artbox_comment_answer_label'])
70 ->textarea(); 70 ->textarea();
71 ?> 71 ?>
72 <div class="input-blocks-comm-button style"> 72 <div class="input-blocks-comm-button style">
common/modules/comment/widgets/views/form-comment-review.php
@@ -7,10 +7,13 @@ @@ -7,10 +7,13 @@
7 * @var null|\common\modules\comment\models\Rating $rating 7 * @var null|\common\modules\comment\models\Rating $rating
8 */ 8 */
9 use common\modules\comment\widgets\CommentWidget; 9 use common\modules\comment\widgets\CommentWidget;
  10 + use kartik\rating\StarRating;
  11 + use yii\bootstrap\BootstrapAsset;
  12 + use yii\bootstrap\BootstrapPluginAsset;
10 use yii\web\View; 13 use yii\web\View;
11 use yii\widgets\ActiveForm; 14 use yii\widgets\ActiveForm;
12 use yii\helpers\Html; 15 use yii\helpers\Html;
13 - 16 + $this->registerLinkTag(['rel' => 'stylesheet', 'href' => 'https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css']);
14 ?> 17 ?>
15 <?php 18 <?php
16 if(!empty( $dataProvider )) { 19 if(!empty( $dataProvider )) {
@@ -32,23 +35,7 @@ @@ -32,23 +35,7 @@
32 } 35 }
33 echo $form->field(( !empty( $model->rating ) ? $model->rating : $rating ), 'value') 36 echo $form->field(( !empty( $model->rating ) ? $model->rating : $rating ), 'value')
34 ->label(false) 37 ->label(false)
35 - ->radioList([  
36 - 1 => 1,  
37 - 2 => 2,  
38 - 3 => 3,  
39 - 4 => 4,  
40 - 5 => 5,  
41 - ], [  
42 - 'item' => function($index, $label, $name, $checked, $value) {  
43 - $return = '<div class="admin-who-check">';  
44 - $return .= '<input class="custom-radio" id="select_admin_' . $value . '" type="radio" name="' . $name . '" value="' . $value . '" ' . ( $checked ? "checked" : "" ) . ' >';  
45 - $return .= '<label for="select_admin_' . $value . '" >';  
46 - $return .= '<span></span>' . ucwords($label);  
47 - $return .= '</label>';  
48 - $return .= '</div>';  
49 - return $return;  
50 - },  
51 - ]); 38 + ->widget(StarRating::className(), ['pluginOptions' => ['size'=>'xxs', 'step' => 1, 'value' => 2, 'showCaption' => false]]);
52 if($model->scenario == $model::SCENARIO_GUEST) { 39 if($model->scenario == $model::SCENARIO_GUEST) {
53 echo $form->field($model, 'user_name', [ 40 echo $form->field($model, 'user_name', [
54 'options' => [ 41 'options' => [
@@ -31,7 +31,8 @@ @@ -31,7 +31,8 @@
31 "rmrevin/yii2-comments": "1.4.*", 31 "rmrevin/yii2-comments": "1.4.*",
32 "codeception/codeception":"*", 32 "codeception/codeception":"*",
33 "yiisoft/yii2-codeception": "~2.0.0", 33 "yiisoft/yii2-codeception": "~2.0.0",
34 - "bower-asset/fancybox": "^2.1" 34 + "bower-asset/fancybox": "^2.1",
  35 + "kartik-v/yii2-widget-rating": "*"
35 }, 36 },
36 "require-dev": { 37 "require-dev": {
37 "yiisoft/yii2-debug": "*", 38 "yiisoft/yii2-debug": "*",
@@ -4,8 +4,8 @@ @@ -4,8 +4,8 @@
4 "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", 4 "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
5 "This file is @generated automatically" 5 "This file is @generated automatically"
6 ], 6 ],
7 - "hash": "663167525967cc58c1d361d1e98c002f",  
8 - "content-hash": "f093c935fec42d8be127e4a2cf8fe95f", 7 + "hash": "552b1bcc377d6e0a838b4d23617e7729",
  8 + "content-hash": "48ff5bec6d2f7d829630cc03d2d12f2e",
9 "packages": [ 9 "packages": [
10 { 10 {
11 "name": "2amigos/yii2-transliterator-helper", 11 "name": "2amigos/yii2-transliterator-helper",
@@ -216,16 +216,16 @@ @@ -216,16 +216,16 @@
216 }, 216 },
217 { 217 {
218 "name": "bower-asset/fontawesome", 218 "name": "bower-asset/fontawesome",
219 - "version": "v4.5.0", 219 + "version": "v4.6.1",
220 "source": { 220 "source": {
221 "type": "git", 221 "type": "git",
222 "url": "https://github.com/FortAwesome/Font-Awesome.git", 222 "url": "https://github.com/FortAwesome/Font-Awesome.git",
223 - "reference": "fddd2c240452e6c8990c4ef75e0265b455aa7968" 223 + "reference": "6535013c330e801ecf0b23c437865a7fb344486d"
224 }, 224 },
225 "dist": { 225 "dist": {
226 "type": "zip", 226 "type": "zip",
227 - "url": "https://api.github.com/repos/FortAwesome/Font-Awesome/zipball/fddd2c240452e6c8990c4ef75e0265b455aa7968",  
228 - "reference": "fddd2c240452e6c8990c4ef75e0265b455aa7968", 227 + "url": "https://api.github.com/repos/FortAwesome/Font-Awesome/zipball/6535013c330e801ecf0b23c437865a7fb344486d",
  228 + "reference": "6535013c330e801ecf0b23c437865a7fb344486d",
229 "shasum": "" 229 "shasum": ""
230 }, 230 },
231 "type": "bower-asset-library", 231 "type": "bower-asset-library",
@@ -541,12 +541,12 @@ @@ -541,12 +541,12 @@
541 "source": { 541 "source": {
542 "type": "git", 542 "type": "git",
543 "url": "https://github.com/Codeception/Codeception.git", 543 "url": "https://github.com/Codeception/Codeception.git",
544 - "reference": "8d4d11c900effead558d6b474ca5a9e1b651722e" 544 + "reference": "061cd3b6bece7cdd32456079b5217734342aeda9"
545 }, 545 },
546 "dist": { 546 "dist": {
547 "type": "zip", 547 "type": "zip",
548 - "url": "https://api.github.com/repos/Codeception/Codeception/zipball/8d4d11c900effead558d6b474ca5a9e1b651722e",  
549 - "reference": "8d4d11c900effead558d6b474ca5a9e1b651722e", 548 + "url": "https://api.github.com/repos/Codeception/Codeception/zipball/061cd3b6bece7cdd32456079b5217734342aeda9",
  549 + "reference": "061cd3b6bece7cdd32456079b5217734342aeda9",
550 "shasum": "" 550 "shasum": ""
551 }, 551 },
552 "require": { 552 "require": {
@@ -618,7 +618,7 @@ @@ -618,7 +618,7 @@
618 "functional testing", 618 "functional testing",
619 "unit testing" 619 "unit testing"
620 ], 620 ],
621 - "time": "2016-04-04 08:29:59" 621 + "time": "2016-04-20 22:27:36"
622 }, 622 },
623 { 623 {
624 "name": "developeruz/yii2-db-rbac", 624 "name": "developeruz/yii2-db-rbac",
@@ -862,12 +862,12 @@ @@ -862,12 +862,12 @@
862 "source": { 862 "source": {
863 "type": "git", 863 "type": "git",
864 "url": "https://github.com/guzzle/guzzle.git", 864 "url": "https://github.com/guzzle/guzzle.git",
865 - "reference": "8e4e5ef9fbcc6ced335f398b32dcf2a0e4a24acb" 865 + "reference": "85cb758d7367f3aaaa8ffc9269e777919c5f68bb"
866 }, 866 },
867 "dist": { 867 "dist": {
868 "type": "zip", 868 "type": "zip",
869 - "url": "https://api.github.com/repos/guzzle/guzzle/zipball/8e4e5ef9fbcc6ced335f398b32dcf2a0e4a24acb",  
870 - "reference": "8e4e5ef9fbcc6ced335f398b32dcf2a0e4a24acb", 869 + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/85cb758d7367f3aaaa8ffc9269e777919c5f68bb",
  870 + "reference": "85cb758d7367f3aaaa8ffc9269e777919c5f68bb",
871 "shasum": "" 871 "shasum": ""
872 }, 872 },
873 "require": { 873 "require": {
@@ -916,7 +916,7 @@ @@ -916,7 +916,7 @@
916 "rest", 916 "rest",
917 "web service" 917 "web service"
918 ], 918 ],
919 - "time": "2016-04-01 05:52:09" 919 + "time": "2016-04-06 17:59:33"
920 }, 920 },
921 { 921 {
922 "name": "guzzlehttp/promises", 922 "name": "guzzlehttp/promises",
@@ -971,16 +971,16 @@ @@ -971,16 +971,16 @@
971 }, 971 },
972 { 972 {
973 "name": "guzzlehttp/psr7", 973 "name": "guzzlehttp/psr7",
974 - "version": "1.2.3", 974 + "version": "1.3.0",
975 "source": { 975 "source": {
976 "type": "git", 976 "type": "git",
977 "url": "https://github.com/guzzle/psr7.git", 977 "url": "https://github.com/guzzle/psr7.git",
978 - "reference": "2e89629ff057ebb49492ba08e6995d3a6a80021b" 978 + "reference": "31382fef2889136415751badebbd1cb022a4ed72"
979 }, 979 },
980 "dist": { 980 "dist": {
981 "type": "zip", 981 "type": "zip",
982 - "url": "https://api.github.com/repos/guzzle/psr7/zipball/2e89629ff057ebb49492ba08e6995d3a6a80021b",  
983 - "reference": "2e89629ff057ebb49492ba08e6995d3a6a80021b", 982 + "url": "https://api.github.com/repos/guzzle/psr7/zipball/31382fef2889136415751badebbd1cb022a4ed72",
  983 + "reference": "31382fef2889136415751badebbd1cb022a4ed72",
984 "shasum": "" 984 "shasum": ""
985 }, 985 },
986 "require": { 986 "require": {
@@ -1025,7 +1025,7 @@ @@ -1025,7 +1025,7 @@
1025 "stream", 1025 "stream",
1026 "uri" 1026 "uri"
1027 ], 1027 ],
1028 - "time": "2016-02-18 21:54:00" 1028 + "time": "2016-04-13 19:56:01"
1029 }, 1029 },
1030 { 1030 {
1031 "name": "imagine/imagine", 1031 "name": "imagine/imagine",
@@ -1085,17 +1085,61 @@ @@ -1085,17 +1085,61 @@
1085 "time": "2014-06-13 10:54:04" 1085 "time": "2014-06-13 10:54:04"
1086 }, 1086 },
1087 { 1087 {
  1088 + "name": "kartik-v/bootstrap-star-rating",
  1089 + "version": "dev-master",
  1090 + "source": {
  1091 + "type": "git",
  1092 + "url": "https://github.com/kartik-v/bootstrap-star-rating.git",
  1093 + "reference": "2443b49d33139a59e6e40aa60872bfb4fd76fa59"
  1094 + },
  1095 + "dist": {
  1096 + "type": "zip",
  1097 + "url": "https://api.github.com/repos/kartik-v/bootstrap-star-rating/zipball/2443b49d33139a59e6e40aa60872bfb4fd76fa59",
  1098 + "reference": "2443b49d33139a59e6e40aa60872bfb4fd76fa59",
  1099 + "shasum": ""
  1100 + },
  1101 + "type": "library",
  1102 + "extra": {
  1103 + "branch-alias": {
  1104 + "dev-master": "4.0.x-dev"
  1105 + }
  1106 + },
  1107 + "notification-url": "https://packagist.org/downloads/",
  1108 + "license": [
  1109 + "BSD-3-Clause"
  1110 + ],
  1111 + "authors": [
  1112 + {
  1113 + "name": "Kartik Visweswaran",
  1114 + "email": "kartikv2@gmail.com",
  1115 + "homepage": "http://www.krajee.com/"
  1116 + }
  1117 + ],
  1118 + "description": "A simple yet powerful JQuery star rating plugin for Bootstrap.",
  1119 + "homepage": "https://github.com/kartik-v/bootstrap-star-rating",
  1120 + "keywords": [
  1121 + "Rating",
  1122 + "awesome",
  1123 + "bootstrap",
  1124 + "font",
  1125 + "glyphicon",
  1126 + "star",
  1127 + "svg"
  1128 + ],
  1129 + "time": "2016-03-22 14:58:18"
  1130 + },
  1131 + {
1088 "name": "kartik-v/yii2-krajee-base", 1132 "name": "kartik-v/yii2-krajee-base",
1089 "version": "dev-master", 1133 "version": "dev-master",
1090 "source": { 1134 "source": {
1091 "type": "git", 1135 "type": "git",
1092 "url": "https://github.com/kartik-v/yii2-krajee-base.git", 1136 "url": "https://github.com/kartik-v/yii2-krajee-base.git",
1093 - "reference": "3e491e51ed742663b239cd6e0b7f76d403bed7e1" 1137 + "reference": "a46d88d937f914b71bee85d181687b8f2098e6fa"
1094 }, 1138 },
1095 "dist": { 1139 "dist": {
1096 "type": "zip", 1140 "type": "zip",
1097 - "url": "https://api.github.com/repos/kartik-v/yii2-krajee-base/zipball/3e491e51ed742663b239cd6e0b7f76d403bed7e1",  
1098 - "reference": "3e491e51ed742663b239cd6e0b7f76d403bed7e1", 1141 + "url": "https://api.github.com/repos/kartik-v/yii2-krajee-base/zipball/a46d88d937f914b71bee85d181687b8f2098e6fa",
  1142 + "reference": "a46d88d937f914b71bee85d181687b8f2098e6fa",
1099 "shasum": "" 1143 "shasum": ""
1100 }, 1144 },
1101 "require": { 1145 "require": {
@@ -1133,7 +1177,7 @@ @@ -1133,7 +1177,7 @@
1133 "widget", 1177 "widget",
1134 "yii2" 1178 "yii2"
1135 ], 1179 ],
1136 - "time": "2016-03-03 12:24:13" 1180 + "time": "2016-04-21 17:23:21"
1137 }, 1181 },
1138 { 1182 {
1139 "name": "kartik-v/yii2-widget-colorinput", 1183 "name": "kartik-v/yii2-widget-colorinput",
@@ -1141,12 +1185,12 @@ @@ -1141,12 +1185,12 @@
1141 "source": { 1185 "source": {
1142 "type": "git", 1186 "type": "git",
1143 "url": "https://github.com/kartik-v/yii2-widget-colorinput.git", 1187 "url": "https://github.com/kartik-v/yii2-widget-colorinput.git",
1144 - "reference": "18537fcdab0f5491d5eebff8e2464ef6a616ee4c" 1188 + "reference": "1a10c5e9a528270e22dc8a5eba404c72f417665a"
1145 }, 1189 },
1146 "dist": { 1190 "dist": {
1147 "type": "zip", 1191 "type": "zip",
1148 - "url": "https://api.github.com/repos/kartik-v/yii2-widget-colorinput/zipball/18537fcdab0f5491d5eebff8e2464ef6a616ee4c",  
1149 - "reference": "18537fcdab0f5491d5eebff8e2464ef6a616ee4c", 1192 + "url": "https://api.github.com/repos/kartik-v/yii2-widget-colorinput/zipball/1a10c5e9a528270e22dc8a5eba404c72f417665a",
  1193 + "reference": "1a10c5e9a528270e22dc8a5eba404c72f417665a",
1150 "shasum": "" 1194 "shasum": ""
1151 }, 1195 },
1152 "require": { 1196 "require": {
@@ -1187,7 +1231,63 @@ @@ -1187,7 +1231,63 @@
1187 "widget", 1231 "widget",
1188 "yii2" 1232 "yii2"
1189 ], 1233 ],
1190 - "time": "2016-02-02 14:28:12" 1234 + "time": "2016-04-07 11:58:28"
  1235 + },
  1236 + {
  1237 + "name": "kartik-v/yii2-widget-rating",
  1238 + "version": "dev-master",
  1239 + "source": {
  1240 + "type": "git",
  1241 + "url": "https://github.com/kartik-v/yii2-widget-rating.git",
  1242 + "reference": "69b192bc2b26a435618e17eed7c56294ef805fab"
  1243 + },
  1244 + "dist": {
  1245 + "type": "zip",
  1246 + "url": "https://api.github.com/repos/kartik-v/yii2-widget-rating/zipball/69b192bc2b26a435618e17eed7c56294ef805fab",
  1247 + "reference": "69b192bc2b26a435618e17eed7c56294ef805fab",
  1248 + "shasum": ""
  1249 + },
  1250 + "require": {
  1251 + "kartik-v/bootstrap-star-rating": "*",
  1252 + "kartik-v/yii2-krajee-base": "*"
  1253 + },
  1254 + "type": "yii2-extension",
  1255 + "extra": {
  1256 + "branch-alias": {
  1257 + "dev-master": "1.0.x-dev"
  1258 + }
  1259 + },
  1260 + "autoload": {
  1261 + "psr-4": {
  1262 + "kartik\\rating\\": ""
  1263 + }
  1264 + },
  1265 + "notification-url": "https://packagist.org/downloads/",
  1266 + "license": [
  1267 + "BSD 3-Clause"
  1268 + ],
  1269 + "authors": [
  1270 + {
  1271 + "name": "Kartik Visweswaran",
  1272 + "email": "kartikv2@gmail.com",
  1273 + "homepage": "http://www.krajee.com/"
  1274 + }
  1275 + ],
  1276 + "description": "A Yii2 widget for the simple yet powerful bootstrap-star-rating plugin with fractional rating support (sub repo split from yii2-widgets)",
  1277 + "homepage": "https://github.com/kartik-v/yii2-widget-rating",
  1278 + "keywords": [
  1279 + "Rating",
  1280 + "bootstrap",
  1281 + "extension",
  1282 + "form",
  1283 + "input",
  1284 + "jquery",
  1285 + "plugin",
  1286 + "star",
  1287 + "widget",
  1288 + "yii2"
  1289 + ],
  1290 + "time": "2016-02-17 19:13:26"
1191 }, 1291 },
1192 { 1292 {
1193 "name": "kartik-v/yii2-widget-select2", 1293 "name": "kartik-v/yii2-widget-select2",
@@ -1195,12 +1295,12 @@ @@ -1195,12 +1295,12 @@
1195 "source": { 1295 "source": {
1196 "type": "git", 1296 "type": "git",
1197 "url": "https://github.com/kartik-v/yii2-widget-select2.git", 1297 "url": "https://github.com/kartik-v/yii2-widget-select2.git",
1198 - "reference": "cb2a5992cb96bd2939e30ec1c76eba418d6a30af" 1298 + "reference": "6919d5096ca83ab4a1b163fcd09fb023814d1003"
1199 }, 1299 },
1200 "dist": { 1300 "dist": {
1201 "type": "zip", 1301 "type": "zip",
1202 - "url": "https://api.github.com/repos/kartik-v/yii2-widget-select2/zipball/cb2a5992cb96bd2939e30ec1c76eba418d6a30af",  
1203 - "reference": "cb2a5992cb96bd2939e30ec1c76eba418d6a30af", 1302 + "url": "https://api.github.com/repos/kartik-v/yii2-widget-select2/zipball/6919d5096ca83ab4a1b163fcd09fb023814d1003",
  1303 + "reference": "6919d5096ca83ab4a1b163fcd09fb023814d1003",
1204 "shasum": "" 1304 "shasum": ""
1205 }, 1305 },
1206 "require": { 1306 "require": {
@@ -1240,7 +1340,7 @@ @@ -1240,7 +1340,7 @@
1240 "widget", 1340 "widget",
1241 "yii2" 1341 "yii2"
1242 ], 1342 ],
1243 - "time": "2016-03-10 11:33:59" 1343 + "time": "2016-04-19 13:22:56"
1244 }, 1344 },
1245 { 1345 {
1246 "name": "lusitanian/oauth", 1346 "name": "lusitanian/oauth",
@@ -1663,12 +1763,12 @@ @@ -1663,12 +1763,12 @@
1663 "source": { 1763 "source": {
1664 "type": "git", 1764 "type": "git",
1665 "url": "https://github.com/sebastianbergmann/php-code-coverage.git", 1765 "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
1666 - "reference": "9b2a050b8ee982bf4132fa5c8b381f33c7416f2b" 1766 + "reference": "6d3b505cb3a6143adcd58375870eb0b4b98636bc"
1667 }, 1767 },
1668 "dist": { 1768 "dist": {
1669 "type": "zip", 1769 "type": "zip",
1670 - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/9b2a050b8ee982bf4132fa5c8b381f33c7416f2b",  
1671 - "reference": "9b2a050b8ee982bf4132fa5c8b381f33c7416f2b", 1770 + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/6d3b505cb3a6143adcd58375870eb0b4b98636bc",
  1771 + "reference": "6d3b505cb3a6143adcd58375870eb0b4b98636bc",
1672 "shasum": "" 1772 "shasum": ""
1673 }, 1773 },
1674 "require": { 1774 "require": {
@@ -1682,17 +1782,17 @@ @@ -1682,17 +1782,17 @@
1682 }, 1782 },
1683 "require-dev": { 1783 "require-dev": {
1684 "ext-xdebug": ">=2.1.4", 1784 "ext-xdebug": ">=2.1.4",
1685 - "phpunit/phpunit": "~5" 1785 + "phpunit/phpunit": "^5.4"
1686 }, 1786 },
1687 "suggest": { 1787 "suggest": {
1688 "ext-dom": "*", 1788 "ext-dom": "*",
1689 - "ext-xdebug": ">=2.2.1", 1789 + "ext-xdebug": ">=2.4.0",
1690 "ext-xmlwriter": "*" 1790 "ext-xmlwriter": "*"
1691 }, 1791 },
1692 "type": "library", 1792 "type": "library",
1693 "extra": { 1793 "extra": {
1694 "branch-alias": { 1794 "branch-alias": {
1695 - "dev-master": "3.3.x-dev" 1795 + "dev-master": "4.0.x-dev"
1696 } 1796 }
1697 }, 1797 },
1698 "autoload": { 1798 "autoload": {
@@ -1718,7 +1818,7 @@ @@ -1718,7 +1818,7 @@
1718 "testing", 1818 "testing",
1719 "xunit" 1819 "xunit"
1720 ], 1820 ],
1721 - "time": "2016-03-09 13:32:21" 1821 + "time": "2016-04-21 05:23:34"
1722 }, 1822 },
1723 { 1823 {
1724 "name": "phpunit/php-file-iterator", 1824 "name": "phpunit/php-file-iterator",
@@ -1904,12 +2004,12 @@ @@ -1904,12 +2004,12 @@
1904 "source": { 2004 "source": {
1905 "type": "git", 2005 "type": "git",
1906 "url": "https://github.com/sebastianbergmann/phpunit.git", 2006 "url": "https://github.com/sebastianbergmann/phpunit.git",
1907 - "reference": "1206dd340c6f02b1322025bfaa2a3c2b244e874f" 2007 + "reference": "9b5b99b3da70e3eea5294712bc5843910ad2bad6"
1908 }, 2008 },
1909 "dist": { 2009 "dist": {
1910 "type": "zip", 2010 "type": "zip",
1911 - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/beb7683ca88fd9901dccf296806d1e484bd00d11",  
1912 - "reference": "1206dd340c6f02b1322025bfaa2a3c2b244e874f", 2011 + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/9b5b99b3da70e3eea5294712bc5843910ad2bad6",
  2012 + "reference": "9b5b99b3da70e3eea5294712bc5843910ad2bad6",
1913 "shasum": "" 2013 "shasum": ""
1914 }, 2014 },
1915 "require": { 2015 "require": {
@@ -1921,11 +2021,11 @@ @@ -1921,11 +2021,11 @@
1921 "myclabs/deep-copy": "~1.3", 2021 "myclabs/deep-copy": "~1.3",
1922 "php": "^5.6 || ^7.0", 2022 "php": "^5.6 || ^7.0",
1923 "phpspec/prophecy": "^1.3.1", 2023 "phpspec/prophecy": "^1.3.1",
1924 - "phpunit/php-code-coverage": "^3.3.0", 2024 + "phpunit/php-code-coverage": "^4.0",
1925 "phpunit/php-file-iterator": "~1.4", 2025 "phpunit/php-file-iterator": "~1.4",
1926 "phpunit/php-text-template": "~1.2", 2026 "phpunit/php-text-template": "~1.2",
1927 "phpunit/php-timer": "^1.0.6", 2027 "phpunit/php-timer": "^1.0.6",
1928 - "phpunit/phpunit-mock-objects": "^3.1", 2028 + "phpunit/phpunit-mock-objects": "^3.2",
1929 "sebastian/comparator": "~1.1", 2029 "sebastian/comparator": "~1.1",
1930 "sebastian/diff": "~1.2", 2030 "sebastian/diff": "~1.2",
1931 "sebastian/environment": "~1.3", 2031 "sebastian/environment": "~1.3",
@@ -1971,7 +2071,7 @@ @@ -1971,7 +2071,7 @@
1971 "testing", 2071 "testing",
1972 "xunit" 2072 "xunit"
1973 ], 2073 ],
1974 - "time": "2016-04-04 14:34:35" 2074 + "time": "2016-04-19 17:48:13"
1975 }, 2075 },
1976 { 2076 {
1977 "name": "phpunit/phpunit-mock-objects", 2077 "name": "phpunit/phpunit-mock-objects",
@@ -1979,12 +2079,12 @@ @@ -1979,12 +2079,12 @@
1979 "source": { 2079 "source": {
1980 "type": "git", 2080 "type": "git",
1981 "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git", 2081 "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
1982 - "reference": "7b18bbdad9880e09740959e90eec4b91c35a4aa9" 2082 + "reference": "5d8c2a839d2c77757b7499eb135f34f9f5f07e6f"
1983 }, 2083 },
1984 "dist": { 2084 "dist": {
1985 "type": "zip", 2085 "type": "zip",
1986 - "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/7b18bbdad9880e09740959e90eec4b91c35a4aa9",  
1987 - "reference": "7b18bbdad9880e09740959e90eec4b91c35a4aa9", 2086 + "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/5d8c2a839d2c77757b7499eb135f34f9f5f07e6f",
  2087 + "reference": "5d8c2a839d2c77757b7499eb135f34f9f5f07e6f",
1988 "shasum": "" 2088 "shasum": ""
1989 }, 2089 },
1990 "require": { 2090 "require": {
@@ -1994,7 +2094,7 @@ @@ -1994,7 +2094,7 @@
1994 "sebastian/exporter": "~1.2" 2094 "sebastian/exporter": "~1.2"
1995 }, 2095 },
1996 "require-dev": { 2096 "require-dev": {
1997 - "phpunit/phpunit": "~5" 2097 + "phpunit/phpunit": "^5.4"
1998 }, 2098 },
1999 "suggest": { 2099 "suggest": {
2000 "ext-soap": "*" 2100 "ext-soap": "*"
@@ -2002,7 +2102,7 @@ @@ -2002,7 +2102,7 @@
2002 "type": "library", 2102 "type": "library",
2003 "extra": { 2103 "extra": {
2004 "branch-alias": { 2104 "branch-alias": {
2005 - "dev-master": "3.1.x-dev" 2105 + "dev-master": "3.2.x-dev"
2006 } 2106 }
2007 }, 2107 },
2008 "autoload": { 2108 "autoload": {
@@ -2027,7 +2127,7 @@ @@ -2027,7 +2127,7 @@
2027 "mock", 2127 "mock",
2028 "xunit" 2128 "xunit"
2029 ], 2129 ],
2030 - "time": "2016-03-24 06:24:17" 2130 + "time": "2016-04-20 14:39:30"
2031 }, 2131 },
2032 { 2132 {
2033 "name": "psr/http-message", 2133 "name": "psr/http-message",
@@ -2131,20 +2231,20 @@ @@ -2131,20 +2231,20 @@
2131 }, 2231 },
2132 { 2232 {
2133 "name": "rmrevin/yii2-fontawesome", 2233 "name": "rmrevin/yii2-fontawesome",
2134 - "version": "2.13.0", 2234 + "version": "2.14.0",
2135 "source": { 2235 "source": {
2136 "type": "git", 2236 "type": "git",
2137 "url": "https://github.com/rmrevin/yii2-fontawesome.git", 2237 "url": "https://github.com/rmrevin/yii2-fontawesome.git",
2138 - "reference": "2efbfacb22be59f373d11a7e3dfa9213e2ba18a9" 2238 + "reference": "baac28412963974940cbfb6b83940b3aa179b0ee"
2139 }, 2239 },
2140 "dist": { 2240 "dist": {
2141 "type": "zip", 2241 "type": "zip",
2142 - "url": "https://api.github.com/repos/rmrevin/yii2-fontawesome/zipball/2efbfacb22be59f373d11a7e3dfa9213e2ba18a9",  
2143 - "reference": "2efbfacb22be59f373d11a7e3dfa9213e2ba18a9", 2242 + "url": "https://api.github.com/repos/rmrevin/yii2-fontawesome/zipball/baac28412963974940cbfb6b83940b3aa179b0ee",
  2243 + "reference": "baac28412963974940cbfb6b83940b3aa179b0ee",
2144 "shasum": "" 2244 "shasum": ""
2145 }, 2245 },
2146 "require": { 2246 "require": {
2147 - "bower-asset/fontawesome": "4.5.*", 2247 + "bower-asset/fontawesome": "4.6.*",
2148 "php": ">=5.4.0", 2248 "php": ">=5.4.0",
2149 "yiisoft/yii2": "2.0.*" 2249 "yiisoft/yii2": "2.0.*"
2150 }, 2250 },
@@ -2179,7 +2279,7 @@ @@ -2179,7 +2279,7 @@
2179 "font", 2279 "font",
2180 "yii" 2280 "yii"
2181 ], 2281 ],
2182 - "time": "2015-11-26 15:24:53" 2282 + "time": "2016-04-21 11:55:25"
2183 }, 2283 },
2184 { 2284 {
2185 "name": "sebastian/code-unit-reverse-lookup", 2285 "name": "sebastian/code-unit-reverse-lookup",
@@ -2810,12 +2910,12 @@ @@ -2810,12 +2910,12 @@
2810 "source": { 2910 "source": {
2811 "type": "git", 2911 "type": "git",
2812 "url": "https://github.com/symfony/console.git", 2912 "url": "https://github.com/symfony/console.git",
2813 - "reference": "6b1175135bc2a74c08a28d89761272de8beed8cd" 2913 + "reference": "8e6292db6e77aa7fec40aaf12ae4bdee6b5b8007"
2814 }, 2914 },
2815 "dist": { 2915 "dist": {
2816 "type": "zip", 2916 "type": "zip",
2817 - "url": "https://api.github.com/repos/symfony/console/zipball/6b1175135bc2a74c08a28d89761272de8beed8cd",  
2818 - "reference": "6b1175135bc2a74c08a28d89761272de8beed8cd", 2917 + "url": "https://api.github.com/repos/symfony/console/zipball/8e6292db6e77aa7fec40aaf12ae4bdee6b5b8007",
  2918 + "reference": "8e6292db6e77aa7fec40aaf12ae4bdee6b5b8007",
2819 "shasum": "" 2919 "shasum": ""
2820 }, 2920 },
2821 "require": { 2921 "require": {
@@ -2862,7 +2962,7 @@ @@ -2862,7 +2962,7 @@
2862 ], 2962 ],
2863 "description": "Symfony Console Component", 2963 "description": "Symfony Console Component",
2864 "homepage": "https://symfony.com", 2964 "homepage": "https://symfony.com",
2865 - "time": "2016-03-16 17:00:50" 2965 + "time": "2016-04-20 18:53:54"
2866 }, 2966 },
2867 { 2967 {
2868 "name": "symfony/css-selector", 2968 "name": "symfony/css-selector",
@@ -2923,12 +3023,12 @@ @@ -2923,12 +3023,12 @@
2923 "source": { 3023 "source": {
2924 "type": "git", 3024 "type": "git",
2925 "url": "https://github.com/symfony/dom-crawler.git", 3025 "url": "https://github.com/symfony/dom-crawler.git",
2926 - "reference": "18a06d7a9af41718c20764a674a0ebba3bc40d1f" 3026 + "reference": "49b588841225b205700e5122fa01911cabada857"
2927 }, 3027 },
2928 "dist": { 3028 "dist": {
2929 "type": "zip", 3029 "type": "zip",
2930 - "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/18a06d7a9af41718c20764a674a0ebba3bc40d1f",  
2931 - "reference": "18a06d7a9af41718c20764a674a0ebba3bc40d1f", 3030 + "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/49b588841225b205700e5122fa01911cabada857",
  3031 + "reference": "49b588841225b205700e5122fa01911cabada857",
2932 "shasum": "" 3032 "shasum": ""
2933 }, 3033 },
2934 "require": { 3034 "require": {
@@ -2971,7 +3071,7 @@ @@ -2971,7 +3071,7 @@
2971 ], 3071 ],
2972 "description": "Symfony DomCrawler Component", 3072 "description": "Symfony DomCrawler Component",
2973 "homepage": "https://symfony.com", 3073 "homepage": "https://symfony.com",
2974 - "time": "2016-03-23 13:23:25" 3074 + "time": "2016-04-12 18:09:53"
2975 }, 3075 },
2976 { 3076 {
2977 "name": "symfony/event-dispatcher", 3077 "name": "symfony/event-dispatcher",
@@ -2979,12 +3079,12 @@ @@ -2979,12 +3079,12 @@
2979 "source": { 3079 "source": {
2980 "type": "git", 3080 "type": "git",
2981 "url": "https://github.com/symfony/event-dispatcher.git", 3081 "url": "https://github.com/symfony/event-dispatcher.git",
2982 - "reference": "9002dcf018d884d294b1ef20a6f968efc1128f39" 3082 + "reference": "17b04e6b1ede45b57d3ad5146abe50df6c3968b4"
2983 }, 3083 },
2984 "dist": { 3084 "dist": {
2985 "type": "zip", 3085 "type": "zip",
2986 - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/9002dcf018d884d294b1ef20a6f968efc1128f39",  
2987 - "reference": "9002dcf018d884d294b1ef20a6f968efc1128f39", 3086 + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/17b04e6b1ede45b57d3ad5146abe50df6c3968b4",
  3087 + "reference": "17b04e6b1ede45b57d3ad5146abe50df6c3968b4",
2988 "shasum": "" 3088 "shasum": ""
2989 }, 3089 },
2990 "require": { 3090 "require": {
@@ -3031,7 +3131,7 @@ @@ -3031,7 +3131,7 @@
3031 ], 3131 ],
3032 "description": "Symfony EventDispatcher Component", 3132 "description": "Symfony EventDispatcher Component",
3033 "homepage": "https://symfony.com", 3133 "homepage": "https://symfony.com",
3034 - "time": "2016-03-10 10:34:12" 3134 + "time": "2016-04-12 18:09:53"
3035 }, 3135 },
3036 { 3136 {
3037 "name": "symfony/finder", 3137 "name": "symfony/finder",
@@ -3088,12 +3188,12 @@ @@ -3088,12 +3188,12 @@
3088 "source": { 3188 "source": {
3089 "type": "git", 3189 "type": "git",
3090 "url": "https://github.com/symfony/polyfill-mbstring.git", 3190 "url": "https://github.com/symfony/polyfill-mbstring.git",
3091 - "reference": "1289d16209491b584839022f29257ad859b8532d" 3191 + "reference": "6bab34bbffa5f5ac079fdc4a68e143f158e87b7d"
3092 }, 3192 },
3093 "dist": { 3193 "dist": {
3094 "type": "zip", 3194 "type": "zip",
3095 - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/1289d16209491b584839022f29257ad859b8532d",  
3096 - "reference": "1289d16209491b584839022f29257ad859b8532d", 3195 + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6bab34bbffa5f5ac079fdc4a68e143f158e87b7d",
  3196 + "reference": "6bab34bbffa5f5ac079fdc4a68e143f158e87b7d",
3097 "shasum": "" 3197 "shasum": ""
3098 }, 3198 },
3099 "require": { 3199 "require": {
@@ -3139,7 +3239,7 @@ @@ -3139,7 +3239,7 @@
3139 "portable", 3239 "portable",
3140 "shim" 3240 "shim"
3141 ], 3241 ],
3142 - "time": "2016-01-20 09:13:37" 3242 + "time": "2016-04-15 07:04:29"
3143 }, 3243 },
3144 { 3244 {
3145 "name": "symfony/yaml", 3245 "name": "symfony/yaml",
@@ -3196,12 +3296,12 @@ @@ -3196,12 +3296,12 @@
3196 "source": { 3296 "source": {
3197 "type": "git", 3297 "type": "git",
3198 "url": "https://github.com/yiisoft/yii2-framework.git", 3298 "url": "https://github.com/yiisoft/yii2-framework.git",
3199 - "reference": "3fa8254dd475aa0979e1ab2a4a7d83aaf5acdfc8" 3299 + "reference": "10db2b4a2c361fc0e5824640f48781d24e304358"
3200 }, 3300 },
3201 "dist": { 3301 "dist": {
3202 "type": "zip", 3302 "type": "zip",
3203 - "url": "https://api.github.com/repos/yiisoft/yii2-framework/zipball/4efd28591c92be5f16d3456bbb5e1f1ea5ca96c0",  
3204 - "reference": "3fa8254dd475aa0979e1ab2a4a7d83aaf5acdfc8", 3303 + "url": "https://api.github.com/repos/yiisoft/yii2-framework/zipball/10db2b4a2c361fc0e5824640f48781d24e304358",
  3304 + "reference": "10db2b4a2c361fc0e5824640f48781d24e304358",
3205 "shasum": "" 3305 "shasum": ""
3206 }, 3306 },
3207 "require": { 3307 "require": {
@@ -3282,7 +3382,7 @@ @@ -3282,7 +3382,7 @@
3282 "framework", 3382 "framework",
3283 "yii2" 3383 "yii2"
3284 ], 3384 ],
3285 - "time": "2016-04-05 09:54:22" 3385 + "time": "2016-04-21 20:58:36"
3286 }, 3386 },
3287 { 3387 {
3288 "name": "yiisoft/yii2-bootstrap", 3388 "name": "yiisoft/yii2-bootstrap",
@@ -3290,12 +3390,12 @@ @@ -3290,12 +3390,12 @@
3290 "source": { 3390 "source": {
3291 "type": "git", 3391 "type": "git",
3292 "url": "https://github.com/yiisoft/yii2-bootstrap.git", 3392 "url": "https://github.com/yiisoft/yii2-bootstrap.git",
3293 - "reference": "4dd9f52e2a376a875d998de6ab4c381291b0c69e" 3393 + "reference": "61ff14445779b225baa8e60cf4eddbc46cc14504"
3294 }, 3394 },
3295 "dist": { 3395 "dist": {
3296 "type": "zip", 3396 "type": "zip",
3297 - "url": "https://api.github.com/repos/yiisoft/yii2-bootstrap/zipball/4dd9f52e2a376a875d998de6ab4c381291b0c69e",  
3298 - "reference": "4dd9f52e2a376a875d998de6ab4c381291b0c69e", 3397 + "url": "https://api.github.com/repos/yiisoft/yii2-bootstrap/zipball/61ff14445779b225baa8e60cf4eddbc46cc14504",
  3398 + "reference": "61ff14445779b225baa8e60cf4eddbc46cc14504",
3299 "shasum": "" 3399 "shasum": ""
3300 }, 3400 },
3301 "require": { 3401 "require": {
@@ -3332,7 +3432,7 @@ @@ -3332,7 +3432,7 @@
3332 "bootstrap", 3432 "bootstrap",
3333 "yii2" 3433 "yii2"
3334 ], 3434 ],
3335 - "time": "2016-03-30 22:44:25" 3435 + "time": "2016-04-18 20:34:24"
3336 }, 3436 },
3337 { 3437 {
3338 "name": "yiisoft/yii2-codeception", 3438 "name": "yiisoft/yii2-codeception",
@@ -3340,12 +3440,12 @@ @@ -3340,12 +3440,12 @@
3340 "source": { 3440 "source": {
3341 "type": "git", 3441 "type": "git",
3342 "url": "https://github.com/yiisoft/yii2-codeception.git", 3442 "url": "https://github.com/yiisoft/yii2-codeception.git",
3343 - "reference": "e01b3c46917b3f00c42f6a4aabf612cc36d792e6" 3443 + "reference": "572a6d46d942cc5733c45931fdbd1d60228f3c89"
3344 }, 3444 },
3345 "dist": { 3445 "dist": {
3346 "type": "zip", 3446 "type": "zip",
3347 - "url": "https://api.github.com/repos/yiisoft/yii2-codeception/zipball/e01b3c46917b3f00c42f6a4aabf612cc36d792e6",  
3348 - "reference": "e01b3c46917b3f00c42f6a4aabf612cc36d792e6", 3447 + "url": "https://api.github.com/repos/yiisoft/yii2-codeception/zipball/572a6d46d942cc5733c45931fdbd1d60228f3c89",
  3448 + "reference": "572a6d46d942cc5733c45931fdbd1d60228f3c89",
3349 "shasum": "" 3449 "shasum": ""
3350 }, 3450 },
3351 "require": { 3451 "require": {
@@ -3377,7 +3477,7 @@ @@ -3377,7 +3477,7 @@
3377 "codeception", 3477 "codeception",
3378 "yii2" 3478 "yii2"
3379 ], 3479 ],
3380 - "time": "2016-03-21 19:11:26" 3480 + "time": "2016-04-14 08:46:27"
3381 }, 3481 },
3382 { 3482 {
3383 "name": "yiisoft/yii2-composer", 3483 "name": "yiisoft/yii2-composer",
@@ -3385,12 +3485,12 @@ @@ -3385,12 +3485,12 @@
3385 "source": { 3485 "source": {
3386 "type": "git", 3486 "type": "git",
3387 "url": "https://github.com/yiisoft/yii2-composer.git", 3487 "url": "https://github.com/yiisoft/yii2-composer.git",
3388 - "reference": "348122de0b2c2e343b579f93fcda1da78cab4912" 3488 + "reference": "f5fe6ba58dbc92b37daed5d9bd94cda777852ee4"
3389 }, 3489 },
3390 "dist": { 3490 "dist": {
3391 "type": "zip", 3491 "type": "zip",
3392 - "url": "https://api.github.com/repos/yiisoft/yii2-composer/zipball/348122de0b2c2e343b579f93fcda1da78cab4912",  
3393 - "reference": "348122de0b2c2e343b579f93fcda1da78cab4912", 3492 + "url": "https://api.github.com/repos/yiisoft/yii2-composer/zipball/f5fe6ba58dbc92b37daed5d9bd94cda777852ee4",
  3493 + "reference": "f5fe6ba58dbc92b37daed5d9bd94cda777852ee4",
3394 "shasum": "" 3494 "shasum": ""
3395 }, 3495 },
3396 "require": { 3496 "require": {
@@ -3424,7 +3524,7 @@ @@ -3424,7 +3524,7 @@
3424 "extension installer", 3524 "extension installer",
3425 "yii2" 3525 "yii2"
3426 ], 3526 ],
3427 - "time": "2016-03-21 19:11:44" 3527 + "time": "2016-04-14 08:46:37"
3428 }, 3528 },
3429 { 3529 {
3430 "name": "yiisoft/yii2-imagine", 3530 "name": "yiisoft/yii2-imagine",
@@ -3432,12 +3532,12 @@ @@ -3432,12 +3532,12 @@
3432 "source": { 3532 "source": {
3433 "type": "git", 3533 "type": "git",
3434 "url": "https://github.com/yiisoft/yii2-imagine.git", 3534 "url": "https://github.com/yiisoft/yii2-imagine.git",
3435 - "reference": "a6c34ef6b69fb4670ba987ce4b9cfdb2131a8b99" 3535 + "reference": "3be1ecc324aa156a97f03e3fc59045c8d61be1f8"
3436 }, 3536 },
3437 "dist": { 3537 "dist": {
3438 "type": "zip", 3538 "type": "zip",
3439 - "url": "https://api.github.com/repos/yiisoft/yii2-imagine/zipball/a6c34ef6b69fb4670ba987ce4b9cfdb2131a8b99",  
3440 - "reference": "a6c34ef6b69fb4670ba987ce4b9cfdb2131a8b99", 3539 + "url": "https://api.github.com/repos/yiisoft/yii2-imagine/zipball/3be1ecc324aa156a97f03e3fc59045c8d61be1f8",
  3540 + "reference": "3be1ecc324aa156a97f03e3fc59045c8d61be1f8",
3441 "shasum": "" 3541 "shasum": ""
3442 }, 3542 },
3443 "require": { 3543 "require": {
@@ -3472,7 +3572,7 @@ @@ -3472,7 +3572,7 @@
3472 "imagine", 3572 "imagine",
3473 "yii2" 3573 "yii2"
3474 ], 3574 ],
3475 - "time": "2016-03-21 19:13:31" 3575 + "time": "2016-04-14 08:48:05"
3476 }, 3576 },
3477 { 3577 {
3478 "name": "yiisoft/yii2-jui", 3578 "name": "yiisoft/yii2-jui",
@@ -3480,12 +3580,12 @@ @@ -3480,12 +3580,12 @@
3480 "source": { 3580 "source": {
3481 "type": "git", 3581 "type": "git",
3482 "url": "https://github.com/yiisoft/yii2-jui.git", 3582 "url": "https://github.com/yiisoft/yii2-jui.git",
3483 - "reference": "69cd9763b4807dbbce367d599dc615c5b8a8ef4f" 3583 + "reference": "9ab9a2cb17cd7f13921339e11e5146295cf39083"
3484 }, 3584 },
3485 "dist": { 3585 "dist": {
3486 "type": "zip", 3586 "type": "zip",
3487 - "url": "https://api.github.com/repos/yiisoft/yii2-jui/zipball/69cd9763b4807dbbce367d599dc615c5b8a8ef4f",  
3488 - "reference": "69cd9763b4807dbbce367d599dc615c5b8a8ef4f", 3587 + "url": "https://api.github.com/repos/yiisoft/yii2-jui/zipball/9ab9a2cb17cd7f13921339e11e5146295cf39083",
  3588 + "reference": "9ab9a2cb17cd7f13921339e11e5146295cf39083",
3489 "shasum": "" 3589 "shasum": ""
3490 }, 3590 },
3491 "require": { 3591 "require": {
@@ -3522,7 +3622,7 @@ @@ -3522,7 +3622,7 @@
3522 "jQuery UI", 3622 "jQuery UI",
3523 "yii2" 3623 "yii2"
3524 ], 3624 ],
3525 - "time": "2016-03-29 21:32:13" 3625 + "time": "2016-04-14 08:48:18"
3526 }, 3626 },
3527 { 3627 {
3528 "name": "yiisoft/yii2-swiftmailer", 3628 "name": "yiisoft/yii2-swiftmailer",
@@ -3530,12 +3630,12 @@ @@ -3530,12 +3630,12 @@
3530 "source": { 3630 "source": {
3531 "type": "git", 3631 "type": "git",
3532 "url": "https://github.com/yiisoft/yii2-swiftmailer.git", 3632 "url": "https://github.com/yiisoft/yii2-swiftmailer.git",
3533 - "reference": "20775fef1047cd927908270a8d7983580304eb57" 3633 + "reference": "163b9c6273e133c43a596aef46a9f5b1537731f9"
3534 }, 3634 },
3535 "dist": { 3635 "dist": {
3536 "type": "zip", 3636 "type": "zip",
3537 - "url": "https://api.github.com/repos/yiisoft/yii2-swiftmailer/zipball/20775fef1047cd927908270a8d7983580304eb57",  
3538 - "reference": "20775fef1047cd927908270a8d7983580304eb57", 3637 + "url": "https://api.github.com/repos/yiisoft/yii2-swiftmailer/zipball/163b9c6273e133c43a596aef46a9f5b1537731f9",
  3638 + "reference": "163b9c6273e133c43a596aef46a9f5b1537731f9",
3539 "shasum": "" 3639 "shasum": ""
3540 }, 3640 },
3541 "require": { 3641 "require": {
@@ -3572,7 +3672,7 @@ @@ -3572,7 +3672,7 @@
3572 "swiftmailer", 3672 "swiftmailer",
3573 "yii2" 3673 "yii2"
3574 ], 3674 ],
3575 - "time": "2016-03-21 19:16:09" 3675 + "time": "2016-04-14 08:50:13"
3576 } 3676 }
3577 ], 3677 ],
3578 "packages-dev": [ 3678 "packages-dev": [
@@ -3609,16 +3709,16 @@ @@ -3609,16 +3709,16 @@
3609 "source": { 3709 "source": {
3610 "type": "git", 3710 "type": "git",
3611 "url": "https://github.com/fzaninotto/Faker.git", 3711 "url": "https://github.com/fzaninotto/Faker.git",
3612 - "reference": "8deb6343c80c4edf546a6fff01a2b05c7dc59ac4" 3712 + "reference": "1c33e894fbbad6cf65bd42871719cd33227ed6a7"
3613 }, 3713 },
3614 "dist": { 3714 "dist": {
3615 "type": "zip", 3715 "type": "zip",
3616 - "url": "https://api.github.com/repos/fzaninotto/Faker/zipball/8deb6343c80c4edf546a6fff01a2b05c7dc59ac4",  
3617 - "reference": "8deb6343c80c4edf546a6fff01a2b05c7dc59ac4", 3716 + "url": "https://api.github.com/repos/fzaninotto/Faker/zipball/1c33e894fbbad6cf65bd42871719cd33227ed6a7",
  3717 + "reference": "1c33e894fbbad6cf65bd42871719cd33227ed6a7",
3618 "shasum": "" 3718 "shasum": ""
3619 }, 3719 },
3620 "require": { 3720 "require": {
3621 - "php": ">=5.3.3" 3721 + "php": "^5.3.3|^7.0"
3622 }, 3722 },
3623 "require-dev": { 3723 "require-dev": {
3624 "ext-intl": "*", 3724 "ext-intl": "*",
@@ -3651,7 +3751,7 @@ @@ -3651,7 +3751,7 @@
3651 "faker", 3751 "faker",
3652 "fixtures" 3752 "fixtures"
3653 ], 3753 ],
3654 - "time": "2016-03-29 16:49:43" 3754 + "time": "2016-04-13 06:45:05"
3655 }, 3755 },
3656 { 3756 {
3657 "name": "phpspec/php-diff", 3757 "name": "phpspec/php-diff",
@@ -3659,15 +3759,20 @@ @@ -3659,15 +3759,20 @@
3659 "source": { 3759 "source": {
3660 "type": "git", 3760 "type": "git",
3661 "url": "https://github.com/phpspec/php-diff.git", 3761 "url": "https://github.com/phpspec/php-diff.git",
3662 - "reference": "30e103d19519fe678ae64a60d77884ef3d71b28a" 3762 + "reference": "0464787bfa7cd13576c5a1e318709768798bec6a"
3663 }, 3763 },
3664 "dist": { 3764 "dist": {
3665 "type": "zip", 3765 "type": "zip",
3666 - "url": "https://api.github.com/repos/phpspec/php-diff/zipball/30e103d19519fe678ae64a60d77884ef3d71b28a",  
3667 - "reference": "30e103d19519fe678ae64a60d77884ef3d71b28a", 3766 + "url": "https://api.github.com/repos/phpspec/php-diff/zipball/0464787bfa7cd13576c5a1e318709768798bec6a",
  3767 + "reference": "0464787bfa7cd13576c5a1e318709768798bec6a",
3668 "shasum": "" 3768 "shasum": ""
3669 }, 3769 },
3670 "type": "library", 3770 "type": "library",
  3771 + "extra": {
  3772 + "branch-alias": {
  3773 + "dev-master": "1.0.x-dev"
  3774 + }
  3775 + },
3671 "autoload": { 3776 "autoload": {
3672 "psr-0": { 3777 "psr-0": {
3673 "Diff": "lib/" 3778 "Diff": "lib/"
@@ -3680,12 +3785,11 @@ @@ -3680,12 +3785,11 @@
3680 "authors": [ 3785 "authors": [
3681 { 3786 {
3682 "name": "Chris Boulton", 3787 "name": "Chris Boulton",
3683 - "homepage": "http://github.com/chrisboulton",  
3684 - "role": "Original developer" 3788 + "homepage": "http://github.com/chrisboulton"
3685 } 3789 }
3686 ], 3790 ],
3687 "description": "A comprehensive library for generating differences between two hashable objects (strings or arrays).", 3791 "description": "A comprehensive library for generating differences between two hashable objects (strings or arrays).",
3688 - "time": "2013-11-01 13:02:21" 3792 + "time": "2016-04-07 12:29:16"
3689 }, 3793 },
3690 { 3794 {
3691 "name": "yiisoft/yii2-debug", 3795 "name": "yiisoft/yii2-debug",
@@ -3693,12 +3797,12 @@ @@ -3693,12 +3797,12 @@
3693 "source": { 3797 "source": {
3694 "type": "git", 3798 "type": "git",
3695 "url": "https://github.com/yiisoft/yii2-debug.git", 3799 "url": "https://github.com/yiisoft/yii2-debug.git",
3696 - "reference": "081795536b31d29106b0d1de0cb3aefa3e05e995" 3800 + "reference": "e26905af4bc1ca5ecbababac112c7f7f722cabd2"
3697 }, 3801 },
3698 "dist": { 3802 "dist": {
3699 "type": "zip", 3803 "type": "zip",
3700 - "url": "https://api.github.com/repos/yiisoft/yii2-debug/zipball/081795536b31d29106b0d1de0cb3aefa3e05e995",  
3701 - "reference": "081795536b31d29106b0d1de0cb3aefa3e05e995", 3804 + "url": "https://api.github.com/repos/yiisoft/yii2-debug/zipball/e26905af4bc1ca5ecbababac112c7f7f722cabd2",
  3805 + "reference": "e26905af4bc1ca5ecbababac112c7f7f722cabd2",
3702 "shasum": "" 3806 "shasum": ""
3703 }, 3807 },
3704 "require": { 3808 "require": {
@@ -3732,7 +3836,7 @@ @@ -3732,7 +3836,7 @@
3732 "debugger", 3836 "debugger",
3733 "yii2" 3837 "yii2"
3734 ], 3838 ],
3735 - "time": "2016-03-21 19:12:39" 3839 + "time": "2016-04-14 08:47:01"
3736 }, 3840 },
3737 { 3841 {
3738 "name": "yiisoft/yii2-faker", 3842 "name": "yiisoft/yii2-faker",
@@ -3740,12 +3844,12 @@ @@ -3740,12 +3844,12 @@
3740 "source": { 3844 "source": {
3741 "type": "git", 3845 "type": "git",
3742 "url": "https://github.com/yiisoft/yii2-faker.git", 3846 "url": "https://github.com/yiisoft/yii2-faker.git",
3743 - "reference": "a8daa97749e7154d91676405a1c59ed81e1ca999" 3847 + "reference": "6e6eb430809e3f9c05e367303909a05a4912d4c0"
3744 }, 3848 },
3745 "dist": { 3849 "dist": {
3746 "type": "zip", 3850 "type": "zip",
3747 - "url": "https://api.github.com/repos/yiisoft/yii2-faker/zipball/a8daa97749e7154d91676405a1c59ed81e1ca999",  
3748 - "reference": "a8daa97749e7154d91676405a1c59ed81e1ca999", 3851 + "url": "https://api.github.com/repos/yiisoft/yii2-faker/zipball/6e6eb430809e3f9c05e367303909a05a4912d4c0",
  3852 + "reference": "6e6eb430809e3f9c05e367303909a05a4912d4c0",
3749 "shasum": "" 3853 "shasum": ""
3750 }, 3854 },
3751 "require": { 3855 "require": {
@@ -3779,7 +3883,7 @@ @@ -3779,7 +3883,7 @@
3779 "faker", 3883 "faker",
3780 "yii2" 3884 "yii2"
3781 ], 3885 ],
3782 - "time": "2016-03-21 19:13:03" 3886 + "time": "2016-04-14 08:47:34"
3783 }, 3887 },
3784 { 3888 {
3785 "name": "yiisoft/yii2-gii", 3889 "name": "yiisoft/yii2-gii",
@@ -3787,12 +3891,12 @@ @@ -3787,12 +3891,12 @@
3787 "source": { 3891 "source": {
3788 "type": "git", 3892 "type": "git",
3789 "url": "https://github.com/yiisoft/yii2-gii.git", 3893 "url": "https://github.com/yiisoft/yii2-gii.git",
3790 - "reference": "0d93a9dbd55f2d0921b8e153554379bb213a2c7f" 3894 + "reference": "62eddfcbf377353777742b3ceaf2b75dc81178e3"
3791 }, 3895 },
3792 "dist": { 3896 "dist": {
3793 "type": "zip", 3897 "type": "zip",
3794 - "url": "https://api.github.com/repos/yiisoft/yii2-gii/zipball/0d93a9dbd55f2d0921b8e153554379bb213a2c7f",  
3795 - "reference": "0d93a9dbd55f2d0921b8e153554379bb213a2c7f", 3898 + "url": "https://api.github.com/repos/yiisoft/yii2-gii/zipball/62eddfcbf377353777742b3ceaf2b75dc81178e3",
  3899 + "reference": "62eddfcbf377353777742b3ceaf2b75dc81178e3",
3796 "shasum": "" 3900 "shasum": ""
3797 }, 3901 },
3798 "require": { 3902 "require": {
@@ -3832,7 +3936,7 @@ @@ -3832,7 +3936,7 @@
3832 "gii", 3936 "gii",
3833 "yii2" 3937 "yii2"
3834 ], 3938 ],
3835 - "time": "2016-04-05 09:53:13" 3939 + "time": "2016-04-21 13:19:47"
3836 } 3940 }
3837 ], 3941 ],
3838 "aliases": [], 3942 "aliases": [],
frontend/web/css/style.css
@@ -1085,12 +1085,6 @@ input[type=file]::-webkit-file-upload-button { @@ -1085,12 +1085,6 @@ input[type=file]::-webkit-file-upload-button {
1085 #modal_form_contacts .res_form_line { 1085 #modal_form_contacts .res_form_line {
1086 top: 411px; 1086 top: 411px;
1087 } 1087 }
1088 -/***rating***/  
1089 -.section-box-15 .rating {padding-left: 0;margin-left: -4px}  
1090 -.section-box-15 .vote-stars, .section-box-15 .vote-active {cursor: default !important}  
1091 -.section-box-15 .rating .vote-result, .section-box-15 .rating .vote-success {display: none}  
1092 -.rating{width:150px; overflow: hidden; height:16px;float:left;box-sizing: border-box;padding-left: 9px;}div.vote-wrap{overflow:hidden}div.vote-block{position:relative}div.vote-hover{float:left;cursor:default}div.vote-stars,div.vote-active{position:absolute;left:0;top:0;cursor:pointer}div.vote-result{color:#ccc;font-size:14px;margin-top:12px;padding-left:190px}div.vote-success{clear:both;color:#ccc;font-size:14px;margin:10px 0 0 10px}  
1093 -/***end-rating***/  
1094 .section-box-9 .vote-success, .section-box-9 .vote-result{display: none} 1088 .section-box-9 .vote-success, .section-box-9 .vote-result{display: none}
1095 /****pagination****/ 1089 /****pagination****/
1096 .navi-buttons-wr { 1090 .navi-buttons-wr {