Commit Graph

26 Commits

Author SHA1 Message Date
GitLab Bot 1e12bd6db7 Add latest changes from gitlab-org/gitlab@master 2025-04-26 03:07:10 +00:00
GitLab Bot d7f87de3d4 Add latest changes from gitlab-org/gitlab@master 2024-04-10 00:11:14 +00:00
GitLab Bot d0713b8075 Add latest changes from gitlab-org/gitlab@master 2023-11-30 15:15:02 +00:00
GitLab Bot 3bba41a8c5 Add latest changes from gitlab-org/gitlab@master 2023-11-30 12:23:27 +00:00
GitLab Bot 30a8e05475 Add latest changes from gitlab-org/gitlab@master 2023-08-04 12:06:55 +00:00
GitLab Bot 361def3666 Add latest changes from gitlab-org/gitlab@master 2023-04-14 03:18:32 +00:00
GitLab Bot f1284938ed Add latest changes from gitlab-org/gitlab@master 2022-05-30 12:08:23 +00:00
GitLab Bot 90c386a7b0 Add latest changes from gitlab-org/gitlab@master 2022-03-02 00:13:45 +00:00
GitLab Bot 94822e35f8 Add latest changes from gitlab-org/gitlab@master 2021-11-03 12:10:26 +00:00
GitLab Bot 16e3c17d3f Add latest changes from gitlab-org/gitlab@master 2021-09-10 09:11:07 +00:00
GitLab Bot c9bef85d79 Add latest changes from gitlab-org/gitlab@master 2021-04-19 21:09:27 +00:00
GitLab Bot f3db01da50 Add latest changes from gitlab-org/gitlab@master 2020-11-06 18:09:07 +00:00
GitLab Bot dc86d5615e Add latest changes from gitlab-org/gitlab@master 2020-09-18 12:09:50 +00:00
GitLab Bot a0b26c6df5 Add latest changes from gitlab-org/gitlab@master 2020-06-29 12:09:20 +00:00
GitLab Bot 6478698293 Add latest changes from gitlab-org/gitlab@master 2020-06-09 21:08:21 +00:00
GitLab Bot 3d04746954 Add latest changes from gitlab-org/gitlab@master 2020-06-09 18:08:28 +00:00
GitLab Bot eea1fbf9f9 Add latest changes from gitlab-org/gitlab@master 2020-06-02 15:08:24 +00:00
GitLab Bot d8c06be498 Add latest changes from gitlab-org/gitlab@master 2019-11-14 12:06:30 +00:00
Brett Walker aa7b1cfc5b Upgrade GraphQL gem to 1.8.17
- Due to https://github.com/exAspArk/batch-loader/pull/32,
we  changed BatchLoader.for into BatchLoader::GraphQL.for
- since our results are wrapped in a BatchLoader::GraphQL,
calling `sync` during authorization is required to get real object
- `graphql` now has it's own authorization system.  Our
`authorized?` method conflicted and required renaming
2019-09-04 17:42:48 +00:00
Alessio Caiazza 606a1d2d31 Expose namespace storage statistics with GraphQL
Root namespaces have storage statistics.
This commit allows namespace owners to get those stats via GraphQL
queries like the following one

{
  namespace(fullPath: "a_namespace_path") {
    rootStorageStatistics {
      storageSize
      repositorySize
      lfsObjectsSize
      buildArtifactsSize
      packagesSize
      wikiSize
    }
  }
}
2019-08-22 22:08:28 +00:00
Phil Hughes d78f7ceac9
Added commit type to tree GraphQL type 2019-06-28 08:30:29 +01:00
Bob Van Landuyt c70f7ec77b Rename `BatchCommitLoader` to `BatchLfsOidLoader`
Since we're not actually  loading commits in that loader, but we're
loading blobs with LFS oids in batch and returning only the oids.
2019-06-11 16:11:21 +02:00
Phil Hughes 522c01972c
Add LFS blob ID to GraphQL blob type 2019-06-10 09:05:44 +01:00
Bob Van Landuyt ed503d51a3 Expose IDs in GraphQL as a GlobalID
This exposes all fields named `id` as GlobalIDs so they can be used
across our entire GraphQL implementation.

When the objects loaded are `ApplicationRecord`s. We'll use our
existing batchloading to find them. Otherwise, we'll fall back to the
default implementation of `GlobalID`: Calling the `.find` method on
the class.
2019-06-03 21:59:25 +02:00
Alessio Caiazza 83a8b77961 Add Namespace and ProjectStatistics to GraphQL API
We can query namespaces, and nested projects.

Projects now exposes statistics
2019-06-03 12:01:32 +02:00
Phil Hughes 50e21a89a0
Suggests issues when typing title
This suggests possibly related issues when the user types a title.

This uses GraphQL to allow the frontend to request the exact
data that is requires. We also get free caching through the Vue Apollo
plugin.

With this we can include the ability to import .graphql files in JS
and Vue files.
Also we now have the Vue test utils library to make testing
Vue components easier.

Closes #22071
2018-11-27 15:10:40 +00:00