Skip to content
Snippets Groups Projects
  1. Sep 05, 2017
  2. Aug 26, 2017
  3. Aug 17, 2017
  4. Jul 21, 2017
  5. Jul 19, 2017
  6. Jul 15, 2017
    • ThibG's avatar
      Optimize uri normalization (#4212) · 05cd3709
      ThibG authored
      * Add dependency on idn-ruby to speed up URI normalization
      
      * Use normalized_host instead of normalize.host when applicable
      
      When we are only interested in the normalized host, calling normalized_host
      avoids normalizing the other components of the URI as well as creating a
      new object
      05cd3709
  7. Jul 14, 2017
  8. Jul 13, 2017
    • Sorin Davidoi's avatar
      Web Push Notifications (#3243) · 0c7c188c
      Sorin Davidoi authored
      * feat: Register push subscription
      
      * feat: Notify when mentioned
      
      * feat: Boost, favourite, reply, follow, follow request
      
      * feat: Notification interaction
      
      * feat: Handle change of public key
      
      * feat: Unsubscribe if things go wrong
      
      * feat: Do not send normal notifications if push is enabled
      
      * feat: Focus client if open
      
      * refactor: Move push logic to WebPushSubscription
      
      * feat: Better title and body
      
      * feat: Localize messages
      
      * chore: Fix lint errors
      
      * feat: Settings
      
      * refactor: Lazy load
      
      * fix: Check if push settings exist
      
      * feat: Device-based preferences
      
      * refactor: Simplify logic
      
      * refactor: Pull request feedback
      
      * refactor: Pull request feedback
      
      * refactor: Create /api/web/push_subscriptions endpoint
      
      * feat: Spec PushSubscriptionController
      
      * refactor: WebPushSubscription => Web::PushSubscription
      
      * feat: Spec Web::PushSubscription
      
      * feat: Display first media attachment
      
      * feat: Support direction
      
      * fix: Stuff broken while rebasing
      
      * refactor: Integration with session activations
      
      * refactor: Cleanup
      
      * refactor: Simplify implementation
      
      * feat: Set VAPID keys via environment
      
      * chore: Comments
      
      * fix: Crash when no alerts
      
      * fix: Set VAPID keys in testing environment
      
      * fix: Follow link
      
      * feat: Notification actions
      
      * fix: Delete previous subscription
      
      * chore: Temporary logs
      
      * refactor: Move migration to a later date
      
      * fix: Fetch the correct session activation and misc bugs
      
      * refactor: Move migration to a later date
      
      * fix: Remove follow request (no notifications)
      
      * feat: Send administrator contact to push service
      
      * feat: Set time-to-live
      
      * fix: Do not show sensitive images
      
      * fix: Reducer crash in error handling
      
      * feat: Add badge
      
      * chore: Fix lint error
      
      * fix: Checkbox label overlap
      
      * fix: Check for payload support
      
      * fix: Rename action "type" (crash in latest Chrome)
      
      * feat: Action to expand notification
      
      * fix: Lint errors
      
      * fix: Unescape notification body
      
      * fix: Do not allow boosting if the status is hidden
      
      * feat: Add VAPID keys to the production sample environment
      
      * fix: Strip HTML tags from status
      
      * refactor: Better error messages
      
      * refactor: Handle browser not implementing the VAPID protocol (Samsung Internet)
      
      * fix: Error when target_status is nil
      
      * fix: Handle lack of image
      
      * fix: Delete reference to invalid subscriptions
      
      * feat: Better error handling
      
      * fix: Unescape HTML characters after tags are striped
      
      * refactor: Simpify code
      
      * fix: Modify to work with #4091
      
      * Sort strings alphabetically
      
      * i18n: Updated Polish translation
      
      it annoys me that it's not fully localized :P
      
      * refactor: Use current_session in PushSubscriptionController
      
      * fix: Rebase mistake
      
      * fix: Set cacheName to mastodon
      
      * refactor: Pull request feedback
      
      * refactor: Remove logging statements
      
      * chore(yarn): Fix conflicts with master
      
      * chore(yarn): Copy latest from master
      
      * chore(yarn): Readd offline-plugin
      
      * refactor: Use save! and update!
      
      * refactor: Send notifications async
      
      * fix: Allow retry when push fails
      
      * fix: Save track for failed pushes
      
      * fix: Minify sw.js
      
      * fix: Remove account_id from fabricator
      0c7c188c
  9. Jul 08, 2017
  10. Jul 07, 2017
  11. Jul 05, 2017
  12. Jun 25, 2017
    • Eugen Rochko's avatar
      Add overview of active sessions (#3929) · f7301bd5
      Eugen Rochko authored
      * Add overview of active sessions
      
      * Better display of browser/platform name
      
      * Improve how browser information is stored and displayed for sessions overview
      
      * Fix test
      f7301bd5
  13. Jun 18, 2017
  14. Jun 04, 2017
    • Matt Jankowski's avatar
      Gem version bumps (#3524) · 5be1214c
      Matt Jankowski authored
      * Update annotate to version 2.7.2
      
      * Update puma to version 3.9.0
      
      * Update aws-sdk to version 2.9.28
      
      * Update bootsnap to version 1.0.0
      
      * Update nio4r to version 2.1.0
      
      * Update nokogumbo to version 1.4.12
      
      * Update oj to version 3.0.11
      
      * Update pkg-config to version 1.2.3
      
      * Update rubocop to version 0.49.1
      
      * Update sidekiq-scheduler to version 2.1.5
      5be1214c
  15. Jun 03, 2017
  16. Jun 02, 2017
  17. May 31, 2017
  18. May 29, 2017
  19. May 28, 2017
  20. May 20, 2017
  21. 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
  22. May 11, 2017
  23. May 09, 2017
    • 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
    • alpaca-tc's avatar
      Remove rails_12factor (#2901) · ef226a6f
      alpaca-tc authored
      ef226a6f
  24. May 08, 2017
    • Matt Jankowski's avatar
      Misc gem bumps (#2919) · aef554d5
      Matt Jankowski authored
      * Update bundler-audit to version 0.5.0
      
      * Update oj to version 3.0.6
      
      * Update http-form_data to version 1.0.2
      
      * Update parallel to version 1.11.2
      
      * Update rails-i18n to version 5.0.4
      
      * Update rack-protection to version 2.0.0
      
      * Update haml to version 5.0.1
      
      * Update scss_lint to version 0.53.0
      
      * Relax requirement on i18n-tasks
      
      * Remove haml and haml_lint gem requirement
      aef554d5
    • yhirano's avatar
      Added haml-lint and fix warnings (#2773) · 48594b18
      yhirano authored
      * add haml_lint to Gemfile
      
      * add .haml-lint.yml
      
      * fix warnings of haml_lint
      48594b18
  25. May 07, 2017
  26. May 05, 2017
    • 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
  27. May 04, 2017
  28. May 03, 2017
Loading