Skip to content
Snippets Groups Projects
  1. May 05, 2017
    • masarakki's avatar
      d08f1112
    • 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
  2. May 03, 2017
  3. Apr 29, 2017
  4. Apr 27, 2017
  5. Apr 25, 2017
  6. Apr 23, 2017
  7. Apr 22, 2017
  8. Apr 21, 2017
  9. Apr 19, 2017
  10. Apr 18, 2017
    • Matt Jankowski's avatar
      Language detection refactor (#2099) · 297c11db
      Matt Jankowski authored
      * Extract detect_language to separate class
      
      * Use default locale, not just en
      
      * Add spec to confirm that whatlanguage cant identify empty string
      
      * Allow account locale to override default in language detector
      
      * PostStatusService supplies an account to detect language
      297c11db
  11. Apr 17, 2017
  12. Apr 16, 2017
  13. Apr 15, 2017
    • ThibG's avatar
      Allow running mastodon on a different domain as the one used for identifying users (#1267) · a9529d3b
      ThibG authored
      * Allow running mastodon on a different domain as the one used for identifying users
      
      * Alter documentation of WEB_DOMAIN to make clear it shouldn't be used unless the admin knows what they are doing
      
      * Compare to web_domain instead of local_domain when dealing with feeds/API
      
      * Correctly identify mentions to local accounts
      
      Mentions URLs point to the person's web profile, i.e., the user page served on WEB_DOMAIN.
      a9529d3b
  14. Apr 14, 2017
  15. Apr 13, 2017
  16. Apr 12, 2017
    • Ben Roberts's avatar
      significant improvement in microformats markup (#1063) · 0254ee97
      Ben Roberts authored
      * significant improvement in microformats markup
      
      This is a huge improvement and I believe will close #965.
      
      Had these microformats reviewed by others in the community to help
      ensure they are at least correct, if not complete.
      
      I did not want to change the structure of the page, and so there it does
      not fully mark up the entire ancestry chain, or reply chain, only the
      direct decendants and direct ancestors are correctly associated, but
      this is likely fine as the most important bit is to have access to the
      urls for those toots which are now correctly fetchable.
      
      * improve code climate
      
      * trying to pass code climate tests
      
      * code climate
      
      * fix p-summary for content warning posts
      
      * fix error introduced when merging via github
      0254ee97
    • Matt Jankowski's avatar
      Quick best practice cleanup of views/helpers (#1546) · c44a7002
      Matt Jankowski authored
      * Remove trailing whitespace
      
      * Use query methods instead of explicit .blank? checks
      c44a7002
    • Matt Jankowski's avatar
      Webfinger resource to extract username from resource string (#1607) · aa907983
      Matt Jankowski authored
      * Add WebfingerResource class to extract usernames
      
      * Use WebfingerResource in xrd#webfinger
      aa907983
  17. Apr 10, 2017
  18. Apr 09, 2017
  19. Apr 07, 2017
    • Joël Quenneville's avatar
      DRY up reblog vs original status check · d4c94fa0
      Joël Quenneville authored
      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.
      d4c94fa0
    • Eugen Rochko's avatar
      Fix nil#object_type error · 8a6d8de6
      Eugen Rochko authored
      8a6d8de6
    • Eugen Rochko's avatar
    • Eugen's avatar
      Force UTF8 encoding on generated XML (#1140) · 1c351709
      Eugen authored
      1c351709
    • Eugen's avatar
      Rewrite Atom generation from stream entries to use Ox instead of Nokogiri (#1124) · 6d6a429a
      Eugen authored
      * Rewrite Atom generation from stream entries to use Ox instead of Nokogiri::Builder
      
      StreamEntry is now limited to only statuses, which allows some optimization. Removed
      extra queries on AccountsController#show. AtomSerializer instead of AtomBuilderHelper
      used in AccountsController#show, StreamEntriesController#show, StreamEntryRenderer
      and PubSubHubbub::DistributionWorker
      
      PubSubHubbub::DistributionWorker moves n+1 DomainBlock query to PubSubHubbub::DeliveryWorker
      instead.
      
      All Salmon slaps that aren't based on StreamEntry still use AtomBuilderHelper and Nokogiri
      
      * All Salmon slaps now use Ox instead of Nokogiri. No touch from status on account
      6d6a429a
  20. Apr 05, 2017
Loading