about summary refs log tree commit diff
path: root/app/views/stream_entries
AgeCommit message (Collapse)Author
2017-04-12significant improvement in microformats markup (#1063)Ben Roberts
* significant improvement in microformats markup This is a huge improvement and I believe will close #965. Had these microformats reviewed by others in the community to help ensure they are at least correct, if not complete. I did not want to change the structure of the page, and so there it does not fully mark up the entire ancestry chain, or reply chain, only the direct decendants and direct ancestors are correctly associated, but this is likely fine as the most important bit is to have access to the urls for those toots which are now correctly fetchable. * improve code climate * trying to pass code climate tests * code climate * fix p-summary for content warning posts * fix error introduced when merging via github
2017-04-12Fix target blank on "open_in_web" link (#1612)David Libeau
When you render the "embed" view in an iframe, this link bugs when clicked, due to missing target blank.
2017-04-12Quick best practice cleanup of views/helpers (#1546)Matt Jankowski
* Remove trailing whitespace * Use query methods instead of explicit .blank? checks
2017-04-12Simplify the way the embed view is created (#1590)Matt Jankowski
* Add coverage for embedded status view * Refactor embed view to eliminate @external_links variable
2017-04-10Fix issue with missing emojify class in views (#1455)Matt Jankowski
* Add missing emojify class to landing strip * Add missing emojify class to simple_status partial
2017-04-08Use Setting.site_title value for `og:site_name` occurrences (#1194)Matt Jankowski
* Add helper method to return Setting.site_title * Use site_title helper in application layout * Use site_title value for og:site_name
2017-04-07DRY up reblog vs original status checkJoël Quenneville
Checking reblog vs original status was happening in multiple places across the app. For views, this logic was encapsulated in a helper method named `proper_status` but in the other layers of the app, the logic was duplicated. Because the logic is used at all layers of the app, we extracted it into a `Status#proper` method on the model and changed all uses of the logic to use this method. There is now a single source of truth for this condition. We added test coverage to untested methods that got refactored.
2017-04-07Rewrite Atom generation from stream entries to use Ox instead of Nokogiri ↵Eugen
(#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
2017-03-31Fix some views still not using counter cachesEugen Rochko
2017-03-31Fix #700 - hide spoilers on static pagesEugen Rochko
2017-03-22Prettier account and stream entry URLsEugen Rochko
2017-03-20Add landing stripEugen Rochko
2017-03-04Fix #431 - convert gif to webm during upload. Web UI treats them like it didEugen Rochko
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.
2017-02-28Fix #186 - Add RTL support to the compose form textarea and statuses outputEugen Rochko
2017-02-12Stop trying to shoehorn all Salmon updates into the poor database-connectedEugen Rochko
StreamEntry model. Simply render Salmon slaps as they are needed
2017-01-30Add "open in web" link to detailed public status pagesEugen Rochko
2017-01-26Fix #537 - opengraph description should display spoiler text when presentEugen Rochko
2017-01-25Instead of using spoiler boolean and spoiler_text, simply check for ↵Eugen Rochko
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
2017-01-15Fix tests, add applications to eager loading/cache for statuses, fixEugen Rochko
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
2017-01-15Merge branch 'feature/toot-app-source' of github.com:ineffyble/mastodon into ↵Effy Elden
feature/toot-app-source
2017-01-15Test for presence of Application in haml before trying to render details, to ↵Effy Elden
fix errors identified by CI
2017-01-15Fix typo in relEffy Elden
2017-01-15Add tracking of OAuth app that posted a status, extend OAuth apps to have ↵Effy Elden
optional website field, add application details to API, show application name and website on detailed status views. Resolves #11
2017-01-09simplify emojification on public pages with .emojify classblackle
2017-01-06Clean up h-card mess of divsEugen Rochko
2017-01-06Fix h-card classes and remote follow button appearing when it shouldn'tEugen Rochko
2017-01-06Add Microformats2 markupGreg V
h-feed, h-card and h-entry
2017-01-06Add twitter:card metatag to enable Twitter Cards supportEffy Elden
2016-12-21Fix #249 - use window.location hack to let people login from sandboxed iOS ↵Eugen Rochko
homescreen
2016-12-18Adjusting public display of statuses to look similar to logged-in UI,Eugen Rochko
fix #361 with rich OEmbed display via iframe, fix #237 by hiding sensitive content behind a spoiler on public pages
2016-12-18Add OEmbed iframe HTML, convert emojis on public pages, increase size of ↵Eugen Rochko
attachment thumbnails
2016-12-09Improve images in opengraph meta tagsEugen Rochko
2016-12-09Fix OpenGraph meta tagsEugen Rochko
2016-12-04Do not use expiring links after allEugen Rochko
2016-12-04Set a specific S3 expiration time so that files can be cachedEugen Rochko
2016-12-04Do not autoplay videos, display play button instead. Use expiring links when ↵Eugen Rochko
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)
2016-12-01Fix opengraph preview imageEugen
2016-11-30Add basic OEmbed provider API, fix #247Eugen Rochko
2016-11-24Add some OpenGraph tags to public statusesEugen Rochko
2016-11-16Localizations for most server-side stringsEugen Rochko
2016-11-15Improve how public status pages look slightlyEugen Rochko
2016-10-10Show media of reblogged statuses in public html viewEugen Rochko
2016-10-03Making public pages responsive, removing reblogs/favs counts from themEugen Rochko
2016-09-24Improved partial rendering for threadsEugen Rochko
2016-09-09Refactored generation of unique tags, URIs and object URLs into own classes,Eugen Rochko
as well as formatting of content
2016-09-08Fix for single status pagesEugen Rochko
2016-09-08Improving production logs, removing n+1 on media attachments in atom,Eugen Rochko
adding attachments display to static views
2016-03-26Cleaning up status partialEugen Rochko
2016-03-21Fix text color in dashboard inputs, sanitize remote status content in UI,Eugen Rochko
simplify FanOutOnWriteService, add /api/accounts/lookup method
2016-03-21Improving borders between predecessor/successor statusesEugen Rochko