Commit c0df05f9 authored by Viral Solani's avatar Viral Solani

Merge branch 'master' of https://github.com/indranshastri/laravel-adminpanel...

Merge branch 'master' of https://github.com/indranshastri/laravel-adminpanel into indranshastri-master
parents ce0593f9 d044f847
...@@ -23,7 +23,13 @@ npm-debug.log ...@@ -23,7 +23,13 @@ npm-debug.log
yarn-error.log yarn-error.log
phpunit.txt phpunit.txt
public/css public/css
public/js public/js/*.js
public/js/plugins
public/js/skins
public/js/themes
public/js/skins/*.js
composer.lock composer.lock
public/img/backend/blog_images/* public/img/backend/blog_images/*
public/mix-manifest.json public/mix-manifest.json
\ No newline at end of file
...@@ -74,20 +74,20 @@ ...@@ -74,20 +74,20 @@
}, },
{ {
"name": "arcanedev/no-captcha", "name": "arcanedev/no-captcha",
"version": "5.0.1", "version": "5.0.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/ARCANEDEV/noCAPTCHA.git", "url": "https://github.com/ARCANEDEV/noCAPTCHA.git",
"reference": "c02d7f1ef25d281f304b9af460a13f4601bbc44c" "reference": "97010dcd6b83e73ae629f1c33975bbee2f15ea84"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/ARCANEDEV/noCAPTCHA/zipball/c02d7f1ef25d281f304b9af460a13f4601bbc44c", "url": "https://api.github.com/repos/ARCANEDEV/noCAPTCHA/zipball/97010dcd6b83e73ae629f1c33975bbee2f15ea84",
"reference": "c02d7f1ef25d281f304b9af460a13f4601bbc44c", "reference": "97010dcd6b83e73ae629f1c33975bbee2f15ea84",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"arcanedev/support": "~4.0", "arcanedev/support": "~4.2.0",
"ext-curl": "*", "ext-curl": "*",
"ext-json": "*", "ext-json": "*",
"php": ">=7.0", "php": ">=7.0",
...@@ -95,6 +95,7 @@ ...@@ -95,6 +95,7 @@
}, },
"require-dev": { "require-dev": {
"arcanedev/laravel-html": "~5.0", "arcanedev/laravel-html": "~5.0",
"orchestra/testbench": "~3.5.0",
"phpunit/phpcov": "~4.0", "phpunit/phpcov": "~4.0",
"phpunit/phpunit": "~6.0" "phpunit/phpunit": "~6.0"
}, },
...@@ -136,20 +137,20 @@ ...@@ -136,20 +137,20 @@
"no-captcha", "no-captcha",
"recaptcha" "recaptcha"
], ],
"time": "2017-09-08T13:38:56+00:00" "time": "2018-02-12T05:16:30+00:00"
}, },
{ {
"name": "arcanedev/support", "name": "arcanedev/support",
"version": "4.2.1", "version": "4.2.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/ARCANEDEV/Support.git", "url": "https://github.com/ARCANEDEV/Support.git",
"reference": "255b58905e9744d8bbf9d135f7ff5c4538f9ebc8" "reference": "525166d89920e83b07efbb2fbccc5b128484cf0f"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/ARCANEDEV/Support/zipball/255b58905e9744d8bbf9d135f7ff5c4538f9ebc8", "url": "https://api.github.com/repos/ARCANEDEV/Support/zipball/525166d89920e83b07efbb2fbccc5b128484cf0f",
"reference": "255b58905e9744d8bbf9d135f7ff5c4538f9ebc8", "reference": "525166d89920e83b07efbb2fbccc5b128484cf0f",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -191,7 +192,7 @@ ...@@ -191,7 +192,7 @@
"laravel", "laravel",
"support" "support"
], ],
"time": "2017-09-07T16:25:53+00:00" "time": "2018-02-07T18:22:19+00:00"
}, },
{ {
"name": "codedungeon/phpunit-result-printer", "name": "codedungeon/phpunit-result-printer",
...@@ -734,20 +735,20 @@ ...@@ -734,20 +735,20 @@
}, },
{ {
"name": "doctrine/inflector", "name": "doctrine/inflector",
"version": "v1.2.0", "version": "v1.3.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/doctrine/inflector.git", "url": "https://github.com/doctrine/inflector.git",
"reference": "e11d84c6e018beedd929cff5220969a3c6d1d462" "reference": "5527a48b7313d15261292c149e55e26eae771b0a"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/doctrine/inflector/zipball/e11d84c6e018beedd929cff5220969a3c6d1d462", "url": "https://api.github.com/repos/doctrine/inflector/zipball/5527a48b7313d15261292c149e55e26eae771b0a",
"reference": "e11d84c6e018beedd929cff5220969a3c6d1d462", "reference": "5527a48b7313d15261292c149e55e26eae771b0a",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": "^7.0" "php": "^7.1"
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "^6.2" "phpunit/phpunit": "^6.2"
...@@ -755,7 +756,7 @@ ...@@ -755,7 +756,7 @@
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "1.2.x-dev" "dev-master": "1.3.x-dev"
} }
}, },
"autoload": { "autoload": {
...@@ -797,7 +798,7 @@ ...@@ -797,7 +798,7 @@
"singularize", "singularize",
"string" "string"
], ],
"time": "2017-07-22T12:18:28+00:00" "time": "2018-01-09T20:05:19+00:00"
}, },
{ {
"name": "doctrine/lexer", "name": "doctrine/lexer",
...@@ -1472,16 +1473,16 @@ ...@@ -1472,16 +1473,16 @@
}, },
{ {
"name": "laravel/framework", "name": "laravel/framework",
"version": "v5.5.28", "version": "v5.5.35",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/laravel/framework.git", "url": "https://github.com/laravel/framework.git",
"reference": "cfafae1f2043208390a7c984e3070696f4969605" "reference": "b0e15382ecf51a082ef8b2ae0d26f62972f6c3ce"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/laravel/framework/zipball/cfafae1f2043208390a7c984e3070696f4969605", "url": "https://api.github.com/repos/laravel/framework/zipball/b0e15382ecf51a082ef8b2ae0d26f62972f6c3ce",
"reference": "cfafae1f2043208390a7c984e3070696f4969605", "reference": "b0e15382ecf51a082ef8b2ae0d26f62972f6c3ce",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -1538,7 +1539,7 @@ ...@@ -1538,7 +1539,7 @@
"illuminate/translation": "self.version", "illuminate/translation": "self.version",
"illuminate/validation": "self.version", "illuminate/validation": "self.version",
"illuminate/view": "self.version", "illuminate/view": "self.version",
"tightenco/collect": "self.version" "tightenco/collect": "<5.5.33"
}, },
"require-dev": { "require-dev": {
"aws/aws-sdk-php": "~3.0", "aws/aws-sdk-php": "~3.0",
...@@ -1602,7 +1603,7 @@ ...@@ -1602,7 +1603,7 @@
"framework", "framework",
"laravel" "laravel"
], ],
"time": "2017-12-26T16:24:40+00:00" "time": "2018-02-22T19:56:29+00:00"
}, },
{ {
"name": "laravel/socialite", "name": "laravel/socialite",
...@@ -1731,16 +1732,16 @@ ...@@ -1731,16 +1732,16 @@
}, },
{ {
"name": "laravelcollective/html", "name": "laravelcollective/html",
"version": "v5.5.1", "version": "v5.5.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/LaravelCollective/html.git", "url": "https://github.com/LaravelCollective/html.git",
"reference": "2f6dc39ab3655724a615fe8a652d8b7f04fc9ac6" "reference": "b79edc7acf574144c9811277286b4cafee8a07cc"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/LaravelCollective/html/zipball/2f6dc39ab3655724a615fe8a652d8b7f04fc9ac6", "url": "https://api.github.com/repos/LaravelCollective/html/zipball/b79edc7acf574144c9811277286b4cafee8a07cc",
"reference": "2f6dc39ab3655724a615fe8a652d8b7f04fc9ac6", "reference": "b79edc7acf574144c9811277286b4cafee8a07cc",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -1758,6 +1759,7 @@ ...@@ -1758,6 +1759,7 @@
}, },
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": [],
"laravel": { "laravel": {
"providers": [ "providers": [
"Collective\\Html\\HtmlServiceProvider" "Collective\\Html\\HtmlServiceProvider"
...@@ -1791,21 +1793,79 @@ ...@@ -1791,21 +1793,79 @@
} }
], ],
"description": "HTML and Form Builders for the Laravel Framework", "description": "HTML and Form Builders for the Laravel Framework",
"homepage": "http://laravelcollective.com", "homepage": "https://laravelcollective.com",
"time": "2017-08-31T14:46:03+00:00" "time": "2018-02-12T14:19:55+00:00"
},
{
"name": "lcobucci/jwt",
"version": "3.2.2",
"source": {
"type": "git",
"url": "https://github.com/lcobucci/jwt.git",
"reference": "0b5930be73582369e10c4d4bb7a12bac927a203c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/lcobucci/jwt/zipball/0b5930be73582369e10c4d4bb7a12bac927a203c",
"reference": "0b5930be73582369e10c4d4bb7a12bac927a203c",
"shasum": ""
},
"require": {
"ext-openssl": "*",
"php": ">=5.5"
},
"require-dev": {
"mdanter/ecc": "~0.3.1",
"mikey179/vfsstream": "~1.5",
"phpmd/phpmd": "~2.2",
"phpunit/php-invoker": "~1.1",
"phpunit/phpunit": "~4.5",
"squizlabs/php_codesniffer": "~2.3"
},
"suggest": {
"mdanter/ecc": "Required to use Elliptic Curves based algorithms."
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "3.1-dev"
}
},
"autoload": {
"psr-4": {
"Lcobucci\\JWT\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"BSD-3-Clause"
],
"authors": [
{
"name": "Luís Otávio Cobucci Oblonczyk",
"email": "lcobucci@gmail.com",
"role": "Developer"
}
],
"description": "A simple library to work with JSON Web Token and JSON Web Signature",
"keywords": [
"JWS",
"jwt"
],
"time": "2017-09-01T08:23:26+00:00"
}, },
{ {
"name": "league/flysystem", "name": "league/flysystem",
"version": "1.0.41", "version": "1.0.42",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/thephpleague/flysystem.git", "url": "https://github.com/thephpleague/flysystem.git",
"reference": "f400aa98912c561ba625ea4065031b7a41e5a155" "reference": "09eabc54e199950041aef258a85847676496fe8e"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/thephpleague/flysystem/zipball/f400aa98912c561ba625ea4065031b7a41e5a155", "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/09eabc54e199950041aef258a85847676496fe8e",
"reference": "f400aa98912c561ba625ea4065031b7a41e5a155", "reference": "09eabc54e199950041aef258a85847676496fe8e",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -1816,12 +1876,13 @@ ...@@ -1816,12 +1876,13 @@
}, },
"require-dev": { "require-dev": {
"ext-fileinfo": "*", "ext-fileinfo": "*",
"mockery/mockery": "~0.9", "phpspec/phpspec": "^3.4",
"phpspec/phpspec": "^2.2", "phpunit/phpunit": "^5.7"
"phpunit/phpunit": "~4.8"
}, },
"suggest": { "suggest": {
"ext-fileinfo": "Required for MimeType", "ext-fileinfo": "Required for MimeType",
"ext-ftp": "Allows you to use FTP server storage",
"ext-openssl": "Allows you to use FTPS server storage",
"league/flysystem-aws-s3-v2": "Allows you to use S3 storage with AWS SDK v2", "league/flysystem-aws-s3-v2": "Allows you to use S3 storage with AWS SDK v2",
"league/flysystem-aws-s3-v3": "Allows you to use S3 storage with AWS SDK v3", "league/flysystem-aws-s3-v3": "Allows you to use S3 storage with AWS SDK v3",
"league/flysystem-azure": "Allows you to use Windows Azure Blob storage", "league/flysystem-azure": "Allows you to use Windows Azure Blob storage",
...@@ -1875,7 +1936,7 @@ ...@@ -1875,7 +1936,7 @@
"sftp", "sftp",
"storage" "storage"
], ],
"time": "2017-08-06T17:41:04+00:00" "time": "2018-01-27T16:03:56+00:00"
}, },
{ {
"name": "league/oauth1-client", "name": "league/oauth1-client",
...@@ -2180,16 +2241,16 @@ ...@@ -2180,16 +2241,16 @@
}, },
{ {
"name": "nikic/php-parser", "name": "nikic/php-parser",
"version": "v3.1.3", "version": "v3.1.4",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/nikic/PHP-Parser.git", "url": "https://github.com/nikic/PHP-Parser.git",
"reference": "579f4ce846734a1cf55d6a531d00ca07a43e3cda" "reference": "e57b3a09784f846411aa7ed664eedb73e3399078"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/579f4ce846734a1cf55d6a531d00ca07a43e3cda", "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/e57b3a09784f846411aa7ed664eedb73e3399078",
"reference": "579f4ce846734a1cf55d6a531d00ca07a43e3cda", "reference": "e57b3a09784f846411aa7ed664eedb73e3399078",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -2227,7 +2288,7 @@ ...@@ -2227,7 +2288,7 @@
"parser", "parser",
"php" "php"
], ],
"time": "2017-12-26T14:43:21+00:00" "time": "2018-01-25T21:31:33+00:00"
}, },
{ {
"name": "paragonie/random_compat", "name": "paragonie/random_compat",
...@@ -2545,16 +2606,16 @@ ...@@ -2545,16 +2606,16 @@
}, },
{ {
"name": "ramsey/uuid", "name": "ramsey/uuid",
"version": "3.7.1", "version": "3.7.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/ramsey/uuid.git", "url": "https://github.com/ramsey/uuid.git",
"reference": "45cffe822057a09e05f7bd09ec5fb88eeecd2334" "reference": "44abcdad877d9a46685a3a4d221e3b2c4b87cb76"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/ramsey/uuid/zipball/45cffe822057a09e05f7bd09ec5fb88eeecd2334", "url": "https://api.github.com/repos/ramsey/uuid/zipball/44abcdad877d9a46685a3a4d221e3b2c4b87cb76",
"reference": "45cffe822057a09e05f7bd09ec5fb88eeecd2334", "reference": "44abcdad877d9a46685a3a4d221e3b2c4b87cb76",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -2565,17 +2626,15 @@ ...@@ -2565,17 +2626,15 @@
"rhumsaa/uuid": "self.version" "rhumsaa/uuid": "self.version"
}, },
"require-dev": { "require-dev": {
"apigen/apigen": "^4.1", "codeception/aspect-mock": "^1.0 | ~2.0.0",
"codeception/aspect-mock": "^1.0 | ^2.0",
"doctrine/annotations": "~1.2.0", "doctrine/annotations": "~1.2.0",
"goaop/framework": "1.0.0-alpha.2 | ^1.0 | ^2.1", "goaop/framework": "1.0.0-alpha.2 | ^1.0 | ^2.1",
"ircmaxell/random-lib": "^1.1", "ircmaxell/random-lib": "^1.1",
"jakub-onderka/php-parallel-lint": "^0.9.0", "jakub-onderka/php-parallel-lint": "^0.9.0",
"mockery/mockery": "^0.9.4", "mockery/mockery": "^0.9.9",
"moontoast/math": "^1.1", "moontoast/math": "^1.1",
"php-mock/php-mock-phpunit": "^0.3|^1.1", "php-mock/php-mock-phpunit": "^0.3|^1.1",
"phpunit/phpunit": "^4.7|>=5.0 <5.4", "phpunit/phpunit": "^4.7|^5.0",
"satooshi/php-coveralls": "^0.6.1",
"squizlabs/php_codesniffer": "^2.3" "squizlabs/php_codesniffer": "^2.3"
}, },
"suggest": { "suggest": {
...@@ -2623,7 +2682,7 @@ ...@@ -2623,7 +2682,7 @@
"identifier", "identifier",
"uuid" "uuid"
], ],
"time": "2017-09-22T20:46:04+00:00" "time": "2018-01-20T00:28:24+00:00"
}, },
{ {
"name": "swiftmailer/swiftmailer", "name": "swiftmailer/swiftmailer",
...@@ -2682,16 +2741,16 @@ ...@@ -2682,16 +2741,16 @@
}, },
{ {
"name": "symfony/console", "name": "symfony/console",
"version": "v3.4.3", "version": "v3.4.4",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/console.git", "url": "https://github.com/symfony/console.git",
"reference": "8394c8ef121949e8f858f13bc1e34f05169e4e7d" "reference": "26b6f419edda16c19775211987651cb27baea7f1"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/console/zipball/8394c8ef121949e8f858f13bc1e34f05169e4e7d", "url": "https://api.github.com/repos/symfony/console/zipball/26b6f419edda16c19775211987651cb27baea7f1",
"reference": "8394c8ef121949e8f858f13bc1e34f05169e4e7d", "reference": "26b6f419edda16c19775211987651cb27baea7f1",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -2747,11 +2806,11 @@ ...@@ -2747,11 +2806,11 @@
], ],
"description": "Symfony Console Component", "description": "Symfony Console Component",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"time": "2018-01-03T07:37:34+00:00" "time": "2018-01-29T09:03:43+00:00"
}, },
{ {
"name": "symfony/css-selector", "name": "symfony/css-selector",
"version": "v3.4.3", "version": "v3.4.4",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/css-selector.git", "url": "https://github.com/symfony/css-selector.git",
...@@ -2804,16 +2863,16 @@ ...@@ -2804,16 +2863,16 @@
}, },
{ {
"name": "symfony/debug", "name": "symfony/debug",
"version": "v3.4.3", "version": "v3.4.4",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/debug.git", "url": "https://github.com/symfony/debug.git",
"reference": "603b95dda8b00020e4e6e60dc906e7b715b1c245" "reference": "53f6af2805daf52a43b393b93d2f24925d35c937"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/debug/zipball/603b95dda8b00020e4e6e60dc906e7b715b1c245", "url": "https://api.github.com/repos/symfony/debug/zipball/53f6af2805daf52a43b393b93d2f24925d35c937",
"reference": "603b95dda8b00020e4e6e60dc906e7b715b1c245", "reference": "53f6af2805daf52a43b393b93d2f24925d35c937",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -2856,11 +2915,11 @@ ...@@ -2856,11 +2915,11 @@
], ],
"description": "Symfony Debug Component", "description": "Symfony Debug Component",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"time": "2018-01-03T17:14:19+00:00" "time": "2018-01-18T22:16:57+00:00"
}, },
{ {
"name": "symfony/event-dispatcher", "name": "symfony/event-dispatcher",
"version": "v4.0.3", "version": "v4.0.4",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/event-dispatcher.git", "url": "https://github.com/symfony/event-dispatcher.git",
...@@ -2923,7 +2982,7 @@ ...@@ -2923,7 +2982,7 @@
}, },
{ {
"name": "symfony/finder", "name": "symfony/finder",
"version": "v3.4.3", "version": "v3.4.4",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/finder.git", "url": "https://github.com/symfony/finder.git",
...@@ -2972,16 +3031,16 @@ ...@@ -2972,16 +3031,16 @@
}, },
{ {
"name": "symfony/http-foundation", "name": "symfony/http-foundation",
"version": "v3.4.3", "version": "v3.4.4",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/http-foundation.git", "url": "https://github.com/symfony/http-foundation.git",
"reference": "4a213be1cc8598089b8c7451529a2927b49b5d26" "reference": "8c39071ac9cc7e6d8dab1d556c990dc0d2cc3d30"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/4a213be1cc8598089b8c7451529a2927b49b5d26", "url": "https://api.github.com/repos/symfony/http-foundation/zipball/8c39071ac9cc7e6d8dab1d556c990dc0d2cc3d30",
"reference": "4a213be1cc8598089b8c7451529a2927b49b5d26", "reference": "8c39071ac9cc7e6d8dab1d556c990dc0d2cc3d30",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -3022,20 +3081,20 @@ ...@@ -3022,20 +3081,20 @@
], ],
"description": "Symfony HttpFoundation Component", "description": "Symfony HttpFoundation Component",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"time": "2018-01-03T17:14:19+00:00" "time": "2018-01-29T09:03:43+00:00"
}, },
{ {
"name": "symfony/http-kernel", "name": "symfony/http-kernel",
"version": "v3.4.3", "version": "v3.4.4",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/http-kernel.git", "url": "https://github.com/symfony/http-kernel.git",
"reference": "1c2a82d6a8ec9b354fe4ef48ad1ad3f1a4f7db0e" "reference": "911d2e5dd4beb63caad9a72e43857de984301907"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/1c2a82d6a8ec9b354fe4ef48ad1ad3f1a4f7db0e", "url": "https://api.github.com/repos/symfony/http-kernel/zipball/911d2e5dd4beb63caad9a72e43857de984301907",
"reference": "1c2a82d6a8ec9b354fe4ef48ad1ad3f1a4f7db0e", "reference": "911d2e5dd4beb63caad9a72e43857de984301907",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -3043,7 +3102,7 @@ ...@@ -3043,7 +3102,7 @@
"psr/log": "~1.0", "psr/log": "~1.0",
"symfony/debug": "~2.8|~3.0|~4.0", "symfony/debug": "~2.8|~3.0|~4.0",
"symfony/event-dispatcher": "~2.8|~3.0|~4.0", "symfony/event-dispatcher": "~2.8|~3.0|~4.0",
"symfony/http-foundation": "^3.3.11|~4.0" "symfony/http-foundation": "^3.4.4|^4.0.4"
}, },
"conflict": { "conflict": {
"symfony/config": "<2.8", "symfony/config": "<2.8",
...@@ -3110,20 +3169,20 @@ ...@@ -3110,20 +3169,20 @@
], ],
"description": "Symfony HttpKernel Component", "description": "Symfony HttpKernel Component",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"time": "2018-01-05T08:33:00+00:00" "time": "2018-01-29T12:29:46+00:00"
}, },
{ {
"name": "symfony/polyfill-mbstring", "name": "symfony/polyfill-mbstring",
"version": "v1.6.0", "version": "v1.7.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/polyfill-mbstring.git", "url": "https://github.com/symfony/polyfill-mbstring.git",
"reference": "2ec8b39c38cb16674bbf3fea2b6ce5bf117e1296" "reference": "78be803ce01e55d3491c1397cf1c64beb9c1b63b"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/2ec8b39c38cb16674bbf3fea2b6ce5bf117e1296", "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/78be803ce01e55d3491c1397cf1c64beb9c1b63b",
"reference": "2ec8b39c38cb16674bbf3fea2b6ce5bf117e1296", "reference": "78be803ce01e55d3491c1397cf1c64beb9c1b63b",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -3135,7 +3194,7 @@ ...@@ -3135,7 +3194,7 @@
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "1.6-dev" "dev-master": "1.7-dev"
} }
}, },
"autoload": { "autoload": {
...@@ -3169,20 +3228,20 @@ ...@@ -3169,20 +3228,20 @@
"portable", "portable",
"shim" "shim"
], ],
"time": "2017-10-11T12:05:26+00:00" "time": "2018-01-30T19:27:44+00:00"
}, },
{ {
"name": "symfony/polyfill-php56", "name": "symfony/polyfill-php56",
"version": "v1.6.0", "version": "v1.7.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/polyfill-php56.git", "url": "https://github.com/symfony/polyfill-php56.git",
"reference": "265fc96795492430762c29be291a371494ba3a5b" "reference": "ebc999ce5f14204c5150b9bd15f8f04e621409d8"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-php56/zipball/265fc96795492430762c29be291a371494ba3a5b", "url": "https://api.github.com/repos/symfony/polyfill-php56/zipball/ebc999ce5f14204c5150b9bd15f8f04e621409d8",
"reference": "265fc96795492430762c29be291a371494ba3a5b", "reference": "ebc999ce5f14204c5150b9bd15f8f04e621409d8",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -3192,7 +3251,7 @@ ...@@ -3192,7 +3251,7 @@
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "1.6-dev" "dev-master": "1.7-dev"
} }
}, },
"autoload": { "autoload": {
...@@ -3225,20 +3284,20 @@ ...@@ -3225,20 +3284,20 @@
"portable", "portable",
"shim" "shim"
], ],
"time": "2017-10-11T12:05:26+00:00" "time": "2018-01-30T19:27:44+00:00"
}, },
{ {
"name": "symfony/polyfill-php70", "name": "symfony/polyfill-php70",
"version": "v1.6.0", "version": "v1.7.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/polyfill-php70.git", "url": "https://github.com/symfony/polyfill-php70.git",
"reference": "0442b9c0596610bd24ae7b5f0a6cdbbc16d9fcff" "reference": "3532bfcd8f933a7816f3a0a59682fc404776600f"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-php70/zipball/0442b9c0596610bd24ae7b5f0a6cdbbc16d9fcff", "url": "https://api.github.com/repos/symfony/polyfill-php70/zipball/3532bfcd8f933a7816f3a0a59682fc404776600f",
"reference": "0442b9c0596610bd24ae7b5f0a6cdbbc16d9fcff", "reference": "3532bfcd8f933a7816f3a0a59682fc404776600f",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -3248,7 +3307,7 @@ ...@@ -3248,7 +3307,7 @@
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "1.6-dev" "dev-master": "1.7-dev"
} }
}, },
"autoload": { "autoload": {
...@@ -3284,20 +3343,20 @@ ...@@ -3284,20 +3343,20 @@
"portable", "portable",
"shim" "shim"
], ],
"time": "2017-10-11T12:05:26+00:00" "time": "2018-01-30T19:27:44+00:00"
}, },
{ {
"name": "symfony/polyfill-util", "name": "symfony/polyfill-util",
"version": "v1.6.0", "version": "v1.7.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/polyfill-util.git", "url": "https://github.com/symfony/polyfill-util.git",
"reference": "6e719200c8e540e0c0effeb31f96bdb344b94176" "reference": "e17c808ec4228026d4f5a8832afa19be85979563"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-util/zipball/6e719200c8e540e0c0effeb31f96bdb344b94176", "url": "https://api.github.com/repos/symfony/polyfill-util/zipball/e17c808ec4228026d4f5a8832afa19be85979563",
"reference": "6e719200c8e540e0c0effeb31f96bdb344b94176", "reference": "e17c808ec4228026d4f5a8832afa19be85979563",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -3306,7 +3365,7 @@ ...@@ -3306,7 +3365,7 @@
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "1.6-dev" "dev-master": "1.7-dev"
} }
}, },
"autoload": { "autoload": {
...@@ -3336,20 +3395,20 @@ ...@@ -3336,20 +3395,20 @@
"polyfill", "polyfill",
"shim" "shim"
], ],
"time": "2017-10-11T12:05:26+00:00" "time": "2018-01-31T18:08:44+00:00"
}, },
{ {
"name": "symfony/process", "name": "symfony/process",
"version": "v3.4.3", "version": "v3.4.4",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/process.git", "url": "https://github.com/symfony/process.git",
"reference": "ff69f110c6b33fd33cd2089ba97d6112f44ef0ba" "reference": "09a5172057be8fc677840e591b17f385e58c7c0d"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/process/zipball/ff69f110c6b33fd33cd2089ba97d6112f44ef0ba", "url": "https://api.github.com/repos/symfony/process/zipball/09a5172057be8fc677840e591b17f385e58c7c0d",
"reference": "ff69f110c6b33fd33cd2089ba97d6112f44ef0ba", "reference": "09a5172057be8fc677840e591b17f385e58c7c0d",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -3385,20 +3444,20 @@ ...@@ -3385,20 +3444,20 @@
], ],
"description": "Symfony Process Component", "description": "Symfony Process Component",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"time": "2018-01-03T07:37:34+00:00" "time": "2018-01-29T09:03:43+00:00"
}, },
{ {
"name": "symfony/routing", "name": "symfony/routing",
"version": "v3.4.3", "version": "v3.4.4",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/routing.git", "url": "https://github.com/symfony/routing.git",
"reference": "e2b6d6fe7b090c7af720b75c7722c6dfa7a52658" "reference": "235d01730d553a97732990588407eaf6779bb4b2"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/routing/zipball/e2b6d6fe7b090c7af720b75c7722c6dfa7a52658", "url": "https://api.github.com/repos/symfony/routing/zipball/235d01730d553a97732990588407eaf6779bb4b2",
"reference": "e2b6d6fe7b090c7af720b75c7722c6dfa7a52658", "reference": "235d01730d553a97732990588407eaf6779bb4b2",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -3463,20 +3522,20 @@ ...@@ -3463,20 +3522,20 @@
"uri", "uri",
"url" "url"
], ],
"time": "2018-01-04T15:09:34+00:00" "time": "2018-01-16T18:03:57+00:00"
}, },
{ {
"name": "symfony/translation", "name": "symfony/translation",
"version": "v3.4.3", "version": "v3.4.4",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/translation.git", "url": "https://github.com/symfony/translation.git",
"reference": "17b5962d252b2d6d1d37a2485ebb7ddc5b2bef0a" "reference": "10b32cf0eae28b9b39fe26c456c42b19854c4b84"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/translation/zipball/17b5962d252b2d6d1d37a2485ebb7ddc5b2bef0a", "url": "https://api.github.com/repos/symfony/translation/zipball/10b32cf0eae28b9b39fe26c456c42b19854c4b84",
"reference": "17b5962d252b2d6d1d37a2485ebb7ddc5b2bef0a", "reference": "10b32cf0eae28b9b39fe26c456c42b19854c4b84",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -3531,20 +3590,20 @@ ...@@ -3531,20 +3590,20 @@
], ],
"description": "Symfony Translation Component", "description": "Symfony Translation Component",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"time": "2018-01-03T07:37:34+00:00" "time": "2018-01-18T22:16:57+00:00"
}, },
{ {
"name": "symfony/var-dumper", "name": "symfony/var-dumper",
"version": "v3.4.3", "version": "v3.4.4",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/var-dumper.git", "url": "https://github.com/symfony/var-dumper.git",
"reference": "545be7e78ccbec43e599f10ff7500d0b09eda9d0" "reference": "472a9849930cf21f73abdb02240f17cf5b5bd1a7"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/545be7e78ccbec43e599f10ff7500d0b09eda9d0", "url": "https://api.github.com/repos/symfony/var-dumper/zipball/472a9849930cf21f73abdb02240f17cf5b5bd1a7",
"reference": "545be7e78ccbec43e599f10ff7500d0b09eda9d0", "reference": "472a9849930cf21f73abdb02240f17cf5b5bd1a7",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -3600,20 +3659,20 @@ ...@@ -3600,20 +3659,20 @@
"debug", "debug",
"dump" "dump"
], ],
"time": "2018-01-03T17:14:19+00:00" "time": "2018-01-29T09:03:43+00:00"
}, },
{ {
"name": "symfony/yaml", "name": "symfony/yaml",
"version": "v4.0.3", "version": "v4.0.4",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/yaml.git", "url": "https://github.com/symfony/yaml.git",
"reference": "b84f646b9490d2101e2c25ddeec77ceefbda2eee" "reference": "ffc60bda1d4a00ec0b32eeabf39dc017bf480028"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/yaml/zipball/b84f646b9490d2101e2c25ddeec77ceefbda2eee", "url": "https://api.github.com/repos/symfony/yaml/zipball/ffc60bda1d4a00ec0b32eeabf39dc017bf480028",
"reference": "b84f646b9490d2101e2c25ddeec77ceefbda2eee", "reference": "ffc60bda1d4a00ec0b32eeabf39dc017bf480028",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -3658,33 +3717,33 @@ ...@@ -3658,33 +3717,33 @@
], ],
"description": "Symfony Yaml Component", "description": "Symfony Yaml Component",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"time": "2018-01-03T07:38:00+00:00" "time": "2018-01-21T19:06:11+00:00"
}, },
{ {
"name": "tijsverkoyen/css-to-inline-styles", "name": "tijsverkoyen/css-to-inline-styles",
"version": "2.2.0", "version": "2.2.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/tijsverkoyen/CssToInlineStyles.git", "url": "https://github.com/tijsverkoyen/CssToInlineStyles.git",
"reference": "ab03919dfd85a74ae0372f8baf9f3c7d5c03b04b" "reference": "0ed4a2ea4e0902dac0489e6436ebcd5bbcae9757"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/tijsverkoyen/CssToInlineStyles/zipball/ab03919dfd85a74ae0372f8baf9f3c7d5c03b04b", "url": "https://api.github.com/repos/tijsverkoyen/CssToInlineStyles/zipball/0ed4a2ea4e0902dac0489e6436ebcd5bbcae9757",
"reference": "ab03919dfd85a74ae0372f8baf9f3c7d5c03b04b", "reference": "0ed4a2ea4e0902dac0489e6436ebcd5bbcae9757",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": "^5.5 || ^7", "php": "^5.5 || ^7.0",
"symfony/css-selector": "^2.7|~3.0" "symfony/css-selector": "^2.7 || ^3.0 || ^4.0"
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "~4.8|5.1.*" "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
}, },
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "2.0.x-dev" "dev-master": "2.2.x-dev"
} }
}, },
"autoload": { "autoload": {
...@@ -3705,7 +3764,7 @@ ...@@ -3705,7 +3764,7 @@
], ],
"description": "CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.", "description": "CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.",
"homepage": "https://github.com/tijsverkoyen/CssToInlineStyles", "homepage": "https://github.com/tijsverkoyen/CssToInlineStyles",
"time": "2016-09-20T12:50:39+00:00" "time": "2017-11-27T11:13:29+00:00"
}, },
{ {
"name": "tymon/jwt-auth", "name": "tymon/jwt-auth",
...@@ -3713,28 +3772,29 @@ ...@@ -3713,28 +3772,29 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/tymondesigns/jwt-auth.git", "url": "https://github.com/tymondesigns/jwt-auth.git",
"reference": "d3f40ab90f451f265afb9775be9787b3accf1db2" "reference": "d5220f6a84cbb8300f6f2f0f20aa908d072b4e4b"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/tymondesigns/jwt-auth/zipball/d3f40ab90f451f265afb9775be9787b3accf1db2", "url": "https://api.github.com/repos/tymondesigns/jwt-auth/zipball/d5220f6a84cbb8300f6f2f0f20aa908d072b4e4b",
"reference": "d3f40ab90f451f265afb9775be9787b3accf1db2", "reference": "d5220f6a84cbb8300f6f2f0f20aa908d072b4e4b",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"illuminate/auth": "5.1.* || 5.2.* || 5.3.* || 5.4.* || 5.5.*", "illuminate/auth": "5.1.* || 5.2.* || 5.3.* || 5.4.* || 5.5.* || 5.6.*",
"illuminate/contracts": "5.1.* || 5.2.* || 5.3.* || 5.4.* || 5.5.*", "illuminate/contracts": "5.1.* || 5.2.* || 5.3.* || 5.4.* || 5.5.* || 5.6.*",
"illuminate/http": "5.1.* || 5.2.* || 5.3.* || 5.4.* || 5.5.*", "illuminate/http": "5.1.* || 5.2.* || 5.3.* || 5.4.* || 5.5.* || 5.6.*",
"illuminate/support": "5.1.* || 5.2.* || 5.3.* || 5.4.* || 5.5.*", "illuminate/support": "5.1.* || 5.2.* || 5.3.* || 5.4.* || 5.5.* || 5.6.*",
"lcobucci/jwt": "^3.2",
"namshi/jose": "^7.0", "namshi/jose": "^7.0",
"nesbot/carbon": "^1.0", "nesbot/carbon": "^1.0",
"php": "^5.5.9 || ^7.0" "php": "^5.5.9 || ^7.0"
}, },
"require-dev": { "require-dev": {
"cartalyst/sentinel": "2.0.*", "cartalyst/sentinel": "2.0.*",
"illuminate/console": "5.1.* || 5.2.* || 5.3.* || 5.4.* || 5.5.*", "illuminate/console": "5.1.* || 5.2.* || 5.3.* || 5.4.* || 5.5.* || 5.6.*",
"illuminate/database": "5.1.* || 5.2.* || 5.3.* || 5.4.* || 5.5.*", "illuminate/database": "5.1.* || 5.2.* || 5.3.* || 5.4.* || 5.5.* || 5.6.*",
"illuminate/routing": "5.1.* || 5.2.* || 5.3.* || 5.4.* || 5.5.*", "illuminate/routing": "5.1.* || 5.2.* || 5.3.* || 5.4.* || 5.5.* || 5.6.*",
"mockery/mockery": ">=0.9.9", "mockery/mockery": ">=0.9.9",
"phpunit/phpunit": "~4.8 || ~6.0" "phpunit/phpunit": "~4.8 || ~6.0"
}, },
...@@ -3779,7 +3839,7 @@ ...@@ -3779,7 +3839,7 @@
"jwt", "jwt",
"laravel" "laravel"
], ],
"time": "2017-12-14T18:52:20+00:00" "time": "2018-02-07T20:55:14+00:00"
}, },
{ {
"name": "unisharp/laravel-filemanager", "name": "unisharp/laravel-filemanager",
...@@ -3907,24 +3967,24 @@ ...@@ -3907,24 +3967,24 @@
}, },
{ {
"name": "yajra/laravel-datatables-oracle", "name": "yajra/laravel-datatables-oracle",
"version": "v8.3.2", "version": "v8.4.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/yajra/laravel-datatables.git", "url": "https://github.com/yajra/laravel-datatables.git",
"reference": "8c3490d7a810824da147161033d6ef272d7c8726" "reference": "cb052ed2608c266b1f942e1f845b8275696cd798"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/yajra/laravel-datatables/zipball/8c3490d7a810824da147161033d6ef272d7c8726", "url": "https://api.github.com/repos/yajra/laravel-datatables/zipball/cb052ed2608c266b1f942e1f845b8275696cd798",
"reference": "8c3490d7a810824da147161033d6ef272d7c8726", "reference": "cb052ed2608c266b1f942e1f845b8275696cd798",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"illuminate/database": "5.4.*|5.5.*", "illuminate/database": "5.4.*|5.5.*|5.6.*",
"illuminate/filesystem": "5.4.*|5.5.*", "illuminate/filesystem": "5.4.*|5.5.*|5.6.*",
"illuminate/http": "5.4.*|5.5.*", "illuminate/http": "5.4.*|5.5.*|5.6.*",
"illuminate/support": "5.4.*|5.5.*", "illuminate/support": "5.4.*|5.5.*|5.6.*",
"illuminate/view": "5.4.*|5.5.*", "illuminate/view": "5.4.*|5.5.*|5.6.*",
"php": ">=7.0" "php": ">=7.0"
}, },
"require-dev": { "require-dev": {
...@@ -3973,32 +4033,32 @@ ...@@ -3973,32 +4033,32 @@
"jquery", "jquery",
"laravel" "laravel"
], ],
"time": "2017-11-02T02:30:46+00:00" "time": "2018-02-16T08:22:10+00:00"
} }
], ],
"packages-dev": [ "packages-dev": [
{ {
"name": "barryvdh/laravel-debugbar", "name": "barryvdh/laravel-debugbar",
"version": "v3.1.0", "version": "v3.1.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/barryvdh/laravel-debugbar.git", "url": "https://github.com/barryvdh/laravel-debugbar.git",
"reference": "01a859752094e00aa8548832312366753272f8af" "reference": "664fa434e26febf04d60df0368303cf0fe14f63a"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/barryvdh/laravel-debugbar/zipball/01a859752094e00aa8548832312366753272f8af", "url": "https://api.github.com/repos/barryvdh/laravel-debugbar/zipball/664fa434e26febf04d60df0368303cf0fe14f63a",
"reference": "01a859752094e00aa8548832312366753272f8af", "reference": "664fa434e26febf04d60df0368303cf0fe14f63a",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"illuminate/routing": "5.5.x", "illuminate/routing": "5.5.x|5.6.x",
"illuminate/session": "5.5.x", "illuminate/session": "5.5.x|5.6.x",
"illuminate/support": "5.5.x", "illuminate/support": "5.5.x|5.6.x",
"maximebf/debugbar": "~1.14.0", "maximebf/debugbar": "~1.15.0",
"php": ">=7.0", "php": ">=7.0",
"symfony/debug": "^3", "symfony/debug": "^3|^4",
"symfony/finder": "^3" "symfony/finder": "^3|^4"
}, },
"require-dev": { "require-dev": {
"illuminate/framework": "5.5.x" "illuminate/framework": "5.5.x"
...@@ -4006,7 +4066,7 @@ ...@@ -4006,7 +4066,7 @@
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "3.0-dev" "dev-master": "3.2-dev"
}, },
"laravel": { "laravel": {
"providers": [ "providers": [
...@@ -4043,7 +4103,7 @@ ...@@ -4043,7 +4103,7 @@
"profiler", "profiler",
"webprofiler" "webprofiler"
], ],
"time": "2017-09-18T13:32:46+00:00" "time": "2018-02-25T13:31:58+00:00"
}, },
{ {
"name": "bvipul/generator", "name": "bvipul/generator",
...@@ -4338,22 +4398,22 @@ ...@@ -4338,22 +4398,22 @@
}, },
{ {
"name": "maximebf/debugbar", "name": "maximebf/debugbar",
"version": "v1.14.1", "version": "v1.15.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/maximebf/php-debugbar.git", "url": "https://github.com/maximebf/php-debugbar.git",
"reference": "64251a392344e3d22f3d21c3b7c531ba96eb01d2" "reference": "30e7d60937ee5f1320975ca9bc7bcdd44d500f07"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/maximebf/php-debugbar/zipball/64251a392344e3d22f3d21c3b7c531ba96eb01d2", "url": "https://api.github.com/repos/maximebf/php-debugbar/zipball/30e7d60937ee5f1320975ca9bc7bcdd44d500f07",
"reference": "64251a392344e3d22f3d21c3b7c531ba96eb01d2", "reference": "30e7d60937ee5f1320975ca9bc7bcdd44d500f07",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=5.3.0", "php": ">=5.3.0",
"psr/log": "^1.0", "psr/log": "^1.0",
"symfony/var-dumper": "^2.6|^3.0" "symfony/var-dumper": "^2.6|^3.0|^4.0"
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "^4.0|^5.0" "phpunit/phpunit": "^4.0|^5.0"
...@@ -4395,7 +4455,7 @@ ...@@ -4395,7 +4455,7 @@
"debug", "debug",
"debugbar" "debugbar"
], ],
"time": "2017-09-13T12:19:36+00:00" "time": "2017-12-15T11:13:46+00:00"
}, },
{ {
"name": "mockery/mockery", "name": "mockery/mockery",
...@@ -4665,16 +4725,16 @@ ...@@ -4665,16 +4725,16 @@
}, },
{ {
"name": "phpdocumentor/reflection-docblock", "name": "phpdocumentor/reflection-docblock",
"version": "4.2.0", "version": "4.3.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
"reference": "66465776cfc249844bde6d117abff1d22e06c2da" "reference": "94fd0001232e47129dd3504189fa1c7225010d08"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/66465776cfc249844bde6d117abff1d22e06c2da", "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/94fd0001232e47129dd3504189fa1c7225010d08",
"reference": "66465776cfc249844bde6d117abff1d22e06c2da", "reference": "94fd0001232e47129dd3504189fa1c7225010d08",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -4712,7 +4772,7 @@ ...@@ -4712,7 +4772,7 @@
} }
], ],
"description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
"time": "2017-11-27T17:38:31+00:00" "time": "2017-11-30T07:14:17+00:00"
}, },
{ {
"name": "phpdocumentor/type-resolver", "name": "phpdocumentor/type-resolver",
...@@ -4763,16 +4823,16 @@ ...@@ -4763,16 +4823,16 @@
}, },
{ {
"name": "phpspec/prophecy", "name": "phpspec/prophecy",
"version": "1.7.3", "version": "1.7.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/phpspec/prophecy.git", "url": "https://github.com/phpspec/prophecy.git",
"reference": "e4ed002c67da8eceb0eb8ddb8b3847bb53c5c2bf" "reference": "dfd6be44111a7c41c2e884a336cc4f461b3b2401"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/phpspec/prophecy/zipball/e4ed002c67da8eceb0eb8ddb8b3847bb53c5c2bf", "url": "https://api.github.com/repos/phpspec/prophecy/zipball/dfd6be44111a7c41c2e884a336cc4f461b3b2401",
"reference": "e4ed002c67da8eceb0eb8ddb8b3847bb53c5c2bf", "reference": "dfd6be44111a7c41c2e884a336cc4f461b3b2401",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -4784,7 +4844,7 @@ ...@@ -4784,7 +4844,7 @@
}, },
"require-dev": { "require-dev": {
"phpspec/phpspec": "^2.5|^3.2", "phpspec/phpspec": "^2.5|^3.2",
"phpunit/phpunit": "^4.8.35 || ^5.7" "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5"
}, },
"type": "library", "type": "library",
"extra": { "extra": {
...@@ -4822,7 +4882,7 @@ ...@@ -4822,7 +4882,7 @@
"spy", "spy",
"stub" "stub"
], ],
"time": "2017-11-24T13:59:53+00:00" "time": "2018-02-19T10:16:54+00:00"
}, },
{ {
"name": "phpunit/php-code-coverage", "name": "phpunit/php-code-coverage",
...@@ -5075,16 +5135,16 @@ ...@@ -5075,16 +5135,16 @@
}, },
{ {
"name": "phpunit/phpunit", "name": "phpunit/phpunit",
"version": "6.5.5", "version": "6.5.7",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git", "url": "https://github.com/sebastianbergmann/phpunit.git",
"reference": "83d27937a310f2984fd575686138597147bdc7df" "reference": "6bd77b57707c236833d2b57b968e403df060c9d9"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/83d27937a310f2984fd575686138597147bdc7df", "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/6bd77b57707c236833d2b57b968e403df060c9d9",
"reference": "83d27937a310f2984fd575686138597147bdc7df", "reference": "6bd77b57707c236833d2b57b968e403df060c9d9",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -5155,7 +5215,7 @@ ...@@ -5155,7 +5215,7 @@
"testing", "testing",
"xunit" "xunit"
], ],
"time": "2017-12-17T06:31:19+00:00" "time": "2018-02-26T07:01:09+00:00"
}, },
{ {
"name": "phpunit/phpunit-mock-objects", "name": "phpunit/phpunit-mock-objects",
...@@ -5263,21 +5323,21 @@ ...@@ -5263,21 +5323,21 @@
}, },
{ {
"name": "sebastian/comparator", "name": "sebastian/comparator",
"version": "2.1.1", "version": "2.1.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/comparator.git", "url": "https://github.com/sebastianbergmann/comparator.git",
"reference": "b11c729f95109b56a0fe9650c6a63a0fcd8c439f" "reference": "34369daee48eafb2651bea869b4b15d75ccc35f9"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/b11c729f95109b56a0fe9650c6a63a0fcd8c439f", "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/34369daee48eafb2651bea869b4b15d75ccc35f9",
"reference": "b11c729f95109b56a0fe9650c6a63a0fcd8c439f", "reference": "34369daee48eafb2651bea869b4b15d75ccc35f9",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": "^7.0", "php": "^7.0",
"sebastian/diff": "^2.0", "sebastian/diff": "^2.0 || ^3.0",
"sebastian/exporter": "^3.1" "sebastian/exporter": "^3.1"
}, },
"require-dev": { "require-dev": {
...@@ -5323,7 +5383,7 @@ ...@@ -5323,7 +5383,7 @@
"compare", "compare",
"equality" "equality"
], ],
"time": "2017-12-22T14:50:35+00:00" "time": "2018-02-01T13:46:46+00:00"
}, },
{ {
"name": "sebastian/diff", "name": "sebastian/diff",
...@@ -5777,7 +5837,7 @@ ...@@ -5777,7 +5837,7 @@
}, },
{ {
"name": "symfony/dom-crawler", "name": "symfony/dom-crawler",
"version": "v3.4.3", "version": "v3.4.4",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/dom-crawler.git", "url": "https://github.com/symfony/dom-crawler.git",
...@@ -5873,16 +5933,16 @@ ...@@ -5873,16 +5933,16 @@
}, },
{ {
"name": "webmozart/assert", "name": "webmozart/assert",
"version": "1.2.0", "version": "1.3.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/webmozart/assert.git", "url": "https://github.com/webmozart/assert.git",
"reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f" "reference": "0df1908962e7a3071564e857d86874dad1ef204a"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/webmozart/assert/zipball/2db61e59ff05fe5126d152bd0655c9ea113e550f", "url": "https://api.github.com/repos/webmozart/assert/zipball/0df1908962e7a3071564e857d86874dad1ef204a",
"reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f", "reference": "0df1908962e7a3071564e857d86874dad1ef204a",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -5919,7 +5979,7 @@ ...@@ -5919,7 +5979,7 @@
"check", "check",
"validate" "validate"
], ],
"time": "2016-11-23T20:04:58+00:00" "time": "2018-01-29T19:49:41+00:00"
}, },
{ {
"name": "xethron/laravel-4-generators", "name": "xethron/laravel-4-generators",
......
This source diff could not be displayed because it is too large. You can view the blob instead.
$(function() { window.onload = function () {
$(".show-permissions").click(function(e) { document.querySelectorAll(".show-permissions").forEach(function(element){
e.preventDefault(); element.onclick = function(event){
var $this = $(this); event.preventDefault();
var role = $this.data('role'); var $this = this;
var permissions = $(".permission-list[data-role='"+role+"']"); var role = $this.getAttribute("data-role");
var hideText = $this.find('.hide-text');
var showText = $this.find('.show-text'); var permissions = document.querySelector(".permission-list[data-role='"+role+"']");
// console.log(permissions); // for debugging var hideText = $this.querySelector('.hide-text');
var showText = $this.querySelector('.show-text');
// show permission list
permissions.toggleClass('hidden'); // show permission list
Backend.Utils.toggleClass(permissions,'hidden');
// toggle the text Show/Hide for the link
hideText.toggleClass('hidden'); // toggle the text Show/Hide for the link
showText.toggleClass('hidden'); Backend.Utils.toggleClass(hideText,'hidden');
Backend.Utils.toggleClass(showText,'hidden');
};
}); });
});
};
var Backend = { //common functionalities for all the javascript featueres
var Backend = {}; // common variable used in all the files of the backend
(function()
{
Backend = {
Utils:{
toggleClass :function(element,className){
if (element.classList) {
element.classList.toggle(className);
} else {
var classes = element.className.split(' ');
var existingIndex = classes.indexOf(className);
if (existingIndex >= 0)
classes.splice(existingIndex, 1);
else
classes.push(className);
element.className = classes.join(' ');
}
},
documentReady : function(callback){
if (document.attachEvent ? document.readyState === "complete" : document.readyState !== "loading"){
callback();
} else {
document.addEventListener('DOMContentLoaded', callback);
}
},
ajaxrequest:function(url,method,data,csrf,callback){
var request = new XMLHttpRequest();
if (window.XMLHttpRequest) {
// code for modern browsers
request = new XMLHttpRequest();
} else {
// code for old IE browsers
request = new ActiveXObject("Microsoft.XMLHTTP");
}
request.open(method, url, true);
request.setRequestHeader('X-CSRF-TOKEN', csrf);
request.setRequestHeader('X-Requested-With', 'XMLHttpRequest');
if("post" === method.toLowerCase()){
request.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8');
data = this.jsontoformdata(data);
}
// when request is in the ready state change the details or perform success function
request.onreadystatechange = function()
{
if (request.readyState === XMLHttpRequest.DONE) {
// Everything is good, the response was received.
request.onload = callback.success(request);
}
};
request.onerror = callback.error;
request.send(data);
},
// This should probably only be used if all JSON elements are strings
jsontoformdata:function (srcjson){
if(typeof srcjson !== "object")
if(typeof console !== "undefined"){
console.log("\"srcjson\" is not a JSON object");
return null;
}
u = encodeURIComponent;
var urljson = "";
var keys = Object.keys(srcjson);
for(var i=0; i <keys.length; i++){
urljson += u(keys[i]) + "=" + u(srcjson[keys[i]]);
if(i < (keys.length-1))urljson+="&";
}
return urljson;
},
removeClass:function(el,className){
if (el.classList)
el.classList.remove(className);
else
el.className = el.className.replace(new RegExp('(^|\\b)' + className.split(' ').join('|') + '(\\b|$)', 'gi'), ' ');
}
},
/** /**
* Pages * Pages
...@@ -20,50 +108,162 @@ var Backend = { ...@@ -20,50 +108,162 @@ var Backend = {
Access: Access:
{ {
selectors: { selectors: {
select2: jQuery(".select2"), select2: $(".select2"),
getPremissionURL:"",
Areyousure:"",
delete_user_confirm:"",
continue:"",
cancel:"",
restore_user_confirm:"",
}, },
init: function () init: function (page)
{ {
this.addHandlers(); this.setSelectors();
this.addHandlers(page);
}, },
setSelectors:function(){
addHandlers: function () this.selectors.select2 = $(".select2");
},
addHandlers: function (page)
{ {
this.selectors.select2.select2(); /**
} * This function is used to get clicked element role id and return required result
}, */
document.querySelectorAll(".get-role-for-permissions").forEach(function(element){
element.onclick =function(event){
callback = {
success:function(request){
console.log("request",request,request.status);
if (request.status >= 200 && request.status < 400) {
// Success!
var response = JSON.parse(request.responseText);
var p = response.permissions;
var q = response.rolePermissions;
var qAll = response.allPermissions;
document.querySelector(".get-available-permissions").innerHTML = "";
htmlstring = "";
if (p.length == 0) {
document.querySelector(".get-available-permissions").innerHTML = '<p>There are no available permissions.</p>';
} else {
for (var key in p) {
var addChecked = '';
if (qAll == 1 && q.length == 0) {
addChecked = 'checked="checked"';
} else {
if (typeof q[key] !== "undefined") {
addChecked = 'checked="checked"';
}
}
htmlstring += '<label class="control control--checkbox"> <input type="checkbox" name="permissions[' + key + ']" value="' + key + '" id="perm_' + key + '" ' + addChecked + ' /> <label for="perm_' + key + '">' + p[key] + '</label> <div class="control__indicator"></div> </label> <br>';
}
}
document.querySelector(".get-available-permissions").innerHTML = htmlstring;
Backend.Utils.removeClass(document.getElementById("available-permissions"),'hidden');
/** } else {
* Blog // We reached our target server, but it returned an error
* console.log("errror in request");
*/ document.querySelector(".get-available-permissions").innerHTML = '<p>There are no available permissions.</p>';
Blog: }
{ },
selectors: { error:function(){
tags: jQuery(".tags"), console.log("errror");
categories : jQuery(".categories"), document.querySelector(".get-available-permissions").innerHTML = '<p>There are no available permissions.</p>';
toDisplay :jQuery(".toDisplay"), }
status : jQuery(".status"), };
},
Backend.Utils.ajaxrequest(Backend.Access.selectors.getPremissionURL,"post",{role_id: event.target.value},csrf,callback);
}
});
if(page=="create"){
document.getElementById("role-3").click();
}
this.selectors.select2.select2();
init: function ()
{
this.addHandlers();
Backend.tinyMCE.init();
}, },
windowloadhandler:function(){
/*
deleted page showing the swal when click on peremenenant delition
*/
document.querySelectorAll("a[name='delete_user_perm']").forEach(function(element){
element.onclick = function(event){
event.preventDefault();
var linkURL = event.target.getAttribute("href");
swal({
title: Backend.Access.selectors.Areyousure,
text: Backend.Access.selectors.delete_user_confirm,
type: "warning",
showCancelButton: true,
confirmButtonColor: "#DD6B55",
confirmButtonText: Backend.Access.selectors.continue,
cancelButtonText: Backend.Access.selectors.cancel,
closeOnConfirm: false
}, function(isConfirmed){
if (isConfirmed){
window.location.href = linkURL;
}
});
};
});
/**
* deleted user page handeler for user restore
*/
document.querySelectorAll("a[name='restore_user']").forEach(function(element){
element.onclick = function(event){
event.preventDefault();
var linkURL = event.target.getAttribute("href");
addHandlers: function () swal({
{ title: Backend.Access.selectors.Areyousure,
this.selectors.tags.select2({ text: Backend.Access.selectors.restore_user_confirm,
tags: true, type: "warning",
showCancelButton: true,
confirmButtonColor: "#DD6B55",
confirmButtonText: Backend.Access.selectors.continue,
cancelButtonText: Backend.Access.selectors.cancel,
closeOnConfirm: false
}, function(isConfirmed){
if (isConfirmed){
window.location.href = linkURL;
}
});
};
}); });
this.selectors.categories.select2();
this.selectors.toDisplay.select2();
this.selectors.status.select2();
} }
}, },
/**
* Blog
*
*/
Blog:
{
selectors: {
tags: jQuery(".tags"),
categories: jQuery(".categories"),
toDisplay: jQuery(".toDisplay"),
status: jQuery(".status"),
},
init: function () {
this.addHandlers();
Backend.tinyMCE.init();
},
addHandlers: function () {
this.selectors.tags.select2({
tags: true,
});
this.selectors.categories.select2();
this.selectors.toDisplay.select2();
this.selectors.status.select2();
}
},
/** /**
* Tiny MCE * Tiny MCE
...@@ -117,7 +317,7 @@ var Backend = { ...@@ -117,7 +317,7 @@ var Backend = {
emailTemplate: { emailTemplate: {
selectors: { selectors: {
emailtemplateSelection: jQuery(".select2") emailtemplateSelection: document.querySelector(".select2")
}, },
init: function () { init: function () {
...@@ -127,19 +327,20 @@ var Backend = { ...@@ -127,19 +327,20 @@ var Backend = {
// ! Backend.emailTemplate.addHandlers // ! Backend.emailTemplate.addHandlers
addHandlers: function () { addHandlers: function () {
$(".select2").select2();
// to add placeholder in to active textarea // to add placeholder in to active textarea
$("#addPlaceHolder").on('click', function (event) { document.getElementById("addPlaceHolder").onclick = function(event){
Backend.emailTemplate.addPlaceHolder(event); Backend.emailTemplate.addPlaceHolder(event);
}); };
$("#showPreview").on('click', function (event) { document.getElementById("showPreview").onclick = function(event){
Backend.emailTemplate.showPreview(event); Backend.emailTemplate.showPreview(event);
}); };
this.selectors.emailtemplateSelection.select2();
}, },
// ! Backend.emailTemplate.addPlaceHolder // ! Backend.emailTemplate.addPlaceHolder
addPlaceHolder: function (event) { addPlaceHolder: function (event) {
var placeHolder = $('#placeHolder').val(); var placeHolder = document.getElementById('placeHolder').value;
if (placeHolder != '') { if (placeHolder != '') {
tinymce.activeEditor.execCommand('mceInsertContent', false, "[" + $('#placeHolder :selected').text() + "]"); tinymce.activeEditor.execCommand('mceInsertContent', false, "[" + $('#placeHolder :selected').text() + "]");
} }
...@@ -147,12 +348,14 @@ var Backend = { ...@@ -147,12 +348,14 @@ var Backend = {
// ! Backend.emailTemplate.showPreview // ! Backend.emailTemplate.showPreview
showPreview: function (event) { showPreview: function (event) {
jQuery( ".modal-body" ).html(tinyMCE.get('txtBody').getContent()); document.querySelector(".modal-body").innerHTML = tinyMCE.get('txtBody').getContent();
//jQuery( ".modal-body" ).html(tinyMCE.get('txtBody').getContent());
$(".model-wrapper").modal('show'); $(".model-wrapper").modal('show');
}, },
}, },
/** /**
* Faq * Faq
* *
*/ */
...@@ -173,95 +376,147 @@ var Backend = { ...@@ -173,95 +376,147 @@ var Backend = {
} }
}, },
/**
* Profile
*
*/
Profile:
{
selectors: {
state: jQuery(".st"),
cities : jQuery(".ct"),
},
init: function () /**
* Profile
*
*/
Profile:
{ {
this.addHandlers(); selectors:{
},
init: function ()
{
this.setSelectors();
this.addHandlers();
},
setSelectors:function(){
this.selectors.state = document.querySelector(".st");
this.selectors.cities = document.querySelector(".ct");
},
addHandlers: function ()
{
if(this.selectors.state!=null){
this.selectors.state.select2();
}
if(this.selectors.cities!=null){
this.selectors.cities.select2();
}
}
}, },
addHandlers: function () /**
{ * for all datatables
this.selectors.state.select2(); *
this.selectors.cities.select2(); */
} DataTableSearch: { //functionalities related to datable search at all the places
}, selector:{
},
DataTableSearch: { init: function (dataTable) {
init: function (dataTable) {
// Header All search columns this.setSelectors();
$("div.dataTables_filter input").unbind(); this.addHandlers(dataTable);
$("div.dataTables_filter input").keypress( function (e)
{ },
if (e.keyCode == 13) setSelectors:function(){
{ this.selector.searchInput = document.querySelector("div.dataTables_filter input");
dataTable.fnFilter( this.value ); this.selector.columnSearchInput = document.querySelectorAll(".search-input-text");
this.selector.columnSelectInput = document.querySelectorAll('search-input-select');
this.selector.restButton = document.querySelectorAll('.reset-data');
this.setSelectors.copyButton = document.getElementById("copyButton");
this.setSelectors.csvButton = document.getElementById("csvButton");
this.setSelectors.excelButton = document.getElementById("excelButton");
this.setSelectors.pdfButton = document.getElementById("pdfButton");
this.setSelectors.printButton = document.getElementById("printButton");
},
cloneElement:function(element,callback){
var clone = element.cloneNode();
while (element.firstChild) {
clone.appendChild(element.lastChild);
} }
}); element.parentNode.replaceChild(clone, element);
Backend.DataTableSearch.setSelectors();
// Individual columns search callback(this.selector.searchInput);
$('.search-input-text').on( 'keypress', function (e) { },
addHandlers:function(dataTable){
// get the datatable search input and on its key press check if we hit enter then search with datatable
this.cloneElement(this.selector.searchInput,function(element){ //cloning done to remove any binding of the events
element.onkeypress = function(event){
if(event.keyCode==13){
dataTable.fnFilter( this.value );
}
};
}); // to remove all the listinerers
// for text boxes // for text boxes
if (e.keyCode == 13) //column input search if search box on the column of the datatable given with enter then search with datatable
{ if(this.selector.columnSearchInput.length>0){
var i =$(this).attr('data-column'); // getting column index this.selector.columnSearchInput.forEach(function(element){
var v =$(this).val(); // getting search input value element.onkeypress = function(event){
dataTable.api().columns(i).search(v).draw(); if (event.keyCode == 13){
var i =element.getAttribute("data-column") // getting column index
var v =element.value; // getting search input value
dataTable.api().columns(i).search(v).draw();
}
};
});
} }
});
// Individual columns search
if(this.selector.columnSelectInput.length>>0){
this.selector.columnSelectInput.forEach(function(element){
element.onchange = function(event){
var i =element.getAttribute("data-column"); // getting column index
var v =element.value; // getting search input value
dataTable.api().columns(i).search(v).draw();
};
});
}
// Individual columns reset
if(this.selector.restButton.length>>0){
this.selector.restButton.forEach(function(element){
element.onclick = function(event){
var inputelement = this.previousElementSibling;
var i = inputelement.getAttribute("data-column");
inputelement.value = "";
dataTable.api().columns(i).search("").draw();
};
});
}
this.setSelectors.copyButton.onclick = function(element){
document.querySelector(".copyButton").click();
};
this.setSelectors.csvButton.onclick = function(element){
document.querySelector(".csvButton").click();
};
this.setSelectors.excelButton.onclick = function(element){
document.querySelector(".excelButton").click();
};
this.setSelectors.pdfButton.onclick = function(element){
document.querySelector(".pdfButton").click();
};
this.setSelectors.printButton.onclick = function(element){
document.querySelector(".printButton").click();
};
}
}
};
})();
// Individual columns search
$('.search-input-select').on( 'change', function (e) {
// for dropdown
var i =$(this).attr('data-column'); // getting column index
var v =$(this).val(); // getting search input value
dataTable.api().columns(i).search(v).draw();
});
// Individual columns reset
$('.reset-data').on( 'click', function (e) {
var textbox = $(this).prev('input'); // Getting closest input field
var i =textbox.attr('data-column'); // Getting column index
$(this).prev('input').val(''); // Blank the serch value
dataTable.api().columns(i).search("").draw();
});
//Copy button
$('#copyButton').click(function(){
$('.copyButton').trigger('click');
});
//Download csv
$('#csvButton').click(function(){
$('.csvButton').trigger('click');
});
//Download excelButton
$('#excelButton').click(function(){
$('.excelButton').trigger('click');
});
//Download pdf
$('#pdfButton').click(function(){
$('.pdfButton').trigger('click');
});
//Download printButton
$('#printButton').click(function(){
$('.printButton').trigger('click');
});
var id = $('.table-responsive .dataTables_filter').attr('id');
$('#'+id+' label').append('<a class="reset-data" id="input-sm-reset" href="javascript:void(0)"><i class="fa fa-times"></i></a>');
$(document).on('click', "#"+id+" label #input-sm-reset", function(){
dataTable.fnFilter('');
});
},
}
}
\ No newline at end of file
var Backend = {
/**
* Pages
*
*/
Pages:
{
init: function()
{
Backend.tinyMCE.init();
},
},
/**
* Access management
*
*/
Access:
{
selectors: {
select2: jQuery(".select2"),
},
init: function ()
{
this.addHandlers();
},
addHandlers: function ()
{
this.selectors.select2.select2();
}
},
/**
* Blog
*
*/
Blog:
{
selectors: {
tags: jQuery(".tags"),
categories : jQuery(".categories"),
toDisplay :jQuery(".toDisplay"),
status : jQuery(".status"),
},
init: function ()
{
this.addHandlers();
Backend.tinyMCE.init();
},
addHandlers: function ()
{
this.selectors.tags.select2({
tags: true,
});
this.selectors.categories.select2();
this.selectors.toDisplay.select2();
this.selectors.status.select2();
}
},
/**
* Tiny MCE
*/
tinyMCE: {
init: function () {
tinymce.init({
path_absolute : "/",
selector: 'textarea',
height: 200,
width: 725,
theme: 'modern',
plugins: [
'advlist autolink lists link image charmap print preview hr anchor pagebreak',
'searchreplace wordcount visualblocks visualchars code fullscreen',
'insertdatetime nonbreaking save table contextmenu directionality',
'emoticons template paste textcolor colorpicker textpattern imagetools codesample toc'
],
toolbar1: 'undo redo | insert | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image',
// toolbar2: 'print preview media | forecolor backcolor emoticons | codesample',
image_advtab: true,
relative_urls : false,
file_browser_callback : function(field_name, url, type, win) {
var x = window.innerWidth || document.documentElement.clientWidth || document.getElementsByTagName('body')[0].clientWidth;
var y = window.innerHeight|| document.documentElement.clientHeight|| document.getElementsByTagName('body')[0].clientHeight;
var cmsURL = "/" + 'laravel-filemanager?field_name=' + field_name;
if (type == 'image') {
cmsURL = cmsURL + "&type=Images";
} else {
cmsURL = cmsURL + "&type=Files";
}
tinyMCE.activeEditor.windowManager.open({
file : cmsURL,
title : 'Filemanager',
width : x * 0.8,
height : y * 0.8,
resizable : "yes",
close_previous : "no"
});
},
content_css: [
'//fonts.googleapis.com/css?family=Lato:300,300i,400,400i',
'//www.tinymce.com/css/codepen.min.css'
]
});
}
},
emailTemplate: {
selectors: {
emailtemplateSelection: jQuery(".select2")
},
init: function () {
Backend.emailTemplate.addHandlers();
Backend.tinyMCE.init();
},
// ! Backend.emailTemplate.addHandlers
addHandlers: function () {
// to add placeholder in to active textarea
$("#addPlaceHolder").on('click', function (event) {
Backend.emailTemplate.addPlaceHolder(event);
});
$("#showPreview").on('click', function (event) {
Backend.emailTemplate.showPreview(event);
});
this.selectors.emailtemplateSelection.select2();
},
// ! Backend.emailTemplate.addPlaceHolder
addPlaceHolder: function (event) {
var placeHolder = $('#placeHolder').val();
if (placeHolder != '') {
tinymce.activeEditor.execCommand('mceInsertContent', false, "[" + $('#placeHolder :selected').text() + "]");
}
},
// ! Backend.emailTemplate.showPreview
showPreview: function (event) {
jQuery( ".modal-body" ).html(tinyMCE.get('txtBody').getContent());
$(".model-wrapper").modal('show');
},
},
/**
* Faq
*
*/
Faq:
{
selectors:
{
},
init: function ()
{
// this.addHandlers();
Backend.tinyMCE.init();
},
addHandlers: function ()
{
}
},
/**
* Profile
*
*/
Profile:
{
selectors: {
state: jQuery(".st"),
cities : jQuery(".ct"),
},
init: function ()
{
this.addHandlers();
},
addHandlers: function ()
{
this.selectors.state.select2();
this.selectors.cities.select2();
}
},
DataTableSearch: {
//selector for datatable filters inputs
Selectors:{
searchInputFiled:document.querySelector("div.dataTables_filter input"),
},
//function used for initialize the search inputs given on the datatable
init: function (dataTable) {
// Header All search columns
$("div.dataTables_filter input").unbind();
$("div.dataTables_filter input").keypress( function (e)
{
if (e.keyCode == 13)
{
dataTable.fnFilter( this.value );
}
});
// Individual columns search
$('.search-input-text').on( 'keypress', function (e) {
// for text boxes
if (e.keyCode == 13)
{
var i =$(this).attr('data-column'); // getting column index
var v =$(this).val(); // getting search input value
dataTable.api().columns(i).search(v).draw();
}
});
// Individual columns search
$('.search-input-select').on( 'change', function (e) {
// for dropdown
var i =$(this).attr('data-column'); // getting column index
var v =$(this).val(); // getting search input value
dataTable.api().columns(i).search(v).draw();
});
// Individual columns reset
$('.reset-data').on( 'click', function (e) {
var textbox = $(this).prev('input'); // Getting closest input field
var i =textbox.attr('data-column'); // Getting column index
$(this).prev('input').val(''); // Blank the serch value
dataTable.api().columns(i).search("").draw();
});
//Copy button
$('#copyButton').click(function(){
$('.copyButton').trigger('click');
});
//Download csv
$('#csvButton').click(function(){
$('.csvButton').trigger('click');
});
//Download excelButton
$('#excelButton').click(function(){
$('.excelButton').trigger('click');
});
//Download pdf
$('#pdfButton').click(function(){
$('.pdfButton').trigger('click');
});
//Download printButton
$('#printButton').click(function(){
$('.printButton').trigger('click');
});
var id = $('.table-responsive .dataTables_filter').attr('id');
$('#'+id+' label').append('<a class="reset-data" id="input-sm-reset" href="javascript:void(0)"><i class="fa fa-times"></i></a>');
$(document).on('click', "#"+id+" label #input-sm-reset", function(){
dataTable.fnFilter('');
});
},
}
}
\ No newline at end of file
//common functionalities for all the javascript featueres
var Backend = {}; // common variable used in all the files of the backend
(function()
{
Backend = {
DataTableSearch: { //functionalities related to datable search at all the places
selector:{
},
init: function (dataTable) {
this.setSelectors();
// get the datatable search input and on its key press check if we hit enter then search with datatable
this.cloneElement(this.selector.searchInput,function(element){
element.onkeypress = function(event){
if(event.keyCode==13){
dataTable.fnFilter( this.value );
}
};
}); // to remove all the listinerers
// for text boxes
//column input search if search box on the column of the datatable given with enter then search with datatable
if(this.selector.columnSearchInput.length>0){
this.selector.columnSearchInput.forEach(function(element){
element.onkeypress = function(event){
if (event.keyCode == 13){
var i =element.getAttribute("data-column") // getting column index
var v =element.value; // getting search input value
dataTable.api().columns(i).search(v).draw();
}
};
});
}
// Individual columns search
if(this.selector.columnSelectInput.length>>0){
this.selector.columnSelectInput.forEach(function(element){
element.onchange = function(event){
var i =element.getAttribute("data-column"); // getting column index
var v =element.value; // getting search input value
dataTable.api().columns(i).search(v).draw();
};
});
}
// Individual columns reset
if(this.selector.restButton.length>>0){
this.selector.restButton.forEach(function(element){
element.onclick = function(event){
var inputelement = this.previousElementSibling;
var i = inputelement.getAttribute("data-column");
inputelement.value = "";
dataTable.api().columns(i).search("").draw();
};
});
}
this.setSelectors.copyButton.onclick = function(element){
document.querySelector(".copyButton").click();
};
this.setSelectors.csvButton.onclick = function(element){
document.querySelector(".csvButton").click();
};
this.setSelectors.excelButton.onclick = function(element){
document.querySelector(".excelButton").click();
};
this.setSelectors.pdfButton.onclick = function(element){
document.querySelector(".pdfButton").click();
};
this.setSelectors.printButton.onclick = function(element){
document.querySelector(".printButton").click();
};
},
setSelectors:function(){
this.selector.searchInput = document.querySelector("div.dataTables_filter input");
this.selector.columnSearchInput = document.querySelectorAll(".search-input-text");
this.selector.columnSelectInput = document.querySelectorAll('search-input-select');
this.selector.restButton = document.querySelectorAll('.reset-data');
this.setSelectors.copyButton = document.getElementById("copyButton");
this.setSelectors.csvButton = document.getElementById("csvButton");
this.setSelectors.excelButton = document.getElementById("excelButton");
this.setSelectors.pdfButton = document.getElementById("pdfButton");
this.setSelectors.printButton = document.getElementById("printButton");
},
cloneElement:function(element,callback){
var clone = element.cloneNode();
while (element.firstChild) {
clone.appendChild(element.lastChild);
}
element.parentNode.replaceChild(clone, element);
Backend.DataTableSearch.setSelectors();
callback(this.selector.searchInput);
}
}
};
})();
...@@ -181,46 +181,13 @@ ...@@ -181,46 +181,13 @@
@section('after-scripts') @section('after-scripts')
{{ Html::script('js/backend/access/users/script.js') }} {{ Html::script('js/backend/access/users/script.js') }}
<script type="text/javascript"> <script type="text/javascript">
$(document).ready(function() {
Backend.Access.init(); Backend.Utils.documentReady(function(){
csrf = document.querySelector('meta[name="csrf-token"]').getAttribute('content');
/** Backend.Access.selectors.getPremissionURL = "{{ route('admin.get.permission') }}";
* This function is used to get clicked element role id and return required result Backend.Access.init("create");
*/
$('.get-role-for-permissions').click(function () {
$.ajax({
type: "POST",
url: "{{ route('admin.get.permission') }}",
dataType: "JSON",
data: {role_id: $(this).val()},
success: function (response) {
var p = response.permissions;
var q = response.rolePermissions;
var qAll = response.allPermissions;
$('.get-available-permissions').html('');
if (p.length == 0) {
('.get-available-permissions').html('<p>There are no available permissions.</p>');
} else {
for (var key in p) {
var addChecked = '';
if (qAll == 1 && q.length == 0) {
addChecked = 'checked="checked"';
} else {
if (typeof q[key] !== "undefined") {
addChecked = 'checked="checked"';
}
}
$('<label class="control control--checkbox"> <input type="checkbox" name="permissions[' + key + ']" value="' + key + '" id="perm_' + key + '" ' + addChecked + ' /> <label for="perm_' + key + '">' + p[key] + '</label> <div class="control__indicator"></div> </label> <br>').appendTo('.get-available-permissions');
}
}
$('#available-permissions').removeClass('hidden');
}
});
});
$("#role-3").click();
}); });
</script> </script>
@endsection @endsection
...@@ -68,7 +68,13 @@ ...@@ -68,7 +68,13 @@
{{-- For DataTables --}} {{-- For DataTables --}}
{{ Html::script(mix('js/dataTable.js')) }} {{ Html::script(mix('js/dataTable.js')) }}
<script> <script>
$(function() {
(function () {
$.ajaxSetup({
headers: {
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
}
});
var dataTable = $('#users-table').dataTable({ var dataTable = $('#users-table').dataTable({
processing: true, processing: true,
serverSide: true, serverSide: true,
...@@ -102,6 +108,7 @@ ...@@ -102,6 +108,7 @@
}); });
Backend.DataTableSearch.init(dataTable); Backend.DataTableSearch.init(dataTable);
}); })();
</script> </script>
@endsection @endsection
...@@ -68,80 +68,60 @@ ...@@ -68,80 +68,60 @@
{{-- For DataTables --}} {{-- For DataTables --}}
{{ Html::script(mix('js/dataTable.js')) }} {{ Html::script(mix('js/dataTable.js')) }}
<script> <script>
$(function() {
var dataTable = $('#users-table').dataTable({
processing: true,
serverSide: true,
ajax: {
url: '{{ route("admin.access.user.get") }}',
type: 'post',
data: {status: false, trashed: true}
},
columns: [
{data: 'first_name', name: '{{config('access.users_table')}}.first_name'},
{data: 'last_name', name: '{{config('access.users_table')}}.last_name'},
{data: 'email', name: '{{config('access.users_table')}}.email'},
{data: 'confirmed', name: '{{config('access.users_table')}}.confirmed'},
{data: 'roles', name: '{{config('access.roles_table')}}.name', sortable: false},
{data: 'created_at', name: '{{config('access.users_table')}}.created_at'},
{data: 'updated_at', name: '{{config('access.users_table')}}.updated_at'},
{data: 'actions', name: 'actions', searchable: false, sortable: false}
],
order: [[0, "asc"]],
searchDelay: 500,
dom: 'lBfrtip',
buttons: {
buttons: [
{ extend: 'copy', className: 'copyButton', exportOptions: {columns: [ 0, 1, 2, 3, 4, 5, 6 ] }},
{ extend: 'csv', className: 'csvButton', exportOptions: {columns: [ 0, 1, 2, 3, 4, 5, 6 ] }},
{ extend: 'excel', className: 'excelButton', exportOptions: {columns: [ 0, 1, 2, 3, 4, 5, 6 ] }},
{ extend: 'pdf', className: 'pdfButton', exportOptions: {columns: [ 0, 1, 2, 3, 4, 5, 6 ] }},
{ extend: 'print', className: 'printButton', exportOptions: {columns: [ 0, 1, 2, 3, 4, 5, 6 ] }}
]
}
});
Backend.DataTableSearch.init(dataTable); (function () {
$.ajaxSetup({
$("body").on("click", "a[name='delete_user_perm']", function(e) { headers: {
e.preventDefault(); 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
var linkURL = $(this).attr("href");
swal({
title: "{{ trans('strings.backend.general.are_you_sure') }}",
text: "{{ trans('strings.backend.access.users.delete_user_confirm') }}",
type: "warning",
showCancelButton: true,
confirmButtonColor: "#DD6B55",
confirmButtonText: "{{ trans('strings.backend.general.continue') }}",
cancelButtonText: "{{ trans('buttons.general.cancel') }}",
closeOnConfirm: false
}, function(isConfirmed){
if (isConfirmed){
window.location.href = linkURL;
} }
}); });
}); var dataTable = $('#users-table').dataTable({
processing: true,
$("body").on("click", "a[name='restore_user']", function(e) { serverSide: true,
e.preventDefault(); ajax: {
var linkURL = $(this).attr("href"); url: '{{ route("admin.access.user.get") }}',
type: 'post',
swal({ data: {status: false, trashed: true}
title: "{{ trans('strings.backend.general.are_you_sure') }}", },
text: "{{ trans('strings.backend.access.users.restore_user_confirm') }}", columns: [
type: "warning", {data: 'first_name', name: '{{config('access.users_table')}}.first_name'},
showCancelButton: true, {data: 'last_name', name: '{{config('access.users_table')}}.last_name'},
confirmButtonColor: "#DD6B55", {data: 'email', name: '{{config('access.users_table')}}.email'},
confirmButtonText: "{{ trans('strings.backend.general.continue') }}", {data: 'confirmed', name: '{{config('access.users_table')}}.confirmed'},
cancelButtonText: "{{ trans('buttons.general.cancel') }}", {data: 'roles', name: '{{config('access.roles_table')}}.name', sortable: false},
closeOnConfirm: false {data: 'created_at', name: '{{config('access.users_table')}}.created_at'},
}, function(isConfirmed){ {data: 'updated_at', name: '{{config('access.users_table')}}.updated_at'},
if (isConfirmed){ {data: 'actions', name: 'actions', searchable: false, sortable: false}
window.location.href = linkURL; ],
order: [[0, "asc"]],
searchDelay: 500,
dom: 'lBfrtip',
buttons: {
buttons: [
{ extend: 'copy', className: 'copyButton', exportOptions: {columns: [ 0, 1, 2, 3, 4, 5, 6 ] }},
{ extend: 'csv', className: 'csvButton', exportOptions: {columns: [ 0, 1, 2, 3, 4, 5, 6 ] }},
{ extend: 'excel', className: 'excelButton', exportOptions: {columns: [ 0, 1, 2, 3, 4, 5, 6 ] }},
{ extend: 'pdf', className: 'pdfButton', exportOptions: {columns: [ 0, 1, 2, 3, 4, 5, 6 ] }},
{ extend: 'print', className: 'printButton', exportOptions: {columns: [ 0, 1, 2, 3, 4, 5, 6 ] }}
]
} }
}); });
});
}); Backend.DataTableSearch.init(dataTable);
Backend.Access.selectors.Areyousure = "{{ trans('strings.backend.general.are_you_sure') }}";
Backend.Access.selectors.delete_user_confirm = "{{ trans('strings.backend.access.users.delete_user_confirm') }}";
Backend.Access.selectors.continue = "{{ trans('strings.backend.general.continue') }}";
Backend.Access.selectors.cancel ="{{ trans('buttons.general.cancel') }}";
Backend.Access.selectors.restore_user_confirm ="{{ trans('strings.backend.access.users.restore_user_confirm') }}";
})();
window.onload = function(){
Backend.Access.windowloadhandler();
}
</script> </script>
@endsection @endsection
...@@ -167,12 +167,15 @@ ...@@ -167,12 +167,15 @@
{{ Html::script('js/backend/access/users/script.js') }} {{ Html::script('js/backend/access/users/script.js') }}
<script type="text/javascript"> <script type="text/javascript">
/*
jQuery(document).ready(function() { jQuery(document).ready(function() {
Backend.Access.init(); Backend.Access.init();
/** /**
* This function is used to get clicked element role id and return required result * This function is used to get clicked element role id and return required result
*/ */
jQuery('.get-role-for-permissions').click(function () { /* jQuery('.get-role-for-permissions').click(function () {
$.ajax({ $.ajax({
type: "POST", type: "POST",
url: "{{ route('admin.get.permission') }}", url: "{{ route('admin.get.permission') }}",
...@@ -205,5 +208,70 @@ ...@@ -205,5 +208,70 @@
}); });
}); });
*/
Backend.Utils.documentReady(function(){
csrf = document.querySelector('meta[name="csrf-token"]').getAttribute('content');
Backend.Access.selectors.getPremissionURL = "{{ route('admin.get.permission') }}";
Backend.Access.init("edit");
/*
Backend.Access.init();
csrf = $('meta[name="csrf-token"]').attr('content');
/**
* This function is used to get clicked element role id and return required result
*/
/* document.querySelectorAll(".get-role-for-permissions").forEach(function(element){
element.onclick =function(event){
callback = {
success:function(request){
console.log("request",request,request.status);
if (request.status >= 200 && request.status < 400) {
// Success!
var response = JSON.parse(request.responseText);
var p = response.permissions;
var q = response.rolePermissions;
var qAll = response.allPermissions;
document.querySelector(".get-available-permissions").innerHTML = "";
htmlstring = "";
if (p.length == 0) {
document.querySelector(".get-available-permissions").innerHTML = '<p>There are no available permissions.</p>';
} else {
for (var key in p) {
var addChecked = '';
if (qAll == 1 && q.length == 0) {
addChecked = 'checked="checked"';
} else {
if (typeof q[key] !== "undefined") {
addChecked = 'checked="checked"';
}
}
htmlstring += '<label class="control control--checkbox"> <input type="checkbox" name="permissions[' + key + ']" value="' + key + '" id="perm_' + key + '" ' + addChecked + ' /> <label for="perm_' + key + '">' + p[key] + '</label> <div class="control__indicator"></div> </label> <br>';
}
}
document.querySelector(".get-available-permissions").innerHTML = htmlstring;
Backend.Utils.removeClass(document.getElementById("available-permissions"),'hidden');
} else {
// We reached our target server, but it returned an error
console.log("errror in request");
document.querySelector(".get-available-permissions").innerHTML = '<p>There are no available permissions.</p>';
}
},
error:function(){
console.log("errror");
document.querySelector(".get-available-permissions").innerHTML = '<p>There are no available permissions.</p>';
}
};
Backend.Utils.ajaxrequest("{{ route('admin.get.permission') }}","post",{role_id: event.target.value ,"_tocken":csrf},csrf,callback);
}
});
*/
});
</script> </script>
@endsection @endsection
...@@ -81,7 +81,14 @@ ...@@ -81,7 +81,14 @@
{{ Html::script(mix('js/dataTable.js')) }} {{ Html::script(mix('js/dataTable.js')) }}
<script> <script>
$(function() { (function() {
$.ajaxSetup({
headers: {
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
}
});
var dataTable = $('#users-table').dataTable({ var dataTable = $('#users-table').dataTable({
processing: true, processing: true,
serverSide: true, serverSide: true,
...@@ -116,6 +123,6 @@ ...@@ -116,6 +123,6 @@
}); });
Backend.DataTableSearch.init(dataTable); Backend.DataTableSearch.init(dataTable);
}); })();
</script> </script>
@endsection @endsection
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment