about summary refs log tree commit diff
path: root/app/models/account.rb
AgeCommit message (Collapse)Author
2017-04-18Remove unused methods (#1730)Matt Jankowski
* Remove unused method #set_counters_maps from api controller * Remove unused method #set_account_counters_maps from api controller * Remove unused method Account#followers_domains * Remove unused User.prolific scope * Add mastodon:users:admins task to list all admin emails * Use interpolated query style in Account.triadic_closures * Coverage for Account.triadic_closures
2017-04-11When avatar/header are GIF, generate static versions (#1428)Eugen
* When avatar/header are GIF, generate static versions. Account API returns "avatar"/"avatar_static", "header"/"header_static" Static version is the same as original for other cases Web UI de-animates avatars in toots, lists of users Fix #441, fix #596, prerequisite for #1064 * Fix JS test * Add rake task to generate static avatars/headers from GIF ones, add test
2017-04-10Clean up generation of account webfinger string (#1477)Matt Jankowski
* Consolidate webfinger string creation under Account#to_webfinger_s * Introduce Account#local_username_and_domain for consolidation
2017-04-09Search cleanup (#1333)Matt Jankowski
* Clean up SQL output in Tag and Account search methods * Add basic coverage for Tag.search_for * Add coverage for Account.search_for * Add coverage for Account.advanced_search_for
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-03-22Fix full-text search query quotation, improve tag search performance with an ↵Eugen Rochko
index, add ability to open status by URL from search (fix #53)
2017-03-22More efficient single account retrieval (0.9ms vs 50ms before)Eugen Rochko
2017-03-18Federate header images, fix open-uri http->https redirection errorEugen Rochko
2017-03-17Make account search blazing fast and rank followers/followees higher in the ↵Eugen Rochko
results
2017-03-16Add method for retrieving triadic closuresEugen Rochko
2017-03-05Fix wrongful matching of last period in extended usernamesEugen Rochko
Fix anchor tags in some wikipedia URLs being matches as a hashtag
2017-03-01Mute button progress so far. WIP, doesn't entirely work correctly.Kit Redgrave
2017-02-27Fix #104 - Style OAuth authorized applications pageEugen Rochko
Add ability to search accounts by display name
2017-02-22Skip remote media URLs that don't have a hostnameEugen Rochko
2017-02-11Make PuSH only distribute to subscriptions that match follower domainsEugen Rochko
Allow PuSH to distribute private toots with that condition
2017-01-19Fix statsd null backend not being initialized properlyEugen Rochko
2017-01-19Try to avoid any potential loopsEugen
2017-01-16Improve how the list entry Account component looks when target is ↵Eugen Rochko
blocked/follow is requested
2017-01-13Add extended about page stubEugen Rochko
2017-01-09Persist UI settings, add missing localizations for GermanEugen Rochko
2017-01-08Fix Paperclip timeout setting. Fix bug introduced in #437Eugen Rochko
2017-01-08Merge pull request #437 from krainboltgreene/patch-1Eugen
Simplifying followers mappings
2017-01-07Simplifying followers mappingsKurtis Rainbolt-Greene
Deduplicating some logic and switching to pluck, to avoid pulling the entire model in memory.
2017-01-07Less complicated determinationKurtis Rainbolt-Greene
2017-01-07Using "rails style" order argumentsKurtis Rainbolt-Greene
2016-12-22Hide follow/unfollow button from public page if follow already requestedEugen Rochko
2016-12-22Follow call on locked account creates follow request insteadEugen Rochko
Reflect "requested" relationship in API and UI Reflect inability of private posts to be reblogged in the UI Disable Webfinger for locked accounts
2016-12-06Add suspend account functionality to admin UIEugen 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-02Fix #329 - avatar errors no longer prevent remote accounts from being savedEugen Rochko
(without avatar). Also improved search position of exact matches
2016-11-29Upgrade Paperclip to 5, AWS-SDK to 2, do not generate medium/small versions ↵Eugen Rochko
of avatars
2016-11-28Adding embedded PuSH serverEugen Rochko
2016-11-26Public and hashtag timelines now exclude reblogs and repliesEugen Rochko
Fix #289 - don't download avatar unless the URL is http/https Fix #293 - reblog/reblogged is now boost/boosted
2016-11-25Filter statuses that mention blocked usersEugen Rochko
2016-11-24Remove Neo4JEugen Rochko
2016-11-21Remove orphaned notifications, add scopes param to app create APIEugen Rochko
2016-11-15Fix rubocop issues, introduce usage of frozen literal to improve performanceEugen Rochko
2016-11-13Fix #142 - Escape ILIKE special characters from Account.find_remoteEugen Rochko
2016-11-12Weigh username matches higher than domain matches in account searchEugen Rochko
2016-11-12Use full-text search for autosuggestionsEugen Rochko
2016-11-09API pagination for all collections using Link headerEugen Rochko
2016-11-07Fix account and hashtag regexEugen Rochko
2016-11-07Account notes (bios) can now contain links. Character limit upped to 160Eugen Rochko
2016-11-05Improve @mention regexEugen Rochko
2016-11-04Adding hashtag modelEugen Rochko
2016-11-01Catch 404 errors when downloading remote media, add screenshot to landing pageEugen Rochko
2016-10-30Limit returned followees/followers by API to 40 for nowEugen Rochko
2016-10-30Fix common followers APIEugen Rochko
2016-10-29Adding common followers API, fixing fallback query againEugen Rochko
2016-10-16Fix #16 - Optimize n+1 queries when checking reblogged/favourited values for ↵Eugen Rochko
status lists in API