gitlab-org--gitlab-foss/spec/lib/gitlab/git
Francisco Javier López dde69bfb2a Added list_pages method to avoid loading all wiki pages content
Inside a wiki, when we show the sidebar or browse to the `pages`,
all page contents are retrieved from Gitaly and that is a waste
of resources, since no content from that pages are going to be
showed.

This MR introduces the method `ProjectWiki#list_pages`,
which uses new wiki_list_pages RPC call to retrieve
pages without content

Also in the `WikisController` we're using the method to show
pages in the sidebar and also on the `pages` page.
2019-04-25 04:19:07 +00:00
..
conflict
patches
attributes_at_ref_parser_spec.rb
attributes_parser_spec.rb
blame_spec.rb
blob_spec.rb
branch_spec.rb
bundle_file_spec.rb
commit_spec.rb Bring back Rugged implementation of ListCommitsByOid 2019-04-17 05:09:18 -07:00
compare_spec.rb
diff_collection_spec.rb
diff_spec.rb Autocorrect with RSpec/ExampleWording cop 2019-04-05 08:43:27 +00:00
diff_stats_collection_spec.rb
gitmodules_parser_spec.rb Autocorrect with RSpec/ExampleWording cop 2019-04-05 08:43:27 +00:00
hook_env_spec.rb
lfs_changes_spec.rb
lfs_pointer_file_spec.rb
merge_base_spec.rb
object_pool_spec.rb
pre_receive_error_spec.rb Allow custom hooks errors to appear in GitLab UI 2019-03-26 13:05:40 +13:00
push_spec.rb
raw_diff_change_spec.rb
remote_mirror_spec.rb
remote_repository_spec.rb
repository_cleaner_spec.rb Run rubocop -a 2019-03-13 13:42:43 +00:00
repository_spec.rb Make use of local ref if it is reachable 2019-04-19 16:01:49 -03:00
tag_spec.rb
tree_spec.rb Avoid excessive recursive calls with Rugged TreeEntries 2019-03-31 22:14:19 -07:00
user_spec.rb
util_spec.rb
wiki_spec.rb Added list_pages method to avoid loading all wiki pages content 2019-04-25 04:19:07 +00:00
wraps_gitaly_errors_spec.rb