- Dec 16, 2019
-
-
GitLab Bot authored
-
- Nov 29, 2019
-
-
GitLab Bot authored
-
- Oct 10, 2019
-
-
GitLab Bot authored
-
- Oct 08, 2019
-
-
GitLab Bot authored
-
- Sep 18, 2019
-
-
GitLab Bot authored
-
- Dec 27, 2018
-
-
Francisco Javier López authored
This commit, introduced in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/23812, fixes a problem creating a displaying image diff notes when the image is stored in LFS. The main problem was that `Gitlab::Diff::File` was returning an invalid valid in `text?` for this kind of files. It also fixes a rendering problem with other LFS files, like text ones. They LFS pointer shouldn't be shown when LFS is enabled for the project, but they were.
-
- Sep 11, 2018
-
-
Yorick Peterse authored
This whitelists all existing offenses for the various CodeReuse cops, of which most are triggered by the CodeReuse/ActiveRecord cop.
-
- Sep 07, 2018
-
-
gfyoung authored
Partially addresses #47424.
-
- Apr 08, 2018
-
-
blackst0ne authored
Rails 5.0 requires to explicitly permit attributes when building a URL using current `params` object. The `safe_params` helper allows developers to just call `safe_params.merge(...)` instead of manually adding `permit` to every call. https://github.com/rails/rails/pull/20868
-
- Feb 13, 2018
-
-
Filipa Lacerda authored
-
- Jan 09, 2018
-
-
Phil Hughes authored
Closes #41561
-
- Dec 12, 2017
-
-
Douwe Maan authored
-
- Nov 17, 2017
-
-
Phil Hughes authored
-
- Nov 16, 2017
-
-
Jacopo authored
Adds a rubocop rule (with autocorrect) to ensure line break after guard clauses.
-
- Oct 02, 2017
-
-
Douwe Maan authored
-
- Aug 03, 2017
-
-
Phil Hughes authored
This makes navigating through diff files quickly. Currently we just toggle a list, which could be pretty big. This moves it into a dropdown to make it much easier. Also includes a filter bar to quickly search for certain files/extensions. Closes #29778
-
- Jul 28, 2017
-
-
Sean McGivern authored
When you change the diff view (inline / side-by-side), we set a cookie based on that new view. When you add a comment, we choose the style to use in the response based on that cookie. However, when you have just changed diff style, the request cookie will contain the old value, so we should use the view param instead.
-
- Jul 05, 2017
-
-
Douwe Maan authored
-
- Jun 19, 2017
-
-
Douwe Maan authored
-
- Jun 14, 2017
-
-
Douwe Maan authored
-
-
- May 31, 2017
-
-
Valery Sizov authored
-
- May 29, 2017
-
-
Douwe Maan authored
-
- May 26, 2017
-
-
Douwe Maan authored
-
- May 23, 2017
-
-
Douwe Maan authored
-
Douwe Maan authored
-
Douwe Maan authored
-
- May 12, 2017
-
-
Douwe Maan authored
-
- May 10, 2017
-
-
Rémy Coutable authored
Use the EnforcedStyleForMultiline: no_comma option. Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
- Apr 10, 2017
-
-
Douwe Maan authored
-
- Apr 05, 2017
-
-
- Jan 12, 2017
-
-
Felipe Artur authored
-
- Dec 09, 2016
-
-
Robert Speicher authored
Don't accidentally mark unsafe diff lines as HTML safe Fixes potential XSS issue when a legacy diff note is created on a merge request whose diff contained HTML See https://gitlab.com/gitlab-org/gitlab-ce/issues/25249 See merge request !2040
-
- Nov 28, 2016
-
-
Sean McGivern authored
-
Sean McGivern authored
In the browser, we remove the + and - signs from the front of a diff line because we add them in with CSS, so they aren't copied. We can't do that in an email, because the CSS isn't supported, so we should keep them in that case.
-
- Nov 04, 2016
-
-
Hiroyuki Sato authored
-
- Aug 10, 2016
-
-
Paco Guzman authored
-
- Aug 04, 2016
-
-
Tim Masliuchenko authored
-
- Aug 03, 2016
-
-
Paco Guzman authored
So we have raw_diffs too
-
Paco Guzman authored
Instead calling diff_collection.count use diff_collection.size which is cache on the diff_collection
-