about summary refs log tree commit diff
path: root/app/models/status.rb
AgeCommit message (Collapse)Author
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-19Extract error messages to locale file (#2162)alpaca-tc
2017-04-18Avoid dynamic methods due to processing speed (#2080)839
2017-04-18Rename cache key to exclude_account_ids_for:id, adjust formattingEugen Rochko
2017-04-18Merge branch 'fix/cache_blocking' of git://github.com/pixiv/mastodon into ↵Eugen Rochko
pixiv-fix/cache_blocking
2017-04-17Required foreign keys (#2003)alpaca-tc
* Add `required: true` option to foreign column * Fixes NoMethodError ``` > Favourite.new.valid? NoMethodError: undefined method `reblog?' for nil:NilClass ```
2017-04-17Merge branch 'master' into fix/cache_blockingEffy Elden
2017-04-16Simplify the og:image and og:description code in stream_entries/show (#1934)Matt Jankowski
2017-04-16cache blockings for reducing queries.Keiji Yoshimi
2017-04-09Fix #1339 - better Atom titles (#1343)Eugen
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-05Eliminate unnecessary queries and query clauses with none and allBrad Urani
2017-04-04Fix ActionController::Parameters in API issueEugen Rochko
2017-03-30Add counter caches for a large performance increase on API requestsEugen Rochko
2017-03-15Add "direct" visibility level in the backend. Web UI is not yetEugen Rochko
adjusted to allow choosing it, yet
2017-03-05Improved /api/v1/accounts/:id/statuses with new params: only_media, ↵Eugen Rochko
exclude_replies Redirect /:username to /users/:username Redirect /:username/:id to /users/:username/updates/:id Updated API documentation and sponsors
2017-03-02Fix #231 - MutingEugen Rochko
2017-03-01Mute button progress so far. WIP, doesn't entirely work correctly.Kit Redgrave
2017-02-19Split public timeline into "public timeline" which is local, andEugen Rochko
"whole known network" which is what public timeline used to be Only domain blocks with suspend severity will block PuSH subscriptions Silenced accounts should not appear in conversations unless followed
2017-02-16Adding index overview for reports in admin UIEugen Rochko
2017-02-11Fix Status.permitted_for scope queryEugen Rochko
2017-02-11Mentions in private statuses allow mentioned people to see themEugen Rochko
2017-02-09Fix the fixEugen Rochko
2017-02-09Fix #614 - extra reply-boolean on statuses to account for cases when replied-toEugen Rochko
status is not in the system at time of distribution; fix #607 - reset privacy settings to defaults when cancelling replies
2017-02-07Add "clear notifications" button, exclude posts from people who have blocked ↵Eugen Rochko
*you* from public/hashtag timelines
2017-02-06Add API modifiers to limit returned toots from public/hashtag timelinesEugen Rochko
to only those from local users; Add link to "extended information" to getting started in the UI; Add defaults for posting privacy; Change how publish button looks depending on posting privacy chosen
2017-02-05Removing failed push notification API, make context loads use cacheEugen Rochko
2017-02-02Cleaning up format of broadcast real-time messages, removingEugen Rochko
redis-backed "mentions" timeline as redundant (given notifications)
2017-01-31Fix #529 - Make hashtag timelines show conversations, fix hashtag loading in ↵Eugen Rochko
the UI
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-23Implement a click-to-view spoiler systemblackle
2017-01-20Fix #463 - Fetch and display previews of URLs using OpenGraph tagsEugen Rochko
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-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
2016-12-31Set in_reply_to_account on statuses to non-self value when possible, thusEugen Rochko
resolving the confusion from self-chain replies ultimately linking to a non-self status. Adjust filters
2016-12-26Don't show statuses to blocked usersEugen Rochko
2016-12-23Fix account timelines bugEugen 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-22Merge branch 'master' into developmentEugen Rochko
2016-12-22Ensure that reblogs and favs always refer to the original status rather than ↵Eugen Rochko
a reblog wrapper
2016-12-21Private visibility on statuses prevents non-followers from seeing thoseEugen Rochko
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
2016-12-06FixEugen Rochko
2016-12-05Add account suspensionEugen Rochko
2016-12-03Improve notification modelEugen Rochko
2016-12-03Fix #248 - Reload all accounts when fetching from cacheEugen Rochko
2016-12-02Fix #323 - self-replies to appear in public timelines againEugen Rochko
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-30Per-status control for unlisted mode, also federation for unlisted modeEugen Rochko
Fix #233, fix #268
2016-11-30Further abstract caching for includesEugen 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