Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-07-11Resolve "Rename the `Master` role to `Maintainer`" BackendMark Chao
2018-07-03Fixed pagination of web hook logsYorick Peterse
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.
2018-01-18Merge branch 'feature/merge-request-system-hook' into 'master'Douwe Maan
System hooks for Merge Requests See merge request gitlab-org/gitlab-ce!14387
2018-01-17Merge branch ↵Robert Speicher
'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
2018-01-04execute system hooks from projectAlexis Reigel
2017-12-22Replace '.team << [user, role]' with 'add_role(user)' in specsblackst0ne
2017-08-03Change all `:empty_project` to `:project`Robert Speicher
2017-07-27Use described_class when possibleRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-27Remove superfluous lib: true, type: redis, service: true, models: true, ↵Rémy Coutable
services: true, no_db: true, api: true Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-20Wrong data type when testing webhooksAlexander Randa
2017-05-25Implement web hooks loggingAlexander Randa
* 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-13Make the new repository_update_events configurable in System Hooks UIGabriel Mazetto
2017-05-13Added repository_update hookGabriel Mazetto
2017-03-27Implement new service for creating userGeorge Andrinopoulos
2017-01-27Use `:empty_project` where possible in model specsRobert Speicher
2016-09-16Remove schema annotations completelyValery Sizov
2016-08-10Clean up project destructionStan Hu
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-09adds second batch of tests changed to active tensetiagonbotelho
2016-05-13Codestyle: make sure we have space around operatorsGabriel Mazetto
2016-05-09Fix test failuresJacob Vosmaer
2016-04-30Backported minimal safewebhook implementation to GitLab CEGabriel Mazetto
2016-03-30minor cleanup in system_hook_specZeger-Jan van de Weg
2016-03-10web hooks to webhooksashleys
2016-02-26Allow webhooks URL to have leading and trailing spacesevuez
2016-01-29First pass at deleting projects in the background.Josh Frye
2016-01-07Accept 2xx status codes for successful Web hook triggersStan Hu
Closes https://github.com/gitlabhq/gitlabhq/issues/9956
2015-12-09Tag model specsDouwe Maan
2015-12-04Handle and report SSL errors in Web hook test. Check for status 200 for success.Stan Hu
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
2015-10-03Fix rubocop warnings in spec/modelsGuilherme Garnier
2015-08-07Add `Group#add_*` convenience methodsRobert Speicher
Encapsulates the logic for `Gitlab::Access::WHATEVER` levels.
2015-06-23Merge branch 'master' into rubocop-for-testsDmitriy Zaporozhets
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
2015-06-22Fix Style/Blocks cop violationsRobert Speicher
2015-06-22Fix Style/SpaceInsideHashLiteralBraces cop violationsRobert Speicher
These fixes were performed automatically by Rubocop's `-a` flag.
2015-06-22Fix `raise_error` without an argument deprecation warningsRobert Speicher
2015-05-22Add support for Webhook note eventsStan Hu
Closes https://github.com/gitlabhq/gitlabhq/issues/6745
2015-05-08Added X-GitLab-Event header for web hooksbugagazavr
2015-04-27Revert "Added X-GitLab-Event header for web hooks"Valery Sizov
This reverts commit 548f182814acd0f7a110e6c165c186e345901b00.
2015-04-25Added X-GitLab-Event header for web hooksbugagazavr
2015-02-12Updated rspec to rspec 3.x syntaxJeroen van Baarsen
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
2015-01-30Make the structure of spec/models match app/modelsRobert Speicher