gitlab-org--gitlab-foss/spec/lib/gitlab/gitaly_client
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
..
blob_service_spec.rb
blobs_stitcher_spec.rb
cleanup_service_spec.rb
commit_service_spec.rb Allow ref name caching CommitService#find_commit 2019-03-27 14:46:39 -05:00
conflict_files_stitcher_spec.rb
conflicts_service_spec.rb
diff_spec.rb
diff_stitcher_spec.rb
health_check_service_spec.rb
notification_service_spec.rb
object_pool_service_spec.rb
operation_service_spec.rb Allow custom hooks errors to appear in GitLab UI 2019-03-26 13:05:40 +13:00
ref_service_spec.rb GitalyClient spec: Remove the diff between CE/EE 2019-03-26 17:17:57 +01:00
remote_service_spec.rb
repository_service_spec.rb
storage_service_spec.rb
storage_settings_spec.rb Bring back Rugged implementation of find_commit 2019-03-01 08:45:51 -08:00
util_spec.rb
wiki_service_spec.rb Added list_pages method to avoid loading all wiki pages content 2019-04-25 04:19:07 +00:00