summaryrefslogtreecommitdiff
path: root/app/models/project_services
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'improve-project-external-issue-trackers' into 'master' Douwe Maan2016-01-193-12/+6
| | | | | | | Greatly improve external_issue_tracker performance See 3d41133d48f6522b8755bb91b804864e8e520871 for all the details. As an aside, this commit contains a set of migrations that will introduce downtime as they add a column with a default value which in turn locks the entire table (at least on PostgreSQL). See merge request !2498
* Merge branch 'fix/reference_filter_uri_decode_error_for_master' into 'master' Douwe Maan2016-01-131-4/+4
|\ | | | | | | | | | | | | | | | | Fix #9963 reference_filter "Encoding::CompatibilityError" bug with some complex URL; https://github.com/gitlabhq/gitlabhq/pull/9964 @DouweM See merge request !2383
| * Use CGI.escape instead of URI.escape, because URI is obsoleted.Jason Lee2016-01-121-4/+4
| | | | | | | | ref: https://github.com/ruby/ruby/commit/238b979f1789f95262a267d8df6239806f2859cc
* | Mention channel/key bug in irkerd docsLandon2016-01-121-3/+4
|/ | | | | | | Per this issue: https://gitlab.com/esr/irker/issues/2 A documentation update was added to irkerd (https://gitlab.com/esr/irker/commit/190808c37d4ab5f0f16fe35352ff36863c2732d5) but the bug is still there. Making a note of it here could save someone a lot of hassle. This could probably be worded better if someone else wants to take a stab at it.
* Merge branch 'fix_jira_shortterm' into 'master' Robert Speicher2016-01-101-0/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Do not call API if there is no API URL Fixes #5878 CE users may not be interested in the new JIRA features. In this case, we should detect they haven't set an API URL and fallback to the behavior pre-8.3. This patch does that very easily. There are planned improvements to JIRA in future releases such as gitlab-org/gitlab-ce#5541 which will make this more configurable. See merge request !2341
| * Do not call API if there is no API URLDrew Blessing2016-01-071-0/+3
| |
* | Merge branch 'suppress-allow-failure-builds' into 'master' Stan Hu2016-01-081-1/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | Suppress e-mails on failed builds if allow_failure is set Every time I push to GitLab, I get > 2 emails saying a spec failed when I don't care about the benchmarks and others that have `allow_failure` set to `true`. @ayufan mentioned creating a summary e-mail to prevent getting one e-mail per build, but the latter might actually be desirable. For example, I do want to know if Rubocop errors fail right away. See merge request !2178
| * | Suppress e-mails on failed builds if allow_failure is setStan Hu2016-01-071-1/+5
| |/ | | | | | | | | Every time I push to GitLab, I get > 2 emails saying a spec failed when I don't care about benchmarks and other specs that have `allow_failure` set to `true`.
* | Remove useless assignment to variableAchilleas Pipinellis2016-01-081-1/+1
| |
* | Remove reference to EE from JIRA service modelAchilleas Pipinellis2016-01-081-5/+0
|/
* Annotate modelsStan Hu2016-01-0624-0/+25
|
* Don't log backtrace in Asana servicemikew1/gitlab-ce-better-asana-refsMike Wyatt2016-01-041-1/+0
|
* Merge remote-tracking branch 'upstream/master' into better-asana-refsMike Wyatt2015-12-316-13/+253
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream/master: (307 commits) Update CHANGELOG spinach fix Updated allocations Gem to version 1.0.3 Removed various default metrics tags Update CHANGELOG Fix "I see current user as the first user" step Swap Author and Assignee Selectors on issuable index view Update CHANGELOG Make sure that is no pending migrations in Gitlab::CurrentSettings Added additional config environmental variables to help Debian packaging We don't use whenever anymore. Lets remove the schedule file Fix project transfer e-mail sending incorrect paths in e-mail notification Update CHANGELOG Use Gitlab::CurrentSettings for InfluxDB Write to InfluxDB directly via UDP Strip newlines from obfuscated SQL Add hotfix that allows to access build artifacts created before 8.3 note votes methids implementation When reCAPTCHA is disabled, allow registrations to go through without a code Downcased user or email search for avatar_icon. ...
| * Deprecate GitLabCiService making it to always be inactiveKamil Trzcinski2015-12-221-1/+6
| |
| * Backport JIRA serviceDrew Blessing2015-12-181-1/+240
| |
| * Fixed CiServices validationfeature/update-rubocopGabriel Mazetto2015-12-152-4/+4
| |
| * Fixed Rubocop offensesGabriel Mazetto2015-12-154-11/+7
| |
* | Better handling of errors in Asana serviceMike Wyatt2015-12-301-9/+8
| | | | | | | | [ci skip]
* | Update Asana service documentationMike Wyatt2015-12-301-2/+2
| |
* | Restore colon in Asana commentMike Wyatt2015-12-301-1/+1
| |
* | Fix error in Asana serviceMike Wyatt2015-12-291-1/+1
| |
* | Update Asana service to work with Personal Access Token, lessen number of ↵Mike Wyatt2015-12-291-31/+21
| | | | | | | | requests to Asana API
* | Update Asana field descriptionsMike Wyatt2015-12-291-4/+2
| |
* | better support for referencing and closing issues in asana_service.rbMike Wyatt2015-12-161-8/+20
|/
* 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
|