Commit Graph

4228 Commits

Author SHA1 Message Date
Mike Greiling dcad4c161f Merge branch 'ealcantara-mock-dropdown-show-event' into 'master'
Emit dropdown show event in boards_selector test

See merge request gitlab-org/gitlab-ce!31255
2019-07-30 21:28:34 +00:00
Stan Hu c34138e09e Remove pdf.js deprecation warnings
1. `page.getViewpoint()` now takes in JSON instead of an integer.
2. Promises are returned from loading and rendering tasks.

See https://mozilla.github.io/pdf.js/examples/index.html for more
details.
2019-07-30 06:52:56 -07:00
Enrique Alcantara 00d33c9d9a
Emit dropdown show event in boards_selector test 2019-07-30 09:29:24 -04:00
Tanya Pazitny e3fb7f7725 Change qa-* class references to js-* for suggestions 2019-07-29 19:22:22 +00:00
Tanya Pazitny 9658e5ec33 Change qa-* class references to js-* for squash-checkbox 2019-07-29 19:20:28 +00:00
Stan Hu 7064d48e2b Merge branch 'remove-peek-pg' into 'master'
Replace peek-pg with our own implementation

Closes #44441

See merge request gitlab-org/gitlab-ce!31187
2019-07-29 16:27:57 +00:00
Matija Čupić a5aa40c5fe Add Job specific variables
Adds Job specific variables to facilitate specifying variables when
running manual jobs.
2019-07-29 07:43:10 +00:00
Sean McGivern ad1c71663f Replace peek-pg with our own implementation
This uses an ActiveRecord subscriber to get queries and calculate the
total query time from that. This means that the total will always be
consistent with the queries in the table. It does however mean that we
could potentially miss some queries that don't go through ActiveRecord.

Making this change also allows us to unify the response JSON a little
bit, making the frontend slightly simpler as a result.
2019-07-26 14:37:26 +01:00
Lukas 'Eipi' Eipert 6df22f17d2 Karma: Fix css selector for loading icon
The GitLab UI update changed the spinner selector from `spinner` to
`gl-spinner`, so we need to update it, so that our tests won't fail.
2019-07-26 09:40:17 +00:00
Jose Ivan Vargas 378c507cbc Add empty chart component
This merge request adds an empty chart component
which will load in case of queries not having
data to display, this will override the current
logic, which hides all the graphs that have no
data to show
2019-07-24 03:18:57 +00:00
Chris Toynbee 64a32d6cf0 Encapsulate file view modes with constants 2019-07-23 22:13:36 +00:00
Fatih Acet 8204a876ee Merge branch '11975-move-SAST-to-the-frontend-ce' into 'master'
Adds a waitForMutation helper for VueX(CE backport)

See merge request gitlab-org/gitlab-ce!30186
2019-07-22 12:31:28 +00:00
samdbeckham 0bc9b770e4 Adds a waitForMutation helper for VueX 2019-07-22 12:17:25 +01:00
Phil Hughes b83a4f8327 Merge branch '64722-mg-export-frontend-fixtures' into 'master'
Resolve "Export frontend fixtures as pipeline artifact"

Closes #64722 and #59166

See merge request gitlab-org/gitlab-ce!30917
2019-07-19 14:23:41 +00:00
Denys Mishunov cd638abbbf Fixed regression for re-naming files in WebIDE 2019-07-19 14:36:18 +02:00
Francisco Javier López 01685eed76 Added Usage Data for some Web IDE actions
The actions tracked in the web IDE are:
- creation of commits
- creation of merge requests
- projects loaded
2019-07-19 11:11:27 +00:00
Mike Greiling 97b8f85e03
Move frontend fixtures into spec/frontend
Moves every fixture source file from
spec/javascripts to spec/frontend
2019-07-19 02:27:15 -05:00
Mike Greiling 89142f985d
Move frontend fixtures to tmp/tests 2019-07-19 02:27:14 -05:00
Mike Greiling 25fa78e2f9
Backport line changes from EE
EE-specific line changes were introduced in the following MR:
https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/12680

This change resolves most of them
2019-07-19 02:27:13 -05:00
Eduardo Mejía 317c787ea8 add stub to the boardsStore to spy on it and be able to use toHaveBeenCalledWith for the pre-defined labels test 2019-07-19 01:44:05 +00:00
Mike Greiling 5e0a288e7f
Resolve annoying deprecation warnings
DEPRECATION WARNING: The success? predicate is deprecated and will be
removed in Rails 6.0. Please use successful? ...
2019-07-18 16:56:56 -05:00
Natalia Tepluhina 6911c3435a Resolve "Tooltips on note timestamps not showing for issues" 2019-07-18 13:16:18 +00:00
Nick Thomas 3069cb2545 Merge branch 'webide-commit-use-correct-parent' into 'master'
Use correct parent when committing in WebIDE

See merge request gitlab-org/gitlab-ce!29598
2019-07-18 10:47:35 +00:00
Paul Slaughter d4cc92db09
FE remove create branch call in IDE commit
Previously `start_sha` was intercepted on the frontend to create the
correct branch in a separate API call. Now that the commits API supports
the `start_sha` parameter directly this workaround is not needed
anymore.
2019-07-18 09:19:18 +02:00
Winnie Hellmann 7e87990ecd Move boards switcher partial
(cherry picked from commit a82e4d57a6fbba840a8a944e372b80866a1e48cc)
2019-07-17 20:42:33 +00:00
Nick Kipling 8236640b06 Updating wording as per desgn guidelines
Shortened descriptive text
Added copy button to code snippets
2019-07-15 23:51:36 +00:00
Winnie Hellmann 5b71c8b259 Add setCurrentBoard to boardsStore
(cherry picked from commit 9cd745c65bcb51d615399e82d8b26ef5cce972e1)
2019-07-15 23:42:26 +00:00
Clement Ho e1d1728d40 Merge branch '64403-remove-setimmediate-polyfill' into 'master'
Remove setImmediate polyfill from production assets

See merge request gitlab-org/gitlab-ce!30591
2019-07-11 22:51:41 +00:00
Mike Greiling 7f8585c618
Update setImmediate use in karma specs 2019-07-11 14:32:37 -05:00
Mike Greiling 97482acb6f
Remove use of setTimeout in karma specs 2019-07-11 09:39:48 -05:00
Kushal Pandya b698e4ce87 Merge branch 'registry-fix-multi-delete-modal' into 'master'
Set unique modal IDs

See merge request gitlab-org/gitlab-ce!30532
2019-07-11 11:40:07 +00:00
Jose Ivan Vargas 202a150f72 Add support for additional panel types
This introduces the single stat chart component aside from
the area chart component
2019-07-10 21:12:46 +00:00
Winnie Hellmann 49d5cc34ca Remove deleteNote from notes service 2019-07-10 16:48:15 +00:00
Paul Gascou-Vaillancourt a076d1d88e Set unique modal IDs 2019-07-09 15:52:09 -04:00
Fatih Acet 14e2412ee4 CE Port of Allow bulk update for group issues
This is a port MR for CE

Original MR:

https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/14141
2019-07-09 11:46:16 +00:00
Tim Zallmann b9e52612fe Updates on success of an MR the count on top and in other tabs
New API endpoint for merge request count
Updates all open tabs at the same time with one call
Restructured API response

API response changed to 401 if no current_user

Added API + JS specs

Fix for Static Check

Updated Count on Open/Close, Assign/Unassign of MR's

Checking if MR Count is refreshed

Added # frozen_string_literal: true to spec

Added Changelog
2019-07-09 08:44:19 +00:00
Natalia Tepluhina 9613a34a24 Fixed editing form
- applied functional component patch
- fixed border radius for list
- fixed Karma test to take a correct li amount
2019-07-09 04:22:48 +00:00
Filipa Lacerda 902525abdf Merge branch '60213-fix-is-ee-webpack-checks' into 'master'
Replace runtime isEE check with compile time one

Closes #60213

See merge request gitlab-org/gitlab-ce!30351
2019-07-08 08:50:17 +00:00
Kushal Pandya 008aa6af4f Merge branch '60856-deleting-binary-file' into 'master'
Resolve "Removing an image via Web IDE shows binary data"

Closes #60856

See merge request gitlab-org/gitlab-ce!30314
2019-07-08 06:51:25 +00:00
Winnie Hellmann 23bd46cf01 Remove applySuggestion from notes service 2019-07-05 22:59:30 +00:00
Lukas Eipert 7ca77203c0
Replace runtime isEE check with compile time one
This has the benefit that CE bundles will remove dead code in CE only
builds.

We have a follow-up issue to get rid of this completely:

https://gitlab.com/gitlab-org/gitlab-ce/issues/64173
2019-07-05 16:37:39 +02:00
Denys Mishunov ff1a4a4241 Initiate editor for any file without content
Important to get file data for any file that has no content set yet: we
need this information in order to build a previe for changed/staged
files if they were not yet opened in the editor
2019-07-05 15:37:33 +02:00
Filipa Lacerda a816bad9a4 Merge branch 'fetch-forked-projects-create-mr' into 'master'
Create private merge requests in forks

Closes #58583

See merge request gitlab-org/gitlab-ce!29984
2019-07-05 13:16:19 +00:00
Phil Hughes 77c35d5d00
Create private merge requests in forks
https://gitlab.com/gitlab-org/gitlab-ce/issues/58583
2019-07-05 12:16:46 +01:00
Sarah Yasonik 7fd7406d56 Fix alert creation dropdown menu 2019-07-05 08:49:33 +00:00
Christie Lenneville c433082f89 Change 'Todo' to 'To Do'
Currently, we label items to be done as "Todo." This is grammatically
incorrect and (therefore) confusing—especially to our Spanish-speaking
users for whom "todo" has a specific and unrelated meaning.

We should use "To Do" and always use it as singular (not "To Dos").

Updates to wording in a few places per MR (ee) discussion

Updating locale/gitlab.pot

Updates to wording in a few places per MR (ee) discussion

Updating locale/gitlab.pot
2019-07-04 15:45:54 +00:00
Winnie Hellmann 3c89dc99d9 Copy content from BoardService to boardsStore
(cherry picked from commit 813299edd83ace98256b7fc9302f586f0dc2cabc)
2019-07-04 14:11:03 +00:00
Simon Knox 824ec018a1 Use gl-empty-state for monitor charts
Move a unit test to jest and use snapshot tests
2019-07-04 14:14:38 +10:00
Simon Knox ec54a56238 Move error_tracking_frontend specs to Jest
Update TEST_HOST import paths. Tests all pass
2019-07-03 14:13:08 +00:00
Fatih Acet 7a87468960 Merge branch '55487-enable-group-terminals-button' into 'master'
Enable terminals button for group clusters

Closes #55487

See merge request gitlab-org/gitlab-ce!30255
2019-07-03 14:02:13 +00:00