1. 16 May, 2018 3 commits
    • Rémy Coutable's avatar
    • Jan Provaznik's avatar
      Changed order of include · 33c7dfb1ce05
      Jan Provaznik authored
      33c7dfb1ce05
    • Jan Provaznik's avatar
      Delete remote uploads · 9cb2812d4482
      Jan Provaznik authored
      ObjectStore uploader requires presence of associated `uploads` record
      when deleting the upload file (through the carrierwave's after_commit
      hook) because we keep info whether file is LOCAL or REMOTE in `upload`
      object.
      
      For this reason we can not destroy uploads as "dependent: :destroy" hook
      because these would be deleted too soon. Instead we rely on
      carrierwave's hook to destroy `uploads` in after_commit hook.
      
      But in before_destroy hook we still have to delete not-mounted uploads
      (which don't use carrierwave's destroy hook). This has to be done in
      before_Destroy instead of after_commit because `FileUpload` requires
      existence of model's object on destroy action.
      
      This is not ideal state of things, in a next step we should investigate
      how to unify model dependencies so we can use same workflow for all
      uploads.
      
      Related to #45425
      9cb2812d4482
  2. 15 May, 2018 1 commit
  3. 08 May, 2018 1 commit
  4. 07 May, 2018 3 commits
  5. 04 May, 2018 3 commits
  6. 03 May, 2018 2 commits
  7. 02 May, 2018 1 commit
  8. 01 May, 2018 1 commit
  9. 30 Apr, 2018 1 commit
  10. 27 Apr, 2018 2 commits
  11. 26 Apr, 2018 2 commits
  12. 25 Apr, 2018 1 commit
  13. 24 Apr, 2018 2 commits
  14. 23 Apr, 2018 5 commits
  15. 20 Apr, 2018 3 commits
  16. 18 Apr, 2018 2 commits
  17. 16 Apr, 2018 1 commit
    • Yorick Peterse's avatar
      Introduce new ProjectCiCdSetting · 748b19fa2048
      Yorick Peterse authored
      This model and the corresponding table will be used for storing settings
      specific to CI/CD, starting with the "group_runners_enabled" boolean.
      
      The model is called ProjectCiCdSetting and not ProjectCiCdSettings. The
      project exporter doesn't like plural model names as it uses "classify"
      which turns those into singular (so "ProjectCiCdSettings" becomes
      "ProjectCiCdSetting", producing an error if said class is undefined).
      
      The initial work in this commit was done by Dylan Griffith, with most of
      the migration work being done by Yorick Peterse.
      748b19fa2048
  18. 09 Apr, 2018 3 commits
  19. 07 Apr, 2018 2 commits
    • Mayra Cabrera's avatar
      Include ProjectDeployTokens · 60f3330f67cc
      Mayra Cabrera authored
      Also:
      - Changes scopes from serializer to use boolean columns
      - Fixes broken specs
      60f3330f67cc
    • Mayra Cabrera's avatar
      Create barebones for Deploytoken · a1fc67a5a915
      Mayra Cabrera authored
      Includes:
      - Model, factories, create service and controller actions
      - As usual, includes specs for everything
      - Builds UI (copy from PAT)
      - Add revoke action
      
      Closes #31591
      a1fc67a5a915
  20. 06 Apr, 2018 1 commit