Robert Speicher
ca9a79f620
Use `:empty_project` where possible in service specs
2017-03-27 20:44:09 -04:00
billy.lb
0de8dccd2a
Fix bug when system hook for deploy key
2017-03-16 21:28:34 +08:00
Tommy Beadle
0de335eced
Add a system hook for when a project is updated.
...
This sends a project_update hook when a repo is updated. This does not include
renaming or transferring a project. Those are covered by project_rename and
project_transfer. This will get called, however, when the visibility is
changed.
2017-01-26 09:09:14 -05:00
Dmitriy Zaporozhets
32a5b741c2
Merge branch 'add_username_to_user_system_hooks' of https://github.com/tbeadle/gitlabhq
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-01-13 10:12:30 +01:00
Tommy Beadle
1f64332e11
Include user_username in user_(add_to/remove_from)_(project/group) system hooks.
2016-01-07 12:54:54 -05:00
Tommy Beadle
dada25d447
Include the username in user_create/destroy system hooks.
2016-01-07 12:54:35 -05:00
Tommy Beadle
4d41294d71
Include the user_id in user_*_team system hooks.
...
This fixes an issue where the user_id is not included in the data for
user_add_to_team and user_remove_from_team system hooks. The documentation
already states that the user_id should be included.
2016-01-06 11:49:59 -05:00
Steve Norman
79ec7f2897
Added system hooks messages for renaming and transferring a project
2016-01-04 13:48:00 +00:00
Douwe Maan
a2cfb44157
Tag service specs
2015-12-09 11:55:49 +01:00
Ricardo Band
42be5ee1cd
hooks: Add full project namespace to payload
...
Payload of "project_member, :create" and "project_member, :destroy" now also
have a field project_path_with_namespace.
2015-10-02 19:44:33 +02:00
Dmitriy Zaporozhets
cf259cdb43
Remove unnecessary whitespace between let and (
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-06-22 14:39:07 +02:00
Jeroen van Baarsen
0c4a70a306
Updated rspec to rspec 3.x syntax
...
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
2015-02-12 19:17:35 +01:00
Boyan Tabakov
93bc2d5202
Added support for firing system hooks on group create/destroy and adding/removing users to group.
...
Added tests and updated docs. Also adding 'user_id' field in the hooks for adding/removing user from team.
2015-01-27 09:25:28 +02:00
Dmitriy Zaporozhets
bdbadebe3e
Fix adminarea and emails for new membership logic
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-09-15 10:57:02 +03:00
Lukas Erlacher
40fc4261f2
Add system hook for ssh key changes
...
Add system hook for ssh key create and destroy
Update and fix documentation
Update tests
2014-09-03 01:27:02 +02:00
Alex
31b0e14981
Adding project visibility to system hooks
2014-05-12 10:23:24 +01:00
Dmitriy Zaporozhets
37ef33cba1
Use instance methods for system_hooks_service
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-01-15 14:26:05 +02:00
Dmitriy Zaporozhets
9a0329016b
Mention SystemHook user_id in sample. Extend tests
2013-10-08 11:06:38 +03:00
Dmitriy Zaporozhets
3d51147de1
Add user_id to system hook when new user created
2013-10-08 10:54:40 +03:00
Andrew8xx8
aa1780d03c
System hooks execution moved to System hook service
2013-02-20 14:53:15 +04:00