Skip to content
Snippets Groups Projects
  1. May 11, 2017
  2. May 08, 2017
  3. May 06, 2017
  4. May 05, 2017
  5. May 02, 2017
  6. May 01, 2017
    • Matt Jankowski's avatar
      Filter on allowed user language preferences (#2361) · f025cc67
      Matt Jankowski authored
      * Naive approached to timeline filtering
      
      * Convert allowed_languages into a db column
      
      * Allow users to choose languages to see statuses in
      
      * Style list items as two columns
      
      * Add a hint to explain language filtering preference
      f025cc67
  7. Apr 30, 2017
  8. Apr 29, 2017
  9. Apr 28, 2017
    • Joël Quenneville's avatar
      Add tests to the Feed model (#2594) · 27301312
      Joël Quenneville authored
      This adds a test for the `Feed#get` method. While the data
      transformations in `Feed#get` may seem redundant, they are important to
      maintain the order from Redis. The tests I wrote will fail if someone
      tries to refactor away this "redundancy" (as I tried to do in the first
      iteration of this change).
      27301312
    • Matt Jankowski's avatar
      More status specs (#2564) · effb08ed
      Matt Jankowski authored
      * Add rough outline of coverage needed for public timeline
      
      * Specs for visibility, replies, boosts
      
      * Specs for silenced account
      
      * Specs for local_only option
      
      * Specs for blocks and mutes
      
      * Add tentative spec around including other silenced account statuses
      
      * Add with_public_visibility scope
      
      * Add simple coverage for tag_timeline
      
      * Tag timeline includes replies
      
      * Replace tag.statuses with a tagged_with scope in tag timeline method
      
      * Use with_public_visibility in tag timeline
      
      * Extract common scope between public and tag timelines to method
      
      * Extract local domain check to local_only scope
      
      * Extract local_only check to starting scope method
      
      * Move list of excluded from timeline account ids to account model
      
      * Simplify excluded accounts list on account model
      
      * Only join accounts when needed
      
      * Rename method for account specific filtering
      
      * Extract method for account exclusions
      
      * Fix bug where silenced accounts were not including statuses from other silenced accounts
      
      * DRY up filter application from account or no account
      
      * timeline_scope can be private
      
      * Add spec showing that account can find its excluded accounts ids
      
      * Add spec which fails if local_only does not have a left outer join
      
      * rubocop
      effb08ed
  10. Apr 26, 2017
  11. Apr 25, 2017
    • Guillaume Lo Re's avatar
      Stricter whitelist rules (#2213) · 7177e37b
      Guillaume Lo Re authored
      * Stricter whitelist rules
      
      * Linting
      
      * Added spec for blacklisting
      
      * Test subdomain blacklist on domain whitelist
      
      * No need to split
      
      * Change spec name
      7177e37b
  12. Apr 24, 2017
  13. Apr 23, 2017
    • Ash Furrow's avatar
      Admin UI for confirming users (#2245) · 723f25a9
      Ash Furrow authored
      * Shows confirmed status in list.
      
      * Adds ability to confirm users in admin UI.
      
      * Added new english translations.
      
      * Addresses feedback from #2245.
      
      * More feedback.
      723f25a9
  14. Apr 21, 2017
  15. Apr 19, 2017
    • Eugen's avatar
      Fix #2108 - Fix gif uploads (#2171) · 2e4afccd
      Eugen authored
      * Fix #2108 - Fix gif uploads
      Add specs for media attachment gifv conversion
      
      * Add ffmpeg to travis
      
      * Make travis install ffmpeg, not libav
      
      * Switch travis to trusty
      v1.2.2
      2e4afccd
  16. Apr 18, 2017
    • Matt Jankowski's avatar
      Instances list in admin (#2095) · 55e15035
      Matt Jankowski authored
      * Add admin/instances index action
      
      * Add link to instances admin page
      
      * View lists instances
      
      * Instances, grouped by domain, ordered by count
      
      * Use Account.remote scope
      
      * Extract method: Account.by_domain_accounts
      55e15035
    • Matt Jankowski's avatar
      Admin reports with accounts (#2092) · 66d8f99a
      Matt Jankowski authored
      * Add a ReportFilter class
      
      * Add reports and targeted_reports relationships to Account
      
      * Use ReportFilter from admin/reports controller
      
      * Link to admin/reports filtered views from admin account show view
      
      * Add indexes to reports.account_id and reports.target_account_id
      66d8f99a
  17. Apr 17, 2017
    • Matt Jankowski's avatar
      Remove unused methods (#1730) · 16d50f60
      Matt Jankowski authored
      * Remove unused method #set_counters_maps from api controller
      
      * Remove unused method #set_account_counters_maps from api controller
      
      * Remove unused method Account#followers_domains
      
      * Remove unused User.prolific scope
      
      * Add mastodon:users:admins task to list all admin emails
      
      * Use interpolated query style in Account.triadic_closures
      
      * Coverage for Account.triadic_closures
      16d50f60
  18. Apr 15, 2017
    • 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
      df4ff9a8
  19. Apr 14, 2017
    • 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
      8b74aa42
  20. Apr 13, 2017
  21. Apr 11, 2017
    • 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
      3ddd936b
  22. Apr 10, 2017
    • Eugen's avatar
      When avatar/header are GIF, generate static versions (#1428) · 12f72e17
      Eugen authored
      * When avatar/header are GIF, generate static versions.
      Account API returns "avatar"/"avatar_static", "header"/"header_static"
      Static version is the same as original for other cases
      Web UI de-animates avatars in toots, lists of users
      
      Fix #441, fix #596, prerequisite for #1064
      
      * Fix JS test
      
      * Add rake task to generate static avatars/headers from GIF ones, add test
      12f72e17
    • Matt Jankowski's avatar
      Clean up generation of account webfinger string (#1477) · 0687ab8a
      Matt Jankowski authored
      * Consolidate webfinger string creation under Account#to_webfinger_s
      
      * Introduce Account#local_username_and_domain for consolidation
      0687ab8a
  23. Apr 09, 2017
    • Matt Jankowski's avatar
      Search cleanup (#1333) · 388ec0d5
      Matt Jankowski authored
      * Clean up SQL output in Tag and Account search methods
      
      * Add basic coverage for Tag.search_for
      
      * Add coverage for Account.search_for
      
      * Add coverage for Account.advanced_search_for
      388ec0d5
  24. Apr 07, 2017
    • Joël Quenneville's avatar
      Implement pending specs on Status · 4fdeac21
      Joël Quenneville authored
      Implement the two pending specs on `Status`: `reblogs_count` and
      `favourites_count`.
      4fdeac21
    • 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
  25. Apr 05, 2017
  26. Apr 04, 2017
  27. Mar 30, 2017
  28. Mar 05, 2017
Loading