summaryrefslogtreecommitdiff
path: root/spec/models/hooks
Commit message (Collapse)AuthorAgeFilesLines
* Change all `:empty_project` to `:project`rs-empty_project-defaultRobert Speicher2017-08-021-1/+1
|
* Use described_class when possibleRémy Coutable2017-07-272-3/+3
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Remove superfluous lib: true, type: redis, service: true, models: true, ↵Rémy Coutable2017-07-275-5/+5
| | | | | | services: true, no_db: true, api: true Signed-off-by: Rémy Coutable <remy@rymai.me>
* Wrong data type when testing webhooksAlexander Randa2017-07-203-3/+10
|
* Implement web hooks loggingAlexander Randa2017-05-254-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 UIGabriel Mazetto2017-05-121-0/+13
|
* Added repository_update hookGabriel Mazetto2017-05-121-0/+8
|
* Implement new service for creating userGeorge Andrinopoulos2017-03-271-1/+4
|
* Use `:empty_project` where possible in model specsrs-empty_project-modelsRobert Speicher2017-01-262-2/+2
|
* Remove schema annotations completelyValery Sizov2016-09-164-73/+1
|
* Clean up project destructionclean-up-project-destroyStan Hu2016-08-101-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-coveragetiagonbotelho2016-08-091-2/+2
|
* Codestyle: make sure we have space around operatorsGabriel Mazetto2016-05-132-12/+12
|
* Fix test failuresJacob Vosmaer2016-05-091-2/+2
|
* Backported minimal safewebhook implementation to GitLab CEGabriel Mazetto2016-04-301-16/+30
|
* minor cleanup in system_hook_specZeger-Jan van de Weg2016-03-301-27/+27
|
* web hooks to webhooksashleys2016-03-102-2/+2
|
* Allow webhooks URL to have leading and trailing spacesevuez/gitlab-ce-webhook-url-spacesevuez2016-02-262-10/+14
|
* First pass at deleting projects in the background.Josh Frye2016-01-291-3/+3
|
* Accept 2xx status codes for successful Web hook triggersStan Hu2016-01-071-0/+12
| | | | Closes https://github.com/gitlabhq/gitlabhq/issues/9956
* Tag model specsDouwe Maan2015-12-094-4/+4
|
* Handle and report SSL errors in Web hook test. Check for status 200 for success.Stan Hu2015-12-041-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/modelsGuilherme Garnier2015-10-033-6/+2
|
* Add `Group#add_*` convenience methodsrs-group-convenience-methodsRobert Speicher2015-08-071-2/+2
| | | | Encapsulates the logic for `Gitlab::Access::WHATEVER` levels.
* Merge branch 'master' into rubocop-for-testsDmitriy Zaporozhets2015-06-232-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 warningsRobert Speicher2015-06-222-2/+2
| |
* | Fix Style/Blocks cop violationsRobert Speicher2015-06-222-6/+2
| |
* | Fix Style/SpaceInsideHashLiteralBraces cop violationsRobert Speicher2015-06-223-16/+16
|/ | | | These fixes were performed automatically by Rubocop's `-a` flag.
* Add support for Webhook note eventsStan Hu2015-05-214-0/+4
| | | | Closes https://github.com/gitlabhq/gitlabhq/issues/6745
* Added X-GitLab-Event header for web hooksbugagazavr2015-05-083-15/+74
|
* Revert "Added X-GitLab-Event header for web hooks"Valery Sizov2015-04-271-9/+5
| | | | This reverts commit 548f182814acd0f7a110e6c165c186e345901b00.
* Added X-GitLab-Event header for web hooksbugagazavr2015-04-251-5/+9
|
* Updated rspec to rspec 3.x syntaxJeroen van Baarsen2015-02-123-26/+26
| | | | Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
* Make the structure of spec/models match app/modelsRobert Speicher2015-01-304-0/+234