Commit graph

17 commits

Author SHA1 Message Date
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