Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-07-07 | Refactor JSON templates to be generated with ActiveModelSerializers instead ↵ | Eugen Rochko | |
of Rabl (#4090) | |||
2017-06-07 | Clean up for api/base controller (#3629) | Matt Jankowski | |
* Move ApiController to Api/BaseController * API controllers inherit from Api::BaseController * Add coverage for various error cases in api/base controller | |||
2017-05-31 | Spec coverage and refactor for the api/v1/accounts controllers (#3451) | Matt Jankowski | |
2017-05-25 | More use of next link header on account (media) timelines (#3311) | unarist | |
This will reduce requests on who have only few statuses. - Use next link header to detect more items from first request - Omit next link header if result items are fewer than requested count (It had omit it only if result was empty before) | |||
2017-05-23 | Fix following/followers API to return correct link headers (#3268) | unarist | |
Link headers in following/followers API should include follow_id as max_id/since_id. However, these API use current_user's account_id instead of follow_id from #3167. This causes irrelevant result on loading more users. | |||
2017-05-20 | Use joins for account properties (#3167) | Akihiko Odaki | |
2017-05-19 | Add buttons to block and unblock domain (#3127) | Eugen Rochko | |
* Add buttons to block and unblock domain * Relationship API now returns "domain_blocking" status for accounts, rename "block entire domain" to "hide entire domain", fix unblocking domain, do not block notifications from domain-blocked-but-followed people, do not send Salmons to domain blocked users * Add test * Personal domain blocks shouldn't affect Salmon after all, since in this direction of communication the control is very thin when it comes to public stuff. Best stay consistent and not affect federation in this way * Ignore followers and follow request from domain blocked folks, ensure account domain blocks are not created for empty domain, and avoid duplicates in validation * Purge followers when blocking domain (without soft-blocks, since they are useless here) * Add tests, fix local timeline being empty when having any domain blocks | |||
2017-04-19 | Simplify render in controllers (#2144) | Matt Jankowski | |
2017-04-09 | Fix /api/v1/accounts/update_credentials tests (#1357) | Eugen | |
2017-04-09 | Allow users to update their Account in the API (#1179) | David Celis | |
* Allow users to update their Account in the API It would be nice for API clients to be able to allow users to update their accounts without having to wrap Mastodon in a web view. This patch adds an API endpoint to let users submit a PATCH for their account. Signed-off-by: David Celis <me@davidcel.is> * Add /api/v1/accounts/update_credentials to the API docs Signed-off-by: David Celis <me@davidcel.is> | |||
2017-04-08 | Make public timelines API not require user context/app credentials (#1291) | Eugen | |
* Make /api/v1/timelines/public and /api/v1/timelines/tag/:id public Fix #1156 - respect query params when generating pagination links in API * Apply pagination fix to more APIs | |||
2017-03-30 | Add counter caches for a large performance increase on API requests | Eugen Rochko | |
2017-03-22 | New API method: /api/v1/search | Eugen Rochko | |
Returns accounts, statuses, hashtags arrays | |||
2017-03-17 | Forgot to hook up API with the latest method | Eugen Rochko | |
2017-03-06 | Performance improvement for profiles | Eugen Rochko | |
2017-03-05 | Improved /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-01 | Mute button progress so far. WIP, doesn't entirely work correctly. | Kit Redgrave | |
2017-02-25 | Add tuning documentation, add <content> tags back to most salmons, | Eugen Rochko | |
make status pagination headers generation more lax about next page existing | |||
2017-02-17 | Add GET /api/v1/accounts/:id/statuses/media that returns only statuses with ↵ | Eugen Rochko | |
media attachments Make replies default to privacy settings of the status being replied to | |||
2017-01-24 | Make blocks create entries and unfollows instantly, but do the clean up | Eugen Rochko | |
in the background instead. Should fix delay where blocked person can interact with blocker for a short time before background job gets processed | |||
2017-01-24 | API now respects ?limit param as long as it's within 2x default limit | Eugen Rochko | |
2017-01-23 | Move merging/unmerging of timelines into background. Move blocking into | Eugen Rochko | |
background as well since it's a computationally expensive | |||
2017-01-13 | Extend rails-settings-cached to merge db-saved hash values with defaults | Eugen Rochko | |
2016-12-22 | Follow call on locked account creates follow request instead | Eugen 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-21 | Private visibility on statuses prevents non-followers from seeing those | Eugen 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-01 | Fix pt translations, improve pre-cache queries, removing will_paginate | Eugen Rochko | |
from accounts/tags because it's a terribly inefficient way to paginate large sets of data | |||
2016-11-29 | Unify collection caching code | Eugen Rochko | |
2016-11-25 | Remove stale entries from cache results | Eugen Rochko | |
2016-11-24 | Remove Neo4J | Eugen Rochko | |
2016-11-23 | Cache accounts/:id/statuses and single statuses too | Eugen Rochko | |
2016-11-22 | Moving some counter queries out of subqueries in the API | Eugen Rochko | |
2016-11-15 | Fix rubocop issues, introduce usage of frozen literal to improve performance | Eugen Rochko | |
2016-11-14 | Fix wrong link header on followers API, wrong link in tabs component, order | Eugen Rochko | |
account results | |||
2016-11-12 | Add limit to search results | Eugen Rochko | |
2016-11-12 | Use full-text search for autosuggestions | Eugen Rochko | |
2016-11-10 | Improve filtering of public/hashtag timelines, both in backlog and real-time | Eugen Rochko | |
2016-11-09 | API pagination for all collections using Link header | Eugen Rochko | |
2016-11-08 | Move timelines API from statuses to its own controller, add a check for | Eugen Rochko | |
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 | |||
2016-11-04 | Adding hashtag model | Eugen Rochko | |
2016-10-30 | Limit returned followees/followers by API to 40 for now | Eugen Rochko | |
2016-10-29 | Adding common followers API, fixing fallback query again | Eugen Rochko | |
2016-10-22 | Adding OAuth access scopes, fixing OAuth authorization UI, adding rate limiting | Eugen Rochko | |
to the API | |||
2016-10-16 | Fix #16 - Optimize n+1 queries when checking reblogged/favourited values for ↵ | Eugen Rochko | |
status lists in API | |||
2016-10-14 | Adding sync of follow relationships to Neo4J, accounts/suggestions API | Eugen Rochko | |
2016-10-03 | API for blocking and unblocking | Eugen Rochko | |
2016-10-03 | Integrating block relationships into the API (read-only for now) | Eugen Rochko | |
2016-10-02 | Add since_id param to feeds | Eugen Rochko | |
2016-10-02 | Add API for getting info about authenticated user: ↵ | Eugen Rochko | |
/api/v1/accounts/verify_credentials | |||
2016-09-29 | Improve code style | Eugen Rochko | |
2016-09-27 | Fix #52 - Add API versioning (v1) | Eugen Rochko | |