GitLab Bot
d08bee6aaf
Add latest changes from gitlab-org/gitlab@master
2021-06-30 09:08:07 +00:00
GitLab Bot
793d974d7c
Add latest changes from gitlab-org/gitlab@master
2021-05-14 12:10:58 +00:00
GitLab Bot
9c6578ed4e
Add latest changes from gitlab-org/gitlab@master
2021-04-21 15:09:35 +00:00
GitLab Bot
413119517c
Add latest changes from gitlab-org/gitlab@master
2021-04-07 18:09:45 +00:00
GitLab Bot
fa99f37af2
Add latest changes from gitlab-org/gitlab@master
2021-02-15 00:09:04 +00:00
GitLab Bot
a87ae2e97e
Add latest changes from gitlab-org/gitlab@master
2020-10-07 21:08:21 +00:00
GitLab Bot
6ab9cdec26
Add latest changes from gitlab-org/gitlab@master
2020-10-06 12:08:38 +00:00
GitLab Bot
f2eb66fef8
Add latest changes from gitlab-org/gitlab@master
2020-08-21 03:10:16 +00:00
GitLab Bot
840d5ecdbb
Add latest changes from gitlab-org/gitlab@master
2020-07-02 15:09:08 +00:00
GitLab Bot
2baa63e740
Add latest changes from gitlab-org/gitlab@master
2019-11-05 18:08:34 +00:00
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
Igor
866b58a54e
Allow to sort wiki pages by date and title
...
- Add controls for sorting by title and date
- Execute Gitaly call which now accepts sorting params for wikis
2019-04-04 16:28:56 +00:00
gfyoung
ebf98f27c4
Enable even more frozen string in lib/gitlab
...
Enables frozen string for the following:
* lib/gitlab/fogbugz_import/**/*.rb
* lib/gitlab/gfm/**/*.rb
* lib/gitlab/git/**/*.rb
* lib/gitlab/gitaly_client/**/*.rb
* lib/gitlab/gitlab_import/**/*.rb
* lib/gitlab/google_code_import/**/*.rb
* lib/gitlab/gpg/**/*.rb
* lib/gitlab/grape_logging/**/*.rb
* lib/gitlab/graphql/**/*.rb
* lib/gitlab/graphs/**/*.rb
* lib/gitlab/hashed_storage/**/*.rb
* lib/gitlab/health_checks/**/*.rb
Partially address gitlab-org/gitlab-ce#47424 .
2018-11-13 11:42:15 -08:00
Bob Van Landuyt
81f5955eb6
Move Repository#wrapped_gitaly_errors into concern
...
Having this in a concern allows us to reuse it for different single
purpose classes that call out to git without going through the
repository every time.
2018-10-30 15:53:46 +01:00
Nick Thomas
c5bff77ea4
Remove a dependency on gitlab-gollum-lib
...
Inlining this code allows us to remove a dependency on gitlab_grit in
gitlab-ce. We can't stop maintaining gitlab_grit yet, since gitaly-ruby
still depends on this gem, but it moves us a step closer.
2018-10-16 12:53:30 +01:00
Nick Thomas
c7be9f5cac
Remove a dependency on gitlab-gollum-lib
...
Removing this dependency also allows us to remove a transitive
dependency on gitlab_grit - which is the whole point of this exercise.
I don't think we can EOL gitlab_grit until it's removed as a dependency
from gitaly-ruby, but this at least gets it out of gitlab-ce.
2018-10-16 12:53:30 +01:00
Alejandro Rodríguez
a99bf447a2
Remove Gitlab::Git::Repository#rugged and Gollum code
...
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-10-02 16:34:28 -03:00
Michael Kozono
f107bc69e3
Simplify by using Gitlab::SafeRequestStore
...
These are clear wins.
2018-09-24 12:11:26 -07:00
Alejandro Rodríguez
d3c5b07962
Remove Rugged and shell code from Gitlab::Git
2018-09-12 12:32:32 -03:00
Stan Hu
c8ff6b7c73
Use limit parameter to retrieve Wikis from Gitaly
...
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-24 15:36:31 -07:00
Jacob Vosmaer (GitLab)
14000a561b
Make Gitaly wiki RPC's mandatory
2018-06-18 08:19:11 +00:00
Kim Carlbäcker
cb2a541027
Move Wiki::GetFormattedData to OptOut
2018-05-22 15:58:36 +00:00
Zeger-Jan van de Weg
4cf3a6094a
Wiki Find Page to opt_out
...
Closes https://gitlab.com/gitlab-org/gitaly/issues/894
2018-05-11 09:30:08 +02:00
Francisco Javier López
c921e686b8
Moved committer and spec. Added some extra code to run hooks or not depending on the options
2018-04-23 10:56:46 +00:00
Francisco Javier López
e8a27a67fa
Fix Custom hooks are not triggered by UI wiki edit
2018-04-18 17:50:56 +00:00
Ahmad Sherif
d0a1da526e
Remove calls to clear_cache from Git::Wiki
...
They were probably added to compensate for tests shortcomings, but now
they don't complain.
Closes gitaly#1095
2018-03-21 18:08:09 +01:00
Kim Carlbäcker
17b91050ba
Re-enable the remaning Wiki Gitaly-Endpoints
2018-02-28 13:23:26 +00:00
Francisco Javier López
d40912bb49
Removing gitaly flags
2018-02-07 16:33:12 +00:00
Douwe Maan
5db5a9cbd1
Merge branch 'master' into 'zj-wiki-page-versions'
...
# Conflicts:
# Gemfile
# Gemfile.lock
2018-02-06 16:08:06 +00:00
Francisco Javier López
27c08a1689
Allow moving wiki pages from the UI
2018-02-05 17:17:21 +00:00
Ahmad Sherif
fa9d47f221
Migrate fetching wiki page formatted content to Gitaly
...
Closes gitaly#958
2018-01-30 17:19:39 +01:00
Zeger-Jan van de Weg
a29f0c28fd
Allow pagination for WikiVersions on Gitaly request
2018-01-22 14:56:28 +01:00
Zeger-Jan van de Weg
1c0437d95e
Client implementation for WikiPageVerion
...
Part of gitlab-org/gitaly#639
2018-01-22 10:08:46 +01:00
Francisco Javier López
ff26ea818c
Resolve "Performance issues when loading large number of wiki pages"
2017-11-17 11:48:32 +00:00
Alejandro Rodríguez
282e7f8eab
Incorporate Gitaly's WikiService.WikiGetAllPages RPC
2017-11-13 16:54:50 -03:00
Kim "BKC" Carlbäcker
00ce8756ad
Migrate GitLab::Git::Wiki.update_page to Gitaly
2017-11-08 16:11:10 +01:00
Alejandro Rodríguez
dea6d054cd
Encapsulate git operations for mirroring in Gitlab::Git
2017-11-03 14:33:24 -03:00
Ahmad Sherif
56e53556c5
Migrate Gitlab::Git::Wiki#file to Gitaly
...
Closes gitaly#689
2017-10-31 20:49:41 +02:00
Ahmad Sherif
964cbb67da
Migrate Gitlab::Git::Wiki#page to Gitaly
...
Closes gitaly#677
2017-10-31 18:28:54 +02:00
Ahmad Sherif
b3a0166203
Migrate Gitlab::Git::Wiki#delete_page to Gitaly
...
Closes gitaly#673
2017-10-31 13:47:34 +02:00
Ahmad Sherif
43f0bca648
Avoid using Rugged in Gitlab::Git::Wiki#preview_slug
2017-10-27 13:59:25 +02:00
Ahmad Sherif
fa5eeaecfb
Migrate Gitlab::Git::Wiki#write_page to Gitaly
...
Closes gitaly#638
2017-10-16 15:53:48 +02:00
Jacob Vosmaer (GitLab)
5dd26d4e5a
Hide Gollum inside Gitlab::Git::Wiki
2017-10-03 16:58:33 +00:00