Commit Graph

52 Commits

Author SHA1 Message Date
GitLab Bot 0c96122eec Add latest changes from gitlab-org/gitlab@master 2025-03-18 12:12:18 +00:00
GitLab Bot 135b9a7019 Add latest changes from gitlab-org/gitlab@master 2025-02-27 15:09:55 +00:00
GitLab Bot 668334016b Add latest changes from gitlab-org/gitlab@master 2025-02-24 15:12:01 +00:00
GitLab Bot ecb6bda4d4 Add latest changes from gitlab-org/gitlab@master 2025-01-17 12:48:37 +00:00
GitLab Bot ba12e5053f Add latest changes from gitlab-org/gitlab@master 2024-12-04 03:37:55 +00:00
GitLab Bot 787266b01b Add latest changes from gitlab-org/gitlab@master 2024-09-09 09:11:43 +00:00
GitLab Bot 894465c64d Add latest changes from gitlab-org/gitlab@master 2024-08-13 09:11:02 +00:00
GitLab Bot 4c9e62ad5f Add latest changes from gitlab-org/gitlab@master 2024-05-10 00:16:24 +00:00
GitLab Bot 0c2b535267 Add latest changes from gitlab-org/gitlab@master 2023-11-14 00:07:42 +00:00
GitLab Bot b6b701cf9d Add latest changes from gitlab-org/gitlab@master 2023-05-16 18:09:09 +00:00
GitLab Bot ce545ca5d7 Add latest changes from gitlab-org/gitlab@master 2023-01-25 00:11:15 +00:00
GitLab Bot 6bed1b9c9c Add latest changes from gitlab-org/gitlab@master 2022-11-09 21:07:34 +00:00
GitLab Bot e40061efd4 Add latest changes from gitlab-org/gitlab@master 2022-11-08 09:09:01 +00:00
GitLab Bot d5fa3bac88 Add latest changes from gitlab-org/gitlab@master 2022-07-25 15:10:30 +00:00
GitLab Bot b7b44de429 Add latest changes from gitlab-org/gitlab@master 2022-06-16 09:09:15 +00:00
GitLab Bot 32bbedbc21 Add latest changes from gitlab-org/gitlab@master 2022-03-31 21:08:16 +00:00
GitLab Bot 8858979899 Add latest changes from gitlab-org/gitlab@master 2022-02-16 06:12:24 +00:00
GitLab Bot 53716bea26 Add latest changes from gitlab-org/gitlab@master 2022-01-10 15:14:26 +00:00
GitLab Bot 14b5bf2629 Add latest changes from gitlab-org/gitlab@master 2021-08-06 12:10:15 +00:00
GitLab Bot a32e60a7ea Add latest changes from gitlab-org/gitlab@master 2021-05-20 12:10:26 +00:00
GitLab Bot c19bb4adbf Add latest changes from gitlab-org/gitlab@master 2021-05-14 09:10:24 +00:00
GitLab Bot 52591f253b Add latest changes from gitlab-org/gitlab@master 2021-04-03 03:09:13 +00:00
GitLab Bot c59765a50a Add latest changes from gitlab-org/gitlab@master 2020-06-24 18:09:03 +00:00
GitLab Bot d7b136d547 Add latest changes from gitlab-org/gitlab@master 2020-05-28 21:08:22 +00:00
GitLab Bot b3e4ec8e8a Add latest changes from gitlab-org/gitlab@master 2019-10-23 09:06:03 +00:00
Brandon Williams 2bd4d580d1
Add system hooks for project/group membership updates
When updating group and project members, new system hooks
`user_update_for_group` and `user_update_for_team` will be executed.

Fixes https://gitlab.com/gitlab-org/gitlab-ee/issues/12252
2019-09-02 18:35:36 -05:00
Thong Kuah a2cfc150ce Add # frozen_string_literal to spec/models
Adds `# frozen_string_literal: true` to spec/models ruby files
2019-04-01 14:37:54 +13:00
Yorick Peterse 9606dbbb03
Whitelist existing destroy_all offenses
This whitelists all existing places where we use "destroy_all".
2018-08-16 17:29:37 +02:00
Mark Chao a63bce1a4b Resolve "Rename the `Master` role to `Maintainer`" Backend 2018-07-11 14:36:08 +00:00
Alexis Reigel 9f7811e474 execute system hooks from project 2018-01-04 09:33:41 +01:00
blackst0ne 27c95364b5 Replace '.team << [user, role]' with 'add_role(user)' in specs 2017-12-22 19:18:28 +11:00
Robert Speicher 72a7b30c9f Change all `:empty_project` to `:project` 2017-08-02 17:47:31 -04:00
Rémy Coutable cddc5cacfb Use described_class when possible
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-27 14:31:53 +02:00
Rémy Coutable ddccd24c13 Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-27 14:31:53 +02:00
Alexander Randa e0ab5618a0 Wrong data type when testing webhooks 2017-07-20 15:12:06 +00:00
Alexander Randa 330789c23c Implement web hooks logging
* implemented logging of project and system web hooks
* implemented UI for user area (project hooks)
* implemented UI for admin area (system hooks)
* implemented retry of logged webhook
* NOT imeplemented log remover
2017-05-25 10:07:52 +03:00
Gabriel Mazetto 2e97db051c Make the new repository_update_events configurable in System Hooks UI 2017-05-12 23:26:48 +01:00
Gabriel Mazetto f661980904 Added repository_update hook 2017-05-12 23:26:48 +01:00
George Andrinopoulos 7c74a0209b Implement new service for creating user 2017-03-27 09:37:24 +00:00
Robert Speicher fcb37542e7 Use `:empty_project` where possible in model specs 2017-01-26 17:44:59 -05:00
Valery Sizov 8b2dbe8997 Remove schema annotations completely 2016-09-16 14:37:48 +03:00
Stan Hu 4955a47cb1 Clean up project destruction
Instead of redirecting from the project service to the service and back to the model,
put all destruction code in the service. Also removes a possible source of failure
where run_after_commit may not destroy the project.
2016-08-10 09:28:21 -07:00
Gabriel Mazetto f5a0ac0fc1 Codestyle: make sure we have space around operators 2016-05-13 04:46:56 -03:00
Zeger-Jan van de Weg 4b1ad75ab5 minor cleanup in system_hook_spec 2016-03-30 20:00:57 +02:00
Josh Frye 91b9cbff8d First pass at deleting projects in the background. 2016-01-29 09:14:16 -05:00
Douwe Maan 1e8d703a85 Tag model specs 2015-12-09 10:50:51 +01:00
Robert Speicher fb6dc1f07d Add `Group#add_*` convenience methods
Encapsulates the logic for `Gitlab::Access::WHATEVER` levels.
2015-08-07 00:20:02 -04:00
Robert Speicher 94eff65569 Fix Style/SpaceInsideHashLiteralBraces cop violations
These fixes were performed automatically by Rubocop's `-a` flag.
2015-06-22 14:41:00 -04:00
Stan Hu deeff56967 Add support for Webhook note events
Closes https://github.com/gitlabhq/gitlabhq/issues/6745
2015-05-21 23:48:16 -04:00
bugagazavr acac788902 Added X-GitLab-Event header for web hooks 2015-05-08 16:49:03 +03:00