1. 07 Oct, 2018 1 commit
    • gfyoung's avatar
      Enable more frozen string in lib/**/*.rb · d598e4fd
      gfyoung authored
      Enables frozen for the following:
      
      * lib/*.rb
      * lib/banzai/**/*.rb
      * lib/bitbucket/**/*.rb
      * lib/constraints/**/*.rb
      * lib/container_registry/**/*.rb
      * lib/declarative_policy/**/*.rb
      
      Partially addresses #47424.
      d598e4fd
  2. 18 Jul, 2018 1 commit
  3. 09 Jul, 2018 1 commit
  4. 08 Jul, 2018 1 commit
    • Jan Provaznik's avatar
      Add FileUploader.root to allowed upload paths · e2ec97a9
      Jan Provaznik authored
      Currently we check if uploaded file is under
      `Gitlab.config.uploads.storage_path`, the problem is that
      uploads are placed in `uploads` subdirectory which is symlink.
      
      In allow_path? method we check real (expanded) paths, which causes
      that `Gitlab.config.uploads.storage_path` is expaned into symlink
      path and there is a mismatch with upload file path.
      
      By adding `Gitlab.config.uploads.storage_path/uploads` into allowed
      paths, this path is expaned during path check.
      
      `Gitlab.config.uploads.storage_path` is left there intentionally in case
      some uploader wouldn't use `uploads` subdir.
      e2ec97a9
  5. 05 Apr, 2018 1 commit
  6. 14 Aug, 2017 1 commit
  7. 01 Jul, 2016 1 commit
  8. 10 Nov, 2015 1 commit
    • Kamil Trzcinski's avatar
      Implement Build Artifacts · d0e3e823
      Kamil Trzcinski authored
      - Offloads uploading to GitLab Workhorse
      - Use /authorize request for fast uploading
      - Added backup recipes for artifacts
      - Support download acceleration using X-Sendfile
      d0e3e823