Commit Graph

75 Commits (c468446f4c52b089cfe1507d2ca79f36f39614ef)

Author SHA1 Message Date
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  until it's consistent with non-animated version
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
Eugen Rochko 8d44281677 Set in_reply_to_account on statuses to non-self value when possible, thus
resolving the confusion from self-chain replies ultimately linking to a
non-self status. Adjust filters
Eugen Rochko 7376af90f7 Don't show statuses to blocked users
Eugen Rochko 6e064cf715 Fix account timelines bug
Eugen Rochko b891a81008 Follow call on locked account creates follow request instead
Reflect "requested" relationship in API and UI
Reflect inability of private posts to be reblogged in the UI
Disable Webfinger for locked accounts
Eugen Rochko f91b6fa9e1 Merge branch 'master' into development
Eugen Rochko 3caf0cfb03 Ensure that reblogs and favs always refer to the original status rather than a reblog wrapper
Eugen Rochko 80e02b90e4 Private visibility on statuses prevents non-followers from seeing those
Filters out hidden stream entries from Atom feed
Blocks now generate hidden stream entries, can be used to federate blocks
Private statuses cannot be reblogged (generates generic 422 error for now)
POST /api/v1/statuses now takes visibility=(public|unlisted|private) param instead of unlisted boolean
Statuses JSON now contains visibility=(public|unlisted|private) field
Eugen Rochko 84d2371d6a Fix
Eugen Rochko 39cc9fde8a Add account suspension
Eugen Rochko b14b5e3b44 Improve notification model
Eugen Rochko 816284d739 Fix - Reload all accounts when fetching from cache
Eugen Rochko 3114e55c7a Fix - self-replies to appear in public timelines again
Eugen Rochko 58b3f4fd67 Fix - avatar errors no longer prevent remote accounts from being saved
(without avatar). Also improved search position of exact matches
Eugen Rochko 14bd46946d Per-status control for unlisted mode, also federation for unlisted mode
Fix , fix 
Eugen Rochko a21bcac9e1 Further abstract caching for includes
Eugen Rochko 8a4913fde0 Public and hashtag timelines now exclude reblogs and replies
Fix  - don't download avatar unless the URL is http/https
Fix  - reblog/reblogged is now boost/boosted
Eugen Rochko cf912e01fd Implement includes caching for timelines APIs
Eugen Rochko 5c78547198 More query optimizations
Eugen Rochko fc90d38893 Moving some counter queries out of subqueries in the API
Eugen Rochko e8c27767aa Remove orphaned notifications, add scopes param to app create API
Eugen Rochko 882de42bab Validate presence of text even for remote statuses
Eugen Rochko 4f07fb1f0a Fix - Filter statuses from blocked users out of ancestors/descendants results
Eugen Rochko fdc17bea58 Fix rubocop issues, introduce usage of frozen literal to improve performance
Eugen Rochko 0320ea4b85 Fix public timeline query
Eugen Rochko aabf884c5f Discard misattributed remote statuses, improve timelines filter
Eugen Rochko 17903c6dae Improve filtering of public/hashtag timelines, both in backlog and real-time
Eugen Rochko b13e7dda1f API pagination for all collections using Link header
Eugen Rochko 9aecc0f48a Move timelines API from statuses to its own controller, add a check for
resources that require a user context vs those that don't (such as public timeline)

/api/v1/statuses/public   -> /api/v1/timelines/public
/api/v1/statuses/home     -> /api/v1/timelines/home
/api/v1/statuses/mentions -> /api/v1/timelines/mentions
/api/v1/statuses/tag/:tag -> /api/v1/timelines/tag/:tag
Eugen Rochko 48b9619439 Adding hashtags
Eugen Rochko 62292797ec Adding hashtag model
Eugen Rochko 0160d1d9b5 Enable caching for some rabl views
Eugen Rochko 909d0d5e88 Adding public timeline silencing
Eugen Rochko a782e3b39d Actually fix public timeline
Eugen Rochko b5c6d00afa Fix - public timeline not just reblogs, fix infinite scrolling issues
Eugen Rochko de1f3aab86 Fix - Optimize n+1 queries when checking reblogged/favourited values for status lists in API
Eugen Rochko 1de2833f30 Filter out reblogs of blocked users from public timeline (the not real-time variant)
Eugen Rochko 427ba27641 Public timeline to exclude users you blocked
Eugen Rochko 2d4f9ecebf Validate against multiple reblogs of same status by same account
Eugen Rochko 927333f4f8 Improve code style
Eugen Rochko e9bc4a4a08 Limit usernames to 30 chars, statuses to 500, open account after follow form success
Eugen Rochko c6d893a71d Uploading/undoing media modifies status text. Also: status text trimmed before validation
Eugen Rochko c0e9603c92 Fix - Order ancestors/descendants by tree path
Eugen Rochko 762157ee4e Fix for single status pages
Eugen Rochko 85d89b472d Optimized n+1 queries in accounts Atom and HTML views
Added stack trace for SQL queries in development
Removed badly thought out accounts/lookup API
Eugen Rochko 1d9c886518 Adding enclosures to Atom and statuses JSON
Eugen Rochko ae1fac0062 Add API to upload media attachments
Eugen Rochko 10ba09f546 Upgrade to Rails 5.0.0.1
Eugen Rochko 85b00d19b8 Moving Salmon notifications to background processing, fixing mini-profiler
behaviour with Turbolinks enabled, optimizing Rabl for production