1. 25 5月, 2018 2 次提交
  2. 23 5月, 2018 2 次提交
  3. 18 5月, 2018 4 次提交
  4. 17 5月, 2018 6 次提交
  5. 16 5月, 2018 4 次提交
    • J
      Fixed typo · 8c0166f2
      Jan Provaznik 提交于
      8c0166f2
    • J
      Use find_in_batches instead of destroy_all · c81a37c1
      Jan Provaznik 提交于
      destroy_all loads all records at once
      c81a37c1
    • J
      Delete remote uploads · 7da3b2cd
      Jan Provaznik 提交于
      ObjectStore uploader requires presence of associated `uploads` record
      when deleting the upload file (through the carrierwave's after_commit
      hook) because we keep info whether file is LOCAL or REMOTE in `upload`
      object.
      
      For this reason we can not destroy uploads as "dependent: :destroy" hook
      because these would be deleted too soon. Instead we rely on
      carrierwave's hook to destroy `uploads` in after_commit hook.
      
      But in before_destroy hook we still have to delete not-mounted uploads
      (which don't use carrierwave's destroy hook). This has to be done in
      before_Destroy instead of after_commit because `FileUpload` requires
      existence of model's object on destroy action.
      
      This is not ideal state of things, in a next step we should investigate
      how to unify model dependencies so we can use same workflow for all
      uploads.
      
      Related to #45425
      7da3b2cd
    • M
      Dynamically cast value from cache · 6cc3a07d
      Matija Čupić 提交于
      6cc3a07d
  6. 12 5月, 2018 1 次提交
  7. 11 5月, 2018 1 次提交
  8. 10 5月, 2018 3 次提交
  9. 08 5月, 2018 3 次提交
  10. 05 5月, 2018 1 次提交
  11. 04 5月, 2018 1 次提交
  12. 03 5月, 2018 4 次提交
  13. 02 5月, 2018 2 次提交
  14. 01 5月, 2018 1 次提交
  15. 25 4月, 2018 1 次提交
  16. 24 4月, 2018 2 次提交
  17. 23 4月, 2018 1 次提交
  18. 20 4月, 2018 1 次提交