Claire
86f8aa2db2
Fix unconfirmed accounts being registered as active users ( #23803 )
1 year ago
Jean byroot Boussier
922837dc96
Upgrade to latest redis-rb 4.x and fix deprecations ( #23616 )
Co-authored-by: Jean Boussier <jean.boussier@gmail.com>
1 year ago
Christian Schmidt
5a8c651e8f
Only offer translation for supported languages ( #23879 )
1 year ago
Claire
6b16b77ab0
Fix external authentication not running onboarding code for new users ( #23458 )
1 year ago
Claire
f8bb4d0d6b
Fix server error when failing to follow back followers from `/relationships` ( #23787 )
1 year ago
Claire
c2a046ded1
Fix “Remove all followers from the selected domains” being more destructive than it claims ( #23805 )
1 year ago
Matt Jankowski
af578e8ce0
Fix deprecation warning about merging conditions ( #23618 )
1 year ago
Matt Jankowski
4bb39ac3c3
Fix single-record invalid condition on PollVote ( #23810 )
1 year ago
Claire
f682478de8
Fix inefficiency when searching accounts per username in admin interface ( #23801 )
1 year ago
Nick Schonning
9909b4b653
Autofix Rubocop Rails/WhereEquals ( #23759 )
1 year ago
Nick Schonning
717683d1c3
Autofix Rubocop remaining Layout rules ( #23679 )
1 year ago
Nick Schonning
d2dcb6c45a
Autofix Rubocop Style/UnpackFirst ( #23741 )
1 year ago
Nick Schonning
63e6353886
Autofix Rubocop Rails/EnumHash ( #23737 )
1 year ago
Nick Schonning
597767a9f7
Autofix Rubocop Rails/RedundantForeignKey ( #23731 )
1 year ago
Nick Schonning
2177daeae9
Autofix Rubocop Style/RedundantBegin ( #23703 )
1 year ago
Nick Schonning
ab7816a414
Autofix Rubocop Style/Lambda ( #23696 )
1 year ago
Nick Schonning
e2a3ebb271
Autofix Rubocop Style/IfUnlessModifier ( #23697 )
1 year ago
Nick Schonning
a6f77aa28a
Autofix Rubocop Lint/AmbiguousOperatorPrecedence ( #23681 )
1 year ago
Nick Schonning
669f6d2c0a
Run rubocop formatting except line length ( #23632 )
1 year ago
Aaron Patterson
fb8503e861
Upgrade to Ruby 3.2 ( #22928 )
Co-authored-by: Matthew Ford <matt@bitzesty.com>
1 year ago
Claire
a9c220242b
Fix admin-set follow recommandations being case-sensitive ( #23500 )
Fixes #23472
1 year ago
Claire
67de888bad
Fix server status URL being a required server setting ( #23499 )
1 year ago
Nick Schonning
0592937264
Apply Rubocop Rails/WhereNot ( #23448 )
* Apply Rubocop Rails/WhereNot
* Update spec for where.not
1 year ago
Nick Schonning
0d1f192c54
Apply Rubocop Performance/BlockGivenWithExplicitBlock ( #23441 )
* Apply Rubocop Performance/BlockGivenWithExplicitBlock
* Unprefix used block parameter
1 year ago
Nick Schonning
f68bb52556
Apply Rubocop Style/NegatedIfElseCondition ( #23451 )
1 year ago
Nick Schonning
8c1b65c7dd
Apply Rubocop Style/RedundantAssignment ( #23452 )
1 year ago
Nick Schonning
cec005068f
Apply Rubocop Performance/RedundantBlockCall ( #23440 )
1 year ago
Nick Schonning
ed570050c6
Autofix Rails/EagerEvaluationLogMessage ( #23429 )
* Autofix Rails/EagerEvaluationLogMessage
* Update spec for debug block syntax
1 year ago
Eugen Rochko
8f590b0a21
Add setting for status page URL ( #23390 )
1 year ago
Claire
13a2abacc8
Add `roles` attribute to Account entities in REST API ( #23255 )
1 year ago
Claire
6883fddb19
Fix account activation being triggered before email confirmation ( #23245 )
* Add tests
* Fix account activation being triggered before email confirmation
Fixes #23098
1 year ago
Jeong Arm
a1abda39dd
Fix Account Strike causing PG not null validation error ( #23178 )
1 year ago
Claire
3970a6f433
Add option to make the landing page be /about even when trends are enabled ( #20808 )
* Add option to make the landing page be /about even when trends are enabled
* Restablish /explore as landing page by default
1 year ago
Claire
343e1fe8e9
Add confirmation screen when handling reports ( #22375 )
* Add confirmation screen on moderation actions
* Add flash notice when a report has been processed
* Refactor tests
* Add tests
1 year ago
Claire
d1387579b9
Fix situations in which instance actor can be set to a Mastodon-incompatible name ( #22307 )
* Validate internal actor
* Use “internal.actor” by default for the server actor username
* Fix instance actor username on the fly if it includes ':'
* Change actor name from internal.actor to mastodon.internal
1 year ago
Claire
fcc4c9b34a
Change domain block CSV parsing to be more robust and handle more lists ( #21470 )
* Change domain block CSV parsing to be more robust and handle more lists
* Add some tests
* Improve domain block import validation and reporting
1 year ago
David Freedman
ff70e50199
Don't crash on unobtainable avatars ( #22462 )
1 year ago
Claire
21a1a8ee88
Fix crash when marking statuses as sensitive while some statuses are deleted ( #22134 )
* Do not offer to mark statuses as sensitive if there is no undeleted status with media attachments
* Fix crash when marking statuses as sensitive while some statuses are deleted
Fixes #21910
* Fix multiple strikes being created for a single report when selecting “Mark as sensitive”
* Add tests
1 year ago
Kaspar V
ae62e5fa53
Fix/remove calling private method with send in model ( #22951 )
* fix(status): remove send usage for private unlink_from_conversations
- make unlink_from_conversations public method
- rename unlink_from_conversations to unlink_from_conversations!
- fix send call on private method in statuses_vacuum and batched_remove_status_service
* fix(feeds_vacuum): replace find_in_batches with in_batches
because active record query results should be a little more efficient than
itterating with map and each. Postgres can grasp such lists of ids much quicker
than ruby can.
Will probably make allmost no difference, but cannot hurt either.
1 year ago
Darius Kazemi
264655c53a
Fix account search not returning followed accounts first ( #22956 )
* Make autosuggest for mentions return followed accounts first
This makes it so that (when elasticsearch is disabled) when a user types '@foo' in the compose box, they are first going to get accounts they follow ordered by the ranking algorithm, and then second they will get accounts they do not follow, also ordered by the ranking algorithm.
This makes behavior more consistent with user expectation and also with results when elasticsearch is enabled.
* Fix ranking order to correct direction
* One more fixup per @gargron suggestion
* Tweak to ranking to no longer include following modifier
1 year ago
Claire
acec1fb745
Fix site upload validations ( #22479 )
* Fix site settings media upload handling of DimensionsValidationError
Fixes #22234
* Fix underlying validations not being performed for site uploads
1 year ago
Claire
3654c94583
Strip spaces around URL when adding a relay ( #22655 )
* Strip spaces around URL when adding a relay
Fixes #22650
* Gracefuly handle URL parsing errors in URL validator
1 year ago
Alexander Ivanov
8eb29741b4
Add webhook `account.approved` ( #22938 )
* Webhook `account.approved` when preparing new user
* Update Webhook.EVENTS
1 year ago
Partho Ghosh
115ab2869b
Fix ・ detection in hashtag regex to construct hashtag correctly ( #22888 )
* Fix ・ detection in hashtag regex to construct hashtag correctly
* Fixed rubocop liniting issues
* More rubocop linting fix
1 year ago
Claire
70415714f1
Add follow request banner on account header ( #20785 )
* Add requested_by to relationship maps
* Display whether an account has requested to follow you on their profile
1 year ago
Claire
2644a28cb3
Change remote media files to be downloaded outside of transactions ( #21796 )
1 year ago
Jeong Arm
3656a6b9cc
Add "disabled" user filter for admin/accounts UI ( #21282 )
1 year ago
Jeong Arm
d412147d02
Save avatar or header correctly even if other one fails ( #18465 )
* Save avatar or header correctly if other one fails
* Fix test
1 year ago
Francis Murillo
5fb1c3e934
Revoke all authorized applications on password reset ( #21325 )
* Clear sessions on password change
* Rename User::clear_sessions to revoke_access for a clearer meaning
* Add reset paassword controller test
* Use User.find instead of User.find_for_authentication for reset password test
* Use redirect and render for better test meaning in reset password
Co-authored-by: Effy Elden <effy@effy.space>
1 year ago
Claire
ed07f10ca8
Fix failure when “Require a reason to join” is set with open registrations ( #22127 )
1 year ago