Cache highlighted diff lines for merge requests
Introducing the concept of SafeDiffs which relates diffs with UI highlighting.
显示
- CHANGELOG 1 个添加, 0 个删除CHANGELOG
- app/controllers/concerns/diff_for_path.rb 3 个添加, 3 个删除app/controllers/concerns/diff_for_path.rb
- app/controllers/projects/commit_controller.rb 2 个添加, 2 个删除app/controllers/projects/commit_controller.rb
- app/controllers/projects/compare_controller.rb 3 个添加, 3 个删除app/controllers/projects/compare_controller.rb
- app/controllers/projects/merge_requests_controller.rb 7 个添加, 3 个删除app/controllers/projects/merge_requests_controller.rb
- app/helpers/commits_helper.rb 2 个添加, 2 个删除app/helpers/commits_helper.rb
- app/helpers/diff_helper.rb 5 个添加, 6 个删除app/helpers/diff_helper.rb
- app/models/merge_request.rb 2 个添加, 0 个删除app/models/merge_request.rb
- app/models/safe_diffs.rb 5 个添加, 0 个删除app/models/safe_diffs.rb
- app/models/safe_diffs/base.rb 55 个添加, 0 个删除app/models/safe_diffs/base.rb
- app/models/safe_diffs/commit.rb 10 个添加, 0 个删除app/models/safe_diffs/commit.rb
- app/models/safe_diffs/compare.rb 10 个添加, 0 个删除app/models/safe_diffs/compare.rb
- app/models/safe_diffs/merge_request.rb 52 个添加, 0 个删除app/models/safe_diffs/merge_request.rb
- app/services/merge_requests/merge_request_diff_cache_service.rb 8 个添加, 0 个删除...rvices/merge_requests/merge_request_diff_cache_service.rb
- app/views/notify/repository_push_email.html.haml 1 个添加, 1 个删除app/views/notify/repository_push_email.html.haml
- app/views/projects/commit/show.html.haml 1 个添加, 1 个删除app/views/projects/commit/show.html.haml
- app/views/projects/compare/show.html.haml 1 个添加, 1 个删除app/views/projects/compare/show.html.haml
- app/views/projects/diffs/_diffs.html.haml 0 个添加, 2 个删除app/views/projects/diffs/_diffs.html.haml
- app/views/projects/diffs/_file.html.haml 2 个添加, 2 个删除app/views/projects/diffs/_file.html.haml
- app/views/projects/diffs/_text_file.html.haml 1 个添加, 1 个删除app/views/projects/diffs/_text_file.html.haml
app/models/safe_diffs.rb
0 → 100644
app/models/safe_diffs/base.rb
0 → 100644
app/models/safe_diffs/commit.rb
0 → 100644
app/models/safe_diffs/compare.rb
0 → 100644
app/models/safe_diffs/merge_request.rb
0 → 100644
想要评论请 注册 或 登录