Skip to content
Snippets Groups Projects
  1. May 16, 2017
  2. May 15, 2017
    • Eugen Rochko's avatar
      Fix change of status callbacks not setting in_reply_to_account_id and (#3072) · af706583
      Eugen Rochko authored
      possibly others when expected. Add some tests for it
      af706583
    • 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
  3. May 14, 2017
    • Matt Jankowski's avatar
      Update rails to version 5.0.3 (#3054) · 5f727f90
      Matt Jankowski authored
      * Update rails to version 5.0.3
      
      * Update aws-sdk to version 2.9.17
      
      * Update capistrano to version 3.8.1
      
      * Update climate_control to version 0.2.0
      
      * Update debug_inspector to version 0.0.3
      
      * Update et-orbi to version 1.0.4
      
      * Update oj to version 3.0.7
      
      * Update microformats2 to version 2.9.0
      
      * Update lograge to version 0.5.1
      
      * Clean up usage of Microformats2 object to remove deprecation warnings
      
      * Update microformats2 to version 3.0.1
      5f727f90
    • Eugen Rochko's avatar
      Do not cancel PuSH subscriptions after encountering "permanent" error… (#3046) · 657496b5
      Eugen Rochko authored
      * Do not cancel PuSH subscriptions after encountering "permanent" error response
      
      After talking with MMN about it, turns out some servers/php setups do
      return 4xx errors while rebooting, so this anti-feature that was meant
      to take load off of the hub is doing more harm than good in terms of
      breaking subscriptions
      
      * Update delivery_worker.rb
      657496b5
  4. May 13, 2017
  5. May 12, 2017
  6. May 11, 2017
  7. May 10, 2017
  8. May 09, 2017
    • Matt Jankowski's avatar
      Specs for pubsub subscribe service (#2951) · 682507bc
      Matt Jankowski authored
      * Add spec for pubsubhubbub/subscribe
      
      * Refactor pubsubhubbub/subscribe service
      682507bc
    • Matt Jankowski's avatar
      Spec and refactor for pubsubhubbub/unsubscribe service (#2946) · 441d6dc7
      Matt Jankowski authored
      * Add coverage for pubsub unsubscribe service
      
      * Refactor pubsub unsubscribe service
      441d6dc7
    • Akihiko Odaki's avatar
      Use CLD3 (#2949) · d5cabfe5
      Akihiko Odaki authored
      Compact Language Detector v3 (CLD3) is the successor of CLD2, which was
      used in the previous implementation. CLD3 includes improvements since CLD2,
      and supports newer compilers. On the other hand, it has additional
      requirements and cld3-ruby, the FFI of CLD3 for Ruby, is still new and may
      be still inmature.
      
      Though CLD3 is named after CLD2, it is implemented with a neural network
      model, different from the old implementation, which is based on a Naïve
      Bayesian classifier.
      
      CLD3 supports newer compilers, such as GCC 6. CLD2 is not compatible with
      GCC 6 because it assigns negative values to varibales typed unsigned.
      (see internal/cld_generated_cjk_uni_prop_80.cc) The support for GCC 6 and
      newer compilers are essential today, when some server operating system
      such as Ubuntu Server 16.10 has GCC 6 by default.
      
      On the one hand, CLD3 requires C++11 support. Environments with old
      compilers such as Ubuntu Server 14.04 needs to update the system or install
      a newer compiler.
      
      CLD3 needs protocol buffers as a new dependency. However,it is not
      considered problematic because major server operating systems, CentOS and
      Ubuntu Server provide them.
      
      The FFI cld3-ruby was written by me (Akihiko Odaki) for use in Mastodon.
      It is still new and may be inmature, but confirmed to pass existing tests.
      d5cabfe5
    • abcang's avatar
  9. May 08, 2017
  10. May 07, 2017
  11. May 06, 2017
  12. May 05, 2017
    • Matt Jankowski's avatar
      Misc spec coverage improvements (#2821) · 484c9709
      Matt Jankowski authored
      * Dont use raise_error by itself (avoids warning)
      
      * Add coverage for AccountFilter
      
      * Improve coverage and refactor for Subscription#lease_seconds
      
      * Improve coverage and refactor for NotificationMailer
      
      * Simplify assignment of min/max threshold on subscription
      484c9709
    • masarakki's avatar
      d08f1112
    • Matt Jankowski's avatar
      Add specs (and refactor) of FetchRemoteResourceService and SearchService (#2812) · 20c37ed0
      Matt Jankowski authored
      * Coverage for fetch remote resource service
      
      * Refactor fetch remote resource service
      
      * Coverage for search service
      
      * Refactor search service
      20c37ed0
    • Eugen Rochko's avatar
      More robust PuSH subscription refreshes (#2799) · 81584779
      Eugen Rochko authored
      * Fix #2473 - Use sidekiq scheduler to refresh PuSH subscriptions instead of cron
      
      Fix an issue where / in domain would raise exception in TagManager#normalize_domain
      
      PuSH subscriptions refresh done in a round-robin way to avoid hammering a single
      server's hub in sequence. Correct handling of failures/retries through Sidekiq (see
      also #2613). Optimize Account#with_followers scope. Also, since subscriptions
      are now delegated to Sidekiq jobs, an uncaught exception will not stop the entire
      refreshing operation halfway through
      
      Fix #2702 - Correct user agent header on outgoing http requests
      
      * Add test for SubscribeService
      
      * Extract #expiring_accounts into method
      
      * Make mastodon:push:refresh no-op
      
      * Queues are now defined in sidekiq.yml
      
      * Queues are now in sidekiq.yml
      81584779
  13. May 04, 2017
Loading