Skip to content
Snippets Groups Projects
  1. Mar 17, 2020
  2. Jan 29, 2020
  3. Oct 18, 2019
  4. Sep 13, 2019
  5. Sep 04, 2019
  6. Apr 30, 2019
  7. Mar 30, 2019
    • Bastian Blank's avatar
      Don't try to set any ACL on uploaded objects · b82ccf2c
      Bastian Blank authored
      Set ACL of uploaded objects to not-public (fog-aws) or no ACL at all
      (fog-google).  Value is ignored by other supported backends (fog-aliyun,
      fog-openstack, fog-rackspace)
      
      This allows uploads to GCS with ACL support disabled.
      b82ccf2c
  8. Jul 05, 2018
  9. Jun 13, 2018
  10. Jun 12, 2018
  11. Jun 11, 2018
  12. Jun 08, 2018
  13. Jun 07, 2018
  14. Jun 06, 2018
  15. Jun 05, 2018
    • Sean McGivern's avatar
      Fix an N+1 in avatar URLs · 6ecf819f
      Sean McGivern authored
      This is tricky: the query was being run in
      `ObjectStorage::Extension::RecordsUploads#retrieve_from_store!`, but we can't
      just add batch loading there, because the `#upload=` method there would use the
      result immediately, making the batch only have one item.
      
      Instead, we can pre-emptively add an item to the batch whenever an avatarable
      object is initialized, and then reuse that batch item in
      `#retrieve_from_store!`. However, this also has problems:
      
      1. There is a lot of logic in `Avatarable#retrieve_upload_from_batch`.
      2. Some of that logic constructs a 'fake' model for the batch key. This should
         be fine, because of ActiveRecord's override of `#==`, but it relies on that
         staying the same.
      6ecf819f
  16. Jun 04, 2018
  17. May 29, 2018
  18. May 28, 2018
  19. May 23, 2018
  20. Apr 19, 2018
  21. Apr 05, 2018
  22. Apr 04, 2018
  23. Mar 29, 2018
  24. Mar 27, 2018
  25. Mar 26, 2018
  26. Mar 09, 2018
  27. Mar 01, 2018
  28. Feb 28, 2018
Loading