Commit Graph

24 Commits (d96e031dfc0db84318af9f4371403cdcf5bc2804)

Author SHA1 Message Date
Eugen Rochko 450ad43180 Do not run FetchLinkCardService on local URLs, increase file size limit to 8MB,
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
Eugen Rochko 7b9f8766e8 Fix - Generate random unique 14-byte (19 characters) shortcodes
for local attachments, use them in URLs. Check status privacy
before redirecting to actual file.
Eugen Rochko aed25932b5 Add OEmbed iframe HTML, convert emojis on public pages, increase size of attachment thumbnails
Eugen Rochko 06dd359239 Downsize attachment previews, but improve quality from 80 to 90
Eugen Rochko 64d109dc0e Downsize originals in media attachments, small fixes
Eugen Rochko 80c44ed9c1 Do not autoplay videos, display play button instead. Use expiring links when 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)
Eugen Rochko f860d15d39 Fix order of attachments (see )
Eugen Rochko e4f56fa942 Don't create attachments if remote file cannot be fetched
Eugen Rochko fdc17bea58 Fix rubocop issues, introduce usage of frozen literal to improve performance
Eugen Rochko 57304ac375 Catch 404 errors when downloading remote media, add screenshot to landing page
Eugen Rochko abb8f5837e Fix public channel
Eugen Rochko a9e40a3d80 Adding OAuth access scopes, fixing OAuth authorization UI, adding rate limiting
to the API
Eugen Rochko 1d2175f73c Do not force-transcode uploaded videos to webm (leave mp4 as-is)
Eugen Rochko 2ddf4e09f9 Change how convert options are escaped
Eugen Rochko cdc49c6b4b Allow mp4 uploads, convert to WebM
Yann Vaillant 35de03fbe3
Strip exif data from uploaded images
Using `-strip` cli options from ImageMagick

http://www.imagemagick.org/script/command-line-options.php#strip

fix 
Eugen Rochko 927333f4f8 Improve code style
Eugen Rochko bd5ad304ba Adding media controller, 1 webm/compose form allowed, previews generated
Eugen Rochko ce29624c6d Fixing image upload limits, allowing webm, merge/unmerge events trigger
timeline reload in UI, other small fixes
Eugen Rochko d6b3113304 Validates local username, max sizes for uploads. Fixes
Eugen Rochko 14fb0ab4a2 Improve JSON output for media attachments, generate :small preview for them
Eugen Rochko ed94e998bc Fix for media attachments remote URL download
Eugen Rochko eec0dc46a6 PostStatusService can attach media to status, ProcessFeedService likewise
Eugen Rochko ae1fac0062 Add API to upload media attachments