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-09-13Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-08-21New wiki page redirects user to random slugLuke Duncalfe
Previously we asked a user to enter a new slug before taking them to the Create Page page. As a UX improvement, we now take them to a randomly generated URI so they can begin creating their new page. https://gitlab.com/gitlab-org/gitlab-ce/issues/46299
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-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-03-26Allow multiple repositories per projectBob Van Landuyt
This changes the repository type from a binary `wiki?` to a type. So we can have more than 2 repository types. Now everywhere we called `.wiki?` and expected a boolean, we check that type.
2019-03-17Fix Error 500 when user commits Wiki page with no commit messageStan Hu
Previously if a user submitted a blank commit message, Gitaly would error out with `3:WikiWritePage: empty CommitDetails.Message` since Gitaly checks whether any content is present for the message. We now use a default commit message if a user leaves it blank. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/59065
2019-02-06Add convenience methods for creating project and Wiki repositoriesStan Hu
This makes it easier to access other project arguments in the future.
2019-02-06Send project name with Gitaly repository requestsStan Hu
When hashed storage is in use, it's helpful to have the project name associated with the request. Closes https://gitlab.com/gitlab-org/gitaly/issues/1394
2018-09-21Correct Gitlab Capitalization in code filesMarcel Amirault
2018-09-18Guard against regressions in commit email specsNick Thomas
2018-09-17Use commit email for wiki actionsNick Thomas
2018-07-25Use limit parameter to retrieve Wikis from GitalyStan Hu
Without this parameter, every load of a Wiki page will load all the Wiki pages in the repository for the sidebar. This is a significant performance penalty that can significant slow the display of all Wiki pages. Relates to #40101
2018-07-13Merge remote-tracking branch 'upstream/master' into 14995-custom_wiki_sidebarLin Jen-Shin
* upstream/master: (467 commits) Update docs board features tier Upgrade grape-path-helpers to 1.0.6 Remove healthchecks from prometheus endpoint Fix find_branch call sites Ensure Encoding.default_external is set to UTF-8 when running QA scenarios i18n: externalize strings from 'app/views/admin/groups' Backport mr widget changes from EE Allow to toggle notifications for issues due soon Vuex test helper improvements whitespace Make more ref RPC's mandatory Resolve "Improve performance of MR Changes tab: reduce event listeners on scroll event" Remove old service architecture from Vue docs Adding spec to test basic forking functionalities Fix performance problem of accessing tag list for projects api endpoints typo Add sleep to QA test before installing tiller Include Vue files that are not covered by tests in test coverage Remove Repository#path memoization Resolve "do not set updated_at when creating note" ...
2018-07-12Optimize ProjectWiki#empty? checkStan Hu
The `empty?` check was iterating over all Wiki pages to determine whether it was empty. Using the limit parameter allows us to bail out early once we found a page. Note that this currently only improves performance for GitLab 11.0 until https://gitlab.com/gitlab-org/gitaly/issues/1204 is fixed. Relates to #40101
2018-07-09Updates from `rubocop -a`Lin Jen-Shin
2018-06-27Merge remote-tracking branch 'upstream/master' into 14995-custom_wiki_sidebarLin Jen-Shin
* upstream/master: (4180 commits) Enable frozen string literals for app/workers/*.rb Resolve "Search dropdown hides & shows when typing" Revert merge request widget button max height Update CHANGELOG.md for 11.0.2 Update external link icon in header user dropdown Added Diff Viewer to new VUE based MR page Fixed eslint failure in IDE spec helpers Use refs instead of querySelector. Show file in tree on WebIDE open Resolve "Remove unused bootstrap component CSS" Resolve "Explain what Groups are in the New Group page" [QA] Make sure we wait for the deploy key list to load Update _scopes_form.html.haml to remove duplicate information Use the branch instead of the tag to install port the EE changes Add index on deployable_type/id for deployments Add a helper to rename a column using a background migration Fix performance bottleneck when rendering large wiki pages Port Namespace#root_ancestor to CE Remove duplicate spec ...
2018-06-04Add ability to search wiki titlesFrancisco Javier López
2018-04-25Gitlab::Shell works on shard name, not pathZeger-Jan van de Weg
Direct disk access is done through Gitaly now, so the legacy path was deprecated. This path was used in Gitlab::Shell however. This required the refactoring in this commit. Added is the removal of direct path access on the project model, as that lookup wasn't needed anymore is most cases. Closes https://gitlab.com/gitlab-org/gitaly/issues/1111
2018-04-18Fix Custom hooks are not triggered by UI wiki editFrancisco Javier López
2018-03-26Introduce #find_sidebar and use a constant to find the pageLin Jen-Shin
2018-03-14Change Gitlab::Shell#add_namespace to #create_namespaceZeger-Jan van de Weg
Prior to this change, this method was called add_namespace, which broke the CRUD convention and made it harder to grep for what I was looking for. Given the change was a find and replace kind of fix, this was changed without opening an issue and on another feature branch. If more dynamic calls are made to add_namespace, these could've been missed which might lead to incorrect bahaviour. However, going through the commit log it seems thats not the case.
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
2017-11-17Resolve "Performance issues when loading large number of wiki pages"Francisco Javier López
2017-11-15Fix dumping hashed storage based repositoryGabriel Mazetto
2017-11-03Create a Wiki Repository's raw_repository properlyAlejandro Rodríguez
2017-10-03Hide Gollum inside Gitlab::Git::WikiJacob Vosmaer (GitLab)
2017-09-29Create repositories via GitalyJacob Vosmaer
2017-08-03Allow wiki pages to be renamed in the UIwendy0402
2017-08-01Make disk_path keyword argument and optionalGabriel Mazetto
2017-08-01Rename more path_with_namespace -> full_path or disk_pathGabriel Mazetto
2017-08-01Rename many path_with_namespace -> full_pathGabriel Mazetto
2017-07-07Don't show auxiliary blob viewer for README when there is no wikiDouwe Maan
2017-07-05Create and use project path helpers that only need a project, no namespaceDouwe Maan
2017-06-28Add ProjectWiki#ensure_repositoryDouglas Barbosa Alexandre
2017-05-30Don't allow to pass a user to ProjectWiki#http_url_to_repoRémy Coutable
This partially reverts be25bbc4d2c7e3d5cf3da6f51cb7f7355295ef52. Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-05-04Update last_repository_updated_at when the wiki is updatedDouglas Barbosa Alexandre
2017-03-20Fix ProjectWiki#http_url_to_repo signatureRémy Coutable
New Gitlab::UrlSanitizer.http_credentials_for_user method responsible for generating a credentials hash from a user. Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-03-01Enable and autocorrect the CustomErrorClass copSean McGivern
2017-02-23Move up delegate callsDouwe Maan
2017-02-23Enable Rails/DelegateDouwe Maan
2017-02-23Enable Style/MutableConstantDouwe Maan
2017-02-16Use gitlab shell import instead of manually creating the webhooksJames Lopez
Also update repo restorer to use project wiki method.
2016-11-16Search for a filename in a projectValery Sizov
2016-08-13Add method missing from EEAlejandro Rodríguez
2016-06-30Refactor repository paths handling to allow multiple git mount pointsAlejandro Rodríguez
2016-05-31Codestyle changesGabriel Mazetto
2016-05-31Fix hook data for Wiki Page eventGabriel Mazetto
Added "wiki" section and removed "repository"
2016-05-13Use the relative url prefix for links in WikiArtem Sidorenko
2016-05-13Codestyle: make sure we have space around operatorsGabriel Mazetto