summaryrefslogtreecommitdiff
path: root/app/models/project_services
Commit message (Collapse)AuthorAgeFilesLines
* Fixed CiServices validationfeature/update-rubocopGabriel Mazetto2015-12-152-4/+4
|
* Fixed Rubocop offensesGabriel Mazetto2015-12-154-11/+7
|
* Migrate CI::Project to ProjectKamil Trzcinski2015-12-111-72/+1
|
* Fix indentation and BuildsEmailServiceci-services-migrateKamil Trzcinski2015-12-111-2/+1
|
* Change default valuesKamil Trzcinski2015-12-114-10/+29
|
* Fix issue tracker serviceKamil Trzcinski2015-12-101-11/+7
|
* Migrate SlackService and HipChat serviceKamil Trzcinski2015-12-103-0/+6
|
* Migrate CI WebHooks and Emails to new tablesKamil Trzcinski2015-12-101-4/+7
|
* Migrate CI::Services and CI::WebHooks to Services and WebHooksKamil Trzcinski2015-12-1010-428/+225
|
* Add custom UrlValidatorRobert Speicher2015-12-074-30/+22
|
* fix deprecation messages in testsValery Sizov2015-12-032-2/+2
|
* test fixValery Sizov2015-11-301-1/+1
|
* fix specsrails_update_to_4_2Valery Sizov2015-11-301-3/+3
|
* Migrate mailers to ActiveJobValery Sizov2015-11-261-1/+1
|
* Fix 500 when using CIci-fix-500Kamil Trzcinski2015-11-231-0/+1
| | | | | | - Fix for Ci::Build state machine, allowing to process builds without the project - Forcefully update builds that didn't want to update with state machine - Fix saving GitLabCiService as Admin Template
* Fix Drone web hook URL not being updatedStan Hu2015-11-201-0/+2
|
* Refactor duplciate code for groups_controller.rb and ↵Dmitriy Zaporozhets2015-11-171-15/+16
| | | | | | slack_service/note_message.rb Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Annotate modelsDmitriy Zaporozhets2015-11-133-3/+3
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Fix Drone CI service template not saving properlyStan Hu2015-11-101-1/+0
| | | | Closes #3419
* CI details cleanupKamil Trzcinski2015-11-053-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | - Add page titles to CI settings. - Fix CI admin navigation. - Remove duplicated scope. - Use monospace font for commit sha. - Add page title and header title to build page. - Proper authorization for cancel/retry builds. - Use gitlab pagination theme for builds and group members. - Don't paginate builds widget on build page. - Add badges to commit page Changes/Builds tabs. - Add "Builds" to commit Builds tab page title. - Add and use Ci::Build#retryable? method. - Add CI::Build#retried? method. - Allow all failed commit builds to be retried. - Proper authorization for cancel/retry all builds. - Remove unused param. - Use time_ago_with_tooltip where appropriate. - Tweak builds index text - Remove duplication between builds/build and commit_statuses/commit_status. - Use POST rather than GET for canceling and retrying builds. - Remove redundant URL helpers. - Add build ID to build page. - Link branch name on build page. - Move commit/:sha/ci to commit/:sha/builds.
* Improve invalidation of stored service password if the endpoint URL is changedimprove_reset_service_password_v2Alex Lossent2015-10-152-2/+2
| | | | | Password can now be specified at the same time as the new URL, and the service template admin pages now work.
* Revert "Improve invalidation of stored service password if the endpoint URL ↵Valery Sizov2015-10-142-2/+2
| | | | | | is changed" This reverts commit b46397548056e4e8ef00efe4f641c61ba1dd5230.
* Improve invalidation of stored service password if the endpoint URL is changedAlex Lossent2015-10-142-2/+2
| | | | | It now allows to specify a password at the same time as the new URL, and works on the service template admin pages.
* Merge branch 'commit_status' into 'master' Kamil Trzciński2015-10-134-4/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement Commit Status API This is preliminary implementation of Commit Status API, pretty much compatible with GitHub. 1. The Commit Statuses are stored in separate table: ci_commit_status. 2. The POST inserts a new row. 3. To POST execute GitLab API `post :id/repository/commits/:sha/status`. This accepts dual authorization: - Using authorized user - Using ci-token to allow easy posting from CI Services 4. This adds predefined variable to GitLab CI build environment: CI_BUILD_STATUS_URL, allowing to easy post status from within build (ex. with code coverage or other metrics). 5. This adds statuses to commit's builds view. 6. The commit's status is calculated taking into account status of all builds and all posted statuses. 7. The commit statuses doesn't trigger notifications. 8. The commit status API introduces two new privileges: `read_commit_statuses` and `create_commit_status`. 9. We still miss a few tests and documentation updates for API and CI. @dzaporozhets @sytses What do you think? See merge request !1530
| * Rename builds_without_retry to latest_buildsKamil Trzcinski2015-10-124-4/+4
| |
* | Invalidate stored service password if the endpoint URL is changedreset_service_passwordValery Sizov2015-10-122-0/+14
|/
* Fix routing in CI mailerDmitriy Zaporozhets2015-10-073-4/+4
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Fix GitLabCiService and remove ci_yaml_file from CI push dataKamil Trzcinski2015-10-051-21/+2
|
* Fix next round of testsKamil Trzcinski2015-10-053-24/+10
|
* Add user to Ci::Build to have pusher email addressKamil Trzcinski2015-10-051-1/+1
|
* Refactor commit and buildKamil Trzcinski2015-10-054-5/+5
|
* Merge remote-tracking branch 'upstream/master'Guilherme Garnier2015-10-031-15/+5
|\
| * Remove unnecessary fork ci logicDmitriy Zaporozhets2015-10-021-15/+0
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * Ensure GitLab CI project exists when CI service is activated manuallyensure-ci-projectDmitriy Zaporozhets2015-10-011-0/+5
| | | | | | | | | | | | | | | | When I check activeated checkbox in project services for GitLab CI it cause half-working state when gitlab_ci_project is missing. This patch fixes it until we have proper behaviour implemented later Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Fix rubocop warnings in appGuilherme Garnier2015-10-031-15/+10
|/
* Delegate ci_project parameters to projectsKamil Trzcinski2015-09-301-5/+1
| | | | | | | - It delegates name, path, gitlab_url, ssh_url_to_repo - Remove ability to set this parameters using CI API This fixes GitLab project rename, namespace change, repository rename, etc.
* Remove unneeded changeKamil Trzcinski2015-09-241-1/+2
|
* Get GitLabCiService token from CI projectKamil Trzcinski2015-09-241-4/+7
|
* Merge branch 'remove-routes-helper' into 'master' Dmitriy Zaporozhets2015-09-243-8/+14
|\ | | | | | | | | | | | | | | | | Fix Slack notification URL and remove the usage of Ci::RoutesHelper Fix for #2644 /cc @dzaporozhets @rspeicher See merge request !1391
| * Fix CIKamil Trzcinski2015-09-221-0/+2
| |
| * Fix Slack notification URL and remove the usage of Ci::RoutesHelperKamil Trzcinski2015-09-223-8/+12
| |
* | Enable CI for gitlab when .gitlab-ci.yml is pushedDmitriy Zaporozhets2015-09-231-1/+1
|/ | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Fixed MR handling when GitLab CI project is not presentfix-ci-handlingKamil Trzcinski2015-09-211-2/+6
|
* Removed format validationKirilll Zaitsev2015-09-191-1/+1
|
* remove API calls from CE to CIci_closer_integrationValery Sizov2015-09-181-33/+14
|
* Fix CI status in the MR pageValery Sizov2015-09-183-53/+8
|
* Merge remote-tracking branch 'origin/master' into ↵Kamil Trzcinski2015-09-151-0/+6
|\ | | | | | | | | | | | | ci-and-ce-sitting-in-a-tree-k-i-s-s-i-n-g # Conflicts: # Gemfile.lock
| * Add a help text to the Slack ServiceJeroen van Baarsen2015-09-151-0/+6
| | | | | | | | | | | | | | When setting up the service I was not sure which webhook I should use, by adding this Help text I hope we can help people in the future with setting up this hook Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
* | fix specs. Stage 7Valery Sizov2015-09-152-3/+3
| |
* | Make rspec startDmitriy Zaporozhets2015-09-093-3/+3
| |