Skip to content
Snippets Groups Projects
  1. Sep 04, 2019
  2. Apr 30, 2019
  3. 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
  4. Jul 05, 2018
  5. Jun 13, 2018
  6. Jun 12, 2018
  7. Jun 11, 2018
  8. Jun 08, 2018
  9. Jun 07, 2018
  10. Jun 06, 2018
  11. 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
  12. Jun 04, 2018
  13. May 29, 2018
  14. May 28, 2018
  15. May 23, 2018
  16. Apr 19, 2018
  17. Apr 05, 2018
  18. Apr 04, 2018
  19. Mar 29, 2018
  20. Mar 27, 2018
  21. Mar 26, 2018
  22. Mar 09, 2018
  23. Mar 01, 2018
  24. Feb 28, 2018
Loading