Skip to content
Snippets Groups Projects
  1. Jan 19, 2018
  2. Jan 18, 2018
  3. Jan 15, 2018
  4. Jan 08, 2018
  5. 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
  6. Jan 03, 2018
  7. 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
  8. Dec 29, 2017
    • Eugen Rochko's avatar
      Add more instance stats APIs (#6125) · 38fc1b49
      Eugen Rochko authored
      * Add GET /api/v1/instance/peers API to reveal known domains
      
      * Add GET /api/v1/instance/activity API
      
      * Make new APIs disableable, exclude private statuses from activity stats
      
      * Fix code style issue
      
      * Fix week timestamps
      38fc1b49
  9. Dec 13, 2017
  10. Dec 12, 2017
  11. Dec 10, 2017
  12. Dec 09, 2017
  13. Dec 08, 2017
  14. Dec 07, 2017
  15. Dec 06, 2017
  16. Dec 05, 2017
    • Eugen Rochko's avatar
      Lists redis clean-up (#5886) · d68868ca
      Eugen Rochko authored
      * When list is deleted, remove feed from redis
      
      * Clean up list feeds of inactive users
      d68868ca
    • 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
      e20895f2
  17. Dec 01, 2017
  18. Nov 30, 2017
    • 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
      85e97eca
  19. Nov 28, 2017
    • Yamagishi Kazutoshi's avatar
      Show "expired" in invite index (#5838) · 15fab79c
      Yamagishi Kazutoshi authored
      * Show "expired" in invite index
      
      * "Force expire" -> "Deactivate"
      15fab79c
    • 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
    • nullkal's avatar
      Fix account migration feature (#5837) · 1b57d4dd
      nullkal authored
      * Make removable account migration
      
      * Fix error during update of account migration setting
      
      * Add notice when update account migration setting
      1b57d4dd
  20. Nov 27, 2017
    • Eugen Rochko's avatar
      706e5344
    • 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
      740f8a95
  21. Nov 25, 2017
  22. Nov 24, 2017
    • abcang's avatar
      Fix unnecessary order (#5807) · 269a445c
      abcang authored
      269a445c
    • Eugen Rochko's avatar
      Add logging of admin actions (#5757) · e84fecb7
      Eugen Rochko authored
      
      * Add logging of admin actions
      
      * Update brakeman whitelist
      
      * Log creates, updates and destroys with history of changes
      
      * i18n: Update Polish translation (#5782)
      
      Signed-off-by: default avatarMarcin Mikołajczak <me@m4sk.in>
      
      * Split admin navigation into moderation and administration
      
      * Redesign audit log page
      
      * :flag_pl: (#5795)
      
      * Add color coding to audit log
      
      * Change dismiss->resolve, log all outcomes of report as resolve
      
      * Update terminology (e-mail blacklist) (#5796)
      
      * Update terminology (e-mail blacklist)
      
      imho looks better
      
      * Update en.yml
      
      * Fix code style issues
      
      * i18n-tasks normalize
      e84fecb7
  23. Nov 19, 2017
  24. Nov 18, 2017
    • Eugen Rochko's avatar
      Profile redirect notes (#5746) · 58cede48
      Eugen Rochko authored
      * Serialize moved accounts into REST and ActivityPub APIs
      
      * Parse federated moved accounts from ActivityPub
      
      * Add note about moved accounts to public profiles
      
      * Add moved account message to web UI
      
      * Fix code style issues
      58cede48
  25. Nov 17, 2017
  26. Nov 16, 2017
  27. Nov 15, 2017
    • ysksn's avatar
      Delegate some methods of User to @settings (#5706) · 19e8b861
      ysksn authored
      * Move some tests of User into Settings::ScopedSettings
      
      * Add a test for User@settings
      19e8b861
    • Surinna Curtis's avatar
      Optional notification muting (#5087) · 031a5a8f
      Surinna Curtis authored
      * Add a hide_notifications column to mutes
      
      * Add muting_notifications? and a notifications argument to mute!
      
      * block notifications in notify_service from hard muted accounts
      
      * Add specs for how mute! interacts with muting_notifications?
      
      * specs testing that hide_notifications in mutes actually hides notifications
      
      * Add support for muting notifications in MuteService
      
      * API support for muting notifications (and specs)
      
      * Less gross passing of notifications flag
      
      * Break out a separate mute modal with a hide-notifications checkbox.
      
      * Convert profile header mute to use mute modal
      
      * Satisfy eslint.
      
      * specs for MuteService notifications params
      
      * add trailing newlines to files for Pork :)
      
      * Put the label for the hide notifications checkbox in a label element.
      
      * Add a /api/v1/mutes/details route that just returns the array of mutes.
      
      * Define a serializer for /api/v1/mutes/details
      
      * Add more specs for the /api/v1/mutes/details endpoint
      
      * Expose whether a mute hides notifications in the api/v1/relationships endpoint
      
      * Show whether muted users' notifications are muted in account lists
      
      * Allow modifying the hide_notifications of a mute with the /api/v1/accounts/:id/mute endpoint
      
      * make the hide/unhide notifications buttons work
      
      * satisfy eslint
      
      * In probably dead code, replace a dispatch of muteAccount that was skipping the modal with launching the mute modal.
      
      * fix a missing import
      
      * add an explanatory comment to AccountInteractions
      
      * Refactor handling of default params for muting to make code cleaner
      
      * minor code style fixes oops
      
      * Fixed a typo that was breaking the account mute API endpoint
      
      * Apply white-space: nowrap to account relationships icons
      
      * Fix code style issues
      
      * Remove superfluous blank line
      
      * Rename /api/v1/mutes/details -> /api/v2/mutes
      
      * Don't serialize "account" in MuteSerializer
      
      Doing so is somewhat unnecessary since it's always the current user's account.
      
      * Fix wrong variable name in api/v2/mutes
      
      * Use Toggle in place of checkbox in the mute modal.
      
      * Make the Toggle in the mute modal look better
      
      * Code style changes in specs and removed an extra space
      
      * Code review suggestions from akihikodaki
      
      Also fixed a syntax error in tests for AccountInteractions.
      
      * Make AddHideNotificationsToMute Concurrent
      
      It's not clear how much this will benefit instances in practice, as the
      number of mutes tends to be pretty small, but this should prevent any
      blocking migrations nonetheless.
      
      * Fix up migration things
      
      * Remove /api/v2/mutes
      031a5a8f
Loading