gitlab-org--gitlab-foss/app/views/projects
Jacob Vosmaer 5e46662798 Merge branch 'commit-limits' into 'master'
Commit limits

Prevent timeouts when creating/viewing Merge Requests with many
commits. Also, reduce the number of commits shown in the UI from 500
to 100.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/14031

This MR avoids Unicorn timeouts in some places and takes 4.5 seconds
off load times in others, when manually testing with a 4500-commit
compare/MR in the linux repo. It does not limit the number of Commit
objects instantiated in memory, just the amount of HTML generated. It
seems that having 4500 commits objects is not a problem in itself. If
it ever becomes one we could do something for Commit objects like we
did for Diff (introduce a CommitCollection or something).

See merge request !3095
2016-03-09 16:39:07 +00:00
..
artifacts Move build artifacts javascripts into separate file 2016-01-21 15:51:44 +01:00
blame Added line links to blame table 2016-02-22 14:09:13 +00:00
blob Tell clients/proxies to cache raw blob requests 2016-03-03 17:59:47 +01:00
branches Cache & flush tag/branch counts 2016-03-08 18:19:40 +01:00
builds Show test coverage on project builds page 2016-02-22 19:33:25 +01:00
buttons Use Project creator's avatar in fork listing. #2406 2016-01-20 00:14:58 -05:00
commit Some updates from last code review. 2016-02-19 13:14:54 -05:00
commit_statuses Merge remote-tracking branch 'dev/master' into 'master' 2016-02-09 12:13:58 -05:00
commits Merge branch 'commit-limits' into 'master' 2016-03-09 16:39:07 +00:00
compare Change MR link to "View Open Merge Request" 2016-02-10 10:47:59 -02:00
deploy_keys
diffs Use Gitlab::Git::DiffCollections 2016-03-03 18:38:44 +01:00
find_file Fix project find url so branch ref is not nil 2016-01-19 21:39:48 -05:00
forks Refactor projects list 2016-03-03 13:09:58 +01:00
graphs Replace all navigation menu with nav-links class 2016-01-13 15:58:04 +01:00
hooks Issue #5817 wording of the web hooks updated on issue and merge events 2016-01-11 01:02:27 -02:00
imports
issues Fixes style consistencies. 2016-03-04 13:24:24 -05:00
labels Change js-quick-submit behavior to expect the class on the form 2016-03-02 15:11:15 -05:00
merge_requests Merge branch 'indicate-mr-diverged-from-target' into 'master' 2016-03-07 09:01:26 +00:00
milestones Updates from last code review. 2016-03-06 23:07:19 -05:00
network
notes Change js-quick-submit behavior to expect the class on the form 2016-03-02 15:11:15 -05:00
project_members Fix UI for pages with panels 2016-01-22 13:37:40 -08:00
protected_branches
refs Fixes issue with file view rows not clickable on project main view 2016-02-23 09:06:26 +00:00
releases Change js-quick-submit behavior to expect the class on the form 2016-03-02 15:11:15 -05:00
repositories
runners Fix files, project settings and few more pages with new layout 2016-01-14 11:55:15 +01:00
services
snippets
tags Change js-quick-submit behavior to expect the class on the form 2016-03-02 15:11:15 -05:00
tree Ensure link for README blobs includes the full path 2016-02-09 17:56:15 -05:00
triggers
variables Add information about expose of build variables. 2016-02-09 01:08:49 +01:00
wikis Change js-quick-submit behavior to expect the class on the form 2016-03-02 15:11:15 -05:00
_activity.html.haml Replace all navigation menu with nav-links class 2016-01-13 15:58:04 +01:00
_bitbucket_import_modal.html.haml
_commit_button.html.haml
_errors.html.haml
_files.html.haml Update files/diffs to match new layout 2016-01-14 12:31:31 +01:00
_find_file_link.html.haml Merge branch 'master' of github.com:gitlabhq/gitlabhq 2016-01-07 12:56:18 +01:00
_github_import_modal.html.haml
_gitlab_import_modal.html.haml
_home_panel.html.haml Move visibility icon next to project title 2016-02-18 18:08:11 -05:00
_last_commit.html.haml
_last_push.html.haml
_md_preview.html.haml Replace all navigation menu with nav-links class 2016-01-13 15:58:04 +01:00
_readme.html.haml
_zen.html.haml Autosize textareas 2016-01-13 14:51:07 -05:00
activity.html.haml
edit.html.haml Merge branch 'dz-small-ui-fixes' into 'master' 2016-02-23 15:38:20 +00:00
empty.html.haml Users don't get instructions to push to other users empty projects 2016-02-22 17:37:26 +00:00
go_import.html.haml
new.html.haml
no_repo.html.haml
remove_fork.js.haml
show.atom.builder Various filter fixes 2016-02-04 13:03:41 -05:00
show.html.haml Fix missing padding for user/group pages 2016-01-14 16:42:25 +01:00
transfer.js.haml
update.js.haml