Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-05-22 | Specs for cleanup workers (#3235) | Matt Jankowski | |
* Add spec files for feed and media cleanup workers * Add coverage for feed and media cleanup schedulers * Clean up feed and media cleanup workers | |||
2017-05-18 | Fetch remote image using http.rb (#3114) | Yamagishi Kazutoshi | |
2017-05-16 | Order by symbol value (#3077) | alpaca-tc | |
2017-05-05 | Fixes unknown mime type (#2822) | alpaca-tc | |
2017-05-02 | annotate models (#2697) | yhirano | |
* add annotate to Gemfile * rails g annotate:install * configure annotate_models * add schema info to models * fix rubocop to add frozen_string_literal | |||
2017-04-29 | Set correct attachment type for rejected media (#2599) | Patrick Figel | |
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. | |||
2017-04-26 | Add media dimensions (#2448) | Francis Chong | |
* 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 | |||
2017-04-25 | Punycode URI normalization (#2370) | Eugen | |
* 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 | |||
2017-04-19 | Fix #2108 - Fix gif uploads (#2171) | Eugen | |
* 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 | |||
2017-04-19 | Attachment list for uncached attachments (#2110) | Eugen | |
* For undownloaded attachments, set type :unknown, display them as a list in the web UI * Fix case when attachment type is set explicitly | |||
2017-04-18 | Fix #1642, fix #1912 - Dictate content-type file extension (#2078) | Eugen | |
* Fix #1642, fix #1912 - Previous change (#1718) did not modify how original file was saved on upload * Fix for when file is missing | |||
2017-04-17 | Media controller specs (#2022) | Matt Jankowski | |
* Add spec for media controller * Add MediaAttachment.attached scope * Simplify methods in media controller | |||
2017-03-06 | Performance improvement for profiles | Eugen Rochko | |
2017-03-06 | Use more widely supported MP4 format for gifv's | Eugen Rochko | |
2017-03-05 | Increase max bitrate of converted webms, slightly optimized counter queries | Eugen Rochko | |
(Because postgres can tell that count(*) needs no extra checks, but counting a specific column requires them) | |||
2017-03-05 | Add vsync -cfr option when converting gif to webm | Eugen Rochko | |
2017-03-05 | Higher quality webms? Might improve conversation of some types of gifs | Eugen Rochko | |
2017-03-05 | Detect videos with no sound, handle them like gifv | Eugen Rochko | |
2017-03-04 | Fix #431 - convert gif to webm during upload. Web UI treats them like it did | Eugen Rochko | |
before. In the API, attachments now can be either image, video or gifv. Gifv is to be treated like images in terms of behaviour, but are videos by file type. | |||
2017-01-27 | Do not run FetchLinkCardService on local URLs, increase file size limit to 8MB, | Eugen Rochko | |
fix ProcessFeedService pushing status into distribution if called a second time while the first is still running (i.e. when a PuSH comes after a Salmon slap), fix not running escape on spoiler text before emojify | |||
2017-01-06 | Fix #416 - Generate random unique 14-byte (19 characters) shortcodes | Eugen Rochko | |
for local attachments, use them in URLs. Check status privacy before redirecting to actual file. | |||
2016-12-18 | Add OEmbed iframe HTML, convert emojis on public pages, increase size of ↵ | Eugen Rochko | |
attachment thumbnails | |||
2016-12-07 | Downsize attachment previews, but improve quality from 80 to 90 | Eugen Rochko | |
2016-12-05 | Downsize originals in media attachments, small fixes | Eugen Rochko | |
2016-12-04 | Do not autoplay videos, display play button instead. Use expiring links when ↵ | Eugen Rochko | |
using S3. Do not keep originals for avatars/headers, resize avatars down to 120x120 instead of 300x300. Set cache headers on S3 stuff, also make it private (aka only accessible via expiring links to prevent hotlinking) | |||
2016-11-28 | Fix order of attachments (see #269) | Eugen Rochko | |
2016-11-18 | Don't create attachments if remote file cannot be fetched | Eugen Rochko | |
2016-11-15 | Fix rubocop issues, introduce usage of frozen literal to improve performance | Eugen Rochko | |
2016-11-01 | Catch 404 errors when downloading remote media, add screenshot to landing page | Eugen Rochko | |
2016-10-23 | Fix public channel | Eugen Rochko | |
2016-10-22 | Adding OAuth access scopes, fixing OAuth authorization UI, adding rate limiting | Eugen Rochko | |
to the API | |||
2016-10-18 | Do not force-transcode uploaded videos to webm (leave mp4 as-is) | Eugen Rochko | |
2016-10-12 | Change how convert options are escaped | Eugen Rochko | |
2016-10-12 | Allow mp4 uploads, convert to WebM | Eugen Rochko | |
2016-10-08 | Strip exif data from uploaded images | Yann Vaillant | |
Using `-strip` cli options from ImageMagick http://www.imagemagick.org/script/command-line-options.php#strip fix #85 | |||
2016-09-29 | Improve code style | Eugen Rochko | |
2016-09-17 | Adding media controller, 1 webm/compose form allowed, previews generated | Eugen Rochko | |
2016-09-12 | Fixing image upload limits, allowing webm, merge/unmerge events trigger | Eugen Rochko | |
timeline reload in UI, other small fixes | |||
2016-09-10 | Validates local username, max sizes for uploads. Fixes #32 | Eugen Rochko | |
2016-09-05 | Improve JSON output for media attachments, generate :small preview for them | Eugen Rochko | |
2016-09-05 | Fix for media attachments remote URL download | Eugen Rochko | |
2016-09-05 | PostStatusService can attach media to status, ProcessFeedService likewise | Eugen Rochko | |
2016-09-05 | Add API to upload media attachments | Eugen Rochko | |