1. 09 Dec, 2019 2 commits
    • Eugenia Grieff's avatar
      Add GraphQL endpoint for group issues timelogs · c895dc26
      Eugenia Grieff authored
      This will return data containing time tracked
      for the group issues by group members and within
      a time frame (limited to 60 days)
      
      To get the collection of timelogs for a certain
      group we include in Group a new concern
      HasTimelogsReport that will use Timelog scopes
      to filter results.
      
      We use a TimelogPresenter to display additional
      fields in TimelogType
      
      Group timelogs is a premium feature so we added
      group_timelogs feature to license
      
      TimelogType is authorized with read_group_timelogs
      permission that checks for a minimun access level of
      reporter and group_timelogs feature being available
      Refactor changes to improve code quality
      
      - Include subgroups in Issue and Timelog scopes
      - Field timelogs in GroupType is never null
      - Add error to object validation in TimelogResolver
      - Use fields UserType and IssueType  in TimelogType
      - Improve rule in GroupPolicy
      - Remove redundant TimelogPresenter
      - Add missing specs for new scopes
      - Extend specs for GroupType and  TimelogType
      - Add new matcher fon non null graphql fields
      
      Update GraphQL schema
      Add index for spent_at in timelogs table
      
      Fix Timelog scope to use group descendants
      c895dc26
    • Francisco Javier López's avatar
      Add Snippet GraphQL resolver API · a2358aaf
      Francisco Javier López authored
      Added resolvers for project and user snippets.
      a2358aaf
  2. 08 Dec, 2019 1 commit
  3. 06 Dec, 2019 1 commit
  4. 05 Dec, 2019 1 commit
  5. 27 Nov, 2019 1 commit
  6. 25 Nov, 2019 1 commit
  7. 21 Nov, 2019 2 commits
  8. 18 Nov, 2019 2 commits
    • Phil Hughes's avatar
      Enables Vue file listing for specs · 1a370d44
      Phil Hughes authored
      This enables the Vue file listing feature flag for tests
      this is so that we know the Vue file listing refactor
      has the same feature set as the HAML version
      1a370d44
    • Brian Kabiro's avatar
      Remove ExtendedIssueType · a34065a9
      Brian Kabiro authored and Jan Provaznik's avatar Jan Provaznik committed
      - remove the ExtendedIssueType and include all fields in IssueType
      - move subscribed field from ExtendedIssueType to IssueType
      - add a complexity of 5 to the subscribed field
      a34065a9
  9. 14 Nov, 2019 2 commits
  10. 11 Nov, 2019 1 commit
  11. 09 Nov, 2019 1 commit
    • Patrick Derichs's avatar
      Add graphql mutation to mark todos as done · 415d2b14
      Patrick Derichs authored
      Also add specs
      
      Change names of mutations
      
      Remove mark all done mutation
      
      Inherit from BaseMutation
      
      Add policy update_todo
      
      Just support update of one todo at a time
      
      Remove obsolete scope
      
      Refactor spec in this location to just test result
      of #resolve
      
      Add requests spec
      415d2b14
  12. 31 Oct, 2019 3 commits
  13. 30 Oct, 2019 1 commit
  14. 23 Oct, 2019 1 commit
    • James Ramsay's avatar
      Add project option for deleting source branch · 366b55f4
      James Ramsay authored and Nick Thomas's avatar Nick Thomas committed
      Feature branches should be deleted after being merged into a stable
      branch like master. This is not universally true, and accidentally
      deleting a branch cause frustration and confusion for users.
      
      The change:
      - adds a Project Setting to control if 'Delete source branch' option is
      enabled or disabled for new merge requests
      - the Project Setting is on for new and existing projects
      
      The previous default behaviour can be restored by toggling the new
      setting.
      
      Historically, the behaviour was changed to delete the source branch as
      part of the merge widget refactor and then reverted 3 months later.
      
      - Widget refactor 8db76243
      - Behaviour reverted fd72b4ed
      366b55f4
  15. 21 Oct, 2019 1 commit
  16. 17 Oct, 2019 4 commits
  17. 16 Oct, 2019 1 commit
  18. 26 Sep, 2019 1 commit
  19. 28 Aug, 2019 1 commit
  20. 22 Aug, 2019 1 commit
    • Alessio Caiazza's avatar
      Expose namespace storage statistics with GraphQL · 606a1d2d
      Alessio Caiazza authored and Mayra Cabrera's avatar Mayra Cabrera committed
      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
          }
        }
      }
      606a1d2d
  21. 11 Jul, 2019 1 commit