Commit c42b928faedb0914955656a372eb7d303541c84e
Merge remote-tracking branch 'origin/master'
Showing
341 changed files
with
420 additions
and
230 deletions
Show diff stats
common/config/bootstrap.php
... | ... | @@ -5,4 +5,4 @@ |
5 | 5 | Yii::setAlias('console', dirname(dirname(__DIR__)) . '/console'); |
6 | 6 | Yii::setAlias('saveImageDir', '@frontend/web/images/upload/'); |
7 | 7 | Yii::setAlias('storage', dirname(dirname(__DIR__)) . '/storage'); |
8 | 8 | - Yii::setAlias('documentRoot', dirname(dirname(__DIR__))); |
9 | + Yii::setAlias('documentRoot', dirname(dirname(__DIR__))); | |
9 | 10 | \ No newline at end of file | ... | ... |
common/modules/comment/assets/CommentAsset.php
100644 → 100755
common/modules/comment/commands/RbacController.php
100644 → 100755
common/modules/comment/interfaces/CommentInterface.php
100644 → 100755
common/modules/comment/models/CommentProject.php
100644 → 100755
common/modules/comment/models/CommentProjectAnswer.php
100644 → 100755
common/modules/comment/models/CommentProjectSearch.php
100644 → 100755
common/modules/comment/rbac/ArtboxCommentCreateRule.php
100644 → 100755
common/modules/comment/rbac/ArtboxCommentDeleteOwnRule.php
100644 → 100755
common/modules/comment/rbac/ArtboxCommentDeleteRule.php
100644 → 100755
common/modules/comment/rbac/ArtboxCommentUpdateOwnRule.php
100644 → 100755
common/modules/comment/rbac/ArtboxCommentUpdateRule.php
100644 → 100755
common/modules/comment/widgets/CommentWidget.php
100644 → 100755
common/modules/comment/widgets/views/_project_comment_view.php
100644 → 100755
common/modules/comment/widgets/views/_question_comment_view.php
100644 → 100755
common/modules/comment/widgets/views/_review_comment_view.php
100644 → 100755
common/modules/comment/widgets/views/form-comment-answer.php
100644 → 100755
common/modules/comment/widgets/views/form-comment-review.php
100644 → 100755
common/modules/comment/widgets/views/form-comment.php
100644 → 100755
common/modules/comment/widgets/views/form-project-comment.php
100644 → 100755
common/modules/comment/widgets/views/list-comment-question.php
100644 → 100755
common/modules/comment/widgets/views/list-comment-review.php
100644 → 100755
common/modules/comment/widgets/views/list-comment.php
100644 → 100755
common/modules/comment/widgets/views/list-project-comment.php
100644 → 100755
common/modules/comment/widgets/views/project_comment_view.php
100644 → 100755
common/modules/file/assets/css/jquery.fileupload-noscript.css
100644 → 100755
common/modules/file/assets/css/jquery.fileupload-ui-noscript.css
100644 → 100755
common/modules/file/assets/css/jquery.fileupload-ui.css
100644 → 100755
common/modules/file/assets/css/jquery.fileupload.css
100644 → 100755
common/modules/file/assets/js/cors/jquery.postmessage-transport.js
100644 → 100755
common/modules/file/assets/js/cors/jquery.xdr-transport.js
100644 → 100755
common/modules/file/assets/js/jquery.fileupload-angular.js
100644 → 100755
common/modules/file/assets/js/jquery.fileupload-audio.js
100644 → 100755
common/modules/file/assets/js/jquery.fileupload-image.js
100644 → 100755
common/modules/file/assets/js/jquery.fileupload-jquery-ui.js
100644 → 100755
common/modules/file/assets/js/jquery.fileupload-process.js
100644 → 100755
common/modules/file/assets/js/jquery.fileupload-ui.js
100644 → 100755
common/modules/file/assets/js/jquery.fileupload-validate.js
100644 → 100755
common/modules/file/assets/js/jquery.fileupload-video.js
100644 → 100755
common/modules/file/assets/js/jquery.fileupload.js
100644 → 100755
common/modules/file/assets/js/jquery.iframe-transport.js
100644 → 100755
common/modules/file/assets/js/vendor/jquery.ui.widget.js
100644 → 100755
common/modules/file/components/UploaderComponent.php
100644 → 100755
common/modules/fileloader/assets/FileloaderAsset.php
100644 → 100755
common/modules/fileloader/behaviors/FileloaderBehavior.php
100644 → 100755
common/modules/fileloader/controllers/FileloaderController.php
100644 → 100755
common/modules/fileloader/models/FileRelation.php
100644 → 100755
common/modules/fileloader/models/Fileloader.php
100644 → 100755
common/modules/fileloader/resources/fileloader.css
100644 → 100755
common/modules/fileloader/resources/handler.js
100644 → 100755
common/modules/fileloader/resources/jquery.fileupload.js
100644 → 100755
common/modules/fileloader/resources/jquery.iframe-transport.js
100644 → 100755
common/modules/fileloader/resources/jquery.ui.widget.js
100644 → 100755
common/modules/fileloader/widgets/FileloaderWidget.php
100644 → 100755
composer.lock
... | ... | @@ -359,16 +359,16 @@ |
359 | 359 | }, |
360 | 360 | { |
361 | 361 | "name": "bower-asset/yii2-pjax", |
362 | - "version": "dev-master", | |
362 | + "version": "v2.0.6", | |
363 | 363 | "source": { |
364 | 364 | "type": "git", |
365 | 365 | "url": "https://github.com/yiisoft/jquery-pjax.git", |
366 | - "reference": "3bceef03fa80ceee8da5854fa3249df1afc871cd" | |
366 | + "reference": "60728da6ade5879e807a49ce59ef9a72039b8978" | |
367 | 367 | }, |
368 | 368 | "dist": { |
369 | 369 | "type": "zip", |
370 | - "url": "https://api.github.com/repos/yiisoft/jquery-pjax/zipball/3bceef03fa80ceee8da5854fa3249df1afc871cd", | |
371 | - "reference": "3bceef03fa80ceee8da5854fa3249df1afc871cd", | |
370 | + "url": "https://api.github.com/repos/yiisoft/jquery-pjax/zipball/60728da6ade5879e807a49ce59ef9a72039b8978", | |
371 | + "reference": "60728da6ade5879e807a49ce59ef9a72039b8978", | |
372 | 372 | "shasum": "" |
373 | 373 | }, |
374 | 374 | "require": { |
... | ... | @@ -385,15 +385,11 @@ |
385 | 385 | "vendor/", |
386 | 386 | "script/", |
387 | 387 | "test/" |
388 | - ], | |
389 | - "branch-alias": { | |
390 | - "dev-master": "2.0.3-dev" | |
391 | - } | |
388 | + ] | |
392 | 389 | }, |
393 | 390 | "license": [ |
394 | 391 | "MIT" |
395 | - ], | |
396 | - "time": "2015-12-31 08:33:51" | |
392 | + ] | |
397 | 393 | }, |
398 | 394 | { |
399 | 395 | "name": "cebe/markdown", |
... | ... | @@ -504,12 +500,12 @@ |
504 | 500 | "source": { |
505 | 501 | "type": "git", |
506 | 502 | "url": "https://github.com/Codeception/Codeception.git", |
507 | - "reference": "c5bcdcb32ec7031c9aa1a36058e5cddbb53ce2b2" | |
503 | + "reference": "ad6f975429a6742f1dc0f4a7aa22bfe2ceb750e2" | |
508 | 504 | }, |
509 | 505 | "dist": { |
510 | 506 | "type": "zip", |
511 | - "url": "https://api.github.com/repos/Codeception/Codeception/zipball/c5bcdcb32ec7031c9aa1a36058e5cddbb53ce2b2", | |
512 | - "reference": "c5bcdcb32ec7031c9aa1a36058e5cddbb53ce2b2", | |
507 | + "url": "https://api.github.com/repos/Codeception/Codeception/zipball/ad6f975429a6742f1dc0f4a7aa22bfe2ceb750e2", | |
508 | + "reference": "ad6f975429a6742f1dc0f4a7aa22bfe2ceb750e2", | |
513 | 509 | "shasum": "" |
514 | 510 | }, |
515 | 511 | "require": { |
... | ... | @@ -520,20 +516,18 @@ |
520 | 516 | "guzzlehttp/guzzle": ">=4.1.4 <7.0", |
521 | 517 | "guzzlehttp/psr7": "~1.0", |
522 | 518 | "php": ">=5.4.0 <8.0", |
523 | - "phpunit/php-code-coverage": ">=2.1.3", | |
519 | + "phpunit/php-code-coverage": ">=2.1.3 <4.0", | |
524 | 520 | "phpunit/phpunit": ">4.8.20 <6.0", |
525 | - "predis/predis": "^1.0", | |
526 | - "symfony/browser-kit": ">=2.7 <3.1", | |
527 | - "symfony/console": ">=2.7 <3.1", | |
528 | - "symfony/css-selector": ">=2.7 <3.1", | |
529 | - "symfony/dom-crawler": ">=2.7 <3.1", | |
530 | - "symfony/event-dispatcher": ">=2.7 <3.1", | |
531 | - "symfony/finder": ">=2.7 <3.1", | |
532 | - "symfony/yaml": ">=2.7 <3.1" | |
521 | + "symfony/browser-kit": ">=2.7 <3.2", | |
522 | + "symfony/console": ">=2.7 <3.2", | |
523 | + "symfony/css-selector": ">=2.7 <3.2", | |
524 | + "symfony/dom-crawler": ">=2.7 <3.2", | |
525 | + "symfony/event-dispatcher": ">=2.7 <3.2", | |
526 | + "symfony/finder": ">=2.7 <3.2", | |
527 | + "symfony/yaml": ">=2.7 <3.2" | |
533 | 528 | }, |
534 | 529 | "require-dev": { |
535 | 530 | "codeception/specify": "~0.3", |
536 | - "ext-mongodb": "*", | |
537 | 531 | "facebook/php-sdk-v4": "~5.0", |
538 | 532 | "flow/jsonpath": "~0.2", |
539 | 533 | "league/factory-muffin": "^3.0", |
... | ... | @@ -541,7 +535,9 @@ |
541 | 535 | "mongodb/mongodb": "^1.0", |
542 | 536 | "monolog/monolog": "~1.8", |
543 | 537 | "pda/pheanstalk": "~3.0", |
544 | - "php-amqplib/php-amqplib": "~2.4" | |
538 | + "php-amqplib/php-amqplib": "~2.4", | |
539 | + "predis/predis": "^1.0", | |
540 | + "squizlabs/php_codesniffer": "~2.0" | |
545 | 541 | }, |
546 | 542 | "suggest": { |
547 | 543 | "codeception/specify": "BDD-style code blocks", |
... | ... | @@ -585,7 +581,7 @@ |
585 | 581 | "functional testing", |
586 | 582 | "unit testing" |
587 | 583 | ], |
588 | - "time": "2016-05-30 00:01:09" | |
584 | + "time": "2016-06-05 23:39:50" | |
589 | 585 | }, |
590 | 586 | { |
591 | 587 | "name": "developeruz/yii2-db-rbac", |
... | ... | @@ -593,12 +589,12 @@ |
593 | 589 | "source": { |
594 | 590 | "type": "git", |
595 | 591 | "url": "https://github.com/developeruz/yii2-db-rbac.git", |
596 | - "reference": "28c1b0ebcc45b6365af6f1e9949b4d9cfeaebf1b" | |
592 | + "reference": "1d6ba7a2f41fd9abcd2f529d53841dd2385a81be" | |
597 | 593 | }, |
598 | 594 | "dist": { |
599 | 595 | "type": "zip", |
600 | - "url": "https://api.github.com/repos/developeruz/yii2-db-rbac/zipball/28c1b0ebcc45b6365af6f1e9949b4d9cfeaebf1b", | |
601 | - "reference": "28c1b0ebcc45b6365af6f1e9949b4d9cfeaebf1b", | |
596 | + "url": "https://api.github.com/repos/developeruz/yii2-db-rbac/zipball/1d6ba7a2f41fd9abcd2f529d53841dd2385a81be", | |
597 | + "reference": "1d6ba7a2f41fd9abcd2f529d53841dd2385a81be", | |
602 | 598 | "shasum": "" |
603 | 599 | }, |
604 | 600 | "require": { |
... | ... | @@ -626,20 +622,20 @@ |
626 | 622 | "rbac", |
627 | 623 | "yii" |
628 | 624 | ], |
629 | - "time": "2015-10-03 05:56:47" | |
625 | + "time": "2016-06-04 18:07:38" | |
630 | 626 | }, |
631 | 627 | { |
632 | 628 | "name": "dmstr/yii2-adminlte-asset", |
633 | - "version": "2.3.0", | |
629 | + "version": "2.3.1", | |
634 | 630 | "source": { |
635 | 631 | "type": "git", |
636 | 632 | "url": "https://github.com/dmstr/yii2-adminlte-asset.git", |
637 | - "reference": "73eca05cf04d70f169a88b430d2c03c3b54d623a" | |
633 | + "reference": "e9e5a843e47f47af61146524af99c0e98d8f5f90" | |
638 | 634 | }, |
639 | 635 | "dist": { |
640 | 636 | "type": "zip", |
641 | - "url": "https://api.github.com/repos/dmstr/yii2-adminlte-asset/zipball/73eca05cf04d70f169a88b430d2c03c3b54d623a", | |
642 | - "reference": "73eca05cf04d70f169a88b430d2c03c3b54d623a", | |
637 | + "url": "https://api.github.com/repos/dmstr/yii2-adminlte-asset/zipball/e9e5a843e47f47af61146524af99c0e98d8f5f90", | |
638 | + "reference": "e9e5a843e47f47af61146524af99c0e98d8f5f90", | |
643 | 639 | "shasum": "" |
644 | 640 | }, |
645 | 641 | "require": { |
... | ... | @@ -680,7 +676,7 @@ |
680 | 676 | "extension", |
681 | 677 | "yii2" |
682 | 678 | ], |
683 | - "time": "2016-03-23 04:18:15" | |
679 | + "time": "2016-05-31 15:42:01" | |
684 | 680 | }, |
685 | 681 | { |
686 | 682 | "name": "doctrine/instantiator", |
... | ... | @@ -829,12 +825,12 @@ |
829 | 825 | "source": { |
830 | 826 | "type": "git", |
831 | 827 | "url": "https://github.com/guzzle/guzzle.git", |
832 | - "reference": "b1a96f6134f69cb41f8538d3a6491f4bb1dbab78" | |
828 | + "reference": "6a37496c2b7855f5c88cac89c5f56a07e326d63c" | |
833 | 829 | }, |
834 | 830 | "dist": { |
835 | 831 | "type": "zip", |
836 | - "url": "https://api.github.com/repos/guzzle/guzzle/zipball/b1a96f6134f69cb41f8538d3a6491f4bb1dbab78", | |
837 | - "reference": "b1a96f6134f69cb41f8538d3a6491f4bb1dbab78", | |
832 | + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/6a37496c2b7855f5c88cac89c5f56a07e326d63c", | |
833 | + "reference": "6a37496c2b7855f5c88cac89c5f56a07e326d63c", | |
838 | 834 | "shasum": "" |
839 | 835 | }, |
840 | 836 | "require": { |
... | ... | @@ -883,7 +879,7 @@ |
883 | 879 | "rest", |
884 | 880 | "web service" |
885 | 881 | ], |
886 | - "time": "2016-05-08 19:39:56" | |
882 | + "time": "2016-06-04 22:16:20" | |
887 | 883 | }, |
888 | 884 | { |
889 | 885 | "name": "guzzlehttp/promises", |
... | ... | @@ -938,16 +934,16 @@ |
938 | 934 | }, |
939 | 935 | { |
940 | 936 | "name": "guzzlehttp/psr7", |
941 | - "version": "1.3.0", | |
937 | + "version": "dev-master", | |
942 | 938 | "source": { |
943 | 939 | "type": "git", |
944 | 940 | "url": "https://github.com/guzzle/psr7.git", |
945 | - "reference": "31382fef2889136415751badebbd1cb022a4ed72" | |
941 | + "reference": "7e9749008f75ab798168371cf3f6a2a36850576a" | |
946 | 942 | }, |
947 | 943 | "dist": { |
948 | 944 | "type": "zip", |
949 | - "url": "https://api.github.com/repos/guzzle/psr7/zipball/31382fef2889136415751badebbd1cb022a4ed72", | |
950 | - "reference": "31382fef2889136415751badebbd1cb022a4ed72", | |
945 | + "url": "https://api.github.com/repos/guzzle/psr7/zipball/7e9749008f75ab798168371cf3f6a2a36850576a", | |
946 | + "reference": "7e9749008f75ab798168371cf3f6a2a36850576a", | |
951 | 947 | "shasum": "" |
952 | 948 | }, |
953 | 949 | "require": { |
... | ... | @@ -963,7 +959,7 @@ |
963 | 959 | "type": "library", |
964 | 960 | "extra": { |
965 | 961 | "branch-alias": { |
966 | - "dev-master": "1.0-dev" | |
962 | + "dev-master": "1.4-dev" | |
967 | 963 | } |
968 | 964 | }, |
969 | 965 | "autoload": { |
... | ... | @@ -992,7 +988,7 @@ |
992 | 988 | "stream", |
993 | 989 | "uri" |
994 | 990 | ], |
995 | - "time": "2016-04-13 19:56:01" | |
991 | + "time": "2016-06-05 19:42:18" | |
996 | 992 | }, |
997 | 993 | { |
998 | 994 | "name": "imagine/imagine", |
... | ... | @@ -1101,12 +1097,12 @@ |
1101 | 1097 | "source": { |
1102 | 1098 | "type": "git", |
1103 | 1099 | "url": "https://github.com/kartik-v/yii2-krajee-base.git", |
1104 | - "reference": "7f7a45ffe193fe673f72b9effc01b08499f2a454" | |
1100 | + "reference": "473fb568ff1144dc49bdb74f40a5d7f025fc72e4" | |
1105 | 1101 | }, |
1106 | 1102 | "dist": { |
1107 | 1103 | "type": "zip", |
1108 | - "url": "https://api.github.com/repos/kartik-v/yii2-krajee-base/zipball/7f7a45ffe193fe673f72b9effc01b08499f2a454", | |
1109 | - "reference": "7f7a45ffe193fe673f72b9effc01b08499f2a454", | |
1104 | + "url": "https://api.github.com/repos/kartik-v/yii2-krajee-base/zipball/473fb568ff1144dc49bdb74f40a5d7f025fc72e4", | |
1105 | + "reference": "473fb568ff1144dc49bdb74f40a5d7f025fc72e4", | |
1110 | 1106 | "shasum": "" |
1111 | 1107 | }, |
1112 | 1108 | "require": { |
... | ... | @@ -1144,7 +1140,7 @@ |
1144 | 1140 | "widget", |
1145 | 1141 | "yii2" |
1146 | 1142 | ], |
1147 | - "time": "2016-05-07 19:45:52" | |
1143 | + "time": "2016-06-02 16:20:24" | |
1148 | 1144 | }, |
1149 | 1145 | { |
1150 | 1146 | "name": "kartik-v/yii2-widget-colorinput", |
... | ... | @@ -1262,12 +1258,12 @@ |
1262 | 1258 | "source": { |
1263 | 1259 | "type": "git", |
1264 | 1260 | "url": "https://github.com/kartik-v/yii2-widget-select2.git", |
1265 | - "reference": "6919d5096ca83ab4a1b163fcd09fb023814d1003" | |
1261 | + "reference": "00c29bf2ea42df7be2ae6aa2b2be049807a8134b" | |
1266 | 1262 | }, |
1267 | 1263 | "dist": { |
1268 | 1264 | "type": "zip", |
1269 | - "url": "https://api.github.com/repos/kartik-v/yii2-widget-select2/zipball/6919d5096ca83ab4a1b163fcd09fb023814d1003", | |
1270 | - "reference": "6919d5096ca83ab4a1b163fcd09fb023814d1003", | |
1265 | + "url": "https://api.github.com/repos/kartik-v/yii2-widget-select2/zipball/00c29bf2ea42df7be2ae6aa2b2be049807a8134b", | |
1266 | + "reference": "00c29bf2ea42df7be2ae6aa2b2be049807a8134b", | |
1271 | 1267 | "shasum": "" |
1272 | 1268 | }, |
1273 | 1269 | "require": { |
... | ... | @@ -1307,7 +1303,7 @@ |
1307 | 1303 | "widget", |
1308 | 1304 | "yii2" |
1309 | 1305 | ], |
1310 | - "time": "2016-04-19 13:22:56" | |
1306 | + "time": "2016-06-03 10:10:39" | |
1311 | 1307 | }, |
1312 | 1308 | { |
1313 | 1309 | "name": "lusitanian/oauth", |
... | ... | @@ -1615,38 +1611,135 @@ |
1615 | 1611 | "time": "2016-01-13 18:15:48" |
1616 | 1612 | }, |
1617 | 1613 | { |
1614 | + "name": "phpdocumentor/reflection-common", | |
1615 | + "version": "dev-master", | |
1616 | + "source": { | |
1617 | + "type": "git", | |
1618 | + "url": "https://github.com/phpDocumentor/ReflectionCommon.git", | |
1619 | + "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c" | |
1620 | + }, | |
1621 | + "dist": { | |
1622 | + "type": "zip", | |
1623 | + "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/144c307535e82c8fdcaacbcfc1d6d8eeb896687c", | |
1624 | + "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c", | |
1625 | + "shasum": "" | |
1626 | + }, | |
1627 | + "require": { | |
1628 | + "php": ">=5.5" | |
1629 | + }, | |
1630 | + "require-dev": { | |
1631 | + "phpunit/phpunit": "^4.6" | |
1632 | + }, | |
1633 | + "type": "library", | |
1634 | + "extra": { | |
1635 | + "branch-alias": { | |
1636 | + "dev-master": "1.0.x-dev" | |
1637 | + } | |
1638 | + }, | |
1639 | + "autoload": { | |
1640 | + "psr-4": { | |
1641 | + "phpDocumentor\\Reflection\\": [ | |
1642 | + "src" | |
1643 | + ] | |
1644 | + } | |
1645 | + }, | |
1646 | + "notification-url": "https://packagist.org/downloads/", | |
1647 | + "license": [ | |
1648 | + "MIT" | |
1649 | + ], | |
1650 | + "authors": [ | |
1651 | + { | |
1652 | + "name": "Jaap van Otterdijk", | |
1653 | + "email": "opensource@ijaap.nl" | |
1654 | + } | |
1655 | + ], | |
1656 | + "description": "Common reflection classes used by phpdocumentor to reflect the code structure", | |
1657 | + "homepage": "http://www.phpdoc.org", | |
1658 | + "keywords": [ | |
1659 | + "FQSEN", | |
1660 | + "phpDocumentor", | |
1661 | + "phpdoc", | |
1662 | + "reflection", | |
1663 | + "static analysis" | |
1664 | + ], | |
1665 | + "time": "2015-12-27 11:43:31" | |
1666 | + }, | |
1667 | + { | |
1618 | 1668 | "name": "phpdocumentor/reflection-docblock", |
1619 | - "version": "2.0.4", | |
1669 | + "version": "3.0.2", | |
1620 | 1670 | "source": { |
1621 | 1671 | "type": "git", |
1622 | 1672 | "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", |
1623 | - "reference": "d68dbdc53dc358a816f00b300704702b2eaff7b8" | |
1673 | + "reference": "45ada3e3fd09789fbfbd6d65b3f0901f0030dc61" | |
1624 | 1674 | }, |
1625 | 1675 | "dist": { |
1626 | 1676 | "type": "zip", |
1627 | - "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/d68dbdc53dc358a816f00b300704702b2eaff7b8", | |
1628 | - "reference": "d68dbdc53dc358a816f00b300704702b2eaff7b8", | |
1677 | + "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/45ada3e3fd09789fbfbd6d65b3f0901f0030dc61", | |
1678 | + "reference": "45ada3e3fd09789fbfbd6d65b3f0901f0030dc61", | |
1629 | 1679 | "shasum": "" |
1630 | 1680 | }, |
1631 | 1681 | "require": { |
1632 | - "php": ">=5.3.3" | |
1682 | + "php": ">=5.5", | |
1683 | + "phpdocumentor/reflection-common": "^1.0@dev", | |
1684 | + "phpdocumentor/type-resolver": "^0.1.5", | |
1685 | + "webmozart/assert": "^1.0" | |
1633 | 1686 | }, |
1634 | 1687 | "require-dev": { |
1635 | - "phpunit/phpunit": "~4.0" | |
1688 | + "mockery/mockery": "^0.9.4", | |
1689 | + "phpunit/phpunit": "^4.4" | |
1636 | 1690 | }, |
1637 | - "suggest": { | |
1638 | - "dflydev/markdown": "~1.0", | |
1639 | - "erusev/parsedown": "~1.0" | |
1691 | + "type": "library", | |
1692 | + "autoload": { | |
1693 | + "psr-4": { | |
1694 | + "phpDocumentor\\Reflection\\": [ | |
1695 | + "src/" | |
1696 | + ] | |
1697 | + } | |
1698 | + }, | |
1699 | + "notification-url": "https://packagist.org/downloads/", | |
1700 | + "license": [ | |
1701 | + "MIT" | |
1702 | + ], | |
1703 | + "authors": [ | |
1704 | + { | |
1705 | + "name": "Mike van Riel", | |
1706 | + "email": "me@mikevanriel.com" | |
1707 | + } | |
1708 | + ], | |
1709 | + "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", | |
1710 | + "time": "2016-06-06 06:44:13" | |
1711 | + }, | |
1712 | + { | |
1713 | + "name": "phpdocumentor/type-resolver", | |
1714 | + "version": "0.1.8", | |
1715 | + "source": { | |
1716 | + "type": "git", | |
1717 | + "url": "https://github.com/phpDocumentor/TypeResolver.git", | |
1718 | + "reference": "9891754231e55d42f0d16988ffb799af39f31a12" | |
1719 | + }, | |
1720 | + "dist": { | |
1721 | + "type": "zip", | |
1722 | + "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/9891754231e55d42f0d16988ffb799af39f31a12", | |
1723 | + "reference": "9891754231e55d42f0d16988ffb799af39f31a12", | |
1724 | + "shasum": "" | |
1725 | + }, | |
1726 | + "require": { | |
1727 | + "php": ">=5.5", | |
1728 | + "phpdocumentor/reflection-common": "^1.0" | |
1729 | + }, | |
1730 | + "require-dev": { | |
1731 | + "mockery/mockery": "^0.9.4", | |
1732 | + "phpunit/phpunit": "^5.2" | |
1640 | 1733 | }, |
1641 | 1734 | "type": "library", |
1642 | 1735 | "extra": { |
1643 | 1736 | "branch-alias": { |
1644 | - "dev-master": "2.0.x-dev" | |
1737 | + "dev-master": "1.0.x-dev" | |
1645 | 1738 | } |
1646 | 1739 | }, |
1647 | 1740 | "autoload": { |
1648 | - "psr-0": { | |
1649 | - "phpDocumentor": [ | |
1741 | + "psr-4": { | |
1742 | + "phpDocumentor\\Reflection\\": [ | |
1650 | 1743 | "src/" |
1651 | 1744 | ] |
1652 | 1745 | } |
... | ... | @@ -1658,10 +1751,10 @@ |
1658 | 1751 | "authors": [ |
1659 | 1752 | { |
1660 | 1753 | "name": "Mike van Riel", |
1661 | - "email": "mike.vanriel@naenius.com" | |
1754 | + "email": "me@mikevanriel.com" | |
1662 | 1755 | } |
1663 | 1756 | ], |
1664 | - "time": "2015-02-03 12:10:50" | |
1757 | + "time": "2016-03-28 10:02:29" | |
1665 | 1758 | }, |
1666 | 1759 | { |
1667 | 1760 | "name": "phpspec/prophecy", |
... | ... | @@ -1669,23 +1762,23 @@ |
1669 | 1762 | "source": { |
1670 | 1763 | "type": "git", |
1671 | 1764 | "url": "https://github.com/phpspec/prophecy.git", |
1672 | - "reference": "f9a8140d6cf86514a64fb3b637e716008e1885d0" | |
1765 | + "reference": "eec64c9457ef6dff4c9eface0914ec1bc0048ba0" | |
1673 | 1766 | }, |
1674 | 1767 | "dist": { |
1675 | 1768 | "type": "zip", |
1676 | - "url": "https://api.github.com/repos/phpspec/prophecy/zipball/f9a8140d6cf86514a64fb3b637e716008e1885d0", | |
1677 | - "reference": "f9a8140d6cf86514a64fb3b637e716008e1885d0", | |
1769 | + "url": "https://api.github.com/repos/phpspec/prophecy/zipball/eec64c9457ef6dff4c9eface0914ec1bc0048ba0", | |
1770 | + "reference": "eec64c9457ef6dff4c9eface0914ec1bc0048ba0", | |
1678 | 1771 | "shasum": "" |
1679 | 1772 | }, |
1680 | 1773 | "require": { |
1681 | 1774 | "doctrine/instantiator": "^1.0.2", |
1682 | 1775 | "php": "^5.3|^7.0", |
1683 | - "phpdocumentor/reflection-docblock": "~2.0", | |
1684 | - "sebastian/comparator": "~1.1", | |
1685 | - "sebastian/recursion-context": "~1.0" | |
1776 | + "phpdocumentor/reflection-docblock": "^2.0|^3.0.2", | |
1777 | + "sebastian/comparator": "^1.1", | |
1778 | + "sebastian/recursion-context": "^1.0" | |
1686 | 1779 | }, |
1687 | 1780 | "require-dev": { |
1688 | - "phpspec/phpspec": "~2.0" | |
1781 | + "phpspec/phpspec": "^2.0" | |
1689 | 1782 | }, |
1690 | 1783 | "type": "library", |
1691 | 1784 | "extra": { |
... | ... | @@ -1723,20 +1816,20 @@ |
1723 | 1816 | "spy", |
1724 | 1817 | "stub" |
1725 | 1818 | ], |
1726 | - "time": "2016-05-27 08:33:35" | |
1819 | + "time": "2016-06-06 10:57:18" | |
1727 | 1820 | }, |
1728 | 1821 | { |
1729 | 1822 | "name": "phpunit/php-code-coverage", |
1730 | - "version": "dev-master", | |
1823 | + "version": "3.3.x-dev", | |
1731 | 1824 | "source": { |
1732 | 1825 | "type": "git", |
1733 | 1826 | "url": "https://github.com/sebastianbergmann/php-code-coverage.git", |
1734 | - "reference": "844ec6eabee15768f1e34a8871f6fddfc3d5f602" | |
1827 | + "reference": "44cd8e3930e431658d1a5de7d282d5cb37837fd5" | |
1735 | 1828 | }, |
1736 | 1829 | "dist": { |
1737 | 1830 | "type": "zip", |
1738 | - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/844ec6eabee15768f1e34a8871f6fddfc3d5f602", | |
1739 | - "reference": "844ec6eabee15768f1e34a8871f6fddfc3d5f602", | |
1831 | + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/44cd8e3930e431658d1a5de7d282d5cb37837fd5", | |
1832 | + "reference": "44cd8e3930e431658d1a5de7d282d5cb37837fd5", | |
1740 | 1833 | "shasum": "" |
1741 | 1834 | }, |
1742 | 1835 | "require": { |
... | ... | @@ -1750,7 +1843,7 @@ |
1750 | 1843 | }, |
1751 | 1844 | "require-dev": { |
1752 | 1845 | "ext-xdebug": ">=2.1.4", |
1753 | - "phpunit/phpunit": "^5.4" | |
1846 | + "phpunit/phpunit": "~5" | |
1754 | 1847 | }, |
1755 | 1848 | "suggest": { |
1756 | 1849 | "ext-dom": "*", |
... | ... | @@ -1760,7 +1853,7 @@ |
1760 | 1853 | "type": "library", |
1761 | 1854 | "extra": { |
1762 | 1855 | "branch-alias": { |
1763 | - "dev-master": "4.0.x-dev" | |
1856 | + "dev-master": "3.3.x-dev" | |
1764 | 1857 | } |
1765 | 1858 | }, |
1766 | 1859 | "autoload": { |
... | ... | @@ -1786,7 +1879,7 @@ |
1786 | 1879 | "testing", |
1787 | 1880 | "xunit" |
1788 | 1881 | ], |
1789 | - "time": "2016-05-27 16:21:40" | |
1882 | + "time": "2016-05-27 16:24:29" | |
1790 | 1883 | }, |
1791 | 1884 | { |
1792 | 1885 | "name": "phpunit/php-file-iterator", |
... | ... | @@ -1971,16 +2064,16 @@ |
1971 | 2064 | }, |
1972 | 2065 | { |
1973 | 2066 | "name": "phpunit/phpunit", |
1974 | - "version": "dev-master", | |
2067 | + "version": "5.3.x-dev", | |
1975 | 2068 | "source": { |
1976 | 2069 | "type": "git", |
1977 | 2070 | "url": "https://github.com/sebastianbergmann/phpunit.git", |
1978 | - "reference": "4789e42043079d81f2cb77ea859036689dbb91ee" | |
2071 | + "reference": "9858a96dc3d0106419cbeb205c6ff44d3c4e8a17" | |
1979 | 2072 | }, |
1980 | 2073 | "dist": { |
1981 | 2074 | "type": "zip", |
1982 | - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/4789e42043079d81f2cb77ea859036689dbb91ee", | |
1983 | - "reference": "4789e42043079d81f2cb77ea859036689dbb91ee", | |
2075 | + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/9858a96dc3d0106419cbeb205c6ff44d3c4e8a17", | |
2076 | + "reference": "9858a96dc3d0106419cbeb205c6ff44d3c4e8a17", | |
1984 | 2077 | "shasum": "" |
1985 | 2078 | }, |
1986 | 2079 | "require": { |
... | ... | @@ -1992,11 +2085,11 @@ |
1992 | 2085 | "myclabs/deep-copy": "~1.3", |
1993 | 2086 | "php": "^5.6 || ^7.0", |
1994 | 2087 | "phpspec/prophecy": "^1.3.1", |
1995 | - "phpunit/php-code-coverage": "^4.0", | |
2088 | + "phpunit/php-code-coverage": ">=3.3.0,<4.0.0", | |
1996 | 2089 | "phpunit/php-file-iterator": "~1.4", |
1997 | 2090 | "phpunit/php-text-template": "~1.2", |
1998 | 2091 | "phpunit/php-timer": "^1.0.6", |
1999 | - "phpunit/phpunit-mock-objects": "^3.2", | |
2092 | + "phpunit/phpunit-mock-objects": ">=3.1.0,<3.2.0", | |
2000 | 2093 | "sebastian/comparator": "~1.1", |
2001 | 2094 | "sebastian/diff": "~1.2", |
2002 | 2095 | "sebastian/environment": "~1.3", |
... | ... | @@ -2016,7 +2109,7 @@ |
2016 | 2109 | "type": "library", |
2017 | 2110 | "extra": { |
2018 | 2111 | "branch-alias": { |
2019 | - "dev-master": "5.4.x-dev" | |
2112 | + "dev-master": "5.3.x-dev" | |
2020 | 2113 | } |
2021 | 2114 | }, |
2022 | 2115 | "autoload": { |
... | ... | @@ -2042,20 +2135,20 @@ |
2042 | 2135 | "testing", |
2043 | 2136 | "xunit" |
2044 | 2137 | ], |
2045 | - "time": "2016-05-29 16:55:46" | |
2138 | + "time": "2016-06-05 07:13:15" | |
2046 | 2139 | }, |
2047 | 2140 | { |
2048 | 2141 | "name": "phpunit/phpunit-mock-objects", |
2049 | - "version": "dev-master", | |
2142 | + "version": "3.1.x-dev", | |
2050 | 2143 | "source": { |
2051 | 2144 | "type": "git", |
2052 | 2145 | "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git", |
2053 | - "reference": "5bf0ba29dd683ec4f2e5d4fb212ad31827501012" | |
2146 | + "reference": "5d89f807d9eb33fbafd0351c4fc459de8128e78b" | |
2054 | 2147 | }, |
2055 | 2148 | "dist": { |
2056 | 2149 | "type": "zip", |
2057 | - "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/5bf0ba29dd683ec4f2e5d4fb212ad31827501012", | |
2058 | - "reference": "5bf0ba29dd683ec4f2e5d4fb212ad31827501012", | |
2150 | + "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/5d89f807d9eb33fbafd0351c4fc459de8128e78b", | |
2151 | + "reference": "5d89f807d9eb33fbafd0351c4fc459de8128e78b", | |
2059 | 2152 | "shasum": "" |
2060 | 2153 | }, |
2061 | 2154 | "require": { |
... | ... | @@ -2065,7 +2158,7 @@ |
2065 | 2158 | "sebastian/exporter": "^1.2" |
2066 | 2159 | }, |
2067 | 2160 | "require-dev": { |
2068 | - "phpunit/phpunit": "^5.4" | |
2161 | + "phpunit/phpunit": "^5" | |
2069 | 2162 | }, |
2070 | 2163 | "suggest": { |
2071 | 2164 | "ext-soap": "*" |
... | ... | @@ -2073,7 +2166,7 @@ |
2073 | 2166 | "type": "library", |
2074 | 2167 | "extra": { |
2075 | 2168 | "branch-alias": { |
2076 | - "dev-master": "3.2.x-dev" | |
2169 | + "dev-master": "3.1.x-dev" | |
2077 | 2170 | } |
2078 | 2171 | }, |
2079 | 2172 | "autoload": { |
... | ... | @@ -2098,62 +2191,7 @@ |
2098 | 2191 | "mock", |
2099 | 2192 | "xunit" |
2100 | 2193 | ], |
2101 | - "time": "2016-05-26 06:15:46" | |
2102 | - }, | |
2103 | - { | |
2104 | - "name": "predis/predis", | |
2105 | - "version": "dev-master", | |
2106 | - "source": { | |
2107 | - "type": "git", | |
2108 | - "url": "https://github.com/nrk/predis.git", | |
2109 | - "reference": "5850029f893cefe9aeeeb046ea18a5866f890cc5" | |
2110 | - }, | |
2111 | - "dist": { | |
2112 | - "type": "zip", | |
2113 | - "url": "https://api.github.com/repos/nrk/predis/zipball/5850029f893cefe9aeeeb046ea18a5866f890cc5", | |
2114 | - "reference": "5850029f893cefe9aeeeb046ea18a5866f890cc5", | |
2115 | - "shasum": "" | |
2116 | - }, | |
2117 | - "require": { | |
2118 | - "php": ">=5.3.9" | |
2119 | - }, | |
2120 | - "require-dev": { | |
2121 | - "phpunit/phpunit": "~4.8" | |
2122 | - }, | |
2123 | - "suggest": { | |
2124 | - "ext-curl": "Allows access to Webdis when paired with phpiredis", | |
2125 | - "ext-phpiredis": "Allows faster serialization and deserialization of the Redis protocol" | |
2126 | - }, | |
2127 | - "type": "library", | |
2128 | - "extra": { | |
2129 | - "branch-alias": { | |
2130 | - "dev-master": "1.1-dev" | |
2131 | - } | |
2132 | - }, | |
2133 | - "autoload": { | |
2134 | - "psr-4": { | |
2135 | - "Predis\\": "src/" | |
2136 | - } | |
2137 | - }, | |
2138 | - "notification-url": "https://packagist.org/downloads/", | |
2139 | - "license": [ | |
2140 | - "MIT" | |
2141 | - ], | |
2142 | - "authors": [ | |
2143 | - { | |
2144 | - "name": "Daniele Alessandri", | |
2145 | - "email": "suppakilla@gmail.com", | |
2146 | - "homepage": "http://clorophilla.net" | |
2147 | - } | |
2148 | - ], | |
2149 | - "description": "Flexible and feature-complete Redis client for PHP and HHVM", | |
2150 | - "homepage": "http://github.com/nrk/predis", | |
2151 | - "keywords": [ | |
2152 | - "nosql", | |
2153 | - "predis", | |
2154 | - "redis" | |
2155 | - ], | |
2156 | - "time": "2016-05-28 18:28:18" | |
2194 | + "time": "2016-05-26 06:15:11" | |
2157 | 2195 | }, |
2158 | 2196 | { |
2159 | 2197 | "name": "psr/http-message", |
... | ... | @@ -2825,12 +2863,12 @@ |
2825 | 2863 | "source": { |
2826 | 2864 | "type": "git", |
2827 | 2865 | "url": "https://github.com/Studio-42/elFinder.git", |
2828 | - "reference": "2ec345f7044052184a7d9faf1dc15ad82b503e9f" | |
2866 | + "reference": "883e2ad70f1ae9483d939216ff9f9a67407d3f8d" | |
2829 | 2867 | }, |
2830 | 2868 | "dist": { |
2831 | 2869 | "type": "zip", |
2832 | - "url": "https://api.github.com/repos/Studio-42/elFinder/zipball/2ec345f7044052184a7d9faf1dc15ad82b503e9f", | |
2833 | - "reference": "2ec345f7044052184a7d9faf1dc15ad82b503e9f", | |
2870 | + "url": "https://api.github.com/repos/Studio-42/elFinder/zipball/883e2ad70f1ae9483d939216ff9f9a67407d3f8d", | |
2871 | + "reference": "883e2ad70f1ae9483d939216ff9f9a67407d3f8d", | |
2834 | 2872 | "shasum": "" |
2835 | 2873 | }, |
2836 | 2874 | "require": { |
... | ... | @@ -2875,7 +2913,7 @@ |
2875 | 2913 | ], |
2876 | 2914 | "description": "File manager for web", |
2877 | 2915 | "homepage": "http://elfinder.org", |
2878 | - "time": "2016-05-30 08:20:52" | |
2916 | + "time": "2016-06-06 11:42:51" | |
2879 | 2917 | }, |
2880 | 2918 | { |
2881 | 2919 | "name": "swiftmailer/swiftmailer", |
... | ... | @@ -2932,16 +2970,16 @@ |
2932 | 2970 | }, |
2933 | 2971 | { |
2934 | 2972 | "name": "symfony/browser-kit", |
2935 | - "version": "3.0.x-dev", | |
2973 | + "version": "3.1.x-dev", | |
2936 | 2974 | "source": { |
2937 | 2975 | "type": "git", |
2938 | 2976 | "url": "https://github.com/symfony/browser-kit.git", |
2939 | - "reference": "e07127ac31230b30887c2dddf3708d883d239b14" | |
2977 | + "reference": "b645a9b23d6c0eeba5ac823fa87bf010db9aff22" | |
2940 | 2978 | }, |
2941 | 2979 | "dist": { |
2942 | 2980 | "type": "zip", |
2943 | - "url": "https://api.github.com/repos/symfony/browser-kit/zipball/e07127ac31230b30887c2dddf3708d883d239b14", | |
2944 | - "reference": "e07127ac31230b30887c2dddf3708d883d239b14", | |
2981 | + "url": "https://api.github.com/repos/symfony/browser-kit/zipball/b645a9b23d6c0eeba5ac823fa87bf010db9aff22", | |
2982 | + "reference": "b645a9b23d6c0eeba5ac823fa87bf010db9aff22", | |
2945 | 2983 | "shasum": "" |
2946 | 2984 | }, |
2947 | 2985 | "require": { |
... | ... | @@ -2958,7 +2996,7 @@ |
2958 | 2996 | "type": "library", |
2959 | 2997 | "extra": { |
2960 | 2998 | "branch-alias": { |
2961 | - "dev-master": "3.0-dev" | |
2999 | + "dev-master": "3.1-dev" | |
2962 | 3000 | } |
2963 | 3001 | }, |
2964 | 3002 | "autoload": { |
... | ... | @@ -2985,20 +3023,20 @@ |
2985 | 3023 | ], |
2986 | 3024 | "description": "Symfony BrowserKit Component", |
2987 | 3025 | "homepage": "https://symfony.com", |
2988 | - "time": "2016-03-04 07:55:57" | |
3026 | + "time": "2016-03-04 07:56:56" | |
2989 | 3027 | }, |
2990 | 3028 | { |
2991 | 3029 | "name": "symfony/console", |
2992 | - "version": "3.0.x-dev", | |
3030 | + "version": "3.1.x-dev", | |
2993 | 3031 | "source": { |
2994 | 3032 | "type": "git", |
2995 | 3033 | "url": "https://github.com/symfony/console.git", |
2996 | - "reference": "30beaa1b3ccdc0074baaf910a17cdae80df1e32d" | |
3034 | + "reference": "31edc9ddad8b69da0e5b41fae0f19ab0612b8e8c" | |
2997 | 3035 | }, |
2998 | 3036 | "dist": { |
2999 | 3037 | "type": "zip", |
3000 | - "url": "https://api.github.com/repos/symfony/console/zipball/30beaa1b3ccdc0074baaf910a17cdae80df1e32d", | |
3001 | - "reference": "30beaa1b3ccdc0074baaf910a17cdae80df1e32d", | |
3038 | + "url": "https://api.github.com/repos/symfony/console/zipball/31edc9ddad8b69da0e5b41fae0f19ab0612b8e8c", | |
3039 | + "reference": "31edc9ddad8b69da0e5b41fae0f19ab0612b8e8c", | |
3002 | 3040 | "shasum": "" |
3003 | 3041 | }, |
3004 | 3042 | "require": { |
... | ... | @@ -3018,7 +3056,7 @@ |
3018 | 3056 | "type": "library", |
3019 | 3057 | "extra": { |
3020 | 3058 | "branch-alias": { |
3021 | - "dev-master": "3.0-dev" | |
3059 | + "dev-master": "3.1-dev" | |
3022 | 3060 | } |
3023 | 3061 | }, |
3024 | 3062 | "autoload": { |
... | ... | @@ -3045,20 +3083,20 @@ |
3045 | 3083 | ], |
3046 | 3084 | "description": "Symfony Console Component", |
3047 | 3085 | "homepage": "https://symfony.com", |
3048 | - "time": "2016-05-30 06:58:27" | |
3086 | + "time": "2016-06-03 11:12:53" | |
3049 | 3087 | }, |
3050 | 3088 | { |
3051 | 3089 | "name": "symfony/css-selector", |
3052 | - "version": "3.0.x-dev", | |
3090 | + "version": "3.1.x-dev", | |
3053 | 3091 | "source": { |
3054 | 3092 | "type": "git", |
3055 | 3093 | "url": "https://github.com/symfony/css-selector.git", |
3056 | - "reference": "65e764f404685f2dc20c057e889b3ad04b2e2db0" | |
3094 | + "reference": "c526d7b3cb4fe1673c6a34e13be2ff63f519df99" | |
3057 | 3095 | }, |
3058 | 3096 | "dist": { |
3059 | 3097 | "type": "zip", |
3060 | - "url": "https://api.github.com/repos/symfony/css-selector/zipball/65e764f404685f2dc20c057e889b3ad04b2e2db0", | |
3061 | - "reference": "65e764f404685f2dc20c057e889b3ad04b2e2db0", | |
3098 | + "url": "https://api.github.com/repos/symfony/css-selector/zipball/c526d7b3cb4fe1673c6a34e13be2ff63f519df99", | |
3099 | + "reference": "c526d7b3cb4fe1673c6a34e13be2ff63f519df99", | |
3062 | 3100 | "shasum": "" |
3063 | 3101 | }, |
3064 | 3102 | "require": { |
... | ... | @@ -3067,7 +3105,7 @@ |
3067 | 3105 | "type": "library", |
3068 | 3106 | "extra": { |
3069 | 3107 | "branch-alias": { |
3070 | - "dev-master": "3.0-dev" | |
3108 | + "dev-master": "3.1-dev" | |
3071 | 3109 | } |
3072 | 3110 | }, |
3073 | 3111 | "autoload": { |
... | ... | @@ -3098,20 +3136,20 @@ |
3098 | 3136 | ], |
3099 | 3137 | "description": "Symfony CssSelector Component", |
3100 | 3138 | "homepage": "https://symfony.com", |
3101 | - "time": "2016-03-04 07:55:57" | |
3139 | + "time": "2016-06-06 11:42:41" | |
3102 | 3140 | }, |
3103 | 3141 | { |
3104 | 3142 | "name": "symfony/dom-crawler", |
3105 | - "version": "3.0.x-dev", | |
3143 | + "version": "3.1.x-dev", | |
3106 | 3144 | "source": { |
3107 | 3145 | "type": "git", |
3108 | 3146 | "url": "https://github.com/symfony/dom-crawler.git", |
3109 | - "reference": "49b588841225b205700e5122fa01911cabada857" | |
3147 | + "reference": "12aa63fd41b060d2bee9a34623d29eda70bc8fe3" | |
3110 | 3148 | }, |
3111 | 3149 | "dist": { |
3112 | 3150 | "type": "zip", |
3113 | - "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/49b588841225b205700e5122fa01911cabada857", | |
3114 | - "reference": "49b588841225b205700e5122fa01911cabada857", | |
3151 | + "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/12aa63fd41b060d2bee9a34623d29eda70bc8fe3", | |
3152 | + "reference": "12aa63fd41b060d2bee9a34623d29eda70bc8fe3", | |
3115 | 3153 | "shasum": "" |
3116 | 3154 | }, |
3117 | 3155 | "require": { |
... | ... | @@ -3127,7 +3165,7 @@ |
3127 | 3165 | "type": "library", |
3128 | 3166 | "extra": { |
3129 | 3167 | "branch-alias": { |
3130 | - "dev-master": "3.0-dev" | |
3168 | + "dev-master": "3.1-dev" | |
3131 | 3169 | } |
3132 | 3170 | }, |
3133 | 3171 | "autoload": { |
... | ... | @@ -3154,20 +3192,20 @@ |
3154 | 3192 | ], |
3155 | 3193 | "description": "Symfony DomCrawler Component", |
3156 | 3194 | "homepage": "https://symfony.com", |
3157 | - "time": "2016-04-12 18:09:53" | |
3195 | + "time": "2016-05-13 15:49:09" | |
3158 | 3196 | }, |
3159 | 3197 | { |
3160 | 3198 | "name": "symfony/event-dispatcher", |
3161 | - "version": "3.0.x-dev", | |
3199 | + "version": "3.1.x-dev", | |
3162 | 3200 | "source": { |
3163 | 3201 | "type": "git", |
3164 | 3202 | "url": "https://github.com/symfony/event-dispatcher.git", |
3165 | - "reference": "807dde98589f9b2b00624dca326740380d78dbbc" | |
3203 | + "reference": "f5b7563f67779c6d3d5370e23448e707c858df3e" | |
3166 | 3204 | }, |
3167 | 3205 | "dist": { |
3168 | 3206 | "type": "zip", |
3169 | - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/807dde98589f9b2b00624dca326740380d78dbbc", | |
3170 | - "reference": "807dde98589f9b2b00624dca326740380d78dbbc", | |
3207 | + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/f5b7563f67779c6d3d5370e23448e707c858df3e", | |
3208 | + "reference": "f5b7563f67779c6d3d5370e23448e707c858df3e", | |
3171 | 3209 | "shasum": "" |
3172 | 3210 | }, |
3173 | 3211 | "require": { |
... | ... | @@ -3187,7 +3225,7 @@ |
3187 | 3225 | "type": "library", |
3188 | 3226 | "extra": { |
3189 | 3227 | "branch-alias": { |
3190 | - "dev-master": "3.0-dev" | |
3228 | + "dev-master": "3.1-dev" | |
3191 | 3229 | } |
3192 | 3230 | }, |
3193 | 3231 | "autoload": { |
... | ... | @@ -3214,20 +3252,20 @@ |
3214 | 3252 | ], |
3215 | 3253 | "description": "Symfony EventDispatcher Component", |
3216 | 3254 | "homepage": "https://symfony.com", |
3217 | - "time": "2016-05-05 06:56:13" | |
3255 | + "time": "2016-06-06 11:42:41" | |
3218 | 3256 | }, |
3219 | 3257 | { |
3220 | 3258 | "name": "symfony/finder", |
3221 | - "version": "3.0.x-dev", | |
3259 | + "version": "3.1.x-dev", | |
3222 | 3260 | "source": { |
3223 | 3261 | "type": "git", |
3224 | 3262 | "url": "https://github.com/symfony/finder.git", |
3225 | - "reference": "39e5f3d533d07b5416b9d7aad53a27f939d4f811" | |
3263 | + "reference": "40d17ed287bf51a2f884c4619ce8ff2a1c5cd219" | |
3226 | 3264 | }, |
3227 | 3265 | "dist": { |
3228 | 3266 | "type": "zip", |
3229 | - "url": "https://api.github.com/repos/symfony/finder/zipball/39e5f3d533d07b5416b9d7aad53a27f939d4f811", | |
3230 | - "reference": "39e5f3d533d07b5416b9d7aad53a27f939d4f811", | |
3267 | + "url": "https://api.github.com/repos/symfony/finder/zipball/40d17ed287bf51a2f884c4619ce8ff2a1c5cd219", | |
3268 | + "reference": "40d17ed287bf51a2f884c4619ce8ff2a1c5cd219", | |
3231 | 3269 | "shasum": "" |
3232 | 3270 | }, |
3233 | 3271 | "require": { |
... | ... | @@ -3236,7 +3274,7 @@ |
3236 | 3274 | "type": "library", |
3237 | 3275 | "extra": { |
3238 | 3276 | "branch-alias": { |
3239 | - "dev-master": "3.0-dev" | |
3277 | + "dev-master": "3.1-dev" | |
3240 | 3278 | } |
3241 | 3279 | }, |
3242 | 3280 | "autoload": { |
... | ... | @@ -3263,7 +3301,7 @@ |
3263 | 3301 | ], |
3264 | 3302 | "description": "Symfony Finder Component", |
3265 | 3303 | "homepage": "https://symfony.com", |
3266 | - "time": "2016-05-13 18:03:36" | |
3304 | + "time": "2016-05-13 18:06:41" | |
3267 | 3305 | }, |
3268 | 3306 | { |
3269 | 3307 | "name": "symfony/polyfill-mbstring", |
... | ... | @@ -3326,16 +3364,16 @@ |
3326 | 3364 | }, |
3327 | 3365 | { |
3328 | 3366 | "name": "symfony/yaml", |
3329 | - "version": "3.0.x-dev", | |
3367 | + "version": "3.1.x-dev", | |
3330 | 3368 | "source": { |
3331 | 3369 | "type": "git", |
3332 | 3370 | "url": "https://github.com/symfony/yaml.git", |
3333 | - "reference": "06766b41126fbe4e4a24943cdd366eb24a1b6d17" | |
3371 | + "reference": "56832b4b038a2dbda1af53771ebcc9ba05626078" | |
3334 | 3372 | }, |
3335 | 3373 | "dist": { |
3336 | 3374 | "type": "zip", |
3337 | - "url": "https://api.github.com/repos/symfony/yaml/zipball/06766b41126fbe4e4a24943cdd366eb24a1b6d17", | |
3338 | - "reference": "06766b41126fbe4e4a24943cdd366eb24a1b6d17", | |
3375 | + "url": "https://api.github.com/repos/symfony/yaml/zipball/56832b4b038a2dbda1af53771ebcc9ba05626078", | |
3376 | + "reference": "56832b4b038a2dbda1af53771ebcc9ba05626078", | |
3339 | 3377 | "shasum": "" |
3340 | 3378 | }, |
3341 | 3379 | "require": { |
... | ... | @@ -3344,7 +3382,7 @@ |
3344 | 3382 | "type": "library", |
3345 | 3383 | "extra": { |
3346 | 3384 | "branch-alias": { |
3347 | - "dev-master": "3.0-dev" | |
3385 | + "dev-master": "3.1-dev" | |
3348 | 3386 | } |
3349 | 3387 | }, |
3350 | 3388 | "autoload": { |
... | ... | @@ -3371,7 +3409,57 @@ |
3371 | 3409 | ], |
3372 | 3410 | "description": "Symfony Yaml Component", |
3373 | 3411 | "homepage": "https://symfony.com", |
3374 | - "time": "2016-05-24 10:03:10" | |
3412 | + "time": "2016-06-06 11:42:41" | |
3413 | + }, | |
3414 | + { | |
3415 | + "name": "webmozart/assert", | |
3416 | + "version": "dev-master", | |
3417 | + "source": { | |
3418 | + "type": "git", | |
3419 | + "url": "https://github.com/webmozart/assert.git", | |
3420 | + "reference": "3a8e045064f294992a13966b6c892fb9d64853a3" | |
3421 | + }, | |
3422 | + "dist": { | |
3423 | + "type": "zip", | |
3424 | + "url": "https://api.github.com/repos/webmozart/assert/zipball/3a8e045064f294992a13966b6c892fb9d64853a3", | |
3425 | + "reference": "3a8e045064f294992a13966b6c892fb9d64853a3", | |
3426 | + "shasum": "" | |
3427 | + }, | |
3428 | + "require": { | |
3429 | + "php": "^5.3.3|^7.0" | |
3430 | + }, | |
3431 | + "require-dev": { | |
3432 | + "phpunit/phpunit": "^4.6", | |
3433 | + "sebastian/version": "^1.0.1" | |
3434 | + }, | |
3435 | + "type": "library", | |
3436 | + "extra": { | |
3437 | + "branch-alias": { | |
3438 | + "dev-master": "1.1-dev" | |
3439 | + } | |
3440 | + }, | |
3441 | + "autoload": { | |
3442 | + "psr-4": { | |
3443 | + "Webmozart\\Assert\\": "src/" | |
3444 | + } | |
3445 | + }, | |
3446 | + "notification-url": "https://packagist.org/downloads/", | |
3447 | + "license": [ | |
3448 | + "MIT" | |
3449 | + ], | |
3450 | + "authors": [ | |
3451 | + { | |
3452 | + "name": "Bernhard Schussek", | |
3453 | + "email": "bschussek@gmail.com" | |
3454 | + } | |
3455 | + ], | |
3456 | + "description": "Assertions to validate method input/output with nice error messages.", | |
3457 | + "keywords": [ | |
3458 | + "assert", | |
3459 | + "check", | |
3460 | + "validate" | |
3461 | + ], | |
3462 | + "time": "2016-03-04 13:27:44" | |
3375 | 3463 | }, |
3376 | 3464 | { |
3377 | 3465 | "name": "yiisoft/yii2", |
... | ... | @@ -3379,12 +3467,12 @@ |
3379 | 3467 | "source": { |
3380 | 3468 | "type": "git", |
3381 | 3469 | "url": "https://github.com/yiisoft/yii2-framework.git", |
3382 | - "reference": "e9cc989c9c3de3326892f9205bfc17e61347fcdc" | |
3470 | + "reference": "d329c5089c8044ab9c1de6a6a68a3c9458e9881c" | |
3383 | 3471 | }, |
3384 | 3472 | "dist": { |
3385 | 3473 | "type": "zip", |
3386 | - "url": "https://api.github.com/repos/yiisoft/yii2-framework/zipball/e9cc989c9c3de3326892f9205bfc17e61347fcdc", | |
3387 | - "reference": "e9cc989c9c3de3326892f9205bfc17e61347fcdc", | |
3474 | + "url": "https://api.github.com/repos/yiisoft/yii2-framework/zipball/d329c5089c8044ab9c1de6a6a68a3c9458e9881c", | |
3475 | + "reference": "d329c5089c8044ab9c1de6a6a68a3c9458e9881c", | |
3388 | 3476 | "shasum": "" |
3389 | 3477 | }, |
3390 | 3478 | "require": { |
... | ... | @@ -3465,7 +3553,7 @@ |
3465 | 3553 | "framework", |
3466 | 3554 | "yii2" |
3467 | 3555 | ], |
3468 | - "time": "2016-05-26 21:41:47" | |
3556 | + "time": "2016-06-04 19:57:15" | |
3469 | 3557 | }, |
3470 | 3558 | { |
3471 | 3559 | "name": "yiisoft/yii2-bootstrap", |
... | ... | @@ -3568,12 +3656,12 @@ |
3568 | 3656 | "source": { |
3569 | 3657 | "type": "git", |
3570 | 3658 | "url": "https://github.com/yiisoft/yii2-composer.git", |
3571 | - "reference": "f5fe6ba58dbc92b37daed5d9bd94cda777852ee4" | |
3659 | + "reference": "e882cc327a6935a41f2e8665b9ef0317f6852d4d" | |
3572 | 3660 | }, |
3573 | 3661 | "dist": { |
3574 | 3662 | "type": "zip", |
3575 | - "url": "https://api.github.com/repos/yiisoft/yii2-composer/zipball/f5fe6ba58dbc92b37daed5d9bd94cda777852ee4", | |
3576 | - "reference": "f5fe6ba58dbc92b37daed5d9bd94cda777852ee4", | |
3663 | + "url": "https://api.github.com/repos/yiisoft/yii2-composer/zipball/e882cc327a6935a41f2e8665b9ef0317f6852d4d", | |
3664 | + "reference": "e882cc327a6935a41f2e8665b9ef0317f6852d4d", | |
3577 | 3665 | "shasum": "" |
3578 | 3666 | }, |
3579 | 3667 | "require": { |
... | ... | @@ -3607,7 +3695,7 @@ |
3607 | 3695 | "extension installer", |
3608 | 3696 | "yii2" |
3609 | 3697 | ], |
3610 | - "time": "2016-04-14 08:46:37" | |
3698 | + "time": "2016-06-05 20:34:32" | |
3611 | 3699 | }, |
3612 | 3700 | { |
3613 | 3701 | "name": "yiisoft/yii2-imagine", |
... | ... | @@ -3792,12 +3880,12 @@ |
3792 | 3880 | "source": { |
3793 | 3881 | "type": "git", |
3794 | 3882 | "url": "https://github.com/fzaninotto/Faker.git", |
3795 | - "reference": "df56110269ffaaea78295290c74d0bd1b3ac176f" | |
3883 | + "reference": "c6533b0a70d2236cf1f7ce21bfaa3cd12e287019" | |
3796 | 3884 | }, |
3797 | 3885 | "dist": { |
3798 | 3886 | "type": "zip", |
3799 | - "url": "https://api.github.com/repos/fzaninotto/Faker/zipball/df56110269ffaaea78295290c74d0bd1b3ac176f", | |
3800 | - "reference": "df56110269ffaaea78295290c74d0bd1b3ac176f", | |
3887 | + "url": "https://api.github.com/repos/fzaninotto/Faker/zipball/c6533b0a70d2236cf1f7ce21bfaa3cd12e287019", | |
3888 | + "reference": "c6533b0a70d2236cf1f7ce21bfaa3cd12e287019", | |
3801 | 3889 | "shasum": "" |
3802 | 3890 | }, |
3803 | 3891 | "require": { |
... | ... | @@ -3834,7 +3922,7 @@ |
3834 | 3922 | "faker", |
3835 | 3923 | "fixtures" |
3836 | 3924 | ], |
3837 | - "time": "2016-05-19 20:16:37" | |
3925 | + "time": "2016-06-01 11:19:16" | |
3838 | 3926 | }, |
3839 | 3927 | { |
3840 | 3928 | "name": "phpspec/php-diff", | ... | ... |
console/controllers/CommentRulesController.php
100644 → 100755
console/migrations/m160204_103008_add_payment_connections.php
100644 → 100755
console/migrations/m160204_104222_specialization_add_fields.php
100644 → 100755
console/migrations/m160208_091942_vacancies.php
100644 → 100755
console/migrations/m160208_094102_add_project_specialization.php
100644 → 100755
console/migrations/m160208_095412_portfolio.php
100644 → 100755
console/migrations/m160208_125956_user_info_add_status_fields.php
100644 → 100755
console/migrations/m160209_104201_add_field_project_budget.php
100644 → 100755
console/migrations/m160209_151553_employment_data.php
100644 → 100755
console/migrations/m160210_085744_department.php
100644 → 100755
console/migrations/m160216_180149_tean_date_change.php
100644 → 100755
console/migrations/m160217_092739_currency_table.php
100644 → 100755
console/migrations/m160217_093704_add_field_geography_user_info.php
100644 → 100755
console/migrations/m160217_131655_currency_connection.php
100644 → 100755
console/migrations/m160217_145813_add_fields_february.php
100644 → 100755
console/migrations/m160219_152535_add_preview_portfolio.php
100644 → 100755
console/migrations/m160222_160058_add_user_info_email.php
100644 → 100755
console/migrations/m160225_143331_comment_test.php
100644 → 100755
console/migrations/m160304_081817_rating_table.php
100644 → 100755
console/migrations/m160309_124241_add_vacancy_status.php
100644 → 100755
console/migrations/m160310_080610_hide_email_to_user_info.php
100644 → 100755
console/migrations/m160311_132124_rating_comment_restyle.php
100644 → 100755
console/migrations/m160311_151257_user_project_rating.php
100644 → 100755
console/migrations/m160312_143616_project_add_field_total_budget.php
100644 → 100755
console/migrations/m160314_090858_project_comment.php
100644 → 100755
console/migrations/m160316_134249_bookmarks_table.php
100644 → 100755
console/migrations/m160317_143914_project_state_add.php
100644 → 100755
console/migrations/m160321_132138_project_add_status.php
100644 → 100755
console/migrations/m160325_085819_user_info_radio.php
100644 → 100755
console/migrations/m160325_153328_file_relation_table.php
100644 → 100755
console/migrations/m160329_085324_file_add_user.php
100644 → 100755
console/migrations/m160406_133247_create_junction_portfolio_and_user.php
100644 → 100755
console/migrations/m160411_143038_create_portfolio_gallery.php
100644 → 100755
console/migrations/m160425_121151_add_achievement_to_job.php
100644 → 100755
console/migrations/m160425_130026_create_feedback.php
100644 → 100755
console/migrations/m160504_145135_add_coordinates_columns_to_project_and_portfolio.php
100644 → 100755
console/migrations/m160519_124222_create_feedback_company.php
100644 → 100755
frontend/controllers/AccountsController.php
... | ... | @@ -516,7 +516,6 @@ |
516 | 516 | $user = \Yii::$app->user->identity; |
517 | 517 | $user_info = $user->userInfo; |
518 | 518 | $company_info = $user->companyInfo; |
519 | - $user = \Yii::$app->user->identity; | |
520 | 519 | if(empty( $user_info )) { |
521 | 520 | //$user_info = new UserInfo([ 'user_id' => $user->id ]); |
522 | 521 | } |
... | ... | @@ -1068,12 +1067,14 @@ |
1068 | 1067 | /** |
1069 | 1068 | * @var User $user |
1070 | 1069 | */ |
1071 | - $user = \Yii::$app->user->identity; | |
1070 | + $user = User::find()->where(['id' => \Yii::$app->user->id])->one(); | |
1071 | + $user->setSpecializationInput($user->getSpecializationInput()); | |
1072 | 1072 | $user_info = $user->userInfo; |
1073 | 1073 | if(empty( $user_info )) { |
1074 | 1074 | $user_info = new UserInfo([ 'user_id' => \Yii::$app->user->getId() ]); |
1075 | 1075 | } |
1076 | 1076 | $specializations = Specialization::find() |
1077 | + ->with('children') | |
1077 | 1078 | ->where([ 'specialization_pid' => 0 ]) |
1078 | 1079 | ->orderBy('specialization_id') |
1079 | 1080 | ->all(); | ... | ... |
frontend/controllers/SearchController.php
... | ... | @@ -109,11 +109,18 @@ use frontend\models\Option; |
109 | 109 | { |
110 | 110 | $specialization = Specialization::specializationsList(); |
111 | 111 | |
112 | + $specializations = Specialization::find() | |
113 | + ->with('children') | |
114 | + ->where([ 'specialization_pid' => 0 ]) | |
115 | + ->orderBy('specialization_id') | |
116 | + ->all(); | |
117 | + | |
112 | 118 | $searchModel = new SearchPerformerForm(); |
113 | 119 | |
114 | 120 | return $this->render('performer',[ |
115 | 121 | 'dataProvider' => $searchModel->search(Yii::$app->request->queryParams), |
116 | 122 | 'specialization' => $specialization, |
123 | + 'specializations' => $specializations, | |
117 | 124 | 'model'=> $searchModel |
118 | 125 | ]); |
119 | 126 | } | ... | ... |
... | ... | @@ -31,6 +31,8 @@ |
31 | 31 | |
32 | 32 | public $search; |
33 | 33 | |
34 | + public $portfolio; | |
35 | + | |
34 | 36 | /** |
35 | 37 | * @inheritdoc |
36 | 38 | */ |
... | ... | @@ -47,6 +49,7 @@ |
47 | 49 | 'rating', |
48 | 50 | 'online', |
49 | 51 | 'search', |
52 | + 'portfolio', | |
50 | 53 | ], |
51 | 54 | 'safe', |
52 | 55 | ], |
... | ... | @@ -55,7 +58,11 @@ |
55 | 58 | 'default', |
56 | 59 | 'value' => 0, |
57 | 60 | ], |
58 | - | |
61 | + [ | |
62 | + [ 'portfolio' ], | |
63 | + 'default', | |
64 | + 'value' => 1, | |
65 | + ], | |
59 | 66 | ]; |
60 | 67 | } |
61 | 68 | |
... | ... | @@ -85,7 +92,6 @@ |
85 | 92 | */ |
86 | 93 | public function search($params) |
87 | 94 | { |
88 | - | |
89 | 95 | $this->load($params); |
90 | 96 | |
91 | 97 | $query = User::find() |
... | ... | @@ -100,6 +106,7 @@ |
100 | 106 | 'specializations', |
101 | 107 | 'companyInfo', |
102 | 108 | ]) |
109 | + ->innerJoin('portfolio', '"portfolio"."user_id" = "user"."id"') | |
103 | 110 | ->where([ 'user_info.is_freelancer' => 1 ]); |
104 | 111 | |
105 | 112 | $dataProvider = new ActiveDataProvider([ |
... | ... | @@ -162,11 +169,14 @@ |
162 | 169 | ->innerJoin([ 'spec' => 'user_specialization' ], 'spec.user_id = users.id') |
163 | 170 | ->asArray() |
164 | 171 | ->column(); |
165 | - if(empty($query2)) { | |
172 | + if(empty( $query2 )) { | |
166 | 173 | $query->where('0=1'); |
167 | 174 | return $dataProvider; |
168 | 175 | } |
169 | 176 | |
177 | + // Clear array from empty strings | |
178 | + //$this->specialization = array_filter($this->specialization, 'strlen'); | |
179 | + | |
170 | 180 | $query->andFilterWhere([ |
171 | 181 | 'user_info.city' => $this->city, |
172 | 182 | 'specialization.specialization_id' => $this->specialization, | ... | ... |
frontend/views/accounts/general.php
... | ... | @@ -46,13 +46,18 @@ |
46 | 46 | </div> |
47 | 47 | <div class="general-check-right"> |
48 | 48 | <div class="general-check-right-txt"> |
49 | - Обязательно должны быть указаны специализации услуг, что бы вы попали в рейтинг исполнителей | |
49 | + Обязательно должны быть указаны специализации услуг, а также добавлены проекты в портфолио, что бы вы попали в рейтинг исполнителей | |
50 | 50 | <?php |
51 | 51 | if(!empty( $user->specializations )) { |
52 | 52 | echo "<p>В Вашем профиле указаны специализации: " . count($user->specializations) . "</p>"; |
53 | 53 | } else { |
54 | 54 | echo "<p>В Вашем профиле не указаны специализации. Чтобы указать - перейдите по " . Html::a('ссылке', [ 'accounts/service' ], [ 'target' => '_blank' ]) . "</p>"; |
55 | 55 | } |
56 | + if(!empty( $user->portfolios )) { | |
57 | + echo "<p>В Вашем портфолио добавлено проектов: " . count($user->portfolios) . "</p>"; | |
58 | + } else { | |
59 | + echo "<p>В Вашем портфолио не добавлены проекты. Чтобы добавить - перейдите по " . Html::a('ссылке', [ 'accounts/portfolio' ], [ 'target' => '_blank' ]) . "</p>"; | |
60 | + } | |
56 | 61 | ?> |
57 | 62 | </div> |
58 | 63 | </div> | ... | ... |
frontend/views/accounts/service.php
frontend/views/bookmarks/bookmarks-customer.php
100644 → 100755
frontend/views/bookmarks/bookmarks-performer.php
100644 → 100755
frontend/views/bookmarks/bookmarks-project.php
100644 → 100755
frontend/views/bookmarks/bookmarks-vacancy.php
100644 → 100755
frontend/views/company/_company_common_blog.php
100644 → 100755
frontend/views/company/_company_common_review.php
100644 → 100755
frontend/views/company/_company_team_review.php
100644 → 100755
frontend/views/company/_portfolio_list_view.php
100644 → 100755
frontend/views/layouts/main.php
... | ... | @@ -169,15 +169,15 @@ |
169 | 169 | 'items' => [ |
170 | 170 | [ |
171 | 171 | 'url' => [ '/projects' ], |
172 | - 'template' => '<a href="{url}" class="main-menu-icons-home"><span>' . count(\Yii::$app->user->identity->commentProjectsActive) . '</span></a>', | |
172 | + 'template' => '<a href="{url}" class="main-menu-icons-home">'.((!empty(\Yii::$app->user->identity->commentProjectsActive))?('<span>' . count(\Yii::$app->user->identity->commentProjectsActive) . '</span>'):('')).'</a>', | |
173 | 173 | ], |
174 | 174 | [ |
175 | 175 | 'url' => [ 'chat/list' ], |
176 | - 'template' => '<a href="{url}" class="main-menu-icons-edit"><span>' . \Yii::$app->user->identity->newMessagesCount . '</span></a>', | |
176 | + 'template' => '<a href="{url}" class="main-menu-icons-edit">'.((!empty(\Yii::$app->user->identity->newMessagesCount))?('<span>' . \Yii::$app->user->identity->newMessagesCount . '</span>'):('')).'</a>', | |
177 | 177 | ], |
178 | 178 | [ |
179 | 179 | 'url' => [ '/bookmarks' ], |
180 | - 'template' => "<a href='{url}' class='main-menu-icons-copy'><span>" . count(\Yii::$app->user->identity->bookmarks) . "</span></a>", | |
180 | + 'template' => '<a href="{url}" class="main-menu-icons-copy">'.((!empty(\Yii::$app->user->identity->bookmarks))?('<span>' . count(\Yii::$app->user->identity->bookmarks) . '</span>'):('')).'</a>', | |
181 | 181 | ], |
182 | 182 | ], |
183 | 183 | ]); | ... | ... |
frontend/views/performer/_gallery_list_view.php
100644 → 100755
frontend/views/performer/_portfolio_list_view.php
100644 → 100755
frontend/views/projects/_projects_list_view.php
100644 → 100755
frontend/views/search/_performer_list_view.php
100644 → 100755
frontend/views/search/performer.php
... | ... | @@ -4,10 +4,9 @@ |
4 | 4 | * @var SearchPerformerForm $model |
5 | 5 | */ |
6 | 6 | |
7 | - use common\models\Vacancy; | |
7 | + use common\models\Specialization; | |
8 | 8 | use frontend\models\SearchPerformerForm; |
9 | 9 | use kartik\select2\Select2; |
10 | - use yii\helpers\ArrayHelper; | |
11 | 10 | use \yii\helpers\Html; |
12 | 11 | use yii\helpers\Url; |
13 | 12 | use yii\jui\SliderInput; |
... | ... | @@ -21,7 +20,6 @@ |
21 | 20 | $active_key = array_keys($sort_array)[ 0 ]; |
22 | 21 | $active_value = $sort_array[ $active_key ]; |
23 | 22 | $sort_name = ( ( $active_value == 4 ) ? '-' : '' ) . $active_key; |
24 | - | |
25 | 23 | $this->title = 'My Yii Application'; |
26 | 24 | ?> |
27 | 25 | |
... | ... | @@ -54,10 +52,93 @@ |
54 | 52 | ], |
55 | 53 | ]); ?> |
56 | 54 | |
55 | + <?php | |
56 | + // New specialization chooser | |
57 | + ?> | |
58 | + <div class="input-blocks-wrapper admin-menu-list"> | |
59 | + <div class="input-blocks" style="width: 100%; margin-bottom: 5px"> | |
60 | + <label>Специализации</label> | |
61 | + <div class="required"></div> | |
62 | + </div> | |
63 | + <div class="style"> | |
64 | + <ul class="content-menu-first"> | |
65 | + <?php foreach($specializations as $specialization): ?> | |
66 | + <li data-img="<?= $specialization->image ?>"> | |
67 | + <span data-menu-bg="<?= $specialization->background ?>" style="background: <?= $specialization->background ?>"></span><a href="#"><?= $specialization->specialization_name ?></a> | |
68 | + <ul> | |
69 | + <?php foreach($specialization->children as $child_first): ?> | |
70 | + | |
71 | + <?php if($child_first instanceof Specialization): ?> | |
72 | + <li> | |
73 | + <a href="#"><?= $child_first->specialization_name ?></a> | |
74 | + <ul> | |
75 | + <?php foreach($child_first->children as $child_second): ?> | |
76 | + <?php if($child_first instanceof Specialization): ?> | |
77 | + <li> | |
78 | + <a href="#" title="<?= $child_second->specialization_name ?>"> | |
79 | + <?= $form->field($model, "specialization[{$child_second->specialization_id}]", [ | |
80 | + 'template' => '{input}{label}{hint}{error}', | |
81 | + ]) | |
82 | + ->label('<span></span>' . $child_second->specialization_name) | |
83 | + ->checkbox([ | |
84 | + 'value' => $child_second->specialization_id, | |
85 | + 'label' => NULL, | |
86 | + 'uncheck' => NULL, | |
87 | + 'class' => 'custom-check', | |
88 | + ], false) ?> | |
89 | + </a> | |
90 | + </li> | |
91 | + <?php endif; ?> | |
92 | + <?php endforeach; ?> | |
93 | + </ul> | |
94 | + </li> | |
95 | + <?php endif; ?> | |
96 | + <?php endforeach; ?> | |
97 | + | |
98 | + </ul> | |
99 | + </li> | |
100 | + <?php endforeach; ?> | |
101 | + </ul> | |
102 | + </div> | |
103 | + <div class="style admn-menu-err"> | |
104 | + <div class="help-block">Необходимо выбрать хотя бы одну «специализацию».</div> | |
105 | + </div> | |
106 | + </div> | |
107 | + | |
108 | + <div class="admin-specialization-selected style"> | |
109 | + <ul></ul> | |
110 | + </div> | |
111 | + | |
112 | + <?php | |
113 | + // End of new specialization chooser | |
114 | + ?> | |
115 | + | |
116 | + <?php | |
117 | + /* | |
118 | + ?> | |
57 | 119 | |
58 | - <?= $form->field($model, 'specialization') | |
120 | + <?= $form->field($model, 'specialization[]') | |
59 | 121 | ->dropDownList($specialization, [ 'prompt' => 'Любая' ]); ?> |
122 | + <?php | |
123 | + */ | |
124 | + ?> | |
60 | 125 | |
126 | + <?= $form->field($model, 'portfolio', [ | |
127 | + 'options' => [ | |
128 | + 'class' => 'blocks-check-list-wrapp', | |
129 | + ], | |
130 | + 'template' => "<div class='blocks-check-title'>{label}</div>\n{input}\n{hint}\n{error}", | |
131 | + ]) | |
132 | + ->label('Искать в') | |
133 | + ->radioList([ | |
134 | + 1 => 'Портфолио', | |
135 | + 0 => 'Услуги', | |
136 | + ], [ | |
137 | + 'item' => function($index, $label, $name, $checked, $value) use ($model) { | |
138 | + return "<div class='blocks-check-list'><input type='radio' id='{$model->formName()}-{$index}-portfolio' name='{$name}' class='check-search' value='{$value}' " . ( $checked ? 'checked' : '' ) . "><label for='{$model->formName()}-{$index}-portfolio'><span></span>{$label}</label></div>"; | |
139 | + }, | |
140 | + 'unselect' => NULL, | |
141 | + ]); ?> | |
61 | 142 | |
62 | 143 | <?= $form->field($model, 'type') |
63 | 144 | ->dropDownList([ |
... | ... | @@ -128,8 +209,6 @@ |
128 | 209 | 'unselect' => NULL, |
129 | 210 | ]); ?> |
130 | 211 | |
131 | - | |
132 | - | |
133 | 212 | <?= $form->field($model, 'additional_parameters') |
134 | 213 | ->checkboxList([ |
135 | 214 | 'with_portfolio' => 'Только с портфолио', |
... | ... | @@ -176,9 +255,9 @@ |
176 | 255 | ?> |
177 | 256 | |
178 | 257 | <?php |
179 | - if(empty(\Yii::$app->user->id) || empty(\Yii::$app->user->identity->specializations)) { | |
180 | - echo Html::a('Добавить себя в каталог', Url::toRoute('accounts/service'), [ 'class' => 'add-to-catalog-search-worker' ]); | |
181 | - } | |
258 | + if(empty( \Yii::$app->user->id ) || empty( \Yii::$app->user->identity->specializations )) { | |
259 | + echo Html::a('Добавить себя в каталог', Url::toRoute('accounts/service'), [ 'class' => 'add-to-catalog-search-worker' ]); | |
260 | + } | |
182 | 261 | ?> |
183 | 262 | |
184 | 263 | <div class="search-worker-sort-wr style"> | ... | ... |
No preview for this file type
frontend/web/fonts/glyphicons-halflings-regular.svg
100644 → 100755
No preview for this file type
No preview for this file type
No preview for this file type
tests/_support/_generated/AcceptanceTesterActions.php
100644 → 100755
tests/_support/_generated/FunctionalTesterActions.php
100644 → 100755
tests/_support/_generated/UnitTesterActions.php
100644 → 100755