Commit Graph

95 Commits

Author SHA1 Message Date
Kamil Trzcinski c195b313ad
Make test that actually displays pipeline graph 2017-05-07 14:09:21 +02:00
Kamil Trzciński 2e6201b131 Merge branch 'fix/gb/hide-environment-external-url-btn-when-not-provided' into 'master'
Hide environment external URL button if not defined

Closes #30832

See merge request !11029
2017-05-06 17:10:06 +00:00
Jarka Kadlecova e4f7b87ddb Support comments for personal snippets 2017-05-05 15:45:49 +02:00
Grzegorz Bizon e944fd7064 Merge commit '3a2b60f7a' from 'master'
* commit '3a2b60f7a0109cdb84e8727a2625318a746e84dc': (254 commits)
  Fixed Karma spec
  Reject EE reserved namespace paths in CE as well
  Updated webpack config
  Include the bundler:audit job into the static-analysis job
  Document serializers
  Add artifact file page that uses the blob viewer
  Pipeline table mini graph dropdown remains open when table is refreshed
  Adds off for event hub
  Compile gitlab-shell go executables
  Allow to create new branch and empty WIP merge request from issue page
  Moved to a view spec
  Improving copy of CONTRIBUTING.md, PROCESS.md, and code_review.md
  Convert seconds to minutes and hours on chat notifations
  Disable navigation to Pages config if Pages is disabled
  Sort the network graph both by commit date and topographically.
  Add tooltips to note action buttons
  Add breadcrumb, build header and pipelines submenu to artifacts browser
  Update todos screenshots
  removes the possibility of commit messages having carriage returns
  Handle incoming emails from aliases correctly
  ...
2017-05-05 12:31:10 +02:00
Robert Speicher 50b89fc5b0 Merge branch 'tags-sort-default' into 'master'
Fixed tags sort dropdown being empty

Closes #31618

See merge request !11055
2017-05-04 14:07:59 +00:00
Phil Hughes fdacc4ee6a Moved to a view spec 2017-05-04 08:54:42 +01:00
Phil Hughes ce5f7008fb Fixed view specs 2017-05-02 16:02:58 +01:00
Grzegorz Bizon 48bb892124 Hide environment external URL button if not defined 2017-05-02 13:21:06 +02:00
Phil Hughes a3143f83bd Merge branch 'master' into commit-limited-container-width 2017-05-02 11:02:11 +01:00
Douwe Maan 60ebd101d0 Use blob viewers for snippets 2017-04-30 11:21:20 -05:00
Phil Hughes 7fd3a5883e Changed spec to a view spec 2017-04-28 12:11:30 +01:00
Douwe Maan dc4726f0a7 Satisfy Rubocop 2017-04-27 12:23:27 -05:00
Douwe Maan 964e7d206b Add specs 2017-04-27 12:23:26 -05:00
Douwe Maan a7fd95cd22 Render viewer error synchronously so that 'view the source' link will work 2017-04-27 12:23:26 -05:00
Douwe Maan fed9dcd9ed Add test stubs 2017-04-27 12:23:26 -05:00
Grzegorz Bizon ec586042e0 Fix lastest commit status text on main project page 2017-04-21 22:17:14 +02:00
Grzegorz Bizon bb294b91d7 Add container registry repositories view specs 2017-04-10 13:29:30 +02:00
Douwe Maan 2a771d570a Fix view spec 2017-04-07 10:33:48 -05:00
Lin Jen-Shin 06b4ea243f Fix a view test by using presenter 2017-04-06 14:45:01 +08:00
Lin Jen-Shin 34eea29511 Fix test and only show job status title if it's
cancelled and the pipeline is auto-cancelled.
2017-04-05 23:33:19 +08:00
Robert Speicher 985a0c39ef Use Project `:repository` trait where necessary in view specs 2017-03-27 18:45:37 -04:00
Toon Claes e2d5818ee1 Show pipeline creator & created_at in heading
Instead of showing the commit author & authored_date that triggered
the pipeline, show the user and created_at in the heading of the
pipeline show.
2017-03-22 21:26:29 +01:00
Filipa Lacerda ec970763e9 Adds pipeline mini-graph to system information box in Commit View 2017-03-16 00:44:31 +00:00
Rémy Coutable 685e261f0a Merge branch '26188-tag-creation-404-for-guests' into 'master'
Don't show links to tag a commit for non permitted users

Closes #26188

See merge request !8407
2017-03-08 12:23:53 +00:00
Mark Fletcher b5b4489345 Don't show links to tag a commit for non permitted users
* Show tag link for users that can push code
* Don't show tag link for guests and non-authenticated users
2017-03-07 20:05:33 +05:30
Kamil Trzcinski b817ce2d7e
Sort builds in stage dropdown
Order: failed pending running manual canceled success skipped created
2017-03-07 12:46:53 +01:00
Alex Sanford 42e490ea90 Fix CSS classes 2017-02-27 20:40:49 +00:00
Annabel Dunstone Gray 74c1f3eb7e Merge branch 'markdown-slash-commands-text' into 'master'
Change wording of MR comment box

See merge request !9193
2017-02-15 18:34:35 +00:00
Alfredo Sumaran 79ef221e4e Fix Rubocop offense 2017-02-15 12:55:41 -05:00
Annabel Dunstone Gray 950e298665 Change wording of MR comment box 2017-02-13 08:36:24 -06:00
Grzegorz Bizon d1d5e2388d Improve home panel partial code and view specs 2017-02-13 09:45:10 +01:00
Grzegorz Bizon 1f94b952b5 Show notifications settings when repository is disabled 2017-02-13 09:38:26 +01:00
Filipa Lacerda c5f5ce8807 Fix broken tests
Rename Build to Job

Replace "Builds" by "Jobs" and fix broken specs

Replace "Builds" by "Jobs"

Fix broken spinach test

Fix broken test

Remove `˙` at the beginning of the file

Fix broken spinach test

Fix broken tests

Changes after review
2017-02-03 09:43:04 +00:00
Filipa Lacerda 4ab83117fb Changes after review 2017-01-27 14:27:07 +00:00
Filipa Lacerda 4472779b7f Adds tests to build view
Fix CHANGELOG entry
2017-01-27 14:27:07 +00:00
Fatih Acet 32b1ceb036 Merge branch '26155-merge-request-tabs-don-t-render-when-no-commits-available' into 'master'
Resolve "Merge request tabs don't render when no commits available"

Closes #26155 and #24556

See merge request !8347
2017-01-05 20:34:53 +00:00
Filipa Lacerda 043cc8196e Simplify HTML of mini pipeline graph and dropdown
Creates individual html for dropdown
Adds simplified  CSS for the new dropdown
Removes old CSS
Improves dropdown item in Chrome, Firefox and Safari
Use SCSS variables for colors.
Fix scss linter errors
Adds animation when the stage is hovered.
Adds back tooltip on dropdown toggle
Fixes broken tests
additional css changes to get more into direction of mockups
2017-01-05 10:01:50 -06:00
Mike Greiling 6e7e505237 include all expected instance vars for _show.html.haml template within tests 2017-01-03 13:08:52 -06:00
Grzegorz Bizon daff64452f Do not show retried builds in pipeline stage dropdown 2016-12-22 14:02:45 +01:00
Grzegorz Bizon ec4b1bc755 Add isolated view spec for pipeline stage partial 2016-12-20 16:06:01 +01:00
Victor Wu 602447a399 Fix test 2016-12-12 13:16:52 -06:00
Filipa Lacerda 52e0c4ba91 Fix tests
Fix broken tests
2016-12-12 12:44:46 +00:00
Adam Niedzielski d9a2093e7e Prevent error when submitting a merge request and pipeline is not defined 2016-11-28 12:03:59 +01:00
Kamil Trzciński 8b694ae891 Merge branch '24779-last-deployment-call-on-nil-environment-fix' into 'master'
changes environment.last_deployment to a try expression so it does not fail if e…

## What does this MR do?

Fixes the call on `environment.last_deployment` to not break when `environment`is not yet set.

## Does this MR meet the acceptance criteria?

- [x] [Changelog entry](https://docs.gitlab.com/ce/development/changelog.html) added
- [x] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md)
- [x] API support added
- Tests
  - [x] Added for this feature/bug
  - [x] All builds are passing
- [x] Conform by the [merge request performance guides](http://docs.gitlab.com/ce/development/merge_request_performance_guidelines.html)
- [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 it does - rebase it please)
- [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits)

## What are the relevant issue numbers?


Closes #24779

See merge request !7671
2016-11-24 14:31:20 +00:00
tiagonbotelho 2f5637d6e3 renames some of the specs and adds changelog entry 2016-11-24 12:00:29 +00:00
Patricio Cano 7a9b545fb9 Added test that checks the correct select box is there for the LFS enabled setting. 2016-11-23 13:32:38 -06:00
Kamil Trzcinski 02c6cbf53f Add tests 2016-11-23 14:25:48 +01:00
Fatih Acet 1e8cb595bf Merge branch '23205-information-about-environments-build-page' into 'master'
Add environment info to builds page

![Screen_Shot_2016-11-02_at_5.44.01_PM](/uploads/3443d9518997147d1e6f41830e3774ff/Screen_Shot_2016-11-02_at_5.44.01_PM.png)

Closes #23205

See merge request !7251
2016-11-18 15:49:19 +00:00
Annabel Dunstone Gray 9ed7171a6a Fix builds/show spec; use iid instead of id 2016-11-17 13:31:37 -07:00
Kamil Trzcinski d6e00f5373 Improve specs and add missing cases that were not supported 2016-11-17 00:23:05 +01:00