1. 05 Jul, 2017 1 commit
  2. 12 Jun, 2017 1 commit
  3. 22 May, 2017 1 commit
    • Matt Jankowski's avatar
      Specs for cleanup workers (#3235) · ec34ec63
      Matt Jankowski authored
      * Add spec files for feed and media cleanup workers
      
      * Add coverage for feed and media cleanup schedulers
      
      * Clean up feed and media cleanup workers
      ec34ec63
  4. 18 May, 2017 1 commit
  5. 16 May, 2017 1 commit
  6. 05 May, 2017 1 commit
  7. 02 May, 2017 1 commit
    • yhirano's avatar
      annotate models (#2697) · 298796cc
      yhirano authored
      * add annotate to Gemfile
      
      * rails g annotate:install
      
      * configure annotate_models
      
      * add schema info to models
      
      * fix rubocop to add frozen_string_literal
      298796cc
  8. 28 Apr, 2017 1 commit
    • Patrick Figel's avatar
      Set correct attachment type for rejected media (#2599) · 8ac7fca5
      Patrick Figel authored
      In #2110, a new attachment type "unknown" was introduced for
      attachments that were rejected due to a domain being blocked using
      reject_media. However, the "type" field was never set to "unknown"
      because a default value of "0" (image) is set for that column,
      causing the `type.blank?` expression to always equal false.
      
      This version uses type_changed? instead, causing the type to be set
      to "unknown" unless a type has been explicitly set. This introduces
      a small change in behaviour causing the type to be set to unknown
      before paperclip calls `before_post_process`. Presumably this
      behaviour is more appropriate than the current one because the
      attachment type has not been determined by that point.
      
      Included are new tests for `ProcessFeedService` and
      `UpdateRemoteProfileService` which now check that remote media is
      downloaded for non-blocked domains and is rejected for others.
      8ac7fca5
  9. 26 Apr, 2017 1 commit
    • Francis Chong's avatar
      Add media dimensions (#2448) · 193dddb4
      Francis Chong authored
      * Fixes #1985
      
      - add migration AddMediaAttachmentMeta, which add meta field to media_attachments
      - before saving attachment, set file meta if needed
      - add meta in api
      
      * add spec
      
      * align the “size” format for image and video
      
      * fix code climate
      
      * fixes media_attachment_spec.rb
      193dddb4
  10. 25 Apr, 2017 1 commit
    • Eugen's avatar
      Punycode URI normalization (#2370) · 17c591ff
      Eugen authored
      * Fix #2119 - Whenever about to send a HTTP request, normalize the URI
      
      * Add test for IDN request in FetchLinkCardService
      
      * Perform IDN normalization on domains before they are stored in the DB
      17c591ff
  11. 19 Apr, 2017 2 commits
    • Eugen's avatar
      Fix #2108 - Fix gif uploads (#2171) · 2e4afccd
      Eugen authored
      * Fix #2108 - Fix gif uploads
      Add specs for media attachment gifv conversion
      
      * Add ffmpeg to travis
      
      * Make travis install ffmpeg, not libav
      
      * Switch travis to trusty
      2e4afccd
    • Eugen's avatar
      Attachment list for uncached attachments (#2110) · bfbc2ca0
      Eugen authored
      * For undownloaded attachments, set type :unknown, display them as a list in the web UI
      
      * Fix case when attachment type is set explicitly
      bfbc2ca0
  12. 18 Apr, 2017 1 commit
  13. 17 Apr, 2017 1 commit
  14. 06 Mar, 2017 1 commit
  15. 05 Mar, 2017 5 commits
  16. 04 Mar, 2017 1 commit
  17. 27 Jan, 2017 1 commit
  18. 05 Jan, 2017 1 commit
  19. 18 Dec, 2016 1 commit
  20. 07 Dec, 2016 1 commit
  21. 05 Dec, 2016 1 commit
  22. 04 Dec, 2016 1 commit
  23. 28 Nov, 2016 1 commit
  24. 18 Nov, 2016 1 commit
  25. 15 Nov, 2016 1 commit
  26. 01 Nov, 2016 1 commit
  27. 23 Oct, 2016 1 commit
  28. 22 Oct, 2016 1 commit
  29. 18 Oct, 2016 1 commit
  30. 12 Oct, 2016 2 commits
  31. 08 Oct, 2016 1 commit
  32. 29 Sep, 2016 1 commit
  33. 17 Sep, 2016 1 commit
  34. 12 Sep, 2016 1 commit