Claire
0b4d3bf363
Remove invalid X-Frame-Options: ALLOWALL ( #25070 )
2 years ago
Claire
31bd0da41f
Fix anonymous visitors getting a session cookie on first visit ( #24584 )
2 years ago
Nick Schonning
a0e4d69c12
Autofix Rubocop Rails/FindById ( #23762 )
2 years ago
David Vega
4c10de8ae3
Fix single name variables on controller folder ( #20092 )
...
Co-authored-by: petrokoriakin1 <116151189+petrokoriakin1@users.noreply.github.com>
Co-authored-by: petrokoriakin1 <116151189+petrokoriakin1@users.noreply.github.com>
Co-authored-by: Effy Elden <effy@effy.space>
2 years ago
Claire
879229e098
Fix error when rendering public pages with media attachments ( #16763 )
...
* Add tests
* Fix error when rendering public pages with media attachments
* Add tests
* Fix tests
* Please CodeClimate
3 years ago
ThibG
6a3e2b0fe5
Fix functional user requirements in whitelist mode ( #14093 )
...
Fixes #14092
4 years ago
Eugen Rochko
0ca06d0ba9
Add more tests for ActivityPub controllers ( #13585 )
5 years ago
Eugen Rochko
561b0509c3
Fix redirecting non-functional accounts on public pages ( #11978 )
...
Fix #11969
5 years ago
Eugen Rochko
825dc3ca22
Add whitelist mode ( #11291 )
5 years ago
Eugen Rochko
56f0203c66
Refactor controllers for statuses, accounts, and more ( #11249 )
5 years ago
Eugen Rochko
d7e2f554fb
Add audio uploads ( #11123 )
...
* 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
5 years ago
Eugen Rochko
75ef673216
Fix login sometimes redirecting to paths that are not pages ( #11019 )
...
Fix #11016
6 years ago
jomo
dc9f3d2cf2
fix CSP / X-Frame-Options for media embeds ( #9558 )
6 years ago
Eugen Rochko
9b7490cede
Save video metadata and improve video OpenGraph tags ( #6481 )
...
* Save metadata from video attachments, put correct dimensions into OG tags
* Add twitter:player for videos
* Fix code style and test
7 years ago
Jack Jennings
faf53a5a3e
Extract authorization policy for viewing statuses ( #3150 )
8 years ago
Matt Jankowski
47cc8462e3
Media controller specs ( #2022 )
...
* Add spec for media controller
* Add MediaAttachment.attached scope
* Simplify methods in media controller
8 years ago
Eugen Rochko
0df070596e
Fix #416 - Generate random unique 14-byte (19 characters) shortcodes
...
for local attachments, use them in URLs. Check status privacy
before redirecting to actual file.
8 years ago
Eugen Rochko
090e3a245d
Fix #249 - use window.location hack to let people login from sandboxed iOS homescreen
8 years ago
Eugen Rochko
e71b152d89
Fix rubocop issues, introduce usage of frozen literal to improve performance
8 years ago
Eugen Rochko
c6d893a71d
Uploading/undoing media modifies status text. Also: status text trimmed before validation
8 years ago
Eugen Rochko
bd5ad304ba
Adding media controller, 1 webm/compose form allowed, previews generated
8 years ago