Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Migrate sensitive web hook data in the background | Nick Thomas | 2018-10-01 | 1 | -0/+6 |
| | |||||
* | Merge branch 'filter-web-hooks-by-branch' into 'master' | Dmitriy Zaporozhets | 2018-09-05 | 2 | -0/+88 |
|\ | | | | | | | | | Filter web hooks by branch See merge request gitlab-org/gitlab-ce!19513 | ||||
| * | Refactor: move active hook filter to TriggerableHooks | Duana Saskia | 2018-09-05 | 1 | -9/+10 |
| | | |||||
| * | Filter project hooks by branch | Duana Saskia | 2018-08-13 | 2 | -0/+87 |
| | | | | | | | | | | | | Allow specificying a branch filter for a project hook and only trigger a project hook if either the branch filter is blank or the branch matches. Only supported for push_events for now. | ||||
* | | Whitelist existing destroy_all offensesblacklist-destroy-all | Yorick Peterse | 2018-08-16 | 1 | -2/+2 |
|/ | | | | This whitelists all existing places where we use "destroy_all". | ||||
* | Resolve "Rename the `Master` role to `Maintainer`" Backend | Mark Chao | 2018-07-11 | 1 | -4/+4 |
| | |||||
* | Fixed pagination of web hook logs | Yorick Peterse | 2018-07-03 | 1 | -0/+18 |
| | | | | | | | | | | | | | | | | | | | | For reasons unknown, the logs of a web hook were paginated in memory. This would result in the "Edit" page of a web hook timing out once it has more than a few thousand log entries. This commit makes the following changes: 1. We use LIMIT/OFFSET to paginate the data, instead of doing this in memory. 2. We limit the logs to the last two days, just like the documentation says (instead of retrieving everything). 3. We change the indexes on "web_hook_logs" so the query to get the data can perform a backwards index scan, without the need for a Filter. These changes combined ensure that Projects::HooksController#edit no longer times out. | ||||
* | Merge branch 'feature/merge-request-system-hook' into 'master' | Douwe Maan | 2018-01-18 | 1 | -1/+2 |
|\ | | | | | | | | | System hooks for Merge Requests See merge request gitlab-org/gitlab-ce!14387 | ||||
| * | execute system hooks from project | Alexis Reigel | 2018-01-04 | 1 | -1/+2 |
| | | |||||
* | | Merge branch ↵ | Robert Speicher | 2018-01-16 | 1 | -0/+6 |
|/ | | | | | | | | | | | | '41293-fix-command-injection-vulnerability-on-system_hook_push-queue-through-web-hook' into 'security-10-3' Don't allow line breaks on HTTP headers See merge request gitlab/gitlabhq!2277 (cherry picked from commit 7fc0a6fc096768a5604d6dd24d7d952e53300c82) 073b8f9c Don't allow line breaks on HTTP headers | ||||
* | Replace '.team << [user, role]' with 'add_role(user)' in specs36782-replace-team-user-role-with-add_role-user-in-specs | blackst0ne | 2017-12-22 | 1 | -2/+2 |
| | |||||
* | Change all `:empty_project` to `:project`rs-empty_project-default | Robert Speicher | 2017-08-02 | 1 | -1/+1 |
| | |||||
* | Use described_class when possible | Rémy Coutable | 2017-07-27 | 2 | -3/+3 |
| | | | | Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Remove superfluous lib: true, type: redis, service: true, models: true, ↵ | Rémy Coutable | 2017-07-27 | 5 | -5/+5 |
| | | | | | | services: true, no_db: true, api: true Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Wrong data type when testing webhooks | Alexander Randa | 2017-07-20 | 3 | -3/+10 |
| | |||||
* | Implement web hooks logging | Alexander Randa | 2017-05-25 | 4 | -90/+90 |
| | | | | | | | | * 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 | ||||
* | Make the new repository_update_events configurable in System Hooks UI | Gabriel Mazetto | 2017-05-12 | 1 | -0/+13 |
| | |||||
* | Added repository_update hook | Gabriel Mazetto | 2017-05-12 | 1 | -0/+8 |
| | |||||
* | Implement new service for creating user | George Andrinopoulos | 2017-03-27 | 1 | -1/+4 |
| | |||||
* | Use `:empty_project` where possible in model specsrs-empty_project-models | Robert Speicher | 2017-01-26 | 2 | -2/+2 |
| | |||||
* | Remove schema annotations completely | Valery Sizov | 2016-09-16 | 4 | -73/+1 |
| | |||||
* | Clean up project destructionclean-up-project-destroy | Stan Hu | 2016-08-10 | 1 | -1/+1 |
| | | | | | | 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. | ||||
* | adds second batch of tests changed to active tenseactive-tense-test-coverage | tiagonbotelho | 2016-08-09 | 1 | -2/+2 |
| | |||||
* | Codestyle: make sure we have space around operators | Gabriel Mazetto | 2016-05-13 | 2 | -12/+12 |
| | |||||
* | Fix test failures | Jacob Vosmaer | 2016-05-09 | 1 | -2/+2 |
| | |||||
* | Backported minimal safewebhook implementation to GitLab CE | Gabriel Mazetto | 2016-04-30 | 1 | -16/+30 |
| | |||||
* | minor cleanup in system_hook_spec | Zeger-Jan van de Weg | 2016-03-30 | 1 | -27/+27 |
| | |||||
* | web hooks to webhooks | ashleys | 2016-03-10 | 2 | -2/+2 |
| | |||||
* | Allow webhooks URL to have leading and trailing spacesevuez/gitlab-ce-webhook-url-spaces | evuez | 2016-02-26 | 2 | -10/+14 |
| | |||||
* | First pass at deleting projects in the background. | Josh Frye | 2016-01-29 | 1 | -3/+3 |
| | |||||
* | Accept 2xx status codes for successful Web hook triggers | Stan Hu | 2016-01-07 | 1 | -0/+12 |
| | | | | Closes https://github.com/gitlabhq/gitlabhq/issues/9956 | ||||
* | Tag model specs | Douwe Maan | 2015-12-09 | 4 | -4/+4 |
| | |||||
* | Handle and report SSL errors in Web hook test. Check for status 200 for success. | Stan Hu | 2015-12-04 | 1 | -0/+6 |
| | | | | | | | | | If a Web hook test fails due to an SSL error or some other error, report the result back to the user instead of an Error 500. Closes #3656 Handle response | ||||
* | Fix rubocop warnings in spec/models | Guilherme Garnier | 2015-10-03 | 3 | -6/+2 |
| | |||||
* | Add `Group#add_*` convenience methodsrs-group-convenience-methods | Robert Speicher | 2015-08-07 | 1 | -2/+2 |
| | | | | Encapsulates the logic for `Gitlab::Access::WHATEVER` levels. | ||||
* | Merge branch 'master' into rubocop-for-tests | Dmitriy Zaporozhets | 2015-06-23 | 2 | -2/+2 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> Conflicts: spec/features/issues_spec.rb spec/models/forked_project_link_spec.rb spec/models/hooks/service_hook_spec.rb spec/models/hooks/web_hook_spec.rb spec/models/project_services/hipchat_service_spec.rb spec/requests/api/project_members_spec.rb spec/requests/api/projects_spec.rb spec/requests/api/system_hooks_spec.rb spec/services/archive_repository_service_spec.rb spec/support/matchers.rb spec/tasks/gitlab/backup_rake_spec.rb | ||||
| * | Fix `raise_error` without an argument deprecation warnings | Robert Speicher | 2015-06-22 | 2 | -2/+2 |
| | | |||||
* | | Fix Style/Blocks cop violations | Robert Speicher | 2015-06-22 | 2 | -6/+2 |
| | | |||||
* | | Fix Style/SpaceInsideHashLiteralBraces cop violations | Robert Speicher | 2015-06-22 | 3 | -16/+16 |
|/ | | | | These fixes were performed automatically by Rubocop's `-a` flag. | ||||
* | Add support for Webhook note events | Stan Hu | 2015-05-21 | 4 | -0/+4 |
| | | | | Closes https://github.com/gitlabhq/gitlabhq/issues/6745 | ||||
* | Added X-GitLab-Event header for web hooks | bugagazavr | 2015-05-08 | 3 | -15/+74 |
| | |||||
* | Revert "Added X-GitLab-Event header for web hooks" | Valery Sizov | 2015-04-27 | 1 | -9/+5 |
| | | | | This reverts commit 548f182814acd0f7a110e6c165c186e345901b00. | ||||
* | Added X-GitLab-Event header for web hooks | bugagazavr | 2015-04-25 | 1 | -5/+9 |
| | |||||
* | Updated rspec to rspec 3.x syntax | Jeroen van Baarsen | 2015-02-12 | 3 | -26/+26 |
| | | | | Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com> | ||||
* | Make the structure of spec/models match app/models | Robert Speicher | 2015-01-30 | 4 | -0/+234 |