dde69bfb2a
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. |
||
---|---|---|
.. | ||
blob_service_spec.rb | ||
blobs_stitcher_spec.rb | ||
cleanup_service_spec.rb | ||
commit_service_spec.rb | ||
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 | ||
ref_service_spec.rb | ||
remote_service_spec.rb | ||
repository_service_spec.rb | ||
storage_service_spec.rb | ||
storage_settings_spec.rb | ||
util_spec.rb | ||
wiki_service_spec.rb |