Commit Graph

126 Commits

Author SHA1 Message Date
GitLab Bot 8e28b42532 Add latest changes from gitlab-org/gitlab@master 2020-11-26 21:09:22 +00:00
GitLab Bot fa6c2426a5 Add latest changes from gitlab-org/gitlab@master 2020-11-19 12:09:26 +00:00
GitLab Bot a08f8baa63 Add latest changes from gitlab-org/gitlab@master 2020-11-10 12:08:57 +00:00
GitLab Bot f3b9e205bb Add latest changes from gitlab-org/gitlab@master 2020-10-27 18:08:59 +00:00
GitLab Bot 61265b9f01 Add latest changes from gitlab-org/gitlab@master 2020-10-05 15:08:56 +00:00
GitLab Bot d57e27ef35 Add latest changes from gitlab-org/gitlab@master 2020-10-01 15:10:05 +00:00
GitLab Bot 9facfe5cb1 Add latest changes from gitlab-org/gitlab@master 2020-08-17 21:09:56 +00:00
GitLab Bot 5de7e7c72a Add latest changes from gitlab-org/gitlab@master 2020-07-16 03:09:12 +00:00
GitLab Bot 1b16af5ff9 Add latest changes from gitlab-org/gitlab@master 2020-06-17 21:08:24 +00:00
GitLab Bot 38a00c219f Add latest changes from gitlab-org/gitlab@master 2020-06-05 00:08:38 +00:00
GitLab Bot 63546c0b11 Add latest changes from gitlab-org/gitlab@master 2020-06-04 12:08:21 +00:00
GitLab Bot 2e2cd0ea3e Add latest changes from gitlab-org/gitlab@master 2020-06-02 00:08:07 +00:00
GitLab Bot 874ead9c3a Add latest changes from gitlab-org/gitlab@master 2020-04-14 15:09:44 +00:00
GitLab Bot 5064bf8c56 Add latest changes from gitlab-org/gitlab@master 2020-03-25 09:08:11 +00:00
GitLab Bot 232e0a31f1 Add latest changes from gitlab-org/gitlab@master 2020-03-13 21:09:38 +00:00
GitLab Bot 8c9dc985b9 Add latest changes from gitlab-org/gitlab@master 2020-02-12 06:09:05 +00:00
GitLab Bot e3e300557f Add latest changes from gitlab-org/gitlab@master 2020-01-08 12:07:59 +00:00
GitLab Bot 4aeb8a02c5 Add latest changes from gitlab-org/gitlab@master 2019-12-23 12:08:18 +00:00
GitLab Bot 898e2cc1df Add latest changes from gitlab-org/gitlab@master 2019-12-20 09:24:38 +00:00
GitLab Bot 8cc5f27909 Add latest changes from gitlab-org/gitlab@master 2019-12-13 12:07:41 +00:00
GitLab Bot fc53ce8e6c Add latest changes from gitlab-org/gitlab@master 2019-12-12 09:07:48 +00:00
GitLab Bot e464f195ff Add latest changes from gitlab-org/gitlab@master 2019-10-14 12:06:14 +00:00
GitLab Bot 2abb1b54c0 Add latest changes from gitlab-org/gitlab@master 2019-09-27 18:06:20 +00:00
Kushal Pandya 6044b3ed1e Add `searchBy` helper & `SidebarItemEpicsSelect`
- Adds `searchBy` util in common utils
- Adds placeholder `SidebarItemEpicsSelect`
2019-08-22 17:58:44 +05:30
Stan Hu 5fbbd3dd6e
Add support for Content-Security-Policy
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.
2019-08-07 12:37:31 +10: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
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
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
Justin Boyson fc0d638062 Add offset adjust to fix line position
Added offset adjustment for diff file header and version menus
container divs. This should make the linked line be visible.
2019-05-30 15:54:39 +00: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
Sam Bigelow bf47270e90 Improve diff navigation header
- 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
2019-04-05 14:57:01 -04:00
Sam Bigelow a9441396da Scroll to diff file when clicking on file name
- 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
2019-03-29 14:56:53 -04:00
Filipa Lacerda ec7835946a Creates a function to check if repo is EE
Adds EE information to gon
Creates a global vue mixin
2019-03-04 08:20:37 +00:00
Winnie Hellmann 532d43d52c Remove convertPermissionToBoolean() from common_utils.js 2019-02-21 11:05:16 +01:00
Constance Okoghenun 123da43182 CE Port of fix for roadmap forward timeline scroll
EE MR: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/9530
2019-02-13 20:37:08 +01:00
Adriel Santiago c974f4a82e
Handle window and container resize events
Resizes metrics graph on window and sidebard width changes
2019-02-04 08:04:45 -05:00
Kushal Pandya 93e58bf9b5 Support for ignore rules in 'convertObjectPropsToCamelCase' helper
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.
2019-01-31 17:02:46 +05:30
Winnie Hellmann 159c18221d Make parseBoolean idempotent 2019-01-15 06:04:37 +00:00
Winnie Hellmann 7999ca3224 Generate searchable JSDoc documentation 2019-01-14 21:46:21 +00:00
Kushal Pandya 214d741ba5 Add support for `offset` values in `isInViewport` 2019-01-08 18:37:21 +05:30
André Luís 85daddbec9 Resolve "Navigating unresolved discussions on Merge Request page" 2018-12-08 07:19:03 +00:00
Winnie Hellmann 47fad3353f Add parseBoolean helper function 2018-11-27 09:18:48 +01:00
Thomas Pathier 7ed62abf7e Resolve "The reply shortcut can add any text of the page to the "comment" text area" 2018-11-20 18:18:29 +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
Johann Hubert Sonntagbauer d366ea1438 circumvent browser cache on browser back navigation 2018-10-02 10:00:58 +00:00
André Luís 38beacc926 Resolve "Link to file in Changes tab of MR no longer works for all files after incremental rendering improvement" 2018-09-20 08:21:17 +00:00
Tim Zallmann 44cb8a7407 Merge branch 'boards-querystring-backport' into 'master'
don't add trailing = when in urlParamsToArray function

See merge request gitlab-org/gitlab-ce!21179
2018-09-07 10:20:27 +00:00
🌴🌴 Filipa Lacerda - OOO back on September 17th 🌴🌴 55582b4359 Adds Vuex store for the job log page 2018-09-03 07:49:52 +00:00
Simon Knox 8a5121eb8e don't add trailing = when in urlParamsToArray function 2018-08-29 06:28:06 +10:00
Kushal Pandya b487881494 Add `roundOffFloat` helper method 2018-07-24 12:58:08 +05:30