about summary refs log tree commit diff
path: root/app/controllers/media_controller.rb
AgeCommit message (Collapse)Author
2019-07-30Add whitelist mode (#11291)Eugen Rochko
2019-07-08Refactor controllers for statuses, accounts, and more (#11249)Eugen Rochko
2019-06-19Add audio uploads (#11123)Eugen Rochko
* Add audio uploads Fix #4827 Accept uploads of OGG, WAV, FLAC, OPUS and MP3 files, and converts them to OGG. Media attachments get a new `audio` type. In the UI, audio uploads are displayed identically to video uploads. * Improve code style
2019-06-10Fix login sometimes redirecting to paths that are not pages (#11019)Eugen Rochko
Fix #11016
2018-12-18fix CSP / X-Frame-Options for media embeds (#9558)jomo
2018-02-16Save video metadata and improve video OpenGraph tags (#6481)Eugen Rochko
* Save metadata from video attachments, put correct dimensions into OG tags * Add twitter:player for videos * Fix code style and test
2017-05-29Extract authorization policy for viewing statuses (#3150)Jack Jennings
2017-04-17Media controller specs (#2022)Matt Jankowski
* Add spec for media controller * Add MediaAttachment.attached scope * Simplify methods in media controller
2017-01-06Fix #416 - Generate random unique 14-byte (19 characters) shortcodesEugen Rochko
for local attachments, use them in URLs. Check status privacy before redirecting to actual file.
2016-12-21Fix #249 - use window.location hack to let people login from sandboxed iOS ↵Eugen Rochko
homescreen
2016-11-15Fix rubocop issues, introduce usage of frozen literal to improve performanceEugen Rochko
2016-09-22Uploading/undoing media modifies status text. Also: status text trimmed ↵Eugen Rochko
before validation
2016-09-17Adding media controller, 1 webm/compose form allowed, previews generatedEugen Rochko