Skip to content
Snippets Groups Projects
  1. Jun 10, 2017
  2. Jun 09, 2017
    • Matt Jankowski's avatar
      Move reblogged_by and favourited_by actions out of api/v1/statuses and into... · 5282ba86
      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
      5282ba86
  3. Jun 07, 2017
  4. Jun 05, 2017
    • Daigo 3 Dango's avatar
      Redirect to streaming_api_base_url (#3579) · 2985d089
      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
      2985d089
  5. May 31, 2017
  6. May 30, 2017
  7. May 23, 2017
  8. May 22, 2017
  9. May 19, 2017
  10. May 18, 2017
    • Eugen Rochko's avatar
      Account domain blocks (#2381) · 620d0d80
      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
      620d0d80
  11. May 15, 2017
    • Eugen Rochko's avatar
      Feature conversations muting (#3017) · d0dd9eb5
      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
      d0dd9eb5
  12. May 08, 2017
  13. May 03, 2017
    • Eugen Rochko's avatar
      Fix #2706 - Always respond with 200 to PuSH payloads (#2733) · bafd22ec
      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)
      bafd22ec
    • Eugen Rochko's avatar
      Replace sprockets/browserify with Webpack (#2617) · f5bf5ebb
      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
      f5bf5ebb
  14. Apr 25, 2017
  15. Apr 23, 2017
  16. Apr 19, 2017
  17. Apr 18, 2017
  18. Apr 12, 2017
    • Matt Jankowski's avatar
      Fix issue with intermittent api/v1/notifications failure (#1606) · b155e6cc
      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.
      b155e6cc
  19. Apr 10, 2017
  20. Apr 09, 2017
  21. Mar 22, 2017
  22. Mar 02, 2017
  23. Feb 11, 2017
  24. Feb 05, 2017
  25. Feb 01, 2017
  26. Jan 29, 2017
  27. Jan 23, 2017
  28. Jan 15, 2017
Loading