mirror of
				https://github.com/Mibew/mibew_slack.git
				synced 2025-10-26 00:06:53 +03:00 
			
		
		
		
	Merge branch 'master' of https://github.com/dmcdaniel12/mibew_slack
This commit is contained in:
		
						commit
						a2bd15b746
					
				
							
								
								
									
										5
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @ -6,3 +6,8 @@ release | ||||
| 
 | ||||
| # Do not include composer products | ||||
| vendor/ | ||||
| 
 | ||||
| # Do not index composer files | ||||
| composer.phar | ||||
| composer.lock | ||||
| 
 | ||||
|  | ||||
							
								
								
									
										10
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								README.md
									
									
									
									
									
								
							| @ -10,13 +10,15 @@ Provides Slack notifications when initiate a chat | ||||
| 
 | ||||
| 3. Put files of the plugins to the `<Mibew root>/plugins`  folder. | ||||
| 
 | ||||
| 4. Obtain a webhook key from Slack. Go to slack, open your app directory, click on Manage, click on Custom Integrations | ||||
| 4. Obtain a webhook key from Slack: | ||||
| 
 | ||||
| 5. Click on App Configuration. Choose the channel it should post to, click on Add Incoming Webhook Integration | ||||
|     a. Go to Slack.com , open your app directory, find and enter Incoming WebHooks app, click on Add Configuration | ||||
| 
 | ||||
| 6. Copy the Webhook URL | ||||
|     b. Click on App Configuration. Choose the Channel it should post to, click on Add Incoming Webhook Integration | ||||
| 
 | ||||
| 7. Add plugins config to plugins structure like below. | ||||
|     c. Copy the Webhook URL | ||||
| 
 | ||||
| 5. Add plugins config to plugins structure like below. | ||||
| 
 | ||||
|     ```yaml | ||||
|     plugins: | ||||
|  | ||||
							
								
								
									
										289
									
								
								composer.lock
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										289
									
								
								composer.lock
									
									
									
										generated
									
									
									
								
							| @ -1,289 +0,0 @@ | ||||
| { | ||||
|     "_readme": [ | ||||
|         "This file locks the dependencies of your project to a known state", | ||||
|         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", | ||||
|         "This file is @generated automatically" | ||||
|     ], | ||||
|     "hash": "63e388e05519ae73f3fd7124d9006e1c", | ||||
|     "content-hash": "6c464a89f95a21d3ba61eddc45663ecc", | ||||
|     "packages": [ | ||||
|         { | ||||
|             "name": "guzzlehttp/guzzle", | ||||
|             "version": "6.2.2", | ||||
|             "source": { | ||||
|                 "type": "git", | ||||
|                 "url": "https://github.com/guzzle/guzzle.git", | ||||
|                 "reference": "ebf29dee597f02f09f4d5bbecc68230ea9b08f60" | ||||
|             }, | ||||
|             "dist": { | ||||
|                 "type": "zip", | ||||
|                 "url": "https://api.github.com/repos/guzzle/guzzle/zipball/ebf29dee597f02f09f4d5bbecc68230ea9b08f60", | ||||
|                 "reference": "ebf29dee597f02f09f4d5bbecc68230ea9b08f60", | ||||
|                 "shasum": "" | ||||
|             }, | ||||
|             "require": { | ||||
|                 "guzzlehttp/promises": "^1.0", | ||||
|                 "guzzlehttp/psr7": "^1.3.1", | ||||
|                 "php": ">=5.5" | ||||
|             }, | ||||
|             "require-dev": { | ||||
|                 "ext-curl": "*", | ||||
|                 "phpunit/phpunit": "^4.0", | ||||
|                 "psr/log": "^1.0" | ||||
|             }, | ||||
|             "type": "library", | ||||
|             "extra": { | ||||
|                 "branch-alias": { | ||||
|                     "dev-master": "6.2-dev" | ||||
|                 } | ||||
|             }, | ||||
|             "autoload": { | ||||
|                 "files": [ | ||||
|                     "src/functions_include.php" | ||||
|                 ], | ||||
|                 "psr-4": { | ||||
|                     "GuzzleHttp\\": "src/" | ||||
|                 } | ||||
|             }, | ||||
|             "notification-url": "https://packagist.org/downloads/", | ||||
|             "license": [ | ||||
|                 "MIT" | ||||
|             ], | ||||
|             "authors": [ | ||||
|                 { | ||||
|                     "name": "Michael Dowling", | ||||
|                     "email": "mtdowling@gmail.com", | ||||
|                     "homepage": "https://github.com/mtdowling" | ||||
|                 } | ||||
|             ], | ||||
|             "description": "Guzzle is a PHP HTTP client library", | ||||
|             "homepage": "http://guzzlephp.org/", | ||||
|             "keywords": [ | ||||
|                 "client", | ||||
|                 "curl", | ||||
|                 "framework", | ||||
|                 "http", | ||||
|                 "http client", | ||||
|                 "rest", | ||||
|                 "web service" | ||||
|             ], | ||||
|             "time": "2016-10-08 15:01:37" | ||||
|         }, | ||||
|         { | ||||
|             "name": "guzzlehttp/promises", | ||||
|             "version": "v1.3.1", | ||||
|             "source": { | ||||
|                 "type": "git", | ||||
|                 "url": "https://github.com/guzzle/promises.git", | ||||
|                 "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646" | ||||
|             }, | ||||
|             "dist": { | ||||
|                 "type": "zip", | ||||
|                 "url": "https://api.github.com/repos/guzzle/promises/zipball/a59da6cf61d80060647ff4d3eb2c03a2bc694646", | ||||
|                 "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646", | ||||
|                 "shasum": "" | ||||
|             }, | ||||
|             "require": { | ||||
|                 "php": ">=5.5.0" | ||||
|             }, | ||||
|             "require-dev": { | ||||
|                 "phpunit/phpunit": "^4.0" | ||||
|             }, | ||||
|             "type": "library", | ||||
|             "extra": { | ||||
|                 "branch-alias": { | ||||
|                     "dev-master": "1.4-dev" | ||||
|                 } | ||||
|             }, | ||||
|             "autoload": { | ||||
|                 "psr-4": { | ||||
|                     "GuzzleHttp\\Promise\\": "src/" | ||||
|                 }, | ||||
|                 "files": [ | ||||
|                     "src/functions_include.php" | ||||
|                 ] | ||||
|             }, | ||||
|             "notification-url": "https://packagist.org/downloads/", | ||||
|             "license": [ | ||||
|                 "MIT" | ||||
|             ], | ||||
|             "authors": [ | ||||
|                 { | ||||
|                     "name": "Michael Dowling", | ||||
|                     "email": "mtdowling@gmail.com", | ||||
|                     "homepage": "https://github.com/mtdowling" | ||||
|                 } | ||||
|             ], | ||||
|             "description": "Guzzle promises library", | ||||
|             "keywords": [ | ||||
|                 "promise" | ||||
|             ], | ||||
|             "time": "2016-12-20 10:07:11" | ||||
|         }, | ||||
|         { | ||||
|             "name": "guzzlehttp/psr7", | ||||
|             "version": "1.3.1", | ||||
|             "source": { | ||||
|                 "type": "git", | ||||
|                 "url": "https://github.com/guzzle/psr7.git", | ||||
|                 "reference": "5c6447c9df362e8f8093bda8f5d8873fe5c7f65b" | ||||
|             }, | ||||
|             "dist": { | ||||
|                 "type": "zip", | ||||
|                 "url": "https://api.github.com/repos/guzzle/psr7/zipball/5c6447c9df362e8f8093bda8f5d8873fe5c7f65b", | ||||
|                 "reference": "5c6447c9df362e8f8093bda8f5d8873fe5c7f65b", | ||||
|                 "shasum": "" | ||||
|             }, | ||||
|             "require": { | ||||
|                 "php": ">=5.4.0", | ||||
|                 "psr/http-message": "~1.0" | ||||
|             }, | ||||
|             "provide": { | ||||
|                 "psr/http-message-implementation": "1.0" | ||||
|             }, | ||||
|             "require-dev": { | ||||
|                 "phpunit/phpunit": "~4.0" | ||||
|             }, | ||||
|             "type": "library", | ||||
|             "extra": { | ||||
|                 "branch-alias": { | ||||
|                     "dev-master": "1.4-dev" | ||||
|                 } | ||||
|             }, | ||||
|             "autoload": { | ||||
|                 "psr-4": { | ||||
|                     "GuzzleHttp\\Psr7\\": "src/" | ||||
|                 }, | ||||
|                 "files": [ | ||||
|                     "src/functions_include.php" | ||||
|                 ] | ||||
|             }, | ||||
|             "notification-url": "https://packagist.org/downloads/", | ||||
|             "license": [ | ||||
|                 "MIT" | ||||
|             ], | ||||
|             "authors": [ | ||||
|                 { | ||||
|                     "name": "Michael Dowling", | ||||
|                     "email": "mtdowling@gmail.com", | ||||
|                     "homepage": "https://github.com/mtdowling" | ||||
|                 } | ||||
|             ], | ||||
|             "description": "PSR-7 message implementation", | ||||
|             "keywords": [ | ||||
|                 "http", | ||||
|                 "message", | ||||
|                 "stream", | ||||
|                 "uri" | ||||
|             ], | ||||
|             "time": "2016-06-24 23:00:38" | ||||
|         }, | ||||
|         { | ||||
|             "name": "maknz/slack", | ||||
|             "version": "1.7.0", | ||||
|             "source": { | ||||
|                 "type": "git", | ||||
|                 "url": "https://github.com/maknz/slack.git", | ||||
|                 "reference": "7f21fefc70c76b304adc1b3a780c8740dfcfb595" | ||||
|             }, | ||||
|             "dist": { | ||||
|                 "type": "zip", | ||||
|                 "url": "https://api.github.com/repos/maknz/slack/zipball/7f21fefc70c76b304adc1b3a780c8740dfcfb595", | ||||
|                 "reference": "7f21fefc70c76b304adc1b3a780c8740dfcfb595", | ||||
|                 "shasum": "" | ||||
|             }, | ||||
|             "require": { | ||||
|                 "ext-mbstring": "*", | ||||
|                 "guzzlehttp/guzzle": "~6.0|~5.0|~4.0", | ||||
|                 "php": ">=5.4.0" | ||||
|             }, | ||||
|             "require-dev": { | ||||
|                 "mockery/mockery": "0.9.*", | ||||
|                 "phpunit/phpunit": "4.2.*" | ||||
|             }, | ||||
|             "suggest": { | ||||
|                 "illuminate/support": "Required for Laravel support" | ||||
|             }, | ||||
|             "type": "library", | ||||
|             "autoload": { | ||||
|                 "psr-4": { | ||||
|                     "Maknz\\Slack\\": "src/" | ||||
|                 } | ||||
|             }, | ||||
|             "notification-url": "https://packagist.org/downloads/", | ||||
|             "license": [ | ||||
|                 "BSD-2-Clause" | ||||
|             ], | ||||
|             "authors": [ | ||||
|                 { | ||||
|                     "name": "maknz", | ||||
|                     "email": "github@mak.geek.nz" | ||||
|                 } | ||||
|             ], | ||||
|             "description": "A simple PHP package for sending messages to Slack, with a focus on ease of use and elegant syntax. Includes Laravel support out of the box.", | ||||
|             "keywords": [ | ||||
|                 "laravel", | ||||
|                 "slack" | ||||
|             ], | ||||
|             "time": "2015-06-03 03:35:16" | ||||
|         }, | ||||
|         { | ||||
|             "name": "psr/http-message", | ||||
|             "version": "1.0.1", | ||||
|             "source": { | ||||
|                 "type": "git", | ||||
|                 "url": "https://github.com/php-fig/http-message.git", | ||||
|                 "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363" | ||||
|             }, | ||||
|             "dist": { | ||||
|                 "type": "zip", | ||||
|                 "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363", | ||||
|                 "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363", | ||||
|                 "shasum": "" | ||||
|             }, | ||||
|             "require": { | ||||
|                 "php": ">=5.3.0" | ||||
|             }, | ||||
|             "type": "library", | ||||
|             "extra": { | ||||
|                 "branch-alias": { | ||||
|                     "dev-master": "1.0.x-dev" | ||||
|                 } | ||||
|             }, | ||||
|             "autoload": { | ||||
|                 "psr-4": { | ||||
|                     "Psr\\Http\\Message\\": "src/" | ||||
|                 } | ||||
|             }, | ||||
|             "notification-url": "https://packagist.org/downloads/", | ||||
|             "license": [ | ||||
|                 "MIT" | ||||
|             ], | ||||
|             "authors": [ | ||||
|                 { | ||||
|                     "name": "PHP-FIG", | ||||
|                     "homepage": "http://www.php-fig.org/" | ||||
|                 } | ||||
|             ], | ||||
|             "description": "Common interface for HTTP messages", | ||||
|             "homepage": "https://github.com/php-fig/http-message", | ||||
|             "keywords": [ | ||||
|                 "http", | ||||
|                 "http-message", | ||||
|                 "psr", | ||||
|                 "psr-7", | ||||
|                 "request", | ||||
|                 "response" | ||||
|             ], | ||||
|             "time": "2016-08-06 14:39:51" | ||||
|         } | ||||
|     ], | ||||
|     "packages-dev": [], | ||||
|     "aliases": [], | ||||
|     "minimum-stability": "stable", | ||||
|     "stability-flags": [], | ||||
|     "prefer-stable": false, | ||||
|     "prefer-lowest": false, | ||||
|     "platform": [], | ||||
|     "platform-dev": [] | ||||
| } | ||||
| @ -66,7 +66,7 @@ gulp.task('prepare-release', function() { | ||||
|             .pipe(tar('slack-' + version + '.tar')) | ||||
|             .pipe(gzip()) | ||||
|     ) | ||||
|     .pipe(chmod(0644)) | ||||
|     .pipe(chmod(644)) | ||||
|     .pipe(gulp.dest('release')); | ||||
| }); | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user