Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jan 31, 2019. It is now read-only.

Skydeskprojects #747

Merged
merged 46 commits into from
Dec 12, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
6d67eba
ugh, spaces in filenames
atmos Dec 4, 2013
cc2468e
Merge remote-tracking branch 'SkyDeskProjects/master' into skydeskpro…
kdaigle Dec 10, 2013
6331efc
fixing update for unverified HTTPS redmine instances
mostafa-kenawey Jul 22, 2013
edfe7ca
remove ssl[:verify], useless
mostafa-kenawey Jul 22, 2013
6a28d76
Service hook for VersionEye
reiz Nov 1, 2013
ff9b3af
Simplify versioneye service
reiz Nov 1, 2013
fe826ff
Update for docu
reiz Nov 6, 2013
f15b757
Extend versioneye service with HttpPost
reiz Nov 6, 2013
a30992f
Update flowdock service hook
Nov 8, 2013
b083ba7
Send payload via post to VersionEye.
reiz Nov 11, 2013
53f8c03
Support pull_request_review_comment in flowdock hook
Nov 12, 2013
a711d33
- fix markdown documentation for OBS
adrianschroeter Nov 14, 2013
fc186eb
Small change in docu. Extend Service::HttpPost instead of Service.
reiz Nov 14, 2013
c9539cf
Flowdock hook extends Service::HttpPost
Nov 20, 2013
b42b874
remove notifo, fixes #737
atmos Nov 20, 2013
a46a697
updates for concept of arn
brycemcd Nov 20, 2013
1e89a48
removes dependency on right_aws
brycemcd Nov 20, 2013
15ccc94
updates aws-sdk gem
brycemcd Nov 20, 2013
aa81313
Cleanup and Comments
brycemcd Nov 23, 2013
f3e82a4
Testfix
reiz Nov 24, 2013
8cafee7
documentation for Piwik plugins service hook
tsteur Nov 25, 2013
4848db6
added Piwik description
tsteur Nov 25, 2013
03e4930
Re-writing Amazon SNS Service Hook
Nov 25, 2013
450e513
Modifying SNS service to work with SNS SDK
Nov 25, 2013
c417d17
Removing AWS::SNS override and re-working tests
Nov 26, 2013
3822b36
the test_ prefix on test_require triggers a test-unit test. rename
atmos Nov 26, 2013
85ae6e2
symbols -> strings
atmos Nov 26, 2013
8d4b16f
updates
atmos Nov 27, 2013
e8c777c
a lot of new gems
atmos Nov 27, 2013
9906e1b
bug in the docs
brycemcd Nov 28, 2013
47661bd
Added service hook for AWS OpsWorks
jansiwy Dec 2, 2013
6731843
Added tests for service hook for AWS OpsWorks
jansiwy Dec 3, 2013
58b997f
SqsQueue: allow using a Queue URL instead of a ARN
tbutter Dec 3, 2013
665b780
backwards compatibility if sqs_queue_name is used
tbutter Dec 3, 2013
0764e61
and is banned
atmos Dec 3, 2013
f3aa48d
added URL for service hook for AWS OpsWorks
jansiwy Dec 3, 2013
b3228ed
added documentation for service hook for AWS OpsWorks
jansiwy Dec 3, 2013
3dcca34
updated Gemfile.lock
jansiwy Dec 3, 2013
ff4c402
refactoring according to
Dec 3, 2013
6d7f8ac
Refactor while loop with negative condition.
oblakeerickson Dec 3, 2013
0f11035
name the file so the .com codebase is happy
atmos Dec 4, 2013
8b4bdd6
Fix truthiness check on the "port" field in the IRC service hook
gws Dec 4, 2013
c6ec209
Update skydeskprojects.rb
SkyDeskProjects Dec 11, 2013
7186cb3
Update skydeskprojects_test.rb
SkyDeskProjects Dec 11, 2013
327fd02
Updated URL for the Hall logo.
sethmcl Dec 11, 2013
c48c6cf
Add Gitter service
malditogeek Dec 11, 2013
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ active contributor to the hook file itself.
You can annotate this directly in the hook like so:

```ruby
class Service::MyService < Service
class Service::MyService < Service::HttpPost
string :project, :api_token

# only include 'project' in the debug logs, skip the api token.
Expand Down Expand Up @@ -81,7 +81,7 @@ You can test your service in a ruby irb console:
# Hash of payload.
{'blah' => 'payload!'})

svc.receive_push
svc.receive_event
```

3. The third argument is optional if you just want to use the sample
Expand All @@ -92,7 +92,7 @@ You can test your service in a ruby irb console:
# Hash of configuration information.
{'token' => 'abc'})

svc.receive_push
svc.receive_event
```

Other hook types
Expand Down
38 changes: 16 additions & 22 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
PATH
remote: .
specs:
github-services (1.0.0.edf0e37)
github-services (1.0.0.8a56c1e)
activeresource (~> 3.0.0)
addressable (~> 2.2.7)
aws-sdk (~> 1.8.0)
aws-sdk (~> 1.27)
faraday (= 0.8.7)
httparty (= 0.7.4)
mail (~> 2.3)
mash (~> 0.1.1)
mime-types (~> 1.15)
mqtt (= 0.0.8)
oauth (= 0.4.4)
right_aws (= 3.0.3)
right_http_connection (= 1.3.0)
ruby-hmac (= 0.4.0)
softlayer_messaging (~> 1.0.2)
tinder (= 1.8.0.github)
Expand All @@ -34,7 +32,7 @@ GEM
activesupport (= 3.0.20)
activesupport (3.0.20)
addressable (2.2.8)
aws-sdk (1.8.5)
aws-sdk (1.28.1)
json (~> 1.4)
nokogiri (>= 1.4.4)
uuidtools (~> 2.1)
Expand All @@ -43,38 +41,34 @@ GEM
eventmachine (0.12.10)
faraday (0.8.7)
multipart-post (~> 1.1)
faraday_middleware (0.8.7)
faraday_middleware (0.9.0)
faraday (>= 0.7.4, < 0.9)
hashie (1.2.0)
http_parser.rb (0.5.3)
httparty (0.7.4)
crack (= 0.1.8)
i18n (0.5.0)
json (1.8.0)
jwt (0.1.6)
multi_json (>= 1.0)
mail (2.3.0)
i18n (>= 0.4.0)
json (1.8.1)
jwt (0.1.8)
multi_json (>= 1.5)
mail (2.5.4)
mime-types (~> 1.16)
treetop (~> 1.4.8)
mash (0.1.1)
mime-types (1.18)
mini_portile (0.5.1)
mime-types (1.25.1)
mini_portile (0.5.2)
mqtt (0.0.8)
multi_json (1.3.2)
multipart-post (1.1.5)
multi_json (1.8.2)
multipart-post (1.2.0)
nokogiri (1.6.0)
mini_portile (~> 0.5.0)
oauth (0.4.4)
polyglot (0.3.3)
rake (10.0.3)
rest-client (1.6.7)
mime-types (>= 1.16)
right_aws (3.0.3)
right_http_connection (>= 1.2.5)
right_http_connection (1.3.0)
ruby-hmac (0.4.0)
simple_oauth (0.1.5)
simple_oauth (0.1.9)
softlayer_messaging (1.0.2)
rest-client
tinder (1.8.0.github)
Expand All @@ -88,20 +82,20 @@ GEM
multi_json (~> 1.0)
multipart-post (~> 1.1)
twitter-stream (~> 0.1)
treetop (1.4.10)
treetop (1.4.15)
polyglot
polyglot (>= 0.3.1)
twilio-ruby (3.9.0)
builder (>= 2.1.2)
jwt (>= 0.1.2)
multi_json (>= 1.3.0)
twitter-stream (0.1.15)
twitter-stream (0.1.16)
eventmachine (>= 0.12.8)
http_parser.rb (~> 0.5.1)
simple_oauth (~> 0.1.4)
uuidtools (2.1.4)
xml-simple (1.0.11)
xmpp4r (0.5)
xmpp4r (0.5.5)
xmpp4r-simple-19 (1.0.0)
xmpp4r (>= 0.3.2)
yajl-ruby (1.1.0)
Expand Down
38 changes: 31 additions & 7 deletions docs/amazonsns
Original file line number Diff line number Diff line change
@@ -1,13 +1,37 @@
Amazon Simple Notification Service
==================================

This service lets you publish event messages to Amazon's Simple Notification Service. Optionally, you can set up an Amazon SQS subscriber if 'sqs_queue' is specified.
This service lets you publish event messages to Amazon's Simple Notification Service. Please note that SNS Topics are region specific.

Install Notes
-------------
The AWS Key and Secret you proide can either be from your master account (not recommended) or from an IAM Resource.

1. 'aws_key' (REQUIRED) is the Amazon Access Key ID of an account with permission to publish SNS notifications.
2. 'aws_secret' (REQUIRED) is the Amazon Secret Access Key associated with the aws_key
3. 'sns_topic' (REQUIRED) is either the name of the Amazon SNS topic or the topic's ARN. If no topic exists by this name, one will be created. This service will not attempt to create the topic if the ARN is specified, thus allowing the minimum level of permissions (namely: 'sns:Publish') to be used.
4. 'sqs_queue' (OPTIONAL) is the name of an Amazon SQS Queue to be subscribed to the sns_topic. If no queue exists by this name, one will be created.
If using IAM, be sure to check that the user has the correct policies for publishing to the specified SNS Topic. A policy similar to the one below will provide your IAM Resource with the correct permission level.

```
{
"Version": "2012-10-17",
"Statement": [
{
"Action": [
"sns:Publish"
],
"Sid": "Stmt0000000000000",
"Resource": [
"arn:aws:sns:us-east-1:718656560584:app-deploy"
],
"Effect": "Allow"
}
]
}
```

This service will attempt to provide you with meaningful errors if your configuration is incorrect.

1. 'aws_key' (Required) The access key to an Amazon Account or IAM User.

2. 'aws_secret' (Required) The Amazon secret access key associated with the AWS Key.

3. 'sns_topic' (Required) Full ARN path to the SNS Topic, ie. `arn:aws:sns:eu-west-1:718656560584:sns_topic_name`

4. 'sns_region' (Optional) the identifier for the AWS Region that the SNS Topic is located in. This defaults to `us-east-1`.

27 changes: 27 additions & 0 deletions docs/awsopsworks
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
AWS OpsWorks
============

This service lets you deploy apps in AWS OpsWorks after pushing to the configured branch.

You need to provide an AWS access key id and the corresponding secret access key having at least the permission for the `opsworks:CreateDeployment` action. That's the minimal required policy file:

```
{
"Statement": [
{
"Effect": "Allow",
"Action": "opsworks:CreateDeployment",
"Resource": "*"
}
]
}
```

Install Notes
-------------

1. **Stack Id** (required) - "OpsWorks ID" on the **stack setting page** in the AWS OpsWorks Console or see `StackId` at http://docs.aws.amazon.com/opsworks/latest/APIReference/API_Stack.html
2. **App Id** (required) - "OpsWorks ID" on the **app setting page** in the AWS OpsWorks Console or see `AppId` at http://docs.aws.amazon.com/opsworks/latest/APIReference/API_App.html
3. **Branch Name** (required) - "Branch/Revision" configured for that app in the AWS OpsWorks Console or see `Revision` at http://docs.aws.amazon.com/opsworks/latest/APIReference/API_Source.html
4. **Aws Access Key Id** (required) - Access key id of an AWS IAM user having the permission for the `opsworks:CreateDeployment` action.
5. **Aws Secret Access Key** (required) - Corresponding secret access key of the AWS IAM user.
8 changes: 7 additions & 1 deletion docs/flowdock
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
Broadcast this project's commits, pull requests, issues, and their
respective comments to Flowdock.


Install Notes
-------------

API Token is a flow-specific token. You can find it either in the flow, or in Flowdock's Integrations help page at https://www.flowdock.com/help/integrations.

Multiple flows may be specified with multiple comma-separated tokens.

To include certain tags with every message, you can add tags to the tokens. Use + to separate tags. For example, "65f80e994031fcd80f57d1a9e294c1d1d+frontend+web,af8629b07978d1223c9d48d05ff1356+fyi" would add `frontend` and `web` tags to the messages posted to the first flow, and `fyi` to the messages posted to the second flow.

Configure From Flowdock
-----------------------

You can also configure hooks from within Flowdock. Those hooks will appear in the `Web Hooks` category of the service hooks. This can be done from the flow’s inbox settings.
26 changes: 26 additions & 0 deletions docs/gitter
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
Gitter
======

Chat rooms for your public and private repos with awesome GitHub integration.

https://gitter.im

If you want to see detailed repo activity in your room, follow this steps:

- Click the **Settings Cog** on the top right
- Click on **Integrations**
- Select **GitHub**
- Click on **configure manually** option
- Copy and paste the provided token here

Install Notes
-------------

1. **Token** - Gitter token for this repo

Options

2. **Mute Fork** - Mute fork notifications.
3. **Mute Watch** - Mute watch notifications.
4. **Mute Comments** - Mute issue and pull request comments.
5. **Mute Wiki** - Mute wiki changes.
11 changes: 0 additions & 11 deletions docs/notifo

This file was deleted.

2 changes: 1 addition & 1 deletion docs/obs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Install Notes
# osc token --create

You may already specify the package here
# osc token --create <PROJECT> <PACKAGE>
# osc token --create _PROJECT_ _PACKAGE_

That means the token can only be used for this package. It also means you do not have
to specify it in github.com. Just using the token is enough.
Expand Down
4 changes: 4 additions & 0 deletions docs/piwikplugins
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Piwik Plugins
==============

Piwik is an open analytics platform which can be extended with Plugins and Themes. This service notifies the [Piwik Marketplace](http://plugins.piwik.org) of any new releases to your Piwik plugin. See [http://developer.piwik.org/guides/marketplace](the Publisher Guide) for more information.
4 changes: 4 additions & 0 deletions docs/sqsqueue
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ SqsQueue allows GitHub to send a notification to a queue inside your Amazon AWS
1. Configure your Amazon AWS account with an appropriately set up access-key/secret-key (Either parent account or IAM)
that has permissions to perform 'SendMessage' operations. (https://console.aws.amazon.com/sqs/)

2. Aws SQS ARN is the unique code SQS references your queue with. It can be copied from the console
or fetched through the API. It takes the form of arn:aws:sqs:us-(region)-(dc):(id):(name). Copy and
paste the entire string. This hook parses the necessary details from the arn.
You may also specify a SQS Queue URL instead of an ARN if you want to use IAM or a Queue that was created using a different account.
12 changes: 12 additions & 0 deletions docs/versioneye
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
VersionEye is a notification system for software libraries. It notifies you about outdated dependencies in your repository and works currently for Ruby (Bundler), Python (Pypi), Node.JS (NPM), Java (Maven, Gradle), PHP (Composer) and Clojure (Lein). The integration for CocoaPods and Bower is on the way.

This service hook will inform VersionEye every time you push to GitHub. On every push VersionEye will reparse your project file.

Install Notes
-------------

1. Sign up for free at http://www.VersionEye.com with your GitHub Account.
2. Go to https://www.versioneye.com/user/projects/github_repositories.
3. Select a repository that you want VersionEye to monitor for you.
4. Go to the project page and copy the project_id from the URL.
5. Here you will find your API Key https://www.versioneye.com/settings/api
8 changes: 2 additions & 6 deletions github-services.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -48,18 +48,14 @@ Gem::Specification.new do |spec|
# Twilio
spec.add_dependency "twilio-ruby", "~> 3.9.0"

# Amazon SQS
spec.add_dependency "right_aws", "3.0.3"
spec.add_dependency "right_http_connection", "1.3.0"

# MQTT
spec.add_dependency "mqtt", "0.0.8"

# Softlayer Messaging
spec.add_dependency "softlayer_messaging", "~> 1.0.2"

# Amazon SNS
spec.add_dependency "aws-sdk", "~> 1.8.0"
# Amazon SNS, Amazon SQS, AWS OpsWorks
spec.add_dependency "aws-sdk", "~> 1.27"
spec.add_dependency "httparty", "0.7.4"

spec.files = %w(Gemfile LICENSE README.mkdn CONTRIBUTING.md Rakefile)
Expand Down
2 changes: 0 additions & 2 deletions lib/github-services.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
require 'oauth'
require 'yammer4r'
require 'twilio-ruby'
require 'right_aws'
require 'right_http_connection'

# vendor
require 'basecamp'
Expand Down
Loading