Commit Graph

15 Commits

Author SHA1 Message Date
GitLab Bot 24e5ef9b1a Add latest changes from gitlab-org/gitlab@master 2021-09-28 12:11:10 +00:00
GitLab Bot be8b477154 Add latest changes from gitlab-org/gitlab@master 2021-06-29 03:07:32 +00:00
GitLab Bot 5092e9b37c Add latest changes from gitlab-org/gitlab@master 2021-03-05 06:09:26 +00:00
GitLab Bot f368b4968e Add latest changes from gitlab-org/gitlab@master 2021-01-05 18:10:25 +00:00
GitLab Bot 408af4d5cf Add latest changes from gitlab-org/gitlab@master 2020-12-02 03:09:38 +00:00
GitLab Bot 9a8f801d73 Add latest changes from gitlab-org/gitlab@master 2020-11-17 12:09:15 +00:00
GitLab Bot 58b9df24e6 Add latest changes from gitlab-org/gitlab@master 2020-09-05 03:08:31 +00:00
GitLab Bot fa7ac2663b Add latest changes from gitlab-org/gitlab@master 2020-06-24 06:09:01 +00:00
GitLab Bot 45b4df3e57 Add latest changes from gitlab-org/gitlab@master 2020-03-30 09:07:58 +00:00
GitLab Bot 25989ab7ef Add latest changes from gitlab-org/gitlab@master 2019-10-18 11:11:44 +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
Heinrich Lee Yu 1ce5bcacdb Remove code related to object hierarchy in MySQL
These are not required because MySQL is not
supported anymore
2019-07-25 15:35:06 +08:00
Bob Van Landuyt 703d0246ff Add authorize to LabelType and NamespaceType
This also disables the cop with a reasoning in types where appropriate
2019-06-21 13:00:50 +02: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