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. |
||
---|---|---|
.. | ||
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 | ||
compare_spec.rb | ||
diff_collection_spec.rb | ||
diff_spec.rb | ||
diff_stats_collection_spec.rb | ||
gitmodules_parser_spec.rb | ||
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 | ||
push_spec.rb | ||
raw_diff_change_spec.rb | ||
remote_mirror_spec.rb | ||
remote_repository_spec.rb | ||
repository_cleaner_spec.rb | ||
repository_spec.rb | ||
tag_spec.rb | ||
tree_spec.rb | ||
user_spec.rb | ||
util_spec.rb | ||
wiki_spec.rb | ||
wraps_gitaly_errors_spec.rb |