- Jan 22, 2018
-
-
Akihiko Odaki authored
The service used to be named ResolveRemoteAccountService resolves local accounts as well.
-
Akihiko Odaki authored
The service used to be named FetchRemoteResourceService resolves local URL as well.
-
- Jan 21, 2018
-
-
Aboobacker MK authored
-
- Jan 20, 2018
-
-
Eugen Rochko authored
* Make text e-mails consistent with HTML ones in UserMailer * Fix UserMailer specs
-
- Jan 18, 2018
-
-
Eugen Rochko authored
* Fix regeneration key not getting expired * Add rake task to remove old regeneration markers
-
Eugen Rochko authored
* Remove onboarding modal * Welcome e-mail * Send welcome e-mail after confirmation * Remove obsolete translations
-
Renato "Lond" Cerqueira authored
* When must_be_following_dm is on, only notify if recipient dm'ed user Currently, when must_be_following_dm is on, if a user sends a direct message replying to any status from the recipient, the recipient gets a notification. This should not be the case, as if the recipient posted something publicly this can be used to spam their notifications. * Refactor replied_to_status_is_direct_message? Following suggestion in PR
-
- Jan 17, 2018
-
-
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
-
Mike Burns authored
Floating point values are notoriously hard to pin down, so use the `be_within` matcher to verify the approximate value.
-
- Jan 16, 2018
-
-
Eugen Rochko authored
* HTML e-mails for NotificationMailer (except digest) * Add HTML template for digest * Fix build
-
Eugen Rochko authored
- premailer gem to turn CSS into inline styles automatically - rework UserMailer templates - reword UserMailer templates
-
- Jan 08, 2018
-
-
Eugen Rochko authored
-
Eugen Rochko authored
* Fix actors accepting invalid URI schemes or different host between URI and URL * Fix statuses accepting invalid URI scheme or different host to actor * Adjust tests to new requirements * Improve readability of mismatching_origin?/invalid_origin? methods
-
- Jan 07, 2018
-
-
Yamagishi Kazutoshi authored
-
- Jan 05, 2018
-
-
Naoki Kosaka authored
-
- Jan 04, 2018
-
-
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.
-
- Jan 03, 2018
-
-
ThibG authored
* Don't normalize URLs in toots URL normalization is ill-defined and may cause certain links to break. * Change specs since we are not normalizing user-provided URLs
-
Akihiko Odaki authored
* Allow to dereference Follow object for ActivityPub * Accept IRI as object representation for Accept activity
-
puckipedia authored
* Sanitize classlist properly * Actually properly sanitize every class after the first * Improve Formatter spec to check for multiple classes and non-space whitespace
-
- Jan 02, 2018
-
-
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
-
- Dec 27, 2017
-
-
Akihiko Odaki authored
-
- Dec 12, 2017
-
-
Eugen Rochko authored
-
- Dec 11, 2017
-
-
Akihiko Odaki authored
preview_card fabricator has a removed attribute, status, and is no longer functional.
-
- Dec 09, 2017
-
-
Eugen Rochko authored
* Fix #668 - Rate limit by user instead of IP when API user is authenticated * Fix code style issue * Use request decorator provided by Doorkeeper
-
abcang authored
-
- Dec 06, 2017
-
-
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.
-
Yamagishi Kazutoshi authored
-
- Dec 05, 2017
-
-
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
-
- Nov 30, 2017
-
-
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
-
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
-
- Nov 28, 2017
-
-
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.
-
ThibG authored
* Add test for temporary account resolving failures in ProcessMentionsService * Fix processing of mentions to already-known remote accounts on temporary failures
-
- Nov 27, 2017
-
-
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
-
- Nov 24, 2017
-
-
ysksn authored
-
ysksn authored
-
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:
Marcin Mikołajczak <me@m4sk.in> * Split admin navigation into moderation and administration * Redesign audit log page *
(#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
-
- Nov 21, 2017
-
-
ysksn authored
-
- Nov 19, 2017