Skip to content
Snippets Groups Projects
  1. Jan 22, 2018
  2. Jan 21, 2018
  3. Jan 20, 2018
  4. Jan 18, 2018
  5. Jan 17, 2018
    • Eugen Rochko's avatar
      Fix home regeneration (#6251) · 7badad77
      Eugen Rochko authored
      * Fix regeneration marker not being removed after completion
      
      * Return HTTP 206 from /api/v1/timelines/home if regeneration in progress
      Prioritize RegenerationWorker by putting it into default queue
      
      * Display loading indicator and poll home timeline while it regenerates
      
      * Add graphic to regeneration message
      
      * Make "not found" indicator consistent with home regeneration
      Unverified
      7badad77
    • Mike Burns's avatar
      Use be_within instead of eq for a to_f test match (#6275) · ea75ae2d
      Mike Burns authored
      Floating point values are notoriously hard to pin down, so use the
      `be_within` matcher to verify the approximate value.
      ea75ae2d
  6. Jan 16, 2018
  7. Jan 08, 2018
  8. Jan 07, 2018
  9. Jan 05, 2018
  10. Jan 04, 2018
    • Patrick Figel's avatar
      Fix email confirmation link not updating email (#6187) · 5ec25ff3
      Patrick Figel authored
      A change introduced in #6125 prevents
      `Devise::Models::Confirmable#confirm` from being called for existing
      users, which in turn leads to `email` not being set to
      `unconfirmed_email`, breaking email updates. This also adds a test
      that would've caught this issue.
      5ec25ff3
  11. Jan 03, 2018
  12. Jan 02, 2018
    • Patrick Figel's avatar
      Add confirmation step for email changes (#6071) · 04ecf44c
      Patrick Figel authored
      * Add confirmation step for email changes
      
      This adds a confirmation step for email changes of existing users.
      Like the initial account confirmation, a confirmation link is sent
      to the new address.
      
      Additionally, a notification is sent to the existing address when
      the change is initiated. This message includes instruction to reset
      the password immediately or to contact the instance admin if the
      change was not initiated by the account owner.
      
      Fixes #3871
      
      * Add review fixes
      04ecf44c
  13. Dec 27, 2017
  14. Dec 12, 2017
  15. Dec 11, 2017
  16. Dec 09, 2017
  17. Dec 06, 2017
    • aschmitz's avatar
      Break out nested relationship API keys (#5887) · 4de211b8
      aschmitz authored
      * Break out nested relationship API keys
      
      This closes #5856 by restoring the existing behavior of the `muting`
      and `following` keys (returning booleans rather than truthy or false).
      It adds `showing_reblogs` and `muting_notifications` keys:
      
      * `showing_reblogs` returns true if:
        1. You've requested to follow the user, with reblogs shown, or
        2. You are following the user, with reblogs shown.
      * `muting_notifications` returns true if you have muted the user and
        their notifications as well.
      
      * Rubocop fix
      
      * Fix pulling reblog/mute status from relationships
      
      I could swear this had passed tests before, but apparently not.
      Works now.
      
      * More test fixes
      
      Really, you'd expect this to be more straightforward.
      4de211b8
    • Yamagishi Kazutoshi's avatar
      Using double splat operator (#5859) · b21db9bb
      Yamagishi Kazutoshi authored
      b21db9bb
  18. Dec 05, 2017
    • Eugen Rochko's avatar
      Add list of lists component to web UI (#5811) · e20895f2
      Eugen Rochko authored
      * Add list of lists component to web UI
      
      * Add list adding
      
      * Add list removing
      
      * List editor modal
      
      * Add API account search limited by following=true relation
      
      * Rework list editor modal
      
      * Remove mandatory pagination of GET /api/v1/lists/:id/accounts
      
      * Adjust search input placeholder
      
      * Fix rspec (#5890)
      
      * i18n: (zh-CN) Add missing translations for #5811 (#5891)
      
      * i18n: (zh-CN) yarn manage:translations -- zh-CN
      
      * i18n: (zh-CN) Add missing translations for #5811
      
      * Fix some issues
      
      - Display loading/missing state for list timelines
      - Order lists alphabetically in overview
      - Fix async list editor reset
      - Redirect to /lists after deleting unpinned list
      - Redirect to / after pinning a list
      
      * Remove dead list columns when a list is deleted or fetch returns 404
      Unverified
      e20895f2
  19. Nov 30, 2017
    • Eugen Rochko's avatar
      Add semi-support for Video/Image objects in ActivityPub (#5848) · 4c6b5dbe
      Eugen Rochko authored
      * Add semi-support for Video/Image objects in ActivityPub
      
      Video and Image objects will create corresponding status records
      with manually crafted text contents (title + URL)
      
      * Extract html-url-finding logic into JsonLdHelper
      
      * Fallback to id when url missing, extract supported object types
      Unverified
      4c6b5dbe
    • Eugen Rochko's avatar
      Fix too many forwards (#5854) · 85e97eca
      Eugen Rochko authored
      * Avoid sending explicit Undo->Announce when original deleted
      
      * Do not forward a reply back to the server that sent it
      
      * Deduplicate inboxes of rebloggers' followers for delete forwarding
      
      * Adjust test
      
      * Fix wrong class, bad SQL, wrong variable, outdated comment
      Unverified
      85e97eca
  20. Nov 28, 2017
    • aschmitz's avatar
      Allow hiding of reblogs from followed users (#5762) · eeaec398
      aschmitz authored
      * Allow hiding of reblogs from followed users
      
      This adds a new entry to the account menu to allow users to hide
      future reblogs from a user (and then if they've done that, to show
      future reblogs instead).
      
      This does not remove or add historical reblogs from/to the user's
      timeline; it only affects new statuses.
      
      The API for this operates by sending a "reblogs" key to the follow
      endpoint. If this is sent when starting a new follow, it will be
      respected from the beginning of the follow relationship (even if
      the follow request must be approved by the followee). If this is
      sent when a follow relationship already exists, it will simply
      update the existing follow relationship. As with the notification
      muting, this will now return an object ({reblogs: [true|false]}) or
      false for each follow relationship when requesting relationship
      information for an account. This should cause few issues due to an
      object being truthy in many languages, but some modifications may
      need to be made in pickier languages.
      
      Database changes: adds a show_reblogs column (default true,
      non-nullable) to the follows and follow_requests tables. Because
      these are non-nullable, we use the existing MigrationHelpers to
      perform this change without locking those tables, although the
      tables are likely to be small anyway.
      
      Tests included.
      
      See also <https://github.com/glitch-soc/mastodon/pull/212>.
      
      * Rubocop fixes
      
      * Code review changes
      
      * Test fixes
      
      This patchset closes #648 and resolves #3271.
      
      * Rubocop fix
      
      * Revert reblogs defaulting in argument, fix tests
      
      It turns out we needed this for the same reason we needed it in muting:
      if nil gets passed in somehow (most usually by an API client not passing
      any value), we need to detect and handle it.
      
      We could specify a default in the parameter and then also catch nil, but
      there's no great reason to duplicate the default value.
      eeaec398
    • ThibG's avatar
      Fix handling of temporary failures in ProcessMentionsService (#5842) · b8efb5da
      ThibG authored
      * Add test for temporary account resolving failures in ProcessMentionsService
      
      * Fix processing of mentions to already-known remote accounts on temporary failures
      b8efb5da
  21. Nov 27, 2017
    • Eugen Rochko's avatar
      Add consumable invites (#5814) · 740f8a95
      Eugen Rochko authored
      * Add consumable invites
      
      * Add UI for generating invite codes
      
      * Add tests
      
      * Display max uses and expiration in invites table, delete invite
      
      * Remove unused column and redundant validator
      
      - Default follows not used, probably bad idea
      - InviteCodeValidator is redundant because RegistrationsController
        checks invite code validity
      
      * Add admin setting to disable invites
      
      * Add admin UI for invites, configurable role for invite creation
      
      - Admin UI that lists everyone's invites, always available
      - Admin setting min_invite_role to control who can invite people
      - Non-admin invite UI only visible if users are allowed to
      
      * Do not remove invites from database, expire them instantly
      Unverified
      740f8a95
  22. Nov 24, 2017
  23. Nov 21, 2017
  24. Nov 19, 2017
Loading