| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Autocompletion for references happens on the frontend. Those references
are turned into actual references on the backend, but only after
Markdown processing has happened. That means that if a reference
contains a character that Markdown might consume, it won't render
correctly. So we need to do some escaping on the frontend.
We have these potential problem characters:
https://docs.gitlab.com/ee/user/markdown.html#emphasis
1. ~ - this is ~~strikethrough~~, but only when doubled.
2. _ - used for _emphasis_, doubled is __bold__.
3. * - also used for *emphasis*, doubled is **bold** also.
4. ` - used for `code spans`, any number works.
We don't need to escape `-` any more. When it comes to being inside a
word:
1. a~~b~~ has strikethrough, so it needs to be escaped everywhere.
2. a_b_ has no emphasis (see [a]) so it only needs to be escaped at the
start and end of words.
3. a*b* has emphasis, so it needs to be escaped everywhere.
4. a`b` has a code span, so it needs to be escaped everywhere.
Or, in code terms:
1. Always escape ~~, *, and ` when being inserted by autocomplete.
2. Escape _ when it's either at the beginning or the end of a word.
[a]: https://docs.gitlab.com/ee/user/markdown.html#multiple-underscores-in-words
|
|
|
|
|
|
| |
Bacport of Snowplow tracking for
- Reply comment button
- Start discussion and Comment buttons
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
into 'master'
Resolve "Merge Request popover doesn't go away on mouse leave"
Closes #60241
See merge request gitlab-org/gitlab-ce!27143
|
| |
| |
| |
| | |
Add a check to make sure eventListener is not added twice
|
|/
|
|
|
|
| |
**Why?**
This function was not being used and it's
documentation was out of date.
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
Increase clusters bundle specs timeout
Closes #60398
See merge request gitlab-org/gitlab-ce!27269
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Fixes Web IDE not loading merge request files
Closes #60243
See merge request gitlab-org/gitlab-ce!27225
|
| |/
| |
| |
| | |
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/60243
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| | |
Enable ESLint rule jest/no-identical-title
See merge request gitlab-org/gitlab-ce!27139
|
| | |
|
| | |
|
| | |
|
| | |
|
|/ |
|
| |
|
|
|
|
|
|
| |
Move cluster applications manager tests from karma to jest. Fixes
some migration issues related with timeouts, and HTTP request
expectations.
|
|
|
|
| |
Sync mode by default will soon be removed.
|
| |
|
|
|
|
|
| |
These tests cause master failures because of an overflow
in vue-test-utils sync watcher setup.
|
|\
| |
| |
| |
| |
| |
| | |
'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
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Resolve "Shortcut to create merge request from Web IDE"
Closes #57482
See merge request gitlab-org/gitlab-ce!26792
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
Before the user had to choose between committing to a new branch,
committing to a new branch AND creating an MR, or committing to the
current branch regardless of whether or not it already has an MR.
This commit separates the creation of an MR from whether or not they
commit to an existing or new branch
|
|\ \
| | |
| | |
| | |
| | | |
[CE] Add mutually exclusive labels
See merge request gitlab-org/gitlab-ce!26804
|
| | |
| | |
| | |
| | | |
Scoped labels in EE require additional changes in CE code.
|
| | |
| | |
| | |
| | |
| | | |
Corrects an issue whereby queries which return multiple series results
were not rendering as multiple data series on the metrics dashboard
|
| | |
| | |
| | |
| | |
| | |
| | | |
* Fix up graph resize logic if navbar is collapsed
Add snapshot
|
|/ /
| |
| |
| |
| | |
- added suggestions to mock data
- fixed props to be not required
|
|/
|
|
| |
into feature/webide_escaping
|
|\
| |
| |
| |
| |
| |
| | |
Fail Jest tests for unhandled Promise rejections
Closes #56053
See merge request gitlab-org/gitlab-ce!26424
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Add helpers for HTML fixtures to Jest
Closes #57998
See merge request gitlab-org/gitlab-ce!26739
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| |_|/
|/| |
| | |
| | | |
Disable Vue tips when running Jest
See merge request gitlab-org/gitlab-ce!26717
|
| |/ |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Set gon.ee in Jest
Closes #59634
See merge request gitlab-org/gitlab-ce!26713
|