An error occurred fetching the project authors.
  1. 08 Apr, 2020 1 commit
    • Alexandru Croitor's avatar
      Track Jira import progress through jira_import_state · 14ee4c77
      Alexandru Croitor authored
      Because Jira issues import allows for repeated imports, we cannot
      completelly re-use existing import state tracking and had to add
      a jira specific import state tracking data strcuture. With
      JiraImportState we can track history of multiple jira imports.
      14ee4c77
  2. 06 Apr, 2020 1 commit
    • Markus Koller's avatar
      Support more types in UrlBuilder · 10afe1b0
      Markus Koller authored
      - Add support for projects and groups.
      - Add support for building path-only URLs.
      - Reuse it in `HasRepository#web_url`.
      - Remove state and turn the class into a singleton.
      - Provide a default instance in presenters.
      - Rewrite specs with parameterized table syntax.
      10afe1b0
  3. 04 Apr, 2020 1 commit
  4. 03 Apr, 2020 1 commit
  5. 01 Apr, 2020 1 commit
  6. 30 Mar, 2020 3 commits
  7. 26 Mar, 2020 1 commit
  8. 24 Mar, 2020 1 commit
    • Francisco Javier López's avatar
      Ensure freshness of settings with snippet creation · 00dea6c4
      Francisco Javier López authored
      Application settings from the database are currently cached locally in
      the thread for a full minute after the changes are made. That means if
      an administrator attempts to change the default storages in the admin
      page, it might take up to a full minute for those changes to take
      effect.
      
      Since we don't have a great cache invalidation strategy for local caches
      yet, the simplest approach to solving this problem would be to expire
      the local application setting cache whenever we create a snippet. This
      causes every snippet creation to make an additional SELECT call for
      `application_settings`.
      00dea6c4
  9. 23 Mar, 2020 2 commits
  10. 20 Mar, 2020 1 commit
  11. 19 Mar, 2020 1 commit
  12. 18 Mar, 2020 3 commits
  13. 16 Mar, 2020 2 commits
    • Vitali Tatarintev's avatar
      Move ProjectAlertingSetting and its deps to CE · 6f2ade49
      Vitali Tatarintev authored
      Moves `ProjectAlertingSetting` and its dependencies from EE to CE.
      
      Contributes to migration of Prometheus alerts to Core
      6f2ade49
    • Stan Hu's avatar
      Ensure freshness of settings with project creation · 541fb832
      Stan Hu authored
      Application settings from the database are currently cached locally in
      the thread for a full minute after the changes are made. That means if
      an administrator attempts to change the default storages in the admin
      page, it might take up to a full minute for those changes to take
      effect.
      
      Since we don't have a great cache invalidation strategy for local caches
      yet, the simplest approach to solving this problem would be to expire
      the local application setting cache whenever we create a project. This
      causes every project creation to make an additional SELECT call for
      `application_settings`.
      
      Closes https://gitlab.com/gitlab-org/gitaly/-/issues/2147
      541fb832
  14. 13 Mar, 2020 1 commit
    • Nick Thomas's avatar
      Remove GitlabShell#create_repository and wrappers · c861a0a0
      Nick Thomas authored
      Project repository and wiki repository creation was indirected through
      Gitlab::Shell unnecessarily. `GitlabShell#create_repository` build an
      (incomplete) `Gitlab::Git::Repository` to run the creation code, but
      all users already had access to `Repository` instances.
      c861a0a0
  15. 12 Mar, 2020 2 commits
    • Jarka Košanová's avatar
      Extract methods to issue tracker services · 2fe45183
      Jarka Košanová authored
      - add methods to service_tracker_service
      - check based on these methods instead of checking if Jira is active
      2fe45183
    • Aishwarya Subramanian's avatar
      Fix logic used to determine project export status · a309861a
      Aishwarya Subramanian authored
      Currently, lock files are used to determine the state of a
      project export. However, the lock files are not stored in a shared
      volume, causing the export states to be reported incorrectly.
      
      In order to fix this, we now store the export states in database
      as a more reliable mechanism. The table used is project_export_jobs.
      It stores the project_id, job_id and the current state.
      
      In addition to existing states, also added are two new states
      queued and regeneration_in_progress states. They are used to indicate
      a job that's waiting to be started and the case when a project export
      operation has been requested to be re-generated.
      
      Failed jobs are re-tried 3 times, after which the state is updated
      to failed.
      
      To account for jobs that get stuck, a cron job runs every hour
      to set the stuck jobs to failed state.
      
      Closes https://gitlab.com/gitlab-org/gitlab/issues/32203
      a309861a
  16. 11 Mar, 2020 1 commit
    • Nick Thomas's avatar
      Remove the Repository#after_import method · 973bb0c0
      Nick Thomas authored
      What to do after an import is tightly coupled to the type of repository
      you are, so it's better to avoid having the method at all.
      
      There's very little in here, so just remove the idea for now. We can
      revisit it another time.
      973bb0c0
  17. 09 Mar, 2020 1 commit
  18. 05 Mar, 2020 1 commit
  19. 02 Mar, 2020 4 commits
  20. 28 Feb, 2020 2 commits
  21. 26 Feb, 2020 1 commit
    • Jacopo's avatar
      Send notification when pipeline is fixed · 96a38066
      Jacopo authored
      Creates a custom notification when the pipeline is fixed.
      Sends an e-mail for the first green/successful pipeline after
      a red/failed pipeline on the same commit, branch, or tag.
      96a38066
  22. 25 Feb, 2020 1 commit
    • Nick Thomas's avatar
      Make Repository track shard · aed980e7
      Nick Thomas authored
      This makes a transitive dependency direct, and is a first step towards
      removing `::Repository#{project,container}`
      aed980e7
  23. 24 Feb, 2020 1 commit
  24. 17 Feb, 2020 1 commit
  25. 15 Feb, 2020 1 commit
  26. 13 Feb, 2020 2 commits
    • Kassio Borges's avatar
      Avoid double encoding of import url credentials · af9f589f
      Kassio Borges authored
      Import projects by URL, when the URLs credentials have characters that
      require percent encoding, is currently not working. This feature is
      failing because the import url credentials are being encoded before
      saving on the database, on the `Project#import_url=`, and then it's
      being encoded again when retrieving the credentials from the database,
      on `Project#import_url`.
      
      To solve the problem the credential is being percent decoded before
      saving it on the database.
      af9f589f
    • Kirstie Cook's avatar
      Create SelfMonitoringDashboardService and add specs · 5ca140df
      Kirstie Cook authored
      Set the default dashboard for self monitoring project
      5ca140df
  27. 12 Feb, 2020 2 commits
    • Mikolaj Wawrzyniak's avatar
      Handle PrometheusService update in UpdateService · dde7be6f
      Mikolaj Wawrzyniak authored
      To be able to fully move Prometheus from Settings > Integrations to
      Settings > Operations we need to extend Operations::UpdateService to
      be able to update PrometheusSerive model's records
      dde7be6f
    • Francisco Javier López's avatar
      Add snippet repository model · e9d6dcc1
      Francisco Javier López authored
      We need to create the repository model
      for snippets. It will be the same for both
      project and personal ones.
      
      This commit also refactors some code in
      order to reuse it in projects and snippets
      e9d6dcc1