Commit Graph

913 Commits

Author SHA1 Message Date
GitLab Bot c8f773a859 Add latest changes from gitlab-org/gitlab@master 2020-01-30 21:08:47 +00:00
GitLab Bot d8121cb00b Add latest changes from gitlab-org/gitlab@master 2020-01-30 18:08:57 +00:00
GitLab Bot 27d314277b Add latest changes from gitlab-org/gitlab@master 2020-01-29 21:09:22 +00:00
GitLab Bot 6b9d3a4e83 Add latest changes from gitlab-org/gitlab@master 2020-01-29 18:08:47 +00:00
GitLab Bot 22e9af3c8b Add latest changes from gitlab-org/gitlab@master 2020-01-27 12:08:35 +00:00
GitLab Bot 167894d0e7 Add latest changes from gitlab-org/gitlab@master 2020-01-24 21:09:09 +00:00
GitLab Bot 9b984f55ee Add latest changes from gitlab-org/gitlab@master 2020-01-24 09:08:32 +00:00
GitLab Bot d933bc5a87 Add latest changes from gitlab-org/gitlab@master 2020-01-23 18:08:53 +00:00
GitLab Bot 36e363d33d Add latest changes from gitlab-org/gitlab@master 2020-01-21 21:08:54 +00:00
GitLab Bot 98252e0dd6 Add latest changes from gitlab-org/gitlab@master 2020-01-20 12:09:02 +00:00
GitLab Bot 2ee5991b42 Add latest changes from gitlab-org/gitlab@master 2020-01-20 09:08:32 +00:00
GitLab Bot 727b1a890c Add latest changes from gitlab-org/gitlab@master 2020-01-16 21:08:24 +00:00
GitLab Bot c158fa8d69 Add latest changes from gitlab-org/gitlab@master 2020-01-16 12:08:32 +00:00
GitLab Bot 74a89b1221 Add latest changes from gitlab-org/gitlab@master 2020-01-13 21:07:39 +00:00
GitLab Bot e3e300557f Add latest changes from gitlab-org/gitlab@master 2020-01-08 12:07:59 +00:00
GitLab Bot 7d81614e3f Add latest changes from gitlab-org/gitlab@master 2020-01-07 06:08:04 +00:00
GitLab Bot c6373a2cec Add latest changes from gitlab-org/gitlab@master 2019-12-24 12:08:01 +00:00
GitLab Bot 6593f1f627 Add latest changes from gitlab-org/gitlab@master 2019-12-24 09:07:44 +00:00
GitLab Bot be59dd1d43 Add latest changes from gitlab-org/gitlab@master 2019-12-20 21:08:00 +00:00
GitLab Bot e3764d340e Add latest changes from gitlab-org/gitlab@master 2019-12-19 12:07:35 +00:00
GitLab Bot 7f8330873c Add latest changes from gitlab-org/gitlab@master 2019-12-18 21:07:37 +00:00
GitLab Bot 79d62647bc Add latest changes from gitlab-org/gitlab@master 2019-12-18 12:07:48 +00:00
GitLab Bot e723867717 Add latest changes from gitlab-org/gitlab@master 2019-12-17 18:07:48 +00:00
GitLab Bot 5bd24a54ef Add latest changes from gitlab-org/gitlab@master 2019-12-17 09:07:48 +00:00
GitLab Bot fc53ce8e6c Add latest changes from gitlab-org/gitlab@master 2019-12-12 09:07:48 +00:00
GitLab Bot e44bb86539 Add latest changes from gitlab-org/gitlab@master 2019-12-11 21:08:17 +00:00
GitLab Bot b86f474bf5 Add latest changes from gitlab-org/gitlab@master 2019-12-11 12:08:10 +00:00
GitLab Bot 97d4d92663 Add latest changes from gitlab-org/gitlab@master 2019-12-10 09:07:51 +00:00
GitLab Bot b860c6ba26 Add latest changes from gitlab-org/gitlab@master 2019-11-29 12:10:06 +00:00
GitLab Bot 8a3fdede96 Add latest changes from gitlab-org/gitlab@master 2019-11-22 09:06:20 +00:00
GitLab Bot 0a6ffb540e Add latest changes from gitlab-org/gitlab@master 2019-11-21 12:06:40 +00:00
GitLab Bot 143f196f8b Add latest changes from gitlab-org/gitlab@master 2019-11-18 18:06:53 +00:00
GitLab Bot eca3cd3a9e Add latest changes from gitlab-org/gitlab@master 2019-11-15 18:06:24 +00:00
GitLab Bot 3fc9a8e695 Add latest changes from gitlab-org/gitlab@master 2019-11-15 12:06:12 +00:00
GitLab Bot 29c01c6c91 Add latest changes from gitlab-org/gitlab@master 2019-11-14 03:06:25 +00:00
GitLab Bot 4e516dbff9 Add latest changes from gitlab-org/gitlab@master 2019-11-13 12:06:22 +00:00
GitLab Bot 4f01ac5ba0 Add latest changes from gitlab-org/gitlab@master 2019-11-13 09:06:41 +00:00
GitLab Bot 6d31b8f052 Add latest changes from gitlab-org/gitlab@master 2019-11-12 18:06:57 +00:00
GitLab Bot 16bd8409bc Add latest changes from gitlab-org/gitlab@master 2019-11-11 12:06:23 +00:00
GitLab Bot 1ef4b65f55 Add latest changes from gitlab-org/gitlab@master 2019-11-08 06:06:24 +00:00
GitLab Bot c324100967 Add latest changes from gitlab-org/gitlab@master 2019-11-07 21:06:14 +00:00
GitLab Bot cf85de264d Add latest changes from gitlab-org/gitlab@master 2019-11-06 21:06:44 +00:00
GitLab Bot 4c464055fb Add latest changes from gitlab-org/gitlab@master 2019-11-05 15:06:17 +00:00
GitLab Bot b1bcdba89b Add latest changes from gitlab-org/gitlab@master 2019-10-22 12:06:20 +00:00
GitLab Bot 4b28d5ae77 Add latest changes from gitlab-org/gitlab@master 2019-10-09 21:06:24 +00:00
GitLab Bot 0a850868df Add latest changes from gitlab-org/gitlab@master 2019-10-09 12:06:13 +00:00
GitLab Bot a82d0c740b Add latest changes from gitlab-org/gitlab@master 2019-10-08 21:06:23 +00:00
GitLab Bot 5ecacec304 Add latest changes from gitlab-org/gitlab@master 2019-10-04 15:06:38 +00:00
GitLab Bot 6d60f91076 Add latest changes from gitlab-org/gitlab@master 2019-10-02 21:06:22 +00:00
GitLab Bot de2ae3154f Add latest changes from gitlab-org/gitlab@master 2019-10-02 18:06:20 +00:00
GitLab Bot 05f4b2fb34 Add latest changes from gitlab-org/gitlab@master 2019-10-01 15:06:05 +00:00
GitLab Bot b925465787 Add latest changes from gitlab-org/gitlab@master 2019-09-23 21:06:29 +00:00
GitLab Bot d948f526ea Add latest changes from gitlab-org/gitlab@master 2019-09-19 15:06:08 +00:00
GitLab Bot 6cd5b7dbfa Add latest changes from gitlab-org/gitlab@master 2019-09-19 11:50:12 +00:00
GitLab Bot 80f61b4035 Add latest changes from gitlab-org/gitlab@master 2019-09-18 14:02:45 +00:00
GitLab Bot b7dfe2ae40 Add latest changes from gitlab-org/gitlab@master 2019-09-13 13:26:31 +00:00
Illya Klymov 2d94e2c913 Add missing `render_gfm` import to files 2019-09-11 16:47:19 +00:00
Winnie Hellmann d956f68a39 Replacing vue-resource with axios in Markdown field 2019-09-11 16:45:39 +00:00
Paul Gascou-Vaillancourt 929eb05688 Backport "Add toggle to hide dismissed vulnerabilities"
Backport of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/15333
2019-09-04 12:17:56 -04:00
Arun Kumar Mohan 9575288f62 Refactor showStagedIcon property's behavior to match its name
Previously, the `showStagedIcon` property was doing the opposite
of what its name suggested. It was rendering the staged icon when
`showStagedIcon` was `false` and rendering the regular icon when
it was `true`.
2019-08-30 17:08:16 -05:00
Winnie Hellmann a28c77f2ad Throw error for multiple RecaptchaModal instances 2019-08-21 08:06:50 +00:00
Paul Slaughter d4a5e3fd87 Merge branch 'fix-file-row-styling' into 'master'
Update file row styling

See merge request gitlab-org/gitlab-ce!31884
2019-08-19 22:27:14 +00:00
Illya Klymov 99897d41fc
Update file row styling 2019-08-19 16:02:54 -05:00
Paul Slaughter 79bdb155b6 Rewrite changed_file_icon_spec in Jest
- Uses vue-test-utils
- More complete coverage with parameterized tests
2019-08-16 08:58:14 +00:00
Ezekiel Kigbo 834f1f974a Disable vue-i18n for non-autofix files
Disables the vue-i18n eslint rules for files
that are not able to be autofixed, this will
stop these offences causing pipeline failures
but they will need manual fixing.
2019-08-08 06:29:24 +00:00
Annabel Dunstone Gray f64a84b265 Merge branch '64608-double-tooltips' into 'master'
Prevents showing 2 tooltips in pipelines

Closes #64608

See merge request gitlab-org/gitlab-ce!31521
2019-08-06 17:49:18 +00:00
Natalia Tepluhina 3283e4397f Revert "Fixed comparing value to undefined"
This reverts commit d754beb74fbc06a2c744e15be4aa2831d8cef1c0.
2019-08-06 12:02:23 +00:00
Filipa Lacerda 3f49a79a64 Prevents showing 2 tooltips in pipelines
In pipeline's table two tooltips were being rendered
With this change only one tooltip is trigerred on hover
2019-08-06 10:52:50 +01:00
Paul Slaughter 84b6c7a5f3
Revert "Merge branch 'mh/editor-indents' into 'master'"
This reverts commit 28f2225bdf, reversing
changes made to 96ae5bd83d.
2019-08-01 12:31:13 -05:00
Kushal Pandya 4b2ea22caf Merge branch 'mg-update-icons-svg-import' into 'master'
Use file-loader for sprite icons within icon.vue

See merge request gitlab-org/gitlab-ce!31257
2019-07-31 09:02:48 +00:00
Mike Greiling 7d68ac70aa
Use file-loader to import icon sprites 2019-07-29 15:25:35 -05:00
Tanya Pazitny e3fb7f7725 Change qa-* class references to js-* for suggestions 2019-07-29 19:22:22 +00:00
Martin Hanzel c111d121d6 Add UndoStack class - a custom undo/redo engine
It will be hooked up to the markdown editor later
2019-07-26 07:18:15 +00:00
Ezekiel Kigbo 66094e5f07 Vue-i18n: app/assets/javascripts/vue_shared directory
i18n linting for .vue files under the
app/assets/javascripts/vue_shared directory
2019-07-08 08:26:37 +00:00
Denys Mishunov 4c954a5c9e Mark images as binary on init 2019-07-05 12:21:01 +02:00
Natalia Tepluhina d4151b14c2 Rebased and squashed commits
- all commits squashed to make danger review happy
2019-07-03 08:26:57 +00:00
Denys Mishunov 7e67000003 Hid re-named entries in subfolders 2019-07-02 00:57:37 +02:00
Martin Hanzel 36d0dc083d Conform related issues/MRs card to design docs 2019-06-27 06:12:38 +00:00
Filipa Lacerda 833cb6e9f1 Merge branch 'gt-remove-tooltip-directive-on-project-avatar-image-component' into 'master'
Remove tooltip directive on project avatar image component

Closes #51990

See merge request gitlab-org/gitlab-ce!29631
2019-06-24 09:21:25 +00:00
Kushal Pandya 97e8f49442 Merge branch 'update-pagination-texts' into 'master'
Update pagination prev and next texts

See merge request gitlab-org/gitlab-ce!29911
2019-06-24 05:52:28 +00:00
Fatih Acet 94780eb35c Merge branch '11707-add-copy-to-clipboard-cursed-backport' into 'master'
Add Copy to Clipboard CE Backport

See merge request gitlab-org/gitlab-ce!29906
2019-06-21 21:39:51 +00:00
George Tsiolis 8c92afc378 Remove tooltip directive on project avatar image component 2019-06-21 10:39:22 +03:00
Paul Gascou-Vaillancourt 4e6d6877f7 Update pagination prev and next texts 2019-06-20 16:35:50 -04:00
sarahghp df80cff1de Add CE backport 2019-06-20 13:05:01 -04:00
Fernando 91cf0cb2d5 Paginate license management and add license search
First pass at license pagination

* Paginate license management client side
* Refactor license list into seperate component

Add string filtering to license names

* Add search input to query on license name

Add add license button

* Refactor add license button to be a slot

Clean up styles and button state logic

* Clean up alignment
* Disable button when dorpdown is open

Remove client side alphabetical sorting

* Let the databse return order by date

Refactor list to use row slot

Further abstract pagination list compnent

Finish refactor of paginated list

* Refactor component into generic paginated list component
* Add additional style tweaks + responsive classes

Run prettier

Update license_management_spec

Run Prettier

Add unit tests for paginated list component

* Refactor template to be valid html (li in ul)
* Add jest unit tests

Add additional unit tests

* Add unit tests around pagination and search states

Add unit tests for filter props

Pretty print, lint, and add changelog

Update po files

Regernate pot file

Backport EE changes

* Update paginated list component
* Update specs and snapshot

Add POT file

Update default copy for pagianted list

* update copy for empty and empty search result states

Update pot file

Backport changes from EE merge request

* Paginaed list component and specs

Backport EE changes

Update paginated list snapshot

Update license management docs and images

Backport paginated-list component from EE

Link to gitlab-ui artifacts job

Match gitlab ui build to EE

Update pot file

Backport Paginated list changes

Set gitlab-ui to temp artifact

Add changelog
2019-06-20 02:54:09 -04:00
Filipa Lacerda c6cf52915b Merge branch 'revert-3a50fc5d' into 'master'
Revert "Merge branch '57414-show-pipeline-iid-in-pipelines-page' into 'master'"

See merge request gitlab-org/gitlab-ce!29684
2019-06-17 10:04:42 +00:00
Filipa Lacerda ae853dba6b Merge branch 'diff-suggestions-popover' into 'master'
Added diff suggestion popover

Closes #56523

See merge request gitlab-org/gitlab-ce!29473
2019-06-14 14:43:58 +00:00
Paul Gascou-Vaillancourt 04cc3deaab Upgrade gitlab-ui and migrate gl-pagination
- Upgraded gitlab-ui to v4.0.0
- Migrated pagination_links to reflect breaking changes introduced
in gitlab-ui v4.0.0
2019-06-14 13:59:00 +00:00
Kamil Trzciński 2d9e0f3ffb Revert "Merge branch '57414-show-pipeline-iid-in-pipelines-page' into 'master'"
This reverts merge request !26853
2019-06-14 13:17:18 +00:00
Phil Hughes d2fd6bd510
Added diff suggestion popover
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/56523
2019-06-14 14:01:24 +01:00
Filipa Lacerda 442dce052a Moves table pagination component
Move the table paginaiton component under the
new pagination folder in vue shared components
and updates all the paths
2019-06-12 10:19:36 +01:00
Timofey Trofimov 153a9aef8b Apply tooltip on truncated commit title 2019-06-12 06:50:05 +00:00
Phil Hughes 7e350ab309 Merge branch '62788-graphql-pagination' into 'master'
Creates pagination component graphql

Closes #62788

See merge request gitlab-org/gitlab-ce!29277
2019-06-11 17:01:42 +00:00
Filipa Lacerda 18b906c026 Creates pagination component graphql
creates a pagination component for
the graphql api
2019-06-11 16:35:46 +01:00
Clement Ho 53da0237fa Merge branch 'ee-9688-fe-mr-merge-order' into 'master'
Backport of EE Displaying Blocking MRs

See merge request gitlab-org/gitlab-ce!29095
2019-06-07 14:16:29 +00:00
Marcel van Remmerden 5bfc100607 Format vue files with prettier
Add changelog file
2019-06-06 15:51:04 +00:00
Fatih Acet fab72e2ad9 Add doc links for confidential and locked issues
With this commit, we add docs link for confidential
and locked issues to note compose and edit forms
2019-06-06 10:37:02 +00:00
Andrew Fontaine 8bea9eeddf Add a New Copy Button That Works in Modals
This copy button manages a local instance of the Clipboard plugin
specific to it, which means it is created/destroyed on the
creation/destruction of the component. This allows it to work well in
gitlab-ui modals, as the event listeners are bound on creation of the
button.

It also allows for bindings to the `container` option of the Clipboard
plugin, which allows it to work within the focus trap set by bootstrap's
modals.
2019-06-06 09:36:17 +00:00
Kushal Pandya 39a27b7c46 CE Backport: Show tree within Epic containing child Epics and Issues 2019-06-06 07:36:45 +00:00
Sam Bigelow c763d98ed7 Backport of EE Displaying Blocking MRs
This MR is a backport of an EE merge request
2019-06-05 17:29:18 -04:00
Nathan Friend bee3c7e847 Comply with `no-implicit-coercion` rule (CE)
This commit is the result of running `yarn eslint --fix` after enabling
the `no-implicit-coercion` ESLint rule.  This rule has been added to
our ESLint config here:

https://gitlab.com/gitlab-org/gitlab-eslint-config/merge_requests/14
2019-06-03 22:51:02 +00:00
Marcel van Remmerden aa5bfb9187 Add hover and focus to "Attach a file" 2019-05-31 19:56:38 +00:00
Mike Scott 852738a498 Add Pipeline IID to views
* Add Pipeline IID to MR's
* Add Pipeline IID to commit box
* Add Pipeline IID to builds page
* Add Pipeline IID to job sidebar
* Add Pipeline IID to header on view pipeline pages
* Add changelog entry
* Update tests
2019-05-30 09:32:20 +00:00
Kushal Pandya f8f74afc1c Prevent icons from shrinking in User popover when contents exceed container 2019-05-24 09:47:31 +00:00
Sarah Groff Hennigh-Palermo 68fd2bdd74 Add backport changes
Adds backport changes for ee
2019-05-20 17:08:37 +00:00
Paul Slaughter d24d77a93a
Resolve discussion when suggestion is applied
- Adds color and a tooltip to describe this new behavior
- Does not resolve if discussion is already resolved
- Adds an action `resolveDiscussion` to simplify `toggleResolveNote`
- Updates docs

https://gitlab.com/gitlab-org/gitlab-ce/issues/54405
2019-05-07 00:00:40 -05:00
Filipa Lacerda a8347c22d0 Merge branch '59898-fix-the-following-style-lint-errors-and-warnings-for-app-assets-stylesheets-pages-commits-scss' into 'master'
Resolve "Fix the following style-lint errors and warnings for `app/assets/stylesheets/pages/commits.scss`"

Closes #59898

See merge request gitlab-org/gitlab-ce!27647
2019-05-02 10:55:59 +00:00
Brandon Labuschagne db2eefba1d Internationalisation of vue_shared directory
This is one of many MRs opened in order to improve the overall
internationalisation of the GitLab codebase.

This commit only targets the Vanilla JS files.

i18n documentation
https://docs.gitlab.com/ee/development/i18n/externalization.html
2019-04-29 18:09:11 +00:00
Sam Bigelow ba8113c323 Init MR Popovers on system note mounted
All `renderGFM()` calls are finished before the system note is mounted
so this MR inits the popover for each system note, and only the elements
in the system note
2019-04-26 14:03:34 -04:00
Phil Hughes 94547f81c1 Revert "Merge branch '60855-mr-popover-is-not-attached-in-system-notes' into 'master'"
This reverts merge request !27589
2019-04-26 09:49:21 +00:00
Natalia Tepluhina 45c833ab73 Resolve "Misalignment on suggested changes diff table" 2019-04-26 08:55:18 +00:00
Filipa Lacerda 55767af463 Merge branch '60855-mr-popover-is-not-attached-in-system-notes' into 'master'
Resolve "MR Popover is not attached in system notes"

Closes #60855

See merge request gitlab-org/gitlab-ce!27589
2019-04-26 08:39:44 +00:00
Kushal Pandya c4340c652b Merge branch 'refactor/58827-migrate-issue-spec-to-jest' into 'master'
Migrated issue spec files to Jest

Closes #58827

See merge request gitlab-org/gitlab-ce!27673
2019-04-26 04:48:35 +00:00
Kushal Pandya d7b0dd8f7d Merge branch 'migrate-import-projects-spec' into 'master'
Move import projects karma specs to jest

Closes #60204

See merge request gitlab-org/gitlab-ce!27552
2019-04-26 04:41:45 +00:00
Luke Bennett 642c7252d4
Move import projects karma specs to jest
Improvements to the stability/validity of the specs.
2019-04-25 19:59:44 +01:00
Scott Hampton dbeb7b21d3 Fix commits.scss style-lint errors
Updating class names, and using existing utility classes.
2019-04-25 11:49:13 -07:00
Martin Hobert 396dbbd415 refactor(issue): Refactored issue tests from Karma to Jest
re #58827

Added changelog

Added sync false, and removed unneeded destroyers
2019-04-25 16:33:40 +02:00
Tim Zallmann 0edd8a6e93 Merge branch '60387-use-icons-in-user-popovers' into 'master'
Show category icons in user popover

Closes #60387

See merge request gitlab-org/gitlab-ce!27254
2019-04-24 19:55:14 +00:00
Sam Bigelow 41ff0d1e08 Init MR Popovers onmount of system note
Fixing a bug where system notes had no MR Popovers
2019-04-24 10:50:12 -04:00
Filipa Lacerda 01df499731 Merge branch '59831-related-items-css-cleanup-ce' into 'master'
Remove related items CSS properties and add utility classes

See merge request gitlab-org/gitlab-ce!27583
2019-04-24 08:34:12 +00:00
Annabel Dunstone Gray cfa19b14cd Remove related items CSS properties and add utility classes 2019-04-23 06:45:31 -05:00
Phil Hughes 712a63a745 Merge branch '59514-uploading-images-base64' into 'master'
Resolve "Web IDE uploading images shows base64 string"

Closes #59514

See merge request gitlab-org/gitlab-ce!27471
2019-04-23 07:38:39 +00:00
ftab 3dfd2451b0 Make swipe view images line up
If left without a width/height, swipeFrame goes off track when the image
isn't wide enough to fill the available width. The spaceLeft prevented
reaching the right edge of the image.
2019-04-23 07:25:06 +00:00
Kushal Pandya 2d58213f09 Show category icons in user popover
Show bio, organization and location icons within user popover.
2019-04-22 12:39:19 +05:30
Denys Mishunov 5e2d50aa18 Passes file type down to ContentViewer
Instead of ContentViewer attempts to compute file type and render
appropriate viewer type, compute it on the parent RepoEditor having all
file-related information at its disposal and pass it down to
ContentViewer as a prop
2019-04-17 23:57:29 +02:00
Filipa Lacerda 9ba30fc55d Merge branch '10083-dropdown-ce-ee-difference' into 'master'
Removes EE diffs for dropdown_value_collapsed.vue

Closes gitlab-ee#10083

See merge request gitlab-org/gitlab-ce!27367
2019-04-17 09:02:17 +00:00
Annabel Dunstone Gray 1c962d5886 Fix stylelint warnings in related_items_list.scss
This commit rearranges the styles in related_items_list
to adhere to stylelint's warnings. It also adds some
utility classes where applicable
2019-04-16 12:18:20 -05:00
Rajat Jain b5ab1d91e3 Display scoped labels in Issue Boards
This change brings new Scoped labels to Issue board as well.
With the last change, this was missed.
2019-04-15 09:58:30 +00:00
Denys Mishunov ee7d2298e5 Removes EE diffs for dropdown_value_collapsed 2019-04-15 11:54:35 +02:00
Winnie Hellmann 2704c4a588 Hard code test name in timeline_entry_item_spec.js 2019-04-10 12:50:40 +02:00
Filipa Lacerda ad35de2255 Fixes stylelint warnings in environments
Deletes unused CSS
Moves prometheus selectors into a prometheus file
2019-04-09 11:35:22 +01:00
ftab 513e4f991f Fix touch event pageX
Safari on iOS sort of figures out the right thing here, but other
browsers need a specific touch to be referenced.

This makes it work on Chrome and Firefox on Android, as well as
Chrome DevTools mobile device view.
2019-04-08 07:39:41 +00:00
Fatih Acet 7650677d3d
Rewrite related MRs widget with Vue
This MR rewrites existing Related Merge Requests widget
with Vue with reusing shared Related Issues components
2019-04-05 21:20:28 +02:00
Filipa Lacerda 941e00121c Merge branch 'ce-9262-move-project-search-bar-into-modal-dialog-on-operations-dashboard-page' into 'master'
CE backport: Add reusable project_selector component

See merge request gitlab-org/gitlab-ce!25036
2019-04-05 16:25:45 +00:00
Sean McGivern 934dabaf6d Merge branch 'keyval-labels' into 'master'
[CE] Add mutually exclusive labels

See merge request gitlab-org/gitlab-ce!26804
2019-04-05 10:28:19 +00:00
Phil Hughes 36d1d9082c Merge branch '60021-fix-ide-file-dropdown' into 'master'
Fix IDE file dropdown

Closes #60021

See merge request gitlab-org/gitlab-ce!27015
2019-04-05 07:39:40 +00:00
Fernando Arias e0725fa436 Dynamic vuln graph dimensions
* Fix up graph resize logic if navbar is collapsed

Add snapshot
2019-04-05 05:19:23 +00:00
Paul Slaughter c1a097e1ce
Refactor new_dropdown/index to receive isOpen prop
**Why?**

Previously it managed this as an internal data property, but there
was extra complexity involved because the component doesn't have
all the information it needs (i.e. the `mouseOver` prop).

This is a good opportunity to colocate the data prop with the component
that has the information to change it (i.e. `file_row`) and let
`new_dropdown/index` receive this value as a prop.
2019-04-04 15:35:45 -05:00
Paul Slaughter 9deaa79c5e
Fix IDE file dropdown with `mouseleave` event 2019-04-04 13:50:33 -05:00
Oswaldo Ferreira e540c0d71e Fixed test specs
- added suggestions to mock data
- fixed props to be not required
2019-04-04 13:08:34 +00:00
Rajat Jain 97ab853996 [frontend] backport of scoped labels
Scoped labels in EE require additional changes in CE code.
2019-04-04 08:06:48 +02:00
ftab 7c61fb036e MR image diff swipe view: Disable user-select on drag
Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/59942
2019-04-03 12:29:22 +00:00
mfluharty eb95100c06
Make corrections to address review feedback
Refactor tests to follow conventions
Add XSS test
Eliminate a few unnecessary lines, comments, and parameters
Use Vue.set for nested state changes
2019-04-02 23:58:20 -06:00
Nathan Friend 06b88af046
Add reusable project_selector component
This commit adds a resuable UI component that allows a user to search
for a project name, shows the search results, and allows the user to
select one or more projects.  This component communicates with its
parent using props and events.

This component was originally created for use in the EE-specific
"Operations Dashboard" page, but it is applicable for CE use cases as
well, and so was added as a CE shared component.

In addition, some logic was extracted from the frequent_items_list_item
component into shared filters to avoid logic duplication.
2019-04-02 23:58:01 -06:00
Filipa Lacerda 904af0164e Replaces md-area with position-relative for markdown areas 2019-04-01 11:27:08 +01:00
Sarah Groff Hennigh-Palermo 9bb41e894e Adds EE validators to CE file 2019-03-29 09:00:16 +00:00
Douwe Maan 63792707f9
Remove now-unnecessary md-preview class 2019-03-26 14:35:43 +01:00
Douwe Maan 146b55c9dd
Add .md to immediate parent of Markdown content 2019-03-26 14:35:43 +01:00
Phil Hughes 9137dea187 Merge branch '54916-extended-tooltip-for-merge-request-links' into 'master'
Resolve "Extended tooltip for merge request links"

Closes #54916

See merge request gitlab-org/gitlab-ce!25221
2019-03-26 08:58:37 +00:00
Enrique Alcántara 4f03122959 Prevent fade out transition on loading-button 2019-03-25 09:00:36 +00:00
Sam Bigelow 1a14e5230e Add merge request popover with details
- Show pipeline status, title, MR Status and project path
- Popover attached to gitlab flavored markdown everywhere, including:
  + MR/Issue Title
  + MR/Issue description
  + MR/Issue comments
  + Rendered markdown files
2019-03-21 10:24:18 -04:00
Nathan Friend a24cb6de02
Update pipeline list view
This commit updates the pipeline page  and related components to include
new pipeline information added by the post-merge pipeline feature.
2019-03-20 12:39:27 -03:00
Filipa Lacerda 889026d652 Removes EE differences from ci_icon.vue 2019-03-04 14:58:03 +00:00
Phil Hughes 8c2a5b75d2 Merge branch '57991-frontend-pagination-needs-to-handle-cases-where-the-x-total-pages-header-isn-t-present' into 'master'
Improve the JS pagination to handle the case when the `X-Total` and `X-Total-Pages` headers aren't present

Closes #57991

See merge request gitlab-org/gitlab-ce!25601
2019-03-01 14:30:21 +00:00
Fatih Acet 529c570c02
Move related issues shared components from EE
We will rewrite Related MRs widget in CE with Vue.
It’s pretty much the same with Related Issues in EE.
I made EE only components reusable and this is the CE
backward compatability commit.

Links:

Issue: https://gitlab.com/gitlab-org/gitlab-ce/issues/57662
MR: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/9730
2019-03-01 12:49:16 +01:00
Enrique Alcántara b08ede54bd Externalize markdown toolbar tooltips
Replace tooltip texts in the markdown toolbar with bindings to gettext
calls

Author:    Enrique Alcantara <enrique@crunch.io>
2019-03-01 00:44:33 +00:00
Rémy Coutable d9dd52092f
Make JS pagination handle missing 'X-Total-Pages' header
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-02-28 13:42:55 +01:00
Phil Hughes 573dd592b0
CE port of noteable-discussion-ee-differences 2019-02-28 10:55:13 +00:00
Clement Ho d63483a2da Fix inconsistent pagination styles 2019-02-27 10:16:46 +00:00
Martin Wortschack 12ed4dbf4a Style avatars for groups and projects
- Add rectangular avatar classes
- Update avatar for groups
- Update avatar for projects
- Update avatar for frequent items
- Update avatar on "Fork project" page
- Conditionally add rectangular avatar class to autocomplete items
2019-02-25 13:00:05 +00:00
Phil Hughes 07363237d7 Merge branch 'fix-broken-select2-import-project-app' into 'master'
Fix select2 import for project import app namespace select

See merge request gitlab-org/gitlab-ce!25307
2019-02-22 08:45:28 +00:00
Filipa Lacerda fea813ab93 Merge branch 'diff-tree-resizable' into 'master'
Make the file tree in merge requests resizable

Closes #51857

See merge request gitlab-org/gitlab-ce!25097
2019-02-18 12:53:03 +00:00
Luke Bennett cf61ea1d04
Fix select2 import for project import app namespace select 2019-02-15 21:49:03 +00:00
Natalia Tepluhina bf8f32da7f Replaced part of diff file properties with diff viewer
- replaced file.too_large
- replaced file.text
- replaced file.collapsed
2019-02-15 17:56:50 +00:00
Lin Jen-Shin 7aa0be3c43 Merge branch 'import-go-to-project-cta-nibble-backend' into 'master'
BE Improve the GitHub and Gitea import feature table interface

See merge request gitlab-org/gitlab-ce!24606
2019-02-15 11:59:55 +00:00
Phil Hughes d17de657fe
Make the file tree in merge requests resizable
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/51857
2019-02-15 10:33:33 +00:00
Filipa Lacerda b9f1dec373 Merge branch 'web-ide-commit-header-icon-alignment-fix' into 'master'
Fixes alignment of changed icon in Web IDE

Closes #57649

See merge request gitlab-org/gitlab-ce!25202
2019-02-14 18:24:50 +00:00
Annabel Dunstone Gray f9303eec3e Add fix for suggested changes syntax highlighting
Removed the `note-text` class since it conflicted other classes.
2019-02-14 16:01:47 +00:00
Phil Hughes 9a642f7adc
Fixes alignment of changed icon in Web IDE
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/57649
2019-02-13 16:01:32 +00:00
Satoshi Nakamatsu ad487147c6 add title attr to display file name 2019-02-13 12:42:29 +00:00
Luke Bennett af989df0ec
Improve the GitHub and Gitea import feature table interface
These are frontend changes.
Use Vue for the import feature UI for "githubish"
providers (GitHub and Gitea).
Add "Go to project" button after a successful import.
Use CI-style status icons and improve spacing of the
table and its component.
Adds ETag polling to the github and gitea import
jobs endpoint.
2019-02-13 00:17:52 +00:00
Katrin Leinweber 294a2a70ed Externalize date picker string 2019-02-10 09:26:05 +01:00
Fabian Schneider 27f7771ae1 Add setting for first day of the week 2019-02-06 17:33:56 +01:00
Filipa Lacerda 3bed077c57 Merge branch 'diff-file-finder' into 'master'
Added fuzzy file finder to merge requests

Closes #53304

See merge request gitlab-org/gitlab-ce!24434
2019-02-05 15:11:37 +00:00
Phil Hughes 6e5461d67f
Added fuzzy file finder to merge requests
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/53304
2019-02-05 11:29:49 +00:00
Jan Provaznik b2c70230b3 Remove Redcarpet markdown engine
This engine was replaced with CommonMarker in 11.4, it was deprecated
since then.
2019-02-04 12:48:35 +01:00
Dennis Tang 1658f5b62e
Use sanitized user status message for user popover 2019-01-31 16:52:49 +01:00
Gokhan Apaydin 74dc0c1866 fix display comment avatars issue in IE 11 2019-01-30 21:14:42 +00:00
Douwe Maan 43005f2df2
Allow suggestions to be copied and pasted as GFM
Supports both suggestions transformed from GFM to HTML and from GFM to
HTML to Vue component.
2019-01-25 18:40:36 +01:00
Douwe Maan 25429c6367
Wrap suggestion note in .note-text.md for consistent styling + behavior 2019-01-25 18:40:36 +01:00
Filipa Lacerda 355d8ef72a Adds create option in filtered dropdown
In the filtered search dropdopwn adds a button
to enable creation of missing element.
2019-01-24 11:46:38 +00:00
Jacques Erasmus 0cd37ad9d9 Remove unwanted margin above suggested changes. 2019-01-18 19:35:06 +00:00
Kushal Pandya c01f673610 Merge branch 'user-avatar-list-empty-text' into 'master'
Handle emptyText in user_avatar_list

See merge request gitlab-org/gitlab-ce!24436
2019-01-18 06:48:24 +00:00
Stan Hu 64fc7c1bce Merge branch 'use-global-recaptcha-source' into 'master'
Use globally-available reCAPTCHA source

Closes #56375

See merge request gitlab-org/gitlab-ce!24390
2019-01-16 19:29:08 +00:00
Paul Slaughter 3420ec15dd
Handle emptyText in user_avatar_list
**Why?**
To reduce duplicate code, it's helpful to encapsulate this behavior
here.
2019-01-16 09:39:35 -06:00
Clement Ho c18a214ec0 Merge branch 'mg-upgrade-prettier-again' into 'master'
Upgrade prettier to v1.15.3

See merge request gitlab-org/gitlab-ce!24312
2019-01-15 22:33:45 +00:00
Jacques Erasmus f3b9eda913 Add syntax highlighting to suggestion preview 2019-01-15 13:37:49 +00:00
Daniel Stone 1498aa41f7 Use globally-available reCAPTCHA source
As google.com over HTTPS is not available in China and other countries
with large blocks, use reCAPTCHA from recaptcha.net per this FAQ:

https://developers.google.com/recaptcha/docs/faq#can-i-use-recaptcha-globally
2019-01-15 13:17:04 +00:00
Mike Greiling 7ccd235df1
Upgrade prettier and reformat files as necessary
Upgrades prettier to 1.15.3
Runs `yarn prettier-save-all` against the codebase
Most changes are due to https://github.com/prettier/prettier/pull/5519
2019-01-14 15:29:02 -06:00
Annabel Dunstone Gray 7e802feefa Add syntax highlighting to suggestion diff 2019-01-10 09:54:39 +00:00
Phil Hughes 12edecd002
Add headers to files in the tree list on merge requests
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/54807
2019-01-08 09:31:23 +00:00
Kushal Pandya 77de006319 Merge branch 'ee1979-user-avatar-list-component' into 'master'
Create shared user-avatar-list component

See merge request gitlab-org/gitlab-ce!24139
2019-01-07 09:05:18 +00:00
Kushal Pandya 32f80629bd Merge branch 'suggestion-dashes' into 'master'
Fixes diff sugestions removing dashes from diff

Closes #55634

See merge request gitlab-org/gitlab-ce!23994
2019-01-07 08:55:43 +00:00
Paul Slaughter ed7f44aaba
Create shared user-avatar-list component
**Why?**
We need a component that can expand / collapse a list of avatars for
approval rules table.

See issue https://gitlab.com/gitlab-org/gitlab-ee/issues/1979
2019-01-04 16:50:47 -06:00
Paul Slaughter 708df374f5
Create shared gl-modal-vuex component and module
**Why?**
It is significantly easier to manage the visibility of the modal in
Vuex. The module contains the state and mutations to manage this.
The component wraps GlModal and syncs the visibility with the module.
2019-01-03 23:34:15 -06:00
Clement Ho 0e20c8eb8b Merge branch 'tz-user-popover-follow-up' into 'master'
Added Comment to user avatar Image, Changed Fixtures to created ones, added shadow color

See merge request gitlab-org/gitlab-ce!23768
2019-01-03 21:04:16 +00:00
Paul Slaughter aedaef2b2c
Update callout component to receive slot
**Why?**
- This is needed to add buttons to the callout
2019-01-02 09:01:41 -06:00
Phil Hughes e6f1209ebf
Fixes diff sugestions removing dashes from diff
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/55634
2018-12-21 17:22:59 +00:00
Martin Wortschack 63307ade1c Split bio into individual line in extended user tooltips
- Remove leading 'at' in organzation info
- Update karma tests
2018-12-21 11:18:37 +01:00
Tim Zallmann dac38419fe Merge branch '55276-encoding-issue-with-the-user-centric-tooltips' into 'master'
Resolve "Encoding issue with the user centric tooltips"

Closes #55276

See merge request gitlab-org/gitlab-ce!23794
2018-12-17 10:24:14 +00:00
Nick Thomas 8d2e1b724b Merge branch '54786-mr-empty-file-display' into 'master'
Display empty files properly on MR diffs

Closes #54786

See merge request gitlab-org/gitlab-ce!23671
2018-12-15 12:21:54 +00:00
Oswaldo Ferreira ed3034bbb7 Allow suggesting single line changes in diffs 2018-12-13 19:17:19 +00:00
Natalia Tepluhina db30ddbf66 Pretty print user-popover.vue 2018-12-13 14:19:14 +02:00
Natalia Tepluhina 421b3a158a Prevent escaping in user tooltip 2018-12-13 14:05:45 +02:00
Sean Nichols 4d2448e03a Add tests and move empty file message into own component 2018-12-13 01:49:32 -05:00
Tim Zallmann 14d3b53aa8 Comment user avatar Image, Changed Fixtures, added new shadow color
Needed to reorder css variables

Neede to reorder vars again

Added Changelog
2018-12-12 22:49:45 +01:00
Winnie Hellmann 1285fe6874 Remove unnecessary div from MarkdownField to apply list styles correctly 2018-12-12 08:48:18 +01:00
Kushal Pandya 295e8b9bed CE Backport: Epic issue list and related issue list re-design 2018-12-08 09:58:45 +00:00
Tim Zallmann ddd4cc649f Resolve "Extended user centric tooltips" 2018-12-08 03:12:23 +00:00
Kushal Pandya 9c428efc57 Add missing `data-boundary` attribute for correct tooltip alignment 2018-12-07 14:49:16 +05:30
Phil Hughes 2ed65be1c3
Fixed renamed and mode changed diff viewers
Renders mode changed and renamed file merge request diff
viewers on the frontend.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/52607
2018-12-06 14:39:29 +00:00
Winnie Hellmann e3bddb6223 Replace existing uses of timeline-entry with timeline entry component 2018-11-29 23:15:40 +01:00
Winnie Hellmann 99862050de Create shared timeline entry component 2018-11-29 19:10:28 +01:00
George Tsiolis 8826962d21 Update `gitlab` npm namespace 2018-11-21 23:41:38 +02:00
George Tsiolis 64aaa33f73 Restore tooltip placement prop 2018-11-21 23:11:41 +02:00
George Tsiolis 88e8ee0f6c Remove redundant specs for tooltip 2018-11-21 23:11:41 +02:00
George Tsiolis 02e7497166 Replace tooltip directive with gl-tooltip directive in badges, cycle analytics, and diffs 2018-11-21 23:11:41 +02:00
Mike Greiling 5b9495c5db
Prettify all the things 2018-11-20 09:30:01 -06:00
Phil Hughes db56c32c1e
Fixed the dimensions of image diffs
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/54236
2018-11-20 08:40:17 +00:00
Clement Ho 8b1f2823a2 Use @gitlab npm namespace 2018-11-16 19:29:11 +00:00
Filipa Lacerda da521deb5f Merge branch 'enable-image-comments-for-renamed-files' into 'master'
Fixed image commenting on moved files

See merge request gitlab-org/gitlab-ce!23023
2018-11-13 22:44:14 +00:00
Phil Hughes 73d3cb8c89
Fixed image commenting on moved files 2018-11-13 15:43:37 +00:00
Filipa Lacerda c6e704dd78
Updates ci header component with gitlab-ui
It reuses loading button instead of creating a new loading button
It uses the new gitlab-ui components
2018-11-13 09:47:00 -05:00
Filipa Lacerda 9d45332fd2
Updates clipboard button with gitlab-ui
Updates clipboard button component to use
the new glTooltipDirective and the new glButton
component from gitlab-ui
2018-11-09 16:14:06 +00:00
Filipa Lacerda dd98ce272a Replaces tooltip directive with gl-tooltip directive 2018-11-08 15:02:49 +00:00
Martin Wortschack f9e9c92140 Resolve "Follow-up from "Resolve "Redesign activity feed""" 2018-11-08 13:11:25 +00:00
Fatih Acet cd5ddc4f2e Discussions redesign 2018-11-08 07:58:45 +00:00
Constance Okoghenun baa37edd93 Resolve "Issue board card design" 2018-11-07 17:20:17 +00:00
Clement Ho c4aa33fc8b Remove gitlab-ui loading icon from global 2018-11-07 10:06:15 +00:00
Filipa Lacerda e1e315ee28 Merge branch 'mr-image-commenting' into 'master'
Re-implemented image commenting on diffs

Closes #48956

See merge request gitlab-org/gitlab-ce!22443
2018-11-07 10:04:54 +00:00
Phil Hughes 0485c04764
Fixed user avatar link render empty space 2018-11-07 08:25:02 +00:00
Lukas Eipert 26ab92d3f3
Improve performance of rendering large reports
Instead of rendering all report items in 4 big lists, we make use of
vue-virtual-scroll-list and render only few dozens at once. This
improves the performance in several metrics:

- Initial load time
- Memory Pressure
- CPU Load
- DOM node count

In an example with around 11k reported security vulnerabilities:

- Initial load time: 27s -> 4.1s
- Memory Pressure: ~750 MB -> ~270 MB
- CPU Load (time spent on executing JS/Rendering): 22s -> 2.5s
- DOM node count: 430k -> 7k up to 30k while scrolling
2018-11-06 11:39:11 +01:00
Clement Ho 701f0f5e55 Remove gitlab-ui's tooltip from global 2018-11-05 16:48:55 +00:00
Phil Hughes f7df9ddb52
Re-implemented image commenting on diffs
This re-implements image commenting in merge request diffs.
This feature was previously lost when the merge request
page was refactored into Vue.

With this, we create an overlay component. The overlay
component handles displaying the comment badges
and the comment form badge.
Badges are displayed based on the position attribute
sent with the discussion.

Comment forms for diff files are controlled through
a different state property. This is so we don't
tie comment forms to diff files directly creating
deep nested state. Instead we create a flat array
which holds the file hash & the X & Y position of
the comment form.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/48956
2018-11-05 14:02:41 +00:00
Clement Ho 795c0e3522 Merge branch 'replace-tooltip-in-markdown-component' into 'master'
Replace tooltip in markdown component with gl-tooltip

See merge request gitlab-org/gitlab-ce!21989
2018-11-01 22:26:19 +00:00
Achilleas Pipinellis 7f47e13218 Merge branch 'gt-update-typos-in-comments-and-specs' into 'master'
Fix typos in comments and specs

See merge request gitlab-org/gitlab-ce!22683
2018-11-01 10:34:23 +00:00
George Tsiolis 733ae94921 Fix typos in comments and specs 2018-11-01 08:59:20 +02:00
Filipa Lacerda 59d4a6d81c Merge branch 'prettify-all-remaining-things' into 'master'
Prettify remaining files with differences in CE and EE

See merge request gitlab-org/gitlab-ce!22702
2018-10-31 22:42:22 +00:00
George Tsiolis 45c001524d Replace tooltip in markdown component with gl-tooltip 2018-10-31 22:38:44 +02:00
Mike Greiling 160157a92b
Prettify remaining files with differences in CE and EE 2018-10-31 14:33:12 -05:00
Lukas Eipert 4ceabef9d2
Rename @gitlab-org/gitlab-svgs to @gitlab/svgs 2018-10-31 18:53:58 +01:00
Clement Ho 0179a562e6
Remove gitlab-ui's pagination from global 2018-10-30 16:30:31 -05:00
Clement Ho df587c15c4 Update gitlab-ui to 1.9.0 2018-10-29 23:16:10 +00:00
Kushal Pandya 8861885773 Update tooltip for when no date is present, port back EE changes 2018-10-29 15:08:53 +05:30
Winnie Hellmann 6bf2cb91bb Add validation for date strings passed to GlCountdown 2018-10-25 18:46:45 +02:00
Winnie Hellmann 6e680647c2 Add reusable component for counting down 2018-10-25 18:46:45 +02:00
Kushal Pandya 886e5d47ad Update pikaday method import path
Updates path for pikaday parsing methods
to import from `datetime_utility.js`
2018-10-25 15:10:35 +05:30
Phil Hughes 3b3aa28c4c
Use convertPermissionToBoolean to get a boolean 2018-10-23 19:24:48 +01:00
Phil Hughes d95465db2c
Dynamically truncate the text in the file row 2018-10-23 09:12:37 +01:00
Phil Hughes 2d00e7fce5
Add list mode to file browser in diffs
This adds toggle buttons to switch between file & tree list.
For file list, it renders the truncated paths with the ellipsis
at the start of the path.

When focusing the input, it hides the toggle buttons.
On blur, the buttons get shown again.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/51859
2018-10-23 09:12:36 +01:00
Filipa Lacerda 25170fbe7b Frontend: Review app changes 2018-10-22 08:31:24 +00:00
George Tsiolis 1af6ddffed Change markdown header tab anchor links to buttons 2018-10-19 11:35:33 +00:00
Clement Ho 741374e809 Merge branch 'sh-associate-rakefile-ruby' into 'master'
Associate Rakefile with Ruby icon in diffs

Closes #52654

See merge request gitlab-org/gitlab-ce!22341
2018-10-18 19:23:55 +00:00
Rémy Coutable 105a8c177f
[QA] Fix the 'clone using deploy key' tests
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-10-18 10:00:42 +02:00
Filipa Lacerda 5ed91cf81b Resolve "Integrate new vue+vuex code base with new API and remove old haml code" 2018-10-17 10:34:19 +00:00
Fatih Acet 1dfecf3e17 Merge branch 'prettify-all-the-things-6' into 'master'
Prettify all the things (part 6)

See merge request gitlab-org/gitlab-ce!22256
2018-10-16 18:40:28 +00:00
George Tsiolis 469dc95a95 Replace `<i>` in vue components with `<icon>` 2018-10-15 18:35:00 +00:00
Stan Hu 27326ac62c Associate Rakefile with Ruby icon in diffs
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/52654
2018-10-13 21:25:36 -07:00
Mike Greiling 3271c5f0f5
Prettify vue_shared modules 2018-10-10 02:49:49 -05:00
Mark Lapierre d36055cbef Add tests of adding file templates
Adds tests that adds new files via file templates via the Files view
and the Web IDE.

Includes changes to page objects and associated code

Fetches template content from the API rather than hardcoding strings
that will need to be updated if the templates change. Some of the
content is stored as flat files but we can't use them because they're
not included in the docker images gitlab-qa uses.
2018-10-09 11:17:02 -04:00
George Tsiolis e9f7908f5e Add button to insert table in markdown editor 2018-10-06 14:30:35 +00:00
Fabian Schneider b55c320c89 Resolve "Drop down filter for project snippets" 2018-10-05 09:42:38 +00:00
Filipa Lacerda c375171bfd Merge branch 'mr-file-tree-data' into 'master'
Merge Request file tree

Closes #14249

See merge request gitlab-org/gitlab-ce!21833
2018-10-03 10:30:15 +00:00
Phil Hughes 33c4c5b8f3
Added file tree to merge request diffs
This file tree displays all the diff files in a tree like format
Each file is taken and converted into a tree with folders
Each folder can be toggled open & closed
Clicking a file will scroll to the diff file & highlight with a glow affect

Searching the tree list will search only files & return a list of the
files without any folders

Each file row contains an icon to show changed, new file or deleted
Each row will also contain the added & removed lines count

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/14249
2018-10-03 10:05:43 +01:00
Jan Beckmann ceafbbd317 Resolve "Add "Link" shortcut/icon in markdown editor to make it easier to add references" 2018-10-02 13:59:42 +00:00
George Tsiolis 574bafbfa5 Add link component to download viewer component 2018-10-01 20:40:15 +00:00
George Tsiolis a9f1ef272b Add link component to user avatar link component 2018-10-01 20:38:31 +00:00
Jose Vargas 4bf8584845
Bump GitLab UI version and change the file imports to a single point of entry notation 2018-09-26 13:51:43 -05:00
Jose Ivan Vargas 3cf0ee6738 Add link component from gitlab-ui 2018-09-25 23:02:18 +00:00
Clement Ho 2a6cd526ac Add gitlab-ui skeleton loading 2018-09-25 20:03:40 +00:00
Mike Greiling f829b181bc
Resolve eslint-plugin-vue errors
The eslint-plugin-vue upgrade had some breaking changes to
vue/attribute-order which needed to be resolved in order to avoid
disabling the rule entirely
2018-09-20 02:39:50 -05:00
Filipa Lacerda 07c6c9db57 Merge branch 'decouple-file-row-from-ide' into 'master'
Decouple file row from IDE

See merge request gitlab-org/gitlab-ce!21742
2018-09-17 16:19:27 +00:00
Phil Hughes 163ec966c1
Decouple file row from IDE
This makes the file row component re-usable ouside of the Web IDE

Pre-request for https://gitlab.com/gitlab-org/gitlab-ce/issues/14249
2018-09-17 12:17:00 +01:00
Marcel Amirault 6876c7afa8 Fix grammar (setup to set-up) in code comments, spec, views, etc. 2018-09-17 09:17:33 +00:00
Adriel Santiago 106640e031
Use GitLab ui pagination component for groups 2018-09-11 21:16:43 -04:00
Clement Ho f815b48f39 Use gitlab-ui loading icon 2018-09-11 22:19:21 +00:00
Filipa Lacerda 5566588f1f Merge branch '6028-show-generic-percent-stacked-progress-bar' into 'master'
Show `< 1%` when percent value evaluated is less than 1 on Stacked Progress Bar

Closes gitlab-ee#6028

See merge request gitlab-org/gitlab-ce!21306
2018-08-26 09:05:47 +00:00
Paul Slaughter 243a209372 Create TooltipOnTruncate component to show tooltip only when needed 2018-08-21 08:20:38 -05:00
Kushal Pandya 60b16f460b Show `< 1%` when percent value evaluated is less than 1 2018-08-20 18:30:24 +05:30
Phil Hughes 0edfc82ffe Merge branch '49375-move-reports-code' into 'master'
Moves reports components to the reports folder

See merge request gitlab-org/gitlab-ce!21069
2018-08-09 14:34:51 +00:00
Tim Zallmann 8daf9db68f Porting MR Vue Memory Fixes to current master 2018-08-08 02:50:01 +00:00
Paul Slaughter 0d6e50d542 Create Web IDE MR and branch picker 2018-08-07 15:15:56 +00:00
Filipa Lacerda bcdc6f3119
Moves report components to reports folder 2018-08-07 16:06:38 +01:00
Phil Hughes bf699ff498 Merge branch 'kp-6927-epic-dates-from-milestone' into 'master'
Add `tabindex` attribute support on Icon component to show BS4 popover on trigger `focus`

See merge request gitlab-org/gitlab-ce!21066
2018-08-07 14:31:23 +00:00
Kushal Pandya f0c60bdccc Add `tabindex` attribute support to show BS4 popover on trigger `focus` 2018-08-07 19:05:38 +05:30
Paul Slaughter db739548fe Web IDE context header redesign 2018-08-07 13:19:13 +00:00
Sean McGivern b3deca7a26 Merge branch 'group-todos' into 'master'
Group todos

See merge request gitlab-org/gitlab-ce!20675
2018-08-07 12:35:32 +00:00
Tim Zallmann fac4f50cf6 Send resize parameters for avatars 2018-08-07 06:04:33 +00:00
Filipa Lacerda 4f4290ffed
Moves help_popover component to a common location 2018-08-03 16:14:55 +01:00
Phil Hughes 8a9421429d Merge branch '45318-junit-FE' into 'master'
Frontend code for "JUnit XML Test Summary In MR widget"

See merge request gitlab-org/gitlab-ce!20936
2018-08-03 13:24:48 +00:00
Filipa Lacerda b901df220c Merge branch 'ide-rename-files' into 'master'
Enable renaming files & folders in the Web IDE

Closes #44845

See merge request gitlab-org/gitlab-ce!20835
2018-08-03 10:00:48 +00:00
Filipa Lacerda 15511ed14f Changes after review:
- Cleans up CSS to use common classes
- Removes getters to use mapState instead
- Makes the first request even when tab is not visible
- Show loading state in 204
2018-08-02 17:59:25 +01:00
Filipa Lacerda bfeb7c2c3f Adds frontend support to render test reports on theMR widget
Creates an app to render grouped test reports in the MR widget
Ports CSS from EE into CE
Creates a reusable code component
Adds getters and utils to the existing reports store
2018-08-02 17:59:22 +01:00
Jarka Kadlecová 15179878d5 Revert "Revert "Merge branch 'ee-5481-epic-todos' into 'master'""
This reverts commit 8717c7dad9.
2018-08-02 10:42:45 +02:00
Paul Slaughter fbfe04401d Add vanilla JS avatar_helper and update existing avatar helpers 2018-08-01 19:43:50 +00:00
Rémy Coutable 83a0db0c55 Merge branch 'bvl-user-status-message-35463' into 'master'
Allow users to set a status

Closes #35463

See merge request gitlab-org/gitlab-ce!20614
2018-08-01 15:21:24 +00:00
Filipa Lacerda 202e37bbaf Resolve "Copy diff file path as GFM" is broken 2018-07-30 13:37:28 +00:00
Bob Van Landuyt f1d3ea63cf Show the status of a user in interactions
The status is shown for
- The author of a commit when viewing a commit
- Notes on a commit (regular/diff)
- The user that triggered a pipeline when viewing a pipeline
- The author of a merge request when viewing a merge request
- The author of notes on a merge request (regular/diff)
- The author of an issue when viewing an issue
- The author of notes on an issue
- The author of a snippet when viewing a snippet
- The author of notes on a snippet
- A user's profile page
- The list of members of a group/user
2018-07-30 15:01:26 +02:00
Phil Hughes 3c62b51ce9
fixed modal input not clearing 2018-07-30 11:45:16 +01:00
Sam Beckham da20731f8b Full list of vulnerabilities 2018-07-26 16:24:48 +00:00