Drew Blessing
606d24ff2d
Merge branch 'irker-service-use-supported-events' into 'master'
...
Make Irker service check supported_events
63178a9509 added the supported_events check for services. Since f84b7eef3f was just added, we should adjust it accordingly.
See merge request !367
2015-03-13 00:41:07 +00:00
Marin Jankovski
6d0ff0ade8
Remove placeholder methods to prevent calling methods rather than attributes.
2015-03-10 18:09:13 -07:00
Marin Jankovski
82bb3ec33d
Merge branch 'issues-tracker-id' into 'master'
...
Properly move over `issues_tracker_id` from old custom issue tracker URLs.
Addresses https://gitlab.com/gitlab-org/gitlab-ce/issues/1124 .
cc @marin Regression in 7.8.0.
See merge request !1670
2015-03-10 17:07:49 +00:00
Douwe Maan
76842aac75
Properly move over issues_tracker_id from old custom issue tracker URLs.
2015-03-10 14:14:49 +01:00
Douwe Maan
383c56efa1
Use Gitlab::Git helper methods and constants as much as possible.
2015-03-10 13:39:31 +01:00
Dmitriy Zaporozhets
8b551ee318
Merge branch 'emails-on-push'
...
Conflicts:
app/controllers/projects/services_controller.rb
app/models/project_services/emails_on_push_service.rb
2015-03-08 16:49:11 -07:00
Stan Hu
ad14ed5e49
Add tag_push event notification to HipChat and Slack services.
...
Normalize output to use:
- User name instead of username
- Include first line of title in message description
- Link to "Issue #X" instead of "#X"
2015-03-06 08:31:49 -08:00
Stan Hu
7e204cf389
Added comment notification events to HipChat and Slack services.
...
Supports four different event types all bundled under the "note" event type:
- comments on a commit
- comments on an issue
- comments on a merge request
- comments on a code snippet
2015-03-06 06:54:00 -08:00
Stan Hu
f12ec5f4e8
Add merge and issue event notification for HipChat
2015-03-05 08:23:38 -08:00
Stan Hu
6ddd45948f
Make Irker service use the supported events check
2015-03-04 22:31:28 +00:00
Dmitriy Zaporozhets
66c61f023b
Re-annotate models
2015-03-04 14:14:00 -08:00
Douwe Maan
d57e809cbd
Set supported events per project service.
2015-03-03 11:14:32 +01:00
Douwe Maan
85fa334eb6
Execute GitlabCiService for both push and tag_push events.
2015-03-03 11:14:32 +01:00
Douwe Maan
f13567edc4
Only execute GitlabCiService for push events.
2015-03-03 11:14:32 +01:00
Douwe Maan
d86c0cda24
Fix specs.
2015-03-03 11:14:32 +01:00
Douwe Maan
d9ff616fd8
Code style, directory structure.
2015-03-03 11:14:32 +01:00
Stan Hu and Douwe Maan
afe5d7d209
Issue #595 : Support Slack notifications upon issue and merge request events
...
1) Adds a DB migration for all services to toggle on push, issue, and merge events.
2) Upon an issue or merge request event, fire service hooks.
3) Slack service supports custom messages for each of these events. Other services
not supported at the moment.
4) Label merge request hooks with their corresponding actions.
2015-03-03 11:14:31 +01:00
Dmitriy Zaporozhets
33e107127a
Merge pull request #8812 from opichals/teamcity_branchName_not_to_be_whole_ref
...
Fix for TeamCity buildQueue REST API build/@branchName.
2015-03-02 15:23:15 -08:00
Dmitriy Zaporozhets
f00feb14ec
Merge branch 'add-irker-service' of https://github.com/Aorimn/gitlabhq into Aorimn-add-irker-service
...
Conflicts:
app/controllers/projects/services_controller.rb
2015-03-02 15:22:31 -08:00
Aorimn
f84b7eef3f
Add Irker service
...
Irker is a gateway which sends IRC messages on git updates. This new
service provides an interface to this gateway, integrated in Gitlab, for
each updates.
As per the guidelines, this commit adds the new feature in the
CHANGELOG, tests and documentation.
See http://www.catb.org/esr/irker/
2015-03-01 20:51:03 +01:00
Andrès Koetsier
d2c85a68bb
Allow a user to specify a channel and username for the slack-webhook
2015-02-28 10:06:32 +01:00
Douwe Maan
f0b78a8529
Clarify EmailsOnPushService options.
2015-02-25 16:40:48 +01:00
Douwe Maan
85af3e82bf
Add option to disable code diffs to EmailOnPush.
...
See #1950
2015-02-25 14:29:49 +01:00
Douwe Maan
e0c186c357
Add option to send EmailsOnPush from committer email if domain matches.
...
See #1809 .
2015-02-25 14:20:35 +01:00
Marin Jankovski
b0dfe434c6
Using gitlab url to build links for gitlab issue tracker and add a spec. Fix rubocop warnings in path.
2015-02-23 18:43:26 -08:00
Standa Opichal
008e3d66e9
Fix for TeamCity buildQueue REST API build/@branchName.
...
Strips the refs/heads/ if any to get just the branchName out of a :ref
e.g.: `refs/heads/feature/newProfile` -> `feature/newProfile`
The TeamCity buildQueue POST data require the branchName attribute
to contain just the branch name (just xyzbranch and not the full
ref in the refs/heads/xyzbranch). With the refs/heads/xyzbranch the
build is triggered and looks like it is working however it always
ompiles the default branch (or master).
2015-02-19 13:11:10 +01:00
Vinnie Okada
76aad9b76e
Upgrade to Rails 4.1.9
...
Make the following changes to deal with new behavior in Rails 4.1.2:
* Use nested resources to avoid slashes in arguments to path helpers.
2015-02-14 11:09:23 -07:00
Dmitriy Zaporozhets
c676856f1b
Merge branch 'test_settings' into 'master'
...
Test settings for issue tracker service
This adds minimum logging and response when using "test settings" button when the service is enabled.
See merge request !1506
2015-02-13 17:59:03 +00:00
Marin Jankovski
eccf695640
Explained in the integration documentation how to enable external issue tracker
2015-02-12 17:06:55 -08:00
Marin Jankovski
8a37435738
Fix rubocop error.
2015-02-12 13:21:47 -08:00
Marin Jankovski
1a89db5ffb
Try to test settings added in the service.
2015-02-12 13:02:58 -08:00
Marin Jankovski
b3f944a398
Annotate services. Add a link to service template.
2015-02-11 18:29:24 -08:00
Marin Jankovski
6b4ddf2cc1
Add admin services templates.
2015-02-11 17:55:33 -08:00
Dmitriy Zaporozhets
0a34f2dcb5
Merge pull request #8580 from j0k3r/asana
...
Add Asana service
2015-02-08 01:12:41 -08:00
Dmitriy Zaporozhets
cc39bca3fa
Rubocop: Style/AlignHash enabled
2015-02-02 21:15:44 -08:00
Dmitriy Zaporozhets
e890582681
Rubocop enabled for: Use spaces inside hash literal braces
2015-02-02 20:36:54 -08:00
Dmitriy Zaporozhets
c0acb28c4e
Annotate models
2015-02-02 10:24:40 -08:00
Jeremy
f79b6af18a
Fix HoundCI
2015-02-02 09:59:43 +01:00
Jeremy
b4d9ceb26f
Add Asana service
...
Also add ability to render "service.help" in markdown
2015-02-02 09:59:42 +01:00
Marin Jankovski
68f7302474
Add a scope for visible services, code styling changes for easier readability.
2015-01-28 14:25:55 -08:00
Marin Jankovski
c6c7552e41
Build the urls inside of the service.
2015-01-28 13:19:32 -08:00
Marin Jankovski
537cd66d7e
Add gitlab internal issue tracker service.
2015-01-28 09:28:17 -08:00
Marin Jankovski
33913f9b8f
Make issue tracker service fields required.
2015-01-26 22:08:27 -08:00
Marin Jankovski
00a0d5aeea
Move repetition to the parent.
2015-01-26 16:24:11 -08:00
Marin Jankovski
c70dcd2907
Merge branch 'master' into move_external_issue_tracker_away_from_yml_config
2015-01-23 12:38:46 -08:00
Marin Jankovski
103a1bb06d
Use service settings instead of config file settings to present issues.
2015-01-23 10:28:38 -08:00
Marin Jankovski
737f6516e6
Update new services with initialization based on existing data.
2015-01-23 09:14:45 -08:00
Dmitriy Zaporozhets
98ee4a1fa7
Annotate models
2015-01-22 09:40:03 -08:00
Marin Jankovski
e9d6d1e51a
Custom issue tracker service.
2015-01-20 16:55:35 -08:00
Marin Jankovski
09de0bfc37
Redmine doesn't require title and description change
2015-01-20 16:55:12 -08:00