An error occurred fetching the project authors.
  1. 30 Apr, 2019 1 commit
  2. 19 Dec, 2018 1 commit
  3. 17 Nov, 2018 1 commit
  4. 04 Sep, 2018 1 commit
    • Stan Hu's avatar
      Disable project avatar validation if avatar has not changed · d4bdcfbf
      Stan Hu authored
      Every time a column in the projects table is changed, the Avatarable concern
      would validate that the avatar file size was under 200K.  This not only delays
      the database changes, but it also can lead to unrelated failures if the HTTP
      request fails for some reason.
      
      Closes #51053
      d4bdcfbf
  5. 07 Aug, 2018 2 commits
  6. 05 Jun, 2018 1 commit
    • 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
  7. 23 Apr, 2018 1 commit
  8. 22 Mar, 2018 1 commit
  9. 01 Mar, 2018 1 commit
  10. 28 Feb, 2018 2 commits
  11. 01 Feb, 2018 1 commit
  12. 09 Nov, 2017 1 commit
  13. 09 Oct, 2017 1 commit
  14. 05 Oct, 2017 1 commit
  15. 04 Oct, 2017 3 commits
  16. 10 May, 2017 1 commit