summaryrefslogtreecommitdiff
path: root/spec/services/system_hooks_service_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fix typos in libGeorge Tsiolis2018-11-151-1/+1
|
* Updates from `rubocop -a`Lin Jen-Shin2018-07-091-1/+1
|
* Merge branch 'sh-fix-issue-43871-system-hooks' into 'master'Robert Speicher2018-03-051-0/+8
|\ | | | | | | | | | | | | Don't error out in system hook if user has `nil` datetime columns Closes #43871 See merge request gitlab-org/gitlab-ce!17543
| * Don't error out in system hook if user has `nil` datetime columnsStan Hu2018-03-051-0/+8
| | | | | | | | | | | | | | Deleting a user would fail in the system hooks if the user had `nil` column in `datetime` or `updated_at` fields. Closes #43871
* | Replace deprecated path_with_namespace with full_pathDmitriy Zaporozhets2018-03-051-0/+4
|/ | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Log and send a system hook if a blocked user fails to loginsh-log-when-user-blockedStan Hu2018-01-141-0/+13
| | | | Closes #41633
* Add system hooks user_rename and group_renameWinnie Hellmann2017-11-031-0/+38
|
* Use the correct project visibility in system hooksBob Van Landuyt2017-10-301-0/+6
|
* Change all `:empty_project` to `:project`rs-empty_project-defaultRobert Speicher2017-08-021-1/+1
|
* Remove superfluous lib: true, type: redis, service: true, models: true, ↵Rémy Coutable2017-07-271-1/+1
| | | | | | services: true, no_db: true, api: true Signed-off-by: Rémy Coutable <remy@rymai.me>
* Use `:empty_project` where possible in service specsRobert Speicher2017-03-271-7/+7
|
* Fix bug when system hook for deploy keybilly.lb2017-03-161-0/+3
|
* Add a system hook for when a project is updated.Tommy Beadle2017-01-261-0/+2
| | | | | | | 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.
* Merge branch 'add_username_to_user_system_hooks' of ↵Dmitriy Zaporozhets2016-01-131-16/+16
|\ | | | | | | | | | | https://github.com/tbeadle/gitlabhq Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * Include user_username in user_(add_to/remove_from)_(project/group) system hooks.Tommy Beadle2016-01-071-4/+4
| |
| * Include the username in user_create/destroy system hooks.Tommy Beadle2016-01-071-2/+2
| |
* | Include the user_id in user_*_team system hooks.Tommy Beadle2016-01-061-2/+2
|/ | | | | | 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.
* Added system hooks messages for renaming and transferring a projectSteve Norman2016-01-041-14/+33
|
* Tag service specsDouwe Maan2015-12-091-1/+1
|
* hooks: Add full project namespace to payloadRicardo Band2015-10-021-2/+2
| | | | | Payload of "project_member, :create" and "project_member, :destroy" now also have a field project_path_with_namespace.
* Remove unnecessary whitespace between let and (Dmitriy Zaporozhets2015-06-221-6/+6
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Updated rspec to rspec 3.x syntaxJeroen van Baarsen2015-02-121-24/+24
| | | | Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
* Added support for firing system hooks on group create/destroy and ↵Boyan Tabakov2015-01-271-0/+31
| | | | | | adding/removing users to group. Added tests and updated docs. Also adding 'user_id' field in the hooks for adding/removing user from team.
* Fix adminarea and emails for new membership logicDmitriy Zaporozhets2014-09-151-5/+5
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Add system hook for ssh key changesLukas Erlacher2014-09-031-0/+5
| | | | | | Add system hook for ssh key create and destroy Update and fix documentation Update tests
* Adding project visibility to system hooksAlex2014-05-121-4/+4
|
* Use instance methods for system_hooks_serviceDmitriy Zaporozhets2014-01-151-2/+2
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Mention SystemHook user_id in sample. Extend testsDmitriy Zaporozhets2013-10-081-28/+20
|
* Add user_id to system hook when new user createdDmitriy Zaporozhets2013-10-081-1/+1
|
* System hooks execution moved to System hook serviceAndrew8xx82013-02-201-0/+41