summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* remove Ability.abilitieshttp://jneen.net/2016-08-3018-61/+37
|
* make almost everything on Ability privatehttp://jneen.net/2016-08-301-46/+44
|
* don't double-cache project_abiliteshttp://jneen.net/2016-08-301-11/+2
|
* remove six, and use a Set insteadhttp://jneen.net/2016-08-306-20/+22
|
* delete project_security_spechttp://jneen.net/2016-08-301-112/+0
| | | | | re a conversation with @rspeicher, this spec isn't really testing anything.
* re-enable the cyclomatic complexity checkerhttp://jneen.net/2016-08-301-1/+0
|
* Merge branch 'artifacts-from-ref-and-build-name' into 'master' Douwe Maan2016-08-3034-109/+501
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a download buttons for Build Artifacts ## What does this MR do? This MR adds a download buttons for build artifacts of latest succesful pipeline in: - dashboard of project, - branches and tags views, - and tree viewer Implement #4255 ## What are the relevant issue numbers? Closes #4255, Closes #14419 ## Screenshots ### Project main ![](/uploads/29ee2154a214416059a875f2715d4fa3/Screen_Shot_2016-08-24_at_8.00.31_PM.png) ### Branches ![](/uploads/9220c593288370986fbc1d42a1425ef7/Screen_Shot_2016-08-24_at_8.02.01_PM.png) ### Tags ![](/uploads/a843e8103221fea475a0cf9d62a1999d/Screen_Shot_2016-08-24_at_8.03.32_PM.png) ### Source Tree ![](/uploads/63cd3c8c91b6f427c166dc90d8e3c059/Screen_Shot_2016-08-24_at_8.04.56_PM.png) ## Does this MR meet the acceptance criteria? - [x] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added - [ ] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md) - [x] Download buttons - [x] Models - [x] Routes - [x] Projects::ArtifactsController - [x] API - Tests - Rails - [x] Project#builds_for - [x] branch name with slashes - [x] only success builds - [x] only latest builds - [x] feature tests for download buttons - API - [x] branch name with slashes - [x] only success builds - [x] only latest builds - [x] All builds are passing - [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides) - [x] Branch has no merge conflicts with `master` (if you do - rebase it please) - [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits) See merge request !5142
| * Fix CHANGELOGartifacts-from-ref-and-build-nameLin Jen-Shin2016-08-261-2/+0
| |
| * Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin2016-08-26145-750/+1721
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | artifacts-from-ref-and-build-name * upstream/master: (107 commits) Fix external issue tracker "Issues" link leading to 404s Fix CHANGELOG entries related to 8.11 release. Fix changelog Reduce contributions calendar data payload Add lock_version to merge_requests table Add hover color to emoji icon Fix wrong Koding link Capitalize mentioned issue timeline notes Fix groups sort dropdown alignment Use icon helper Fix inline emoji text alignment Adds response mime type to transaction metric action when it's not HTML Moved two 8.11 changelog entries to 8.12 Fix markdown link in doc_styleguide.md Display project icon from default branch Reduce number of database queries on builds tab Update CHANGELOG Update Issue board documentation Label list shows all issues (opened or closed) with that label Update CHANGELOG ...
| * | Fix testsLin Jen-Shin2016-08-261-3/+1
| | |
| * | Extract ref_name and path in before_action, feedback:Lin Jen-Shin2016-08-261-5/+10
| | | | | | | | | | | | https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5142#note_14469768
| * | Add a download icon for artifacts, too. Feedback:Lin Jen-Shin2016-08-251-0/+1
| | | | | | | | | | | | https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5142#note_14400694
| * | Just use instance variable instead, feedback:Lin Jen-Shin2016-08-251-7/+2
| | | | | | | | | | | | https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5142#note_14400736
| * | Update CHANGELOG from v8.11.0 to v8.12.0Lin Jen-Shin2016-08-241-1/+1
| | |
| * | Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin2016-08-24250-663/+3388
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | artifacts-from-ref-and-build-name * upstream/master: (192 commits) Added CHANGELOG Added unfold test to parallel and added 'diff discussion' context Fix Spinach branches spec Better first match on this MR also Change merge_error column from string to text type Fix typo in gitlab_flow.md entities: make Environment inherit EnvironmentBasic Updated to optimized specs from !5864 Added 'with an unfolded line should not allow commenting' scenario (line 125) Added addtional 'renderable' validator to check 'data-note-type' attr exists Allow passing an index to selectRowAtIndex Fixed enter key in search input not working Fix file links on project page Files view Fix incorrect "stopped impersonation" log message 8.11 is released, long live 8.12 Also check if Akismet is enabled, before showing the `Submit as spam` button. fix location of markdown help location Fix for update 8.10-to-8.11.md doc. Appease the linter. Add Ruby 2.3 upgrade notes. ...
| * | | Aggressively merge views, feedback:Lin Jen-Shin2016-08-2410-85/+37
| | | | | | | | | | | | | | | | | | | | https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5142#note_14347679 https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5142#note_14347470
| * | | Path could also have slashes! Feedback:Lin Jen-Shin2016-08-244-10/+36
| | | | | | | | | | | | | | | | https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5142#note_14347729
| * | | Use only one before block, feedback:Lin Jen-Shin2016-08-241-2/+0
| | | | | | | | | | | | | | | | https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5142/diffs#note_14347758
| * | | Make sure the branch we're testing is on the 1st page!Lin Jen-Shin2016-08-191-2/+2
| | | |
| * | | Unify pipeline_for(ref, nil) and pipeline_for(ref), feedback:Lin Jen-Shin2016-08-191-1/+4
| | | | | | | | | | | | | | | | https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5142#note_14073464
| * | | Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin2016-08-19191-443/+7859
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | artifacts-from-ref-and-build-name * upstream/master: (195 commits) Fix expansion of discussions in diff Improve performance of MR show page Fix jumping between discussions on changes tab Update doorkeeper to 4.2.0 Fix MR note discussion ID Handle legacy sort order values Refactor `find_for_git_client` and its related methods. Remove right margin on Jump button icon Fix bug causing “Jump to discussion” button not to show Small refactor and syntax fixes. Removed unnecessary service for user retrieval and improved API error message. Added documentation and CHANGELOG item Added checks for 2FA to the API `/sessions` endpoint and the Resource Owner Password Credentials flow. Fix behavior around commands with optional arguments Fix behavior of label_ids and add/remove_label_ids Remove unneeded aliases Do not expose projects on deployments Incorporate feedback Docs for API endpoints Expose project for environments ...
| * \ \ \ Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin2016-08-18213-465/+20807
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | artifacts-from-ref-and-build-name * upstream/master: (359 commits) Add new image to show the 'Reset template' button Refactor description templates documentation Remove index from pipeline toggles Hide `Create new list button` on Issues and MRs pages Remove params from build; general refactor Style build container box; add check mark to active build Display jobs as scrolling list in sidebar Move stages and jobs to build sidebar Removed vue assets Move skipped tests to end of array Remove unused data attributes Update changelog Style build dropdowns Populate dropdowns with current build on pageload Selecting stage updates builds dropdown Add data attributes to builds Change active state of list items; style dropdown items Hide dropdown if all tests fit on one line; add counter to dropdown Add overflow tests to dropdown Order by build status ...
| * | | | | Not sure why I missed this renamingLin Jen-Shin2016-08-181-1/+1
| | | | | |
| * | | | | Use path rather than URL because it should work for http 302:Lin Jen-Shin2016-08-182-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5142#note_14035941
| * | | | | Use switch case in a helper, feedback:Lin Jen-Shin2016-08-172-7/+18
| | | | | | | | | | | | | | | | | | | | | | | | https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5142#note_13988401
| * | | | | Use partials for downloading artifacts buttonLin Jen-Shin2016-08-175-63/+26
| | | | | |
| * | | | | Fixed a missing renameLin Jen-Shin2016-08-171-1/+1
| | | | | |
| * | | | | Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin2016-08-17191-792/+3532
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | artifacts-from-ref-and-build-name * upstream/master: (109 commits) Update CHANGELOG for 8.10.6, 8.9.7, and 8.8.8 Updated Akismet documentation Add hover state to todos (!5361) Load issues and merge requests templates from repository Backport EE assertions in protected branch related specs. Revert "Merge branch '19957-write-tests-for-adding-comments-for-different-line-types-in-diff' into 'master'" Fix a missed `before_action` for `AutocompleteController`. Backport `AutocompleteController#load_project` from EE!581. Fix API::BranchesSpec. Fix failing tests relating to backporting ee!581. Revert unrelevant changes Fix the protected branches factory. Improve EE compatibility with protected branch access levels. Move the "update" portion of the protected branch view into a partial. Don't select an access level if already selected. Backport changes from gitlab-org/gitlab-ee!581 to CE. Further refactor and syntax fixes. Upgrade httpclient gem from 2.7.0.1 to 2.8.2. Make rubocop happy Make rubocop happy ...
| * | | | | | Not sure why missed this oneLin Jen-Shin2016-08-161-1/+1
| | | | | | |
| * | | | | | Rename to latest_succeeded, feedback:Lin Jen-Shin2016-08-165-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5142#note_13908017
| * | | | | | An empty line after guard, feedback:Lin Jen-Shin2016-08-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5142#note_13904931
| * | | | | | Add unclickable state to running build artifactsAnnabel Dunstone2016-08-155-4/+10
| | | | | | |
| * | | | | | Fixed bug when a pipeline for latest SHA does not existKamil Trzcinski2016-08-155-4/+9
| | | | | | |
| * | | | | | Fix test by assigning the proper SHALin Jen-Shin2016-08-161-1/+1
| | | | | | |
| * | | | | | It's project, not @projectLin Jen-Shin2016-08-161-1/+1
| | | | | | |
| * | | | | | Use URL helper, feedback:Lin Jen-Shin2016-08-161-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5142#note_13880889
| * | | | | | Fix tests, explicitly set the statusLin Jen-Shin2016-08-161-1/+2
| | | | | | |
| * | | | | | Fix tests which broke in the mergeLin Jen-Shin2016-08-162-3/+3
| | | | | | |
| * | | | | | Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin2016-08-16241-3263/+5279
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | artifacts-from-ref-and-build-name * upstream/master: (123 commits) Limit the size of SVGs when viewing them as blobs Add a spec for ProjectsFinder project_ids_relation option Fix ProjectsFinder spec Pass project IDs relation to ProjectsFinder instead of using a block Speed up todos queries by limiting the projects set we join with Used phantomjs variable Ability to specify branches for pivotal tracker integration Fix a memory leak caused by Banzai::Filter::SanitizationFilter Update phantomjs link Remove sleeping and replace escaped text. Filters test fix Fixed filtering tests Removed screenshot command :poop: Updated failing tests Used mirrored version on GitLab Updated tests Fix `U2fSpec` for PhantomJS versions > 2. Fix file downloading Install latest stable phantomjs Use new PhantomJS version ...
| * | | | | | | Add a CHANGELOG entryLin Jen-Shin2016-08-111-0/+1
| | | | | | | |
| * | | | | | | Show latest pipeline status if what provided artifacts aren't latestLin Jen-Shin2016-08-114-4/+16
| | | | | | | |
| * | | | | | | Make Pipeline.latest_successful_for return the recordLin Jen-Shin2016-08-116-11/+7
| | | | | | | |
| * | | | | | | Remove Pipeline#latest in favour of Project#pipeline_for(ref)Lin Jen-Shin2016-08-112-25/+7
| | | | | | | |
| * | | | | | | Fix mockLin Jen-Shin2016-08-111-2/+2
| | | | | | | |
| * | | | | | | Fetch the current SHA if SHA was not passedLin Jen-Shin2016-08-112-13/+28
| | | | | | | |
| * | | | | | | Reverse ref and sha in args and rename pipeline to pipeline_forLin Jen-Shin2016-08-118-10/+12
| | | | | | | |
| * | | | | | | It's latest_for, not just latestLin Jen-Shin2016-08-101-1/+1
| | | | | | | |
| * | | | | | | This might be fixed on master already, but wellLin Jen-Shin2016-08-101-1/+0
| | | | | | | |
| * | | | | | | Empty lines around blocksLin Jen-Shin2016-08-105-16/+30
| | | | | | | |
| * | | | | | | Introduce Pipeline#latest and Pipeline.latest_for:Lin Jen-Shin2016-08-102-4/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | So that we could easily access it for the view