Matt Jankowski
bdf83c353f
Move default embed size knowledge into `OEmbedSerializer` ( #31990 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
41f65edb21
Fix embed dropdown menu item for unauthenticated users ( #25964 )
3 years ago
Eugen Rochko
cefa526c6d
Refactor formatter ( #17828 )
...
* Refactor formatter
* Move custom emoji pre-rendering logic to view helpers
* Move more methods out of Formatter
* Fix code style issues
* Remove Formatter
* Add inline poll options to RSS feeds
* Remove unused helper method
* Fix code style issues
* Various fixes and improvements
* Fix test
4 years ago
Eugen Rochko
0ae5c6312f
Remove useless `respond_to` calls ( #13208 )
6 years ago
Eugen Rochko
a64973aecf
Fix malformed HTML causing uncaught error ( #13042 )
...
Fix OEmbed preview API leaking existence of private statuses (see #12930 )
6 years ago
ThibG
e25947db4a
Sanitize and sandbox toot embeds ( #9552 )
7 years ago
Eugen Rochko
cb5b5cb5f7
Slightly reduce RAM usage ( #7301 )
...
* No need to re-require sidekiq plugins, they are required via Gemfile
* Add derailed_benchmarks tool, no need to require TTY gems in Gemfile
* Replace ruby-oembed with FetchOEmbedService
Reduce startup by 45382 allocated objects
* Remove preloaded JSON-LD in favour of caching HTTP responses
Reduce boot RAM by about 6 MiB
* Fix tests
* Fix test suite by stubbing out JSON-LD contexts
8 years ago
abcang
897199910f
Improve web api protect ( #6343 )
8 years ago
Eugen Rochko
d1a78eba15
Embed modal ( #4748 )
...
* Embed modal
* Proxy OEmbed requests from web UI
9 years ago