Dmitriy Zaporozhets
7f0b4ce16f
Split complex method SystemHooksService#build_event_data
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-11-13 00:12:18 +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
bugagazavr
acac788902
Added X-GitLab-Event header for web hooks
2015-05-08 16:49:03 +03:00
Valery Sizov
bc9ba5237c
Revert "Added X-GitLab-Event header for web hooks"
...
This reverts commit 548f182814
.
2015-04-27 16:29:31 +03:00
bugagazavr
548f182814
Added X-GitLab-Event header for web hooks
2015-04-25 21:31:52 +03:00
Nicole Cordes
b7a31a4b02
Generate valid json for hooks
...
It seems that ruby can handle 'nil' value but other json processors
(like PHP) throw an error. This is always generated for empty arrays.
2015-03-10 10:07:25 +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
Valeriy Sizov
c8e78d972a
Merge pull request #7495 from polamjag/fix-date-format-on-system-hook
...
Use xmlschema date format (ISO 8601) on system hooks timestamp
2014-11-05 13:14:26 +02:00
Dmitriy Zaporozhets
13af7de941
Fix migration and association for new members table
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-09-14 20:38:57 +03:00
Dmitriy Zaporozhets
c69b8e0459
Huge replace of old users_project and users_group references
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-09-14 19:32:51 +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
polamjag
100022d3ea
append .xmlschema to system hook timestamp
2014-08-14 02:13:14 +09: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
3d51147de1
Add user_id to system hook when new user created
2013-10-08 10:54:40 +03:00
Dmitriy Zaporozhets
65b9768ccf
Group ownership completely based on users_groups relation now
...
Before we have only owner_id to determine group owner
With multiple owners per group we should get rid of owner_id in group.
So from now @group.owner will always be nil but
@group.owners return an actual array of users who can admin this group
2013-09-26 14:49:22 +03:00
Dmitriy Zaporozhets
7a26a4b69d
Refactor access roles methods
2013-08-20 15:59:45 +03:00
Dmitriy Zaporozhets
e940fbc7c1
Add UsersGroup relation to be respected by abilities and Project#team
2013-06-18 17:47:52 +03:00
Dmitriy Zaporozhets
adc51a9b91
Use separate property for project path and project path with namespace inside system hook
2013-05-22 14:06:31 +03:00
Dmitriy Zaporozhets
432df031cf
include namespace in project path for system hook
2013-05-22 13:39:00 +03:00
Andrew8xx8
c77730dd71
An Id must be sended to queue
2013-02-21 14:04:06 +04:00
Andrew8xx8
99760edc75
Method moved to service
2013-02-20 15:33:03 +04:00
Andrew8xx8
aa1780d03c
System hooks execution moved to System hook service
2013-02-20 14:53:15 +04:00