- Jun 10, 2017
-
-
Matt Jankowski authored
Each of mute, favourite, reblog has been updated to: - Have a separate controller with just a create and destroy action - Preserve historical route names to not break the API - Mild refactoring to break up long methods
-
- Jun 09, 2017
-
-
Matt Jankowski authored
Move reblogged_by and favourited_by actions out of api/v1/statuses and into unique controllers (#3646) * Add specs for api statuses routes * Update favourited_by and reblogged_by api routes * Move methods into new controllers * Use load_accounts methods to simplify index actions * Clean up load_accounts methods * Clean up link header generation * Check for link headers in specs * Remove unused actions from api/v1/statuses controller * Remove specs for moved actions
-
- Jun 07, 2017
-
-
Matt Jankowski authored
* Move ApiController to Api/BaseController * API controllers inherit from Api::BaseController * Add coverage for various error cases in api/base controller
-
- Jun 05, 2017
-
-
Daigo 3 Dango authored
* Redirect to streaming_api_base_url When Rails receives a request to streaming API, it most likely means that there is another host which is configured to respond to it. This is to redirect clients to that host if `STREAMING_API_BASE_URL` is set as another host. * Use the new Ruby 1.9 hash syntax
-
- May 31, 2017
-
-
Matt Jankowski authored
-
Matt Jankowski authored
-
Matt Jankowski authored
-
Matt Jankowski authored
-
Matt Jankowski authored
-
Matt Jankowski authored
-
Matt Jankowski authored
-
Matt Jankowski authored
-
- May 30, 2017
-
-
Matt Jankowski authored
* Add StreamEntryFinder class to parse URLs * Use StreamEntryFinder and clean up api/oembed controller
-
Matt Jankowski authored
-
- May 23, 2017
-
-
Matt Jankowski authored
- Increase coverage to exercise all parts of each action - Move into namespace to share common code - Misc refactor of each action for smaller methods, simpler code
-
- May 22, 2017
-
-
Matt Jankowski authored
-
- May 19, 2017
-
-
Jack Jennings authored
-
Matt Jankowski authored
-
- May 18, 2017
-
-
Eugen Rochko authored
* Add <ostatus:conversation /> tag to Atom input/output Only uses ref attribute (not href) because href would be the alternate link that's always included also. Creates new conversation for every non-reply status. Carries over conversation for every reply. Keeps remote URIs verbatim, generates local URIs on the fly like the rest of them. * Conversation muting - prevents notifications that reference a conversation (including replies, favourites, reblogs) from being created. API endpoints /api/v1/statuses/:id/mute and /api/v1/statuses/:id/unmute Currently no way to tell when a status/conversation is muted, so the web UI only has a "disable notifications" button, doesn't work as a toggle * Display "Dismiss notifications" on all statuses in notifications column, not just own * Add "muted" as a boolean attribute on statuses JSON For now always false on contained reblogs, since it's only relevant for statuses returned from the notifications endpoint, which are not nested Remove "Disable notifications" from detailed status view, since it's only relevant in the notifications column * Up max class length * Remove pending test for conversation mute * Add tests, clean up * Rename to "mute conversation" and "unmute conversation" * Raise validation error when trying to mute/unmute status without conversation * Adding account domain blocks that filter notifications and public timelines * Add tests for domain blocks in notifications, public timelines Filter reblogs of blocked domains from home * Add API for listing and creating account domain blocks * API for creating/deleting domain blocks, tests for Status#ancestors and Status#descendants, filter domain blocks from them * Filter domains in streaming API * Update account_domain_block_spec.rb
-
- May 15, 2017
-
-
Eugen Rochko authored
* Add <ostatus:conversation /> tag to Atom input/output Only uses ref attribute (not href) because href would be the alternate link that's always included also. Creates new conversation for every non-reply status. Carries over conversation for every reply. Keeps remote URIs verbatim, generates local URIs on the fly like the rest of them. * Conversation muting - prevents notifications that reference a conversation (including replies, favourites, reblogs) from being created. API endpoints /api/v1/statuses/:id/mute and /api/v1/statuses/:id/unmute Currently no way to tell when a status/conversation is muted, so the web UI only has a "disable notifications" button, doesn't work as a toggle * Display "Dismiss notifications" on all statuses in notifications column, not just own * Add "muted" as a boolean attribute on statuses JSON For now always false on contained reblogs, since it's only relevant for statuses returned from the notifications endpoint, which are not nested Remove "Disable notifications" from detailed status view, since it's only relevant in the notifications column * Up max class length * Remove pending test for conversation mute * Add tests, clean up * Rename to "mute conversation" and "unmute conversation" * Raise validation error when trying to mute/unmute status without conversation
-
- May 08, 2017
-
-
Matt Jankowski authored
* Coverage for api push controller * Refactor the api/push controller
-
- May 03, 2017
-
-
Eugen Rochko authored
Fix #2196 - Respond with 201 when Salmon accepted, 400 when unverified Fix #2629 - Correctly handle confirm_domain? for local accounts Unify rules for extracting author acct from XML, prefer <email>, fall back to <name> + <uri> (see also #2017, #2172)
-
Eugen Rochko authored
* Replace browserify with webpack * Add react-intl-translations-manager * Do not minify in development, add offline-plugin for ServiceWorker background cache updates * Adjust tests and dependencies * Fix production deployments * Fix tests * More optimizations * Improve travis cache for npm stuff * Re-run travis * Add back support for custom.scss as before * Remove offline-plugin and babili * Fix issue with Immutable.List().unshift(...values) not working as expected * Make travis load schema instead of running all migrations in sequence * Fix missing React import in WarningContainer. Optimize rendering performance by using ImmutablePureComponent instead of React.PureComponent. ImmutablePureComponent uses Immutable.is() to compare props. Replace dynamic callback bindings in <UI /> * Add react definitions to places that use JSX * Add Procfile.dev for running rails, webpack and streaming API at the same time
-
- Apr 25, 2017
-
-
Evan Minto authored
* Change ActivityPub paging to match spec. Clean up ActivityPub outbox changes. * Fix code style and test failures for OutboxController. * Attempt to fix CI errors.
-
- Apr 23, 2017
-
-
Matt Jankowski authored
-
Evan Minto authored
ActivityPub: Add basic, read-only support for Outboxes, Notes, and 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.
-
- Apr 19, 2017
-
-
Marcin Cieślak authored
-
- Apr 18, 2017
-
-
happycoloredbanana authored
-
- Apr 12, 2017
-
-
Matt Jankowski authored
The spec was checking the activity_id of the activities held in notifications within the controller. Because the activities are different models, it is possible that they are created with the same database IDs, and when they are this spec fails because an activity which should not count as a match is counted as one.
-
- Apr 10, 2017
-
-
Eugen authored
* Add exclude_types param to /api/v1/notifications * Exclude notification types in web UI through exclude_types in the API
-
- Apr 09, 2017
-
-
Eugen authored
-
David Celis authored
* 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>
-
- Mar 22, 2017
-
-
Eugen Rochko authored
-
- Mar 02, 2017
-
-
Kit Redgrave authored
-
- Feb 11, 2017
-
-
Eugen Rochko authored
if account lock info was up to date, otherwise re-do the FollowService with now updated information
-
- Feb 05, 2017
-
-
Eugen Rochko authored
-
- Feb 01, 2017
-
-
Eugen Rochko authored
redis-backed "mentions" timeline as redundant (given notifications)
-
- Jan 29, 2017
-
-
Eugen Rochko authored
-
- Jan 23, 2017
-
-
Eugen Rochko authored
-
- Jan 15, 2017
-
-
Eugen Rochko authored
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
-