- 04 8月, 2016 2 次提交
-
-
由 Paco Guzman 提交于
-
由 Douwe Maan 提交于
-
- 03 8月, 2016 5 次提交
-
-
由 Paco Guzman 提交于
So we have raw_diffs too
-
由 Paco Guzman 提交于
This object will manage Gitlab::Git::Compare instances
-
由 Paco Guzman 提交于
Instead calling diff_collection.count use diff_collection.size which is cache on the diff_collection
-
由 Paco Guzman 提交于
Introducing the concept of SafeDiffs which relates diffs with UI highlighting.
-
由 Clement Ho 提交于
-
- 02 8月, 2016 8 次提交
-
-
由 Paco Guzman 提交于
Speedup DiffNote#active? on discussions, preloading noteables and avoid touching git repository to return diff_refs when possible - Preloading noteable we share the same noteable instance when more than one discussion refers to the same noteable. - Any other call to that object that is cached in that object will be for any discussion. - In those cases where merge_request_diff has all the sha stored to build a diff_refs get that diff_refs using directly those sha instead accessing to the git repository to first get the commits and later the sha.
-
由 Keith Pope 提交于
-
由 Keith Pope 提交于
-
由 winniehell 提交于
-
由 winniehell 提交于
-
由 Robert Speicher 提交于
Now we link to the standard `IssuesController#new` action, and let it redirect if we're using an external tracker.
-
由 Robert Speicher 提交于
Prior, in order to display the correct link to "Issues" in the project navigation, we were performing a check against the project to see if it used an external issue tracker, and if so, we used that URL. This was inefficient. Now, we simply _always_ link to `namespace_project_issues_path`, and then in the controller we redirect to the external tracker if it's present. This also removes the need for the url_for_issue helper. Bonus!
🎉 -
由 Stan Hu 提交于
-
- 01 8月, 2016 10 次提交
-
-
由 Ben Boeckel 提交于
-
由 Felipe Artur 提交于
-
由 Rémy Coutable 提交于
Signed-off-by: NRémy Coutable <remy@rymai.me>
-
由 Stan Hu 提交于
Closes #20440
-
由 zs 提交于
Provide more sensible default sort order for issues and merge requests based on the following table: | type | state | default sort order | |----------------|--------|--------------------| | issues | open | last created | | issues | closed | last updated | | issues | all | last created | | merge requests | open | last created | | merge requests | merged | last updated | | merge requests | closed | last updated | | merge requests | all | last created |
-
由 Phil Hughes 提交于
Fixed styling bugs
-
由 James Lopez 提交于
squashed - fixed label and milestone association problems, updated specs and refactored reader class a bit
-
由 Z.J. van de Weg 提交于
-
When importing a pull request from GitHub, the old and new branches may no longer actually exist by those names, but we need to recreate the merge request diff with the right source and target shas. We use these `target_branch_sha` and `source_branch_sha` attributes to force these to the intended values. But the reader methods were always looking up to the target/source branch head instead of check if these values was previously set.
-
由 lookatmike 提交于
-
- 30 7月, 2016 3 次提交
-
-
由 Stan Hu 提交于
On a merge request with over 1000 changed files, there were redundant calls to blob_text_viewable?, which incurred about 7% of the time. Improves #14775
-
由 Z.J. van de Weg 提交于
Also a couple of minor edits for this branch are included
-
由 Stan Hu 提交于
If somehow a user attempted to accept a merge request that had conflicts (e.g. the "Accept Merge Request" button or the MR itself was not updated), `MergeService` did not properly detect that a conflict occurred. It would assume that the MR went through without any issues and close the MR as though everything was fine. This could cause data loss if the source branch were removed. Closes #20425
-
- 29 7月, 2016 12 次提交
-
-
由 Phil Hughes 提交于
-
由 Phil Hughes 提交于
-
由 Phil Hughes 提交于
-
由 Phil Hughes 提交于
Updated other tests
-
由 Phil Hughes 提交于
Switches back to discussion tab when clicking jump to next unresolved button
-
由 Grzegorz Bizon 提交于
-
由 Paco Guzman 提交于
-
由 Z.J. van de Weg 提交于
-
由 Z.J. van de Weg 提交于
-
由 Z.J. van de Weg 提交于
This MR adds a string (thus max 255 chars) field to the enviroments table to expose it later in other features.
-
由 Phil Hughes 提交于
-
由 Yorick Peterse 提交于
The method Ability.issues_readable_by_user takes a list of users and an optional user and returns an Array of issues readable by said user. This method in turn is used by Banzai::ReferenceParser::IssueParser#nodes_visible_to_user so this method no longer needs to get all the available abilities just to check if a user has the "read_issue" ability. To test this I benchmarked an issue with 222 comments on my development environment. Using these changes the time spent in nodes_visible_to_user was reduced from around 120 ms to around 40 ms.
-