Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-04-25Added list_pages method to avoid loading all wiki pages contentFrancisco Javier López
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-12Fix grouping wiki pages by directoryIgor
If a page has the same name as a directory the WikiPage#group_by_directory method can have a wrong behaviour This commit fixes it
2019-04-04Allow to sort wiki pages by date and titleIgor
- Add controls for sorting by title and date - Execute Gitaly call which now accepts sorting params for wikis
2019-04-01Add # frozen_string_literal to spec/modelsThong Kuah
Adds `# frozen_string_literal: true` to spec/models ruby files
2018-11-20Revert "Merge branch 'revert-e2aa2177' into 'master'"Zeger-Jan van de Weg
This reverts merge request !23229
2018-11-20Revert "Merge branch 'zj-improve-gitaly-pb' into 'master'"Sean McGivern
This reverts merge request !23140
2018-11-19Remove duplicate tests for GitalyZeger-Jan van de Weg
The disabling of Gitaly was basically stubbing `Feature.enabled?` call, which was never triggered.
2018-11-07Fix bug with wiki page create messageFrancisco Javier López
2018-10-17Harden the wiki against missing last_versionsNick Thomas
Currently, we assume a "last_version" always exists for a wiki page. In production, this is not always true. So, guard uses of it with a null check.
2018-10-02Remove Gitlab::Git::Repository#rugged and Gollum codeAlejandro Rodríguez
Cleanup code, and refactor tests that still use Rugged. After this, there should be no Rugged code that access the instance's repositories on non-test environments. There is still some rugged code for other tasks like the repository import task, but since it doesn't access any repository storage path it can stay.
2018-07-17Simplify WikiPage#hook_attrs specSean McGivern
2018-06-20Fix hook data specsSean McGivern
2018-06-20Passing absolute image urls in the markdown content in the webhooksSatish Perala
2018-05-07Bump Gitaly to 0.98.0Zeger-Jan van de Weg
Hooks were run for wikis, but given the internal API wasn't responding failures happended, as seen on: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/18693
2018-04-18Fix Custom hooks are not triggered by UI wiki editFrancisco Javier López
2018-02-07Removing gitaly flagsFrancisco Javier López
2018-02-06Merge branch 'master' into 'zj-wiki-page-versions'Douwe Maan
# Conflicts: # Gemfile # Gemfile.lock
2018-02-05Allow moving wiki pages from the UIFrancisco Javier López
2018-01-30Migrate fetching wiki page formatted content to GitalyAhmad Sherif
Closes gitaly#958
2018-01-24Add formatted_data attribute to Git::WikiPageAhmad Sherif
Related to #39805
2018-01-22Client implementation for WikiPageVerionZeger-Jan van de Weg
Part of gitlab-org/gitaly#639
2017-11-17Resolve "Performance issues when loading large number of wiki pages"Francisco Javier López
2017-10-31Migrate Gitlab::Git::Wiki#delete_page to GitalyAhmad Sherif
Closes gitaly#673
2017-10-03Hide Gollum inside Gitlab::Git::WikiJacob Vosmaer (GitLab)
2017-08-30Unescape HTML characters in Wiki titleJacopo
The special characters of a wiki title are now escaped correctly.
2017-08-07Merge branch 'wiki_title' into 'master'Robert Speicher
add feature rename wiki title Closes #27800 See merge request !10069
2017-08-03Allow wiki pages to be renamed in the UIwendy0402
2017-08-03Change all `:empty_project` to `:project`Robert Speicher
2017-07-27Merge branch '1827-prevent-concurrent-editing-wiki' into 'master'Robert Speicher
Prevent concurrent editing wiki Closes #1827 See merge request !9707
2017-07-27Encapsulate the commit.sha logicHiroyuki Sato
2017-07-27Use described_class when possibleRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-27Remove superfluous lib: true, type: redis, service: true, models: true, ↵Rémy Coutable
services: true, no_db: true, api: true Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-23Refactor: use keyword arguments for optional parametersHiroyuki Sato
2017-07-23Change double quotes to single quotesHiroyuki Sato
2017-07-23Merge branch 'master' into 1827-prevent-concurrent-editing-wikiHiroyuki Sato
Conflicts: app/controllers/projects/wikis_controller.rb app/views/projects/wikis/edit.html.haml spec/features/projects/wiki/user_updates_wiki_page_spec.rb
2017-06-21Enable Style/DotPosition Rubocop :cop:Grzegorz Bizon
2017-03-08Prevent concurrent editing wikiHiroyuki Sato
2017-02-14Make WikiPage comparable according to StaticModel interfaceMark Fletcher
* Add WikiPage#id method returning associated SHA for wiki page commit
2017-01-30Add WikiPage.unhyphenizeAlex Braha Stoll
2016-12-31Change WikiPage#directoryAlex Braha Stoll
2016-12-31Remove WikiPage#full_pathAlex Braha Stoll
2016-12-31Add WikiPage#to_partial_pathAlex Braha Stoll
2016-12-31Change WikiPage.group_by_directory to use WikiDirectoryAlex Braha Stoll
2016-12-31Change WikiPage.group_by_directory to order by directory and file ↵Alex Braha Stoll
alphabetical order
2016-12-31Change WikiPage#directory to always start a directory hierarchy with '/'Alex Braha Stoll
2016-12-31Add component to show the full path of a wiki page when viewing its contentAlex Braha Stoll
2016-12-31Add specs for WikiPage.group_by_directoryAlex Braha Stoll
2016-12-31Show directory hierarchy when listing wiki pagesAlex Braha Stoll
2016-08-09adds second batch of tests changed to active tensetiagonbotelho
2016-01-29Fix old version warning when viewing wiki latest version via version_idDouglas Barbosa Alexandre