1. 15 Apr, 2017 1 commit
    • Patrick Figel's avatar
      Add recovery code support for two-factor auth (#1773) · df4ff9a8
      Patrick Figel authored
      * Add recovery code support for two-factor auth
      When users enable two-factor auth, the app now generates ten
      single-use recovery codes. Users are encouraged to print the codes
      and store them in a safe place.
      The two-factor prompt during login now accepts both OTP codes and
      recovery codes.
      The two-factor settings UI allows users to regenerated lost
      recovery codes. Users who have set up two-factor auth prior to
      this feature being added can use it to generate recovery codes
      for the first time.
      Fixes #563 and fixes #987
      * Set OTP_SECRET in test enviroment
      * add missing .html to view file names
  2. 14 Apr, 2017 2 commits
    • 西小倉宏信's avatar
      Remove .keep in models (#1748) · 290e8ef8
      西小倉宏信 authored
    • Matt Jankowski's avatar
      Admin reports controller improvements (#1714) · 8b74aa42
      Matt Jankowski authored
      * Simplify admin/reports controller filtering for index
      * Rename parameter to resolved
      * Fix issue where reports view could not access filter_link_to
      * Add coverage for admin/reports controller
      * DRY up resolution of related reports for target account
      * Clean up admin/reports routes
      * Add Report#statuses method
      * DRY up current account action taken params
      * Rubocop styles
  3. 13 Apr, 2017 2 commits
    • Matt Jankowski's avatar
      Admin accounts controller cleanup (#1664) · 3a9eb81a
      Matt Jankowski authored
      * Remove unused account_params method in admin/accounts controller
      * Introduce AccountFilter to find accounts
      * Use AccountFilter in admin/accounts controller
      * Use more restful routes admin silence and suspension area
      * Add admin/silences and admin/suspensions controllers
    • Matt Jankowski's avatar
      Settings export refactor (#1646) · 0e39cc6a
      Matt Jankowski authored
      * Refactor Export to take an account and know about the export types
      * Use Export instance in settings/exports#show
  4. 12 Apr, 2017 1 commit
  5. 11 Apr, 2017 2 commits
    • Matt Jankowski's avatar
      Refactor exports controller (#1567) · 3ddd936b
      Matt Jankowski authored
      * Add basic coverage for settings/exports controller
      * Remove unused @account variable from settings/exports controller
      * Add coverage for download export actions
      * Remove deprecated `render :text` in favor of `send_data` for csv downloads
      * Add model to handle exports
      * Use Export class in settings/exports controller
      * Simplify settings/exports controller methods
      * Move settings/export to more restful routes
    • blackle's avatar
  6. 10 Apr, 2017 3 commits
  7. 09 Apr, 2017 2 commits
  8. 08 Apr, 2017 1 commit
  9. 07 Apr, 2017 2 commits
    • 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
      We added test coverage to untested methods that got refactored.
    • 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
      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
  10. 05 Apr, 2017 1 commit
  11. 04 Apr, 2017 3 commits
  12. 03 Apr, 2017 2 commits
  13. 01 Apr, 2017 1 commit
  14. 30 Mar, 2017 3 commits
  15. 22 Mar, 2017 3 commits
  16. 18 Mar, 2017 1 commit
  17. 17 Mar, 2017 1 commit
  18. 16 Mar, 2017 1 commit
  19. 15 Mar, 2017 1 commit
  20. 06 Mar, 2017 1 commit
  21. 05 Mar, 2017 6 commits