about summary refs log tree commit diff
path: root/app/controllers/media_controller.rb
AgeCommit message (Collapse)Author
2021-10-13Fix error when rendering public pages with media attachments (#16763)Claire
* Add tests * Fix error when rendering public pages with media attachments * Add tests * Fix tests * Please CodeClimate
2020-06-19Fix functional user requirements in whitelist mode (#14093)ThibG
Fixes #14092
2020-05-03Add more tests for ActivityPub controllers (#13585)Eugen Rochko
2019-09-28Fix redirecting non-functional accounts on public pages (#11978)Eugen Rochko
Fix #11969
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