about summary refs log tree commit diff
path: root/app/views/accounts
AgeCommit message (Collapse)Author
2017-08-13Add alternate links to ActivityPub resources from HTML/HEAD variants (#4586)Eugen Rochko
2017-07-24Fix oddities with public profile CSS (#4341)Eugen Rochko
* Fix oddities with public profile CSS * Remove trailing whitespace
2017-07-15Improve ActivityPub representations (#3844)Eugen Rochko
* Improve webfinger templates and make tests more flexible * Clean up AS2 representation of actor * Refactor outbox * Create activities representation * Add representations of followers/following collections, do not redirect /users/:username route if format is empty * Remove unused translations * ActivityPub endpoint for single statuses, add ActivityPub::TagManager for better URL/URI generation * Add ActivityPub::TagManager#to * Represent all attachments as Document instead of Image/Video specifically (Because for remote ones we may not know for sure) Add mentions and hashtags representation to AP notes * Add AP-resolvable hashtag URIs * Use ActiveModelSerializers for ActivityPub * Clean up unused translations * Separate route for object and activity * Adjust cc/to matrices * Add to/cc to activities, ensure announce activity embeds target status and not the wrapper status, add "id" to all collections
2017-07-14Add option to opt out of search engines on public profile/status pages (#4199)Eugen Rochko
2017-05-13Fix og:url. (#3031)Shunsuke Michii
2017-05-08Added haml-lint and fix warnings (#2773)yhirano
* add haml_lint to Gemfile * add .haml-lint.yml * fix warnings of haml_lint
2017-05-06Optimize follower_accounts and following_accounts (#2820)alpaca-tc
2017-04-23ActivityPub: Add basic, read-only support for Outboxes, Notes, and ↵Evan Minto
Create/Announce Activities (#2197) * Clean up collapsible components * Expose user Outboxes and AS2 representations of statuses * Save work thus far. * Fix bad merge. * Save my work * Clean up pagination. * First test working. * Add tests. * Add Forbidden error template. * Revert yarn.lock changes. * Fix code style deviations and use localized instead of hardcoded English text.
2017-04-22Add og:url tags (#2298)Wesley Ellis
* add og:url to stream_item view * add og:url and text to about/show * add og:url to profile, followers and follows pages
2017-04-19Remove unused view files in accounts/ (#2153)Matt Jankowski
2017-04-19Add meta tags for OGP to following & follow page (#2052)Yamagishi Kazutoshi
* Add meta tags for OGP to following & follow page * simplify render helper * Follow up #2133 * og:type is only accounts/show * revert accounts/{following,followers}
2017-04-19Restful refactor of accounts/ routes (#2133)Matt Jankowski
* Add routing specs for accounts followers and following actions * Use more restful route naming for public account follow pages Moves two actions: - accounts#followers to accounts/follower_accounts#index - accounts#following to accounts/following_accounts#index Adds routing spec to ensure prior URLs are preserved.
2017-04-18Simplify renders in views (#2084)Matt Jankowski
* Simplify render in mailer views * Simplify render in about/more view * Simplify render in accounts follow views * Simplify render in recovery code views * Simplify render in stream entry embed * Simplify render in stream entries status partial * Simplify render in authorize follow new view
2017-04-18Instance helper to replace site title helper (#2038)Matt Jankowski
* Move site title helper to instance helper (name change only) * Remove newline in <title> tag * Add site_hostname helper method to wrap up local_domain value * Use site_hostname helper in places that need local_domain value
2017-04-16Use local vars in partials (#1935)Matt Jankowski
* Use local vars in accounts/header partial * Use local variable in 2fa recovery codes partial
2017-04-16View spec fix (#1888)Matt Jankowski
* Add option to disable verify partial doubles * Add show_landing_strip? helper method * Use show_landing_strip? helper in accounts and stream entries views * Fix naming in view specs
2017-04-15Give SINGLE_USER a chance to register (#1820)Marcin Cieślak
An attempt to open a brand new Mastodon instance configured as SINGLE_USER_MODE=true will cause an exception. Enable temporary registration if we have no users in the database Fixes #1817
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-11Pagination improvements (#1445)Matt Jankowski
* Replace will_paginate with kaminari * Use #page instead of #paginate in controllers * Replace will_paginate.page_gap with pagination.truncate in i18n * Customize kaminari views to match prior styles * Set kaminari options to match prior behavior * Replace will_paginate with paginate in views
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-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-25Fix public profile pagination linksEugen Rochko
2017-03-22Prettier account and stream entry URLsEugen Rochko
2017-03-20Add landing stripEugen Rochko
2017-02-17Quick fix for avatars with the same URL not being perceived as updated and ↵Eugen Rochko
in need of re-download
2017-02-13Add "next" link to Atom feedsEugen Rochko
2017-02-06Add AS2 format to RABL filesEvan Minto
2017-02-06Simplify RABLEvan Minto
2017-02-06Reuse existing controller and routeEvan Minto
2017-02-04Add an account endpoint for ActivityPub and link to it on HTML profile pagesEvan Minto
2017-01-09simplify emojification on public pages with .emojify classblackle
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
2017-01-01Adding remote follow buttonEugen Rochko
2016-12-29Add ability to use remote follow function on other sitesEugen Rochko
2016-12-26Fix #86 - resolve layout breaking on zoom-out on accounts gridEugen Rochko
2016-12-23Add page for authorizing/rejecting follow requestsEugen Rochko
2016-12-22Hide follow/unfollow button from public page if follow already requestedEugen Rochko
2016-12-18Removing external hub completely, fix #333 fixing digit-only hashtags,Eugen Rochko
removing web app capability from non-webapp pages
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-03Add "next" pagination to public profilesEugen Rochko
2016-12-01Fix pt translations, improve pre-cache queries, removing will_paginateEugen Rochko
from accounts/tags because it's a terribly inefficient way to paginate large sets of data
2016-11-28Adding embedded PuSH serverEugen Rochko
2016-11-16Localizations for most server-side stringsEugen Rochko