summaryrefslogtreecommitdiff
path: root/app/controllers/projects/builds_controller.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add checks before redirect, remove status/traceLin Jen-Shin2017-05-241-8/+2
| | | | compatible urls, which were for javascripts
* Use controllers to redirectLin Jen-Shin2017-05-231-0/+27
|
* Rename BuildsController to JobsControllerLin Jen-Shin2017-05-171-131/+0
| | | | | | | | | | | | Rename other URL generators admin_builds_path -> admin_jobs_path Fix tests and more renaming Fix more tests Also change build_id to job_id in the controller
* Merge request widget redesignFatih Acet2017-05-091-1/+1
|
* Require build to be present in the controllerGrzegorz Bizon2017-05-051-2/+1
|
* Authorize build update on per object basisGrzegorz Bizon2017-05-051-4/+19
|
* Resolve "Add more tests for spec/controllers/projects/builds_controller_spec.rb"Dosuken shinya2017-04-281-5/+10
|
* Count number of queriesKamil Trzcinski2017-04-071-0/+5
|
* Optimise trace handling code to use streaming instead of full readKamil Trzciński2017-04-061-20/+22
|
* Merge branch ↵Kamil Trzciński2017-03-271-1/+3
|\ | | | | | | | | | | | | | | '12818-expose-simple-cicd-status-endpoints-with-status-serializer-gitlab-ci-status-for-pipeline-job-and-merge-request' into 'master' Expose CI/CD status API endpoints with Gitlab::Ci::Status facility on pipeline, job and merge request for favicon See merge request !9561
| * Fix rspec failureShinya Maeda2017-03-231-2/+1
| |
| * with_status to only_statusShinya Maeda2017-03-231-1/+1
| |
| * Remove legacy def status from builds_controllerShinya Maeda2017-03-231-3/+0
| |
| * Expose only status. ci_cd_status to status. Support abstract class.Shinya Maeda2017-03-231-7/+7
| |
| * Add api points for ci cd status. Add favicon.Shinya Maeda2017-03-231-0/+6
| |
* | No need to authorize_update_build! if 'trace' requested (as same as 'raw')Shinya Maeda2017-03-231-1/+1
|/
* Don't override presentee methods for Gitlab::View::Presenter::DelegatedRémy Coutable2017-01-241-1/+1
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* More improvements to presenters23563-document-presentersRémy Coutable2017-01-181-1/+1
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Add Presentable concernRémy Coutable2017-01-181-1/+1
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Merge remote-tracking branch 'upstream/master' into pipeline-emailsLin Jen-Shin2016-09-211-1/+5
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream/master: (206 commits) Implement fourth round of comments from @DouweM. Fix `CreateDeploymentService` spec. Reload issues in spec to ensure label<->issue mapping properly loaded Fix build. Remove unnecessary #{} in cycle analytics template. Update cycle analytics icon and fix color of the dismiss button. Use triple dashes for the empty value in cycle analytics. Fix typo on cycle analytics copy. Add page title and fix sub menu width in Cycle Analytics page. Update Cycle Analytics Read more link URL. Display the cycle analytics navbar based on the `:read_cycle_analytics` ability. Improve indentation in `Gitlab::Database::Median` Add a spec for merge request metric caching while refreshing a merge request from a forked project. Use the `IssuableBaseService` lifecycle hooks to cache `MergeRequestsClosingIssues` Implement a second round of review comments from @DouweM. Add docs on Cycle Analytics Test if issue authors can access private projects Update .pkgr.yml with Ubuntu 16.04 dependencies fix issues mr counter Move JSON generation (cycle analytics) into a controller method. ...
| * Merge branch 'master' into per-build-tokenKamil Trzcinski2016-09-191-1/+1
| |\
| * | Don't leak build tokens in build logsKamil Trzcinski2016-09-191-1/+5
| | |
* | | Make various trace methods take last_lines argument:Lin Jen-Shin2016-09-211-1/+3
| |/ |/| | | | | | | So that we could read last few lines rather than read the entire file which could be huge.
* | Fix spelling: sucessfully -> successfullyStan Hu2016-09-151-1/+1
|/ | | | Originally from gitlab-org/gitlab-ee!682
* Update specs - add mocks to simulate old versionsTomasz Maczukin2016-09-011-2/+2
|
* Change 404 to 410 error when raw trace is unavailableTomasz Maczukin2016-09-011-1/+1
|
* Handle error on trace raw download with old builds (DB stored)Tomasz Maczukin2016-09-011-1/+1
|
* Pre-create all builds for Pipeline when a trigger is receivedKamil Trzcinski2016-08-111-1/+1
| | | | | | | | | | | This change simplifies a Pipeline processing by introducing a special new status: created. This status is used for all builds that are created for a pipeline. We are then processing next stages and queueing some of the builds (created -> pending) or skipping them (created -> skipped). This makes it possible to simplify and solve a few ordering problems with how previously builds were scheduled. This also allows us to visualise a full pipeline (with created builds). This also removes an after_touch used for updating a pipeline state parameters. Right now in various places we explicitly call a reload_status! on pipeline to force it to be updated and saved.
* Improve code designKamil Trzcinski2016-07-181-6/+2
|
* Improve manual actions code and add model, service and feature testsKamil Trzcinski2016-07-181-1/+1
| | | | | | | | Manual actions are accessible from: - Pipelines - Builds - Environments - Deployments
* Add implementation of manual actionsKamil Trzcinski2016-07-181-0/+9
|
* Add Pending Tab to Admin BuildsKatarzyna Kobierska2016-07-181-1/+3
| | | | | | Add Pending Tab to Project Builds Update CHANGELOG
* Added initial version of deploymentsKamil Trzcinski2016-06-101-1/+1
|
* CI build page UI updatePhil Hughes2016-06-101-1/+1
| | | | | Added sidebar Removed elements not present in design
* Merge remote-tracking branch 'origin/master' into rename-ci-commitKamil Trzcinski2016-06-061-1/+1
|\ | | | | | | | | # Conflicts: # spec/features/builds_spec.rb
| * Remove 'unscoped' from project builds selectionTomasz Maczukin2016-06-041-1/+1
| |
* | Rename Ci::Commit to Ci::Pipeline and rename some of the ci_commit to pipelineKamil Trzcinski2016-06-021-2/+2
|/
* Encode state as base64 stringKamil Trzcinski2016-05-091-8/+1
|
* Send trace to a browser incrementally when build is runningKamil Trzcinski2016-05-091-0/+15
| | | | | We send a state of ansi2html to client, client needs to send this state back. The state describes the configuration of generator and position within trace.
* Use Rails-way to send file by X-SendfileTomasz Maczukin2016-04-191-5/+2
|
* Add feature specs for raw traceTomasz Maczukin2016-04-191-1/+1
|
* Switch raw trace to use X-Sendfile headerTomasz Maczukin2016-04-191-3/+6
|
* Add raw trace output for GitLab WorkhorseTomasz Maczukin2016-04-191-1/+9
|
* Move build erasable implementation from concern to modelGrzegorz Bizon2016-02-191-2/+2
| | | | | Discussion: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/2560#note_3659905
* Update relevant build fields when build is erasedGrzegorz Bizon2016-02-191-1/+1
|
* Add build eraseable feature implementationGrzegorz Bizon2016-02-191-4/+4
|
* Add build remove button to build summary viewGrzegorz Bizon2016-02-191-0/+6
|
* Move builds badge implementation to new badges controllerGrzegorz Bizon2016-02-111-10/+0
|
* Inherit build badge access permissions from projectGrzegorz Bizon2016-02-111-10/+4
|
* Respond to proper format for build badge requestGrzegorz Bizon2016-02-111-2/+8
|