An error occurred fetching the project authors.
  1. 14 May, 2019 1 commit
    • Sean McGivern's avatar
      Optimise upload path calls · 79dd92c8
      Sean McGivern authored
      String#underscore isn't particularly slow, but it's possible for us to
      call it many times in a users autocomplete request, with mostly-static
      values ('User', 'Group', etc.). We can memoise this and save a
      surprising amount of time (around 10% of the total request time in some
      cases).
      79dd92c8
  2. 21 Sep, 2018 1 commit
  3. 14 Aug, 2018 1 commit
  4. 09 Aug, 2018 1 commit
  5. 10 Jul, 2018 1 commit
  6. 01 Mar, 2018 2 commits
  7. 28 Feb, 2018 2 commits
  8. 06 Feb, 2018 2 commits
  9. 05 Feb, 2018 1 commit
  10. 02 Feb, 2018 1 commit
  11. 01 Feb, 2018 2 commits
  12. 17 Jan, 2018 1 commit
    • Micaël Bergeron's avatar
      Refactor the uploaders · 594e6a0a
      Micaël Bergeron authored
      I've demoted the ObjectStoreUploader to a concern that is mixed in
      the concrete uploader classes that need to store files in a remote
      object store.
      
      I've been working on making the local -> remote migration working
      first, which has been trivial compared to the remote -> local one.
      
      The current implementation is heavily based on side-effects which
      makes the code brittle and hard to reason about.
      
      The current approach is to store the `store` field in the correct
      `Upload` model once a migration has been done. To retrieve the field
      I use the `has_many :uploads` relationship, with all the paths that
      a certain file may have `uploads.where(path: paths).last`. This as
      the drawback of adding a database query for every upload lookup, but
      I feel that the generalization of this behavior is worth it. We should
      be able to optimize this down the road quite easily.
      594e6a0a
  13. 14 Dec, 2017 2 commits
  14. 07 Dec, 2017 2 commits
  15. 16 Nov, 2017 1 commit
  16. 07 Oct, 2017 1 commit
  17. 02 Aug, 2017 2 commits
  18. 01 Aug, 2017 2 commits
  19. 18 Jul, 2017 1 commit
  20. 08 Jun, 2017 3 commits
    • DJ Mountney's avatar
      Bring in security changes from the 9.2.5 release · 9a260a3d
      DJ Mountney authored
      Ran:
       - git format-patch v9.2.2..v9.2.5 --stdout > patchfile.patch
       - git checkout -b 9-2-5-security-patch origin/v9.2.2
       - git apply patchfile.patch
       - git commit
       - [Got the sha ref for the commit]
       - git checkout -b upstream-9-2-security master
       - git cherry-pick <SHA of the patchfile commit>
       - [Resolved conflicts]
       - git cherry-pick --continue
      9a260a3d
    • DJ Mountney's avatar
      Bring in security changes from the 9.2.5 release · 565ead61
      DJ Mountney authored
      Ran:
       - git format-patch v9.2.2..v9.2.5 --stdout > patchfile.patch
       - git checkout -b 9-2-5-security-patch origin/v9.2.2
       - git apply patchfile.patch
       - git commit
       - [Got the sha ref for the commit]
       - git checkout -b upstream-9-2-security master
       - git cherry-pick <SHA of the patchfile commit>
       - [Resolved conflicts]
       - git cherry-pick --continue
      565ead61
    • DJ Mountney's avatar
      Bring in security changes from the 9.2.5 release · 1d1363e2
      DJ Mountney authored
      Ran:
       - git format-patch v9.2.2..v9.2.5 --stdout > patchfile.patch
       - git checkout -b 9-2-5-security-patch origin/v9.2.2
       - git apply patchfile.patch
       - git commit
       - [Got the sha ref for the commit]
       - git checkout -b upstream-9-2-security master
       - git cherry-pick <SHA of the patchfile commit>
       - [Resolved conflicts]
       - git cherry-pick --continue
      1d1363e2