1. 27 Sep, 2017 1 commit
  2. 25 Sep, 2017 1 commit
  3. 16 Sep, 2017 1 commit
  4. 11 Sep, 2017 2 commits
  5. 08 Sep, 2017 1 commit
    • Eugen Rochko's avatar
      Fix language filter codes (#4841) · 1caf11dd
      Eugen Rochko authored
      * Fix language filter codes
      
      CLD3 returns BCP-47 language identifier, filter settings expect
      identifiers in the ISO 639-1 format. Convert between formats,
      and exclude duplicate languages from filter choices (zh-CN->zh)
      
      * Fix zh name
      1caf11dd
  6. 05 Sep, 2017 1 commit
  7. 26 Aug, 2017 1 commit
  8. 17 Aug, 2017 1 commit
  9. 21 Jul, 2017 2 commits
  10. 19 Jul, 2017 1 commit
  11. 15 Jul, 2017 1 commit
    • 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
  12. 14 Jul, 2017 2 commits
  13. 13 Jul, 2017 1 commit
    • 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
  14. 08 Jul, 2017 1 commit
  15. 07 Jul, 2017 1 commit
  16. 05 Jul, 2017 1 commit
  17. 25 Jun, 2017 1 commit
    • 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
  18. 18 Jun, 2017 1 commit
  19. 04 Jun, 2017 1 commit
    • 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
  20. 03 Jun, 2017 1 commit
  21. 02 Jun, 2017 1 commit
  22. 31 May, 2017 1 commit
  23. 29 May, 2017 3 commits
  24. 28 May, 2017 1 commit
  25. 20 May, 2017 1 commit
  26. 14 May, 2017 1 commit
    • 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
  27. 11 May, 2017 2 commits
  28. 09 May, 2017 2 commits
    • 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
  29. 08 May, 2017 2 commits
    • 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
  30. 07 May, 2017 3 commits
    • yhirano's avatar
      Enable CodeClimate SCSS Lint checks (#2886) · d63c291f
      yhirano authored
      * add scss_lint to Gemfile
      
      * add .scss-lint.yml
      
      * fix warnings of scss-lint
      
      * chmod -x styles/variables.scss
      
      * Enable CodeClimate SCSS Lint checks
      d63c291f
    • beatrix's avatar
      namespace redis usage (#2869) · 5c1f70b5
      beatrix authored
      * add redis-namespace gem
      
      * namespace redis usage
      
      * refactor redis namespace code to be less intrusive
      
      previously : would be prepended to keys when the
      REDIS_NAMESPACE env var was not set
      
      now if it is not set the namespacing functions are
      not used at all, which should prevent disruptions
      when instances update.
      
      * fix redis namespace variable style in streaming js
      
      * remove trailing space
      
      * final redis namespace style fix
      5c1f70b5
    • Yamagishi Kazutoshi's avatar
      f0006735