Eugen
6d6a429af8
Rewrite Atom generation from stream entries to use Ox instead of Nokogiri ( #1124 )
...
* Rewrite Atom generation from stream entries to use Ox instead of Nokogiri::Builder
StreamEntry is now limited to only statuses, which allows some optimization. Removed
extra queries on AccountsController#show. AtomSerializer instead of AtomBuilderHelper
used in AccountsController#show, StreamEntriesController#show, StreamEntryRenderer
and PubSubHubbub::DistributionWorker
PubSubHubbub::DistributionWorker moves n+1 DomainBlock query to PubSubHubbub::DeliveryWorker
instead.
All Salmon slaps that aren't based on StreamEntry still use AtomBuilderHelper and Nokogiri
* All Salmon slaps now use Ox instead of Nokogiri. No touch from status on account
8 years ago
Eugen Rochko
bde5c0eaf9
Fix some views still not using counter caches
8 years ago
Eugen Rochko
5e26295e06
Fix #700 - hide spoilers on static pages
8 years ago
Eugen Rochko
d6ed2eb512
Prettier account and stream entry URLs
8 years ago
Eugen Rochko
6b1db5c2b2
Add landing strip
8 years ago
Eugen Rochko
caf5b8e975
Fix #431 - convert gif to webm during upload. Web UI treats them like it did
...
before. In the API, attachments now can be either image, video or gifv. Gifv
is to be treated like images in terms of behaviour, but are videos by file
type.
8 years ago
Eugen Rochko
d180aaa2a7
Fix #186 - Add RTL support to the compose form textarea and statuses output
8 years ago
Eugen Rochko
0518492158
Stop trying to shoehorn all Salmon updates into the poor database-connected
...
StreamEntry model. Simply render Salmon slaps as they are needed
8 years ago
Eugen Rochko
c2fbd144cf
Add "open in web" link to detailed public status pages
8 years ago
Eugen Rochko
eb62778bec
Fix #537 - opengraph description should display spoiler text when present
8 years ago
Eugen Rochko
999cde94a6
Instead of using spoiler boolean and spoiler_text, simply check for non-blank spoiler_text
...
Federate spoiler_text using warning attribute on <content /> instead of a <category term="spoiler" />
Clean up schema file from accidental development migrations
8 years ago
Eugen Rochko
e9737c2235
Fix tests, add applications to eager loading/cache for statuses, fix
...
application website validation, don't link to app website if website isn't set,
also comment out animated boost icon from #464 until it's consistent with non-animated version
8 years ago
Effy Elden
f81dc7a33a
Merge branch 'feature/toot-app-source' of github.com:ineffyble/mastodon into feature/toot-app-source
8 years ago
Effy Elden
6c002cf615
Test for presence of Application in haml before trying to render details, to fix errors identified by CI
8 years ago
Effy Elden
65122798b2
Fix typo in rel
8 years ago
Effy Elden
d6bc0e8db4
Add tracking of OAuth app that posted a status, extend OAuth apps to have optional website field, add application details to API, show application name and website on detailed status views. Resolves #11
8 years ago
blackle
917cf0bf5d
simplify emojification on public pages with .emojify class
8 years ago
Eugen Rochko
1bfbce7b45
Clean up h-card mess of divs
8 years ago
Eugen Rochko
72c3a41bef
Fix h-card classes and remote follow button appearing when it shouldn't
8 years ago
Greg V
18deeb9db5
Add Microformats2 markup
...
h-feed, h-card and h-entry
8 years ago
Effy Elden
819bfb75c6
Add twitter:card metatag to enable Twitter Cards support
8 years ago
Eugen Rochko
e09d3a2c66
Fix #249 - use window.location hack to let people login from sandboxed iOS homescreen
8 years ago
Eugen Rochko
5ae1b39ec9
Adjusting public display of statuses to look similar to logged-in UI,
...
fix #361 with rich OEmbed display via iframe, fix #237 by hiding sensitive
content behind a spoiler on public pages
8 years ago
Eugen Rochko
aed25932b5
Add OEmbed iframe HTML, convert emojis on public pages, increase size of attachment thumbnails
8 years ago
Eugen Rochko
6c60757e99
Improve images in opengraph meta tags
8 years ago
Eugen Rochko
c8e0ceed56
Fix OpenGraph meta tags
8 years ago
Eugen Rochko
f763e844e8
Do not use expiring links after all
8 years ago
Eugen Rochko
24e692b0cf
Set a specific S3 expiration time so that files can be cached
8 years ago
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)
8 years ago
Eugen
bdf7d8f8fd
Fix opengraph preview image
8 years ago
Eugen Rochko
6ff93845d5
Add basic OEmbed provider API, fix #247
8 years ago
Eugen Rochko
b6ee2fb1c6
Add some OpenGraph tags to public statuses
8 years ago
Eugen Rochko
546c4718e7
Localizations for most server-side strings
8 years ago
Eugen Rochko
a4313224d9
Improve how public status pages look slightly
8 years ago
Eugen Rochko
451733961b
Show media of reblogged statuses in public html view
8 years ago
Eugen Rochko
188c6f326b
Making public pages responsive, removing reblogs/favs counts from them
8 years ago
Eugen Rochko
fb94013796
Improved partial rendering for threads
8 years ago
Eugen Rochko
3cc47beb6e
Refactored generation of unique tags, URIs and object URLs into own classes,
...
as well as formatting of content
8 years ago
Eugen Rochko
762157ee4e
Fix for single status pages
8 years ago
Eugen Rochko
0f4bc56719
Improving production logs, removing n+1 on media attachments in atom,
...
adding attachments display to static views
8 years ago
Eugen Rochko
882c94a6bf
Cleaning up status partial
9 years ago
Eugen Rochko
9d55529318
Fix text color in dashboard inputs, sanitize remote status content in UI,
...
simplify FanOutOnWriteService, add /api/accounts/lookup method
9 years ago
Eugen Rochko
bf08d46e58
Improving borders between predecessor/successor statuses
9 years ago
Eugen Rochko
35aafdba96
Ancestors and descendants of statuses
9 years ago
Eugen Rochko
aab9f57e36
Adding config for puma, dashboard layout, fixing some queries
9 years ago
Eugen Rochko
447cfef62d
Improving feed queries, switching API to doorkeeper authentication
9 years ago
Eugen Rochko
3824c58853
Adding GNU Public license, adding home timeline, reblog/favourite counters
9 years ago
Eugen Rochko
aab330eb2d
Adjusting design of public pages, optimizing account page queries
9 years ago
Eugen Rochko
ab80ebdeec
Adjusting design of profile and entry pages, linkify mentions in statuses
9 years ago
Eugen Rochko
23d08c6749
Changing the use of config constants to the Rails configuration object
9 years ago
Eugen Rochko
0e8f59c16f
Refactoring Grape API methods into normal controllers & other things
9 years ago