summaryrefslogtreecommitdiff
path: root/spec/javascripts
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'nfriend-add-anchor-tag-to-release-block' into 'master'Kushal Pandya2019-08-301-0/+4
|\ | | | | | | | | Add `id` attribute to release blocks See merge request gitlab-org/gitlab-ce!32360
| * Add id to release blocknfriend-add-anchor-tag-to-release-blockNathan Friend2019-08-281-0/+4
| | | | | | | | | | This commit adds an id attribute to release blocks to allow them to be targeted as anchor links.
* | Merge branch 'ce-13479-rename-atmtwps-to-mtwps' into 'master'Paul Slaughter2019-08-301-2/+2
|\ \ | | | | | | | | | | | | CE backport for gitlab-org/gitlab-ee!15535: Resolve "Rename `ATMTWPS` to `MTWPS` in code" See merge request gitlab-org/gitlab-ce!32112
| * | Rename ATMTWPS to MTWPS (CE)ce-13479-rename-atmtwps-to-mtwpsNathan Friend2019-08-221-2/+2
| | | | | | | | | | | | This commit does a find-and-replace from ATMTWPS -> MTWPS.
* | | Make it harder to delete issuables accidentallyStan Hu2019-08-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously submitting a DELETE request to an issuable URL would be enough to destroy it, but this should require human confirmation. We now require that the `destroy_confirm` parameter is set to a truthy value before this can complete. In addition, we log a Sentry error if a deletion arrived without confirmation. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/62387
* | | Merge branch 'ce-xanf-move-auto-merge-failed-to-jest' into 'master'Kushal Pandya2019-08-291-47/+0
|\ \ \ | | | | | | | | | | | | | | | | Resolve "Migrate spec/javascripts/vue_mr_widget/components/states/mr_widget_auto_merge_failed_spec.js to Jest" See merge request gitlab-org/gitlab-ce!32282
| * | | Refactored Karma spec to Jest for mr_widget_auto_merge_failedce-xanf-move-auto-merge-failed-to-jestIllya Klymov2019-08-271-47/+0
| | | |
* | | | Merge branch ↵Kushal Pandya2019-08-291-3/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | '56130-operations-environments-shows-incorrect-deployment-date-for-manual-deploy-jobs' into 'master' Show correct deployment date for a manual job Closes #56130 See merge request gitlab-org/gitlab-ce!32072
| * | | | Show correct deployment date for a manual job56130-operations-environments-shows-incorrect-deployment-date-for-manual-deploy-jobsjakeburden2019-08-281-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only display time if the job has deployed Update JS tests for displaying job deployment time Simplify boolean check in deployedDate
* | | | | Merge branch 'ce-xanf-move-file-icon-spec-to-jest' into 'master'65822-allow-smaller-ip-range-when-creating-gke-clusterClement Ho2019-08-281-92/+0
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | Resolve "Migrate spec/javascripts/vue_shared/components/file_icon_spec.js to Jest" See merge request gitlab-org/gitlab-ce!32278
| * | | | Refactored Karma spec to Jest for file_iconce-xanf-move-file-icon-spec-to-jestIllya Klymov2019-08-281-92/+0
| | | | |
* | | | | Merge branch 'id-change-total-notes-calculation' into 'master'Ash McKenzie2019-08-281-1/+1
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | Change the way totalNotes is calculated See merge request gitlab-org/gitlab-ce!32191
| * | | | Change the way totalNotes is calculatedid-change-total-notes-calculationIgor Drozdov2019-08-281-1/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | totalNotes is only used to prerender a number of skeleton containers until real notes are loaded issuable.discussions makes multiple requests, so too expensive for this This commit uses mere notes for this and sends actual totalNotes number if it's less than 10; otherwise it sends 10 - it allows us to avoid bunch of skeleton prerenderings, which are not necessary since they doesn't fit into the whole screen and disappear quite fast
* | | | Move gke_cluster_dropdowns to create_cluster dirEnrique Alcantara2019-08-278-14/+14
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit creates a create_cluster directory to collect all Vue applications related to creating kubernetes applications using gitlab. It also moves the gke_cluster_dropdowns collection of apps to the create_cluster directory. gke_cluster_dropdowns contains dropdown components used to select configuration options to create a Kubernetes cluster in Google Cloud.
* | | Add edit_note and spec for editing quick actionsPatrick Derichs2019-08-261-3/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Call QuickActionsService on Note update Add support for notes which just contain commands after editing Return http status gone (410) if note was deleted Temporary frontend addition so it is not failing when a note is deleted Move specs to shared examples Fix rubocop style issue Deleting note on frontend when status is 410 Use guard clause for note which got deleted Simplified condition for nil note This method should no longer be called with nil note Refactoring of execute method to reduce complexity Move errors update to delete_note method Note is now deleted visually when it only contains commands after update Add expectation Fix style issues Changing action to fix tests Add tests for removeNote and update deleteNote expectations
* | | Merge branch ↵Tim Zallmann2019-08-241-3/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | '66073-use-time-series-chart-instead-of-area-chart-in-panel_types' into 'master' Enable line charts in dashbaord panels and embedded charts Closes #66073 See merge request gitlab-org/gitlab-ce!31920
| * | | Replace the area with time series where usedMiguel Rincon2019-08-211-3/+4
| |/ / | | | | | | | | | | | | | | | | | | - Replace in panel_type.vue - Replace in embed.vue - Port changes to support embed in 2 cols in large screens - Update specs
* | | fix charts scroll handle iconLaura Montemayor2019-08-231-0/+8
| | |
* | | Always pre-select "Start a new merge request"Denys Mishunov2019-08-226-194/+559
| |/ |/| | | | | | | | | | | | | | | | | One exception: there is an existing MR for the current branch and the branch is non-default and non-protected. Extended mock_data for ide/stores to have different types of branches: default, protected and regular Cleaned new MR checkbox view
* | Merge branch 'ce-6878-add-epic-select-dropdown' into 'master'Nick Thomas2019-08-221-0/+39
|\ \ | | | | | | | | | | | | Add `searchBy` helper & `SidebarItemEpicsSelect` placeholder component See merge request gitlab-org/gitlab-ce!31859
| * | Add `searchBy` helper & `SidebarItemEpicsSelect`ce-6878-add-epic-select-dropdownKushal Pandya2019-08-221-0/+39
| | | | | | | | | | | | | | | - Adds `searchBy` util in common utils - Adds placeholder `SidebarItemEpicsSelect`
* | | Remove mergeTrain from FE since it's used only in EEIgor2019-08-221-42/+0
|/ /
* | Merge branch 'refactor/notes-getters' into 'master'Paul Slaughter2019-08-211-41/+89
|\ \ | | | | | | | | | | | | | | | | | | Refactor nextUnresolvedDiscussionId and previousUnresolvedDiscussionId getters Closes #65817 See merge request gitlab-org/gitlab-ce!31754
| * | Refactor nextUnresolvedDiscussionId and previousUnresolvedDiscussionId gettersArun Kumar Mohan2019-08-151-41/+89
| | |
* | | Backport: Issue sidebar trackingDonald Cook2019-08-214-0/+39
| | | | | | | | | | | | Added snowplow event tracking to Edit buttons
* | | Fixed tech debt of using custom componentNick Kipling2019-08-211-7/+4
| | | | | | | | | | | | | | | Changed the container registry to use the empty state component Removed the custom svg-component
* | | Resolve "HTML code shown in merge request"Ezekiel Kigbo2019-08-211-0/+18
| |/ |/| | | | | - Fixes double escaped text in `mr_widget_rebase.vue`
* | This commit adds a new time series componentMiguel Rincon2019-08-212-1/+338
| | | | | | | | | | | | | | | | Adds a time series component for line and area charts. Displays new charts in the dashboard. - Use dynamic components for line/area swapping - Add new line charts to dashboard in 2 panels
* | Merge branch 'ce-22058-improve-ux-multi-assignees-in-mr' into 'master'Rémy Coutable2019-08-211-180/+26
|\ \ | | | | | | | | | | | | Improve UX multi assigness in MR See merge request gitlab-org/gitlab-ce!31545
| * | Apply patch and update spec per MR commentsSamantha Ming2019-08-202-12/+0
| | | | | | | | | | | | | | | | | | - Use wrapper instead of global Vue object - Use vue utils helper method - Remove redundant spec tests
| * | Improve UX multi assigness in MRSamantha Ming2019-08-202-180/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add merge warning on avatar in: - open view assigness - collapsed view assigness - dropdown (search) view assigness Add can_merge option to MR sidebar entity
* | | Fix to show renamed file in mrSamantha Ming2019-08-211-1/+1
| | |
* | | Throw error for multiple RecaptchaModal instancesWinnie Hellmann2019-08-211-0/+2
| | |
* | | CE Port: Use EE panel type to display alert menu correctly in dashboardsMiguel Rincon2019-08-211-1/+1
|/ /
* | Embed metrics undefined param fixTristan Read2019-08-201-0/+20
| |
* | Merge branch 'kp-add-vue-input-autofocus-directive' into 'master'Filipa Lacerda2019-08-201-0/+38
|\ \ | | | | | | | | | | | | Add `autofocusonshow` directive for input elements See merge request gitlab-org/gitlab-ce!31584
| * | Add `autofocus` directive for input elementskp-add-vue-input-autofocus-directiveKushal Pandya2019-08-191-0/+38
| | |
* | | Merge branch '64677-delete-directory-webide' into 'master'Paul Slaughter2019-08-191-0/+35
|\ \ \ | |/ / |/| | | | | | | | | | | | | | Fixed deletion of directories in Web IDE Closes #64677 See merge request gitlab-org/gitlab-ce!31727
| * | Fixed deletion of directories in Web IDE64677-delete-directory-webideDenys Mishunov2019-08-121-0/+35
| | |
* | | Add clipboard button to metric chart dropdownTristan Read2019-08-162-2/+86
| | | | | | | | | | | | | | | Adds a clipboard button to the metrics dashboard, that allows copying a link to an individual chart.
* | | Rewrite changed_file_icon_spec in JestPaul Slaughter2019-08-161-63/+0
| | | | | | | | | | | | | | | - Uses vue-test-utils - More complete coverage with parameterized tests
* | | Merge branch '24705-multi-selection-for-delete-on-registry-page' into 'master'Thong Kuah2019-08-152-27/+159
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Resolve "Multi selection for delete on registry page" Closes #24705 See merge request gitlab-org/gitlab-ce!30837
| * | | Adjustments to event removal and modal descriptionNick Kipling2019-07-301-0/+1
| | | |
| * | | Reworked how deletion works with multi vs singleNick Kipling2019-07-301-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Single deletion no longer requires a prop Modal description is now generated on demand Added dedicated functions for deleting Updated tests to match new function naming Updated css class name to be more specific
| * | | Applying feedback changesNick Kipling2019-07-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updated table registry to remove singleItemToBeDeleted Renamed usages of idx to index Tidied and simplified css styling Added clarification comment to test regex Updated pot file
| * | | Updated select all to be more explicitNick Kipling2019-07-301-11/+8
| | | |
| * | | Updating with suggestions as per reviewNick Kipling2019-07-301-30/+53
| | | |
| * | | Updating table_registry testsNick Kipling2019-07-301-6/+12
| | | |
| * | | Implement multi select deletion for container registryNick Kipling2019-07-302-11/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added checkboxes to each image row Added delete selected images button Changed row delete button to appear on row hover Changed confirmation modal message Changed delete logic to support multi Added tests for multi select Updated pot file Updated rspec test for new functionality
* | | | Merge branch 'ce-11982-merge-trains-helper-text' into 'master'Paul Slaughter2019-08-151-0/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | CE backport for gitlab-org/gitlab-ee!14097: Add merge train helper text to merge request widget See merge request gitlab-org/gitlab-ce!30686