| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
- Adds `searchBy` util in common utils
- Adds placeholder `SidebarItemEpicsSelect`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A nonce-based Content-Security-Policy thwarts XSS attacks by allowing
inline JavaScript to execute if the script nonce matches the header
value. Rails 5.2 supports nonce-based Content-Security-Policy headers,
so provide configuration to enable this and make it work.
To support this, we need to change all `:javascript` HAML filters to the
following form:
```
= javascript_tag nonce: true do
:plain
...
```
We use `%script` throughout our HAML to store JSON and other text, but
since this doesn't execute, browsers don't appear to block this content
from being used and require the nonce value to be present.
|
|
|
|
|
| |
This reverts commit 28f2225bdfee4d353f07a766c6c8b29ba6181397, reversing
changes made to 96ae5bd83da31350e9856a290127d7aa1469710a.
|
|
|
|
| |
It will be hooked up to the markdown editor later
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Added offset adjustment for diff file header and version menus
container divs. This should make the linked line be visible.
|
|
|
|
|
| |
This change brings new Scoped labels to Issue board as well.
With the last change, this was missed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Compare versions header is full width except in the unified diff mode
with no tree sidebar
- Bar is always full width, but the content within stays centered when
unified and no tree sidebar
- File header is the same height as the "Compare versions header"
- aligns with the design system grid guidelines => 56px
- Diff file headers use a button group, switch icon order to open file
externally being the last option, all buttons will become icon buttons
(icon delivery by @dimitrieh)
- If a file header becomes sticky no rounded corner/double border
problem is visible anymore
|
|
|
|
|
|
| |
- Add an ID to the diff content
- handle clicking on file name in diffFileHeader when it is not a link
to another page but rather a link to an element on the page
|
|
|
|
|
| |
Adds EE information to gon
Creates a global vue mixin
|
| |
|
|
|
|
| |
EE MR: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/9530
|
|
|
|
| |
Resizes metrics graph on window and sidebard width changes
|
|
|
|
|
|
|
|
| |
Does following enhancements to `convertObjectPropsToCamelCase` helper;
- Adds support for `dropKeys` within options param
to discard properties.
- Adds support for `allowKeys` within options param
to skip converting property names.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
text area"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
after incremental rendering improvement"
|
|\
| |
| |
| |
| | |
don't add trailing = when in urlParamsToArray function
See merge request gitlab-org/gitlab-ce!21179
|
| | |
|
|/ |
|
| |
|
| |
|
|
|
|
| |
Partially addresses #47006.
|
| |
|
|
|
|
| |
Partially addresses #47006.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the initial reason for this change was that graphicsmagick does not
support writing to ico files. this fact lead to a chain of changes:
1. use png instead of ico (browser support is good enough)
2. render the overlays on the client using the canvas API. this way we
only need to store the original favion and generate the overlay versions
dynamically.
this change also enables (next step) to simplify the handling of the
stock favicons as well, as we don't need to generate all the versions
upfront.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\ |
|
| | |
|
|/ |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/40373
When copying some text from another note and paste,
it goes through `copy_as_gfm` `paste` handler
that calls `e.preventDefault()` which stops things.
But then when inserting the text, we manually trigger
an `input` event with jQuery which doesn't seem to be
picked up by Vue `v-model`.
Using copy/paste trick from https://stackoverflow.com/a/41046276/796832
|
| |
|
| |
|