Claire
c1c87fe7b9
Add finer permission requirements for managing webhooks ( #25463 )
1 year ago
Claire
5e5af7a0fe
Fix /api/v1/conversations sometimes returning empty accounts ( #25499 )
1 year ago
Claire
ba5c12974a
Fix missing validation on `default_privacy` setting ( #25513 )
1 year ago
Claire
ecf17008e8
Fix user settings not getting validated ( #25508 )
1 year ago
Daniel M Brasil
4a994e5b50
Fix `ArgumentError` in `/api/v1/admin/accounts/:id/action` ( #25386 )
1 year ago
Claire
a424076226
Fix ArgumentError when loading newer Private Mentions ( #25399 )
1 year ago
Renaud Chaput
b51a10a066
Add missing report category translation ( #25400 )
1 year ago
Eugen Rochko
1dd243cc09
Add time zone preference ( #25342 )
1 year ago
Eugen Rochko
66a5173629
Add `legal` as report category ( #23941 )
1 year ago
Nick Schonning
ef344388c5
Autofix Rubocop Regex Style rules ( #23690 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
1 year ago
Eugen Rochko
2252e4d8bb
Add webhook templating ( #23289 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
1 year ago
Darius Kazemi
6debddcf89
Add exclusive lists ( #22048 )
...
Co-authored-by: Liam Cooke <liam@liamcooke.com>
Co-authored-by: John Holdun <john@johnholdun.com>
Co-authored-by: Effy Elden <effy@effy.space>
Co-authored-by: Lina Reyne <git@lina.pizza>
Co-authored-by: Lina <20880695+necropolina@users.noreply.github.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
1 year ago
Claire
572086c8ad
Add support for importing lists ( #25203 )
1 year ago
Claire
3d550b5712
Fix multiple N+1s in ConversationsController ( #25134 )
1 year ago
Christian Schmidt
971eafc709
Translate CW, poll options and media descriptions ( #24175 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
1 year ago
Claire
654f5c9cdc
Fix inconsistent naming of Instance.by_domain_and_subdomain ( #25159 )
1 year ago
Claire
245a4eac89
Improve various queries against account domains ( #25126 )
2 years ago
Claire
a5b52eb618
Change Identity to not destroy associated User on destroy ( #25098 )
2 years ago
Matt Jankowski
9e8323fdb9
Fix Performance/MapCompact cop ( #24797 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Emelia Smith
8b4d7b22ed
Allow reports with long comments from remote instances, but truncate ( #25028 )
2 years ago
Claire
844d8e101e
Add hCaptcha support ( #25019 )
2 years ago
Claire
99f1302cc3
Fix reports not being closed when performing batch suspensions ( #24988 )
2 years ago
Matt Jankowski
d65d954409
Extract StatusSafeReblogInsert concern from Status ( #24821 )
2 years ago
Nick Schonning
2f2c8f671b
Autofix Rubocop Style/HashSyntax ( #23754 )
2 years ago
Matt Jankowski
e8537a3a01
Fix Performance/CollectionLiteralInLoop cop ( #24819 )
2 years ago
Claire
90b45c5040
Fix various edge cases with local moves ( #24812 )
2 years ago
Claire
f89b5c08b6
Fix own posts not getting delivered to own lists ( #24810 )
2 years ago
Matt Jankowski
b7e49e1a70
Fix Performance/MethodObjectAsBlock cop ( #24798 )
2 years ago
Matt Jankowski
ec265b7d8a
Fix Rails/ActiveRecordCallbacksOrder cop ( #24689 )
2 years ago
Matt Jankowski
7a843ed550
Extract AccountSearch concern from Account ( #24716 )
2 years ago
Matt Jankowski
4d1f9d4278
Rename `with_lock` to `with_redis_lock` to avoid confusion with ActiveRecord's method ( #24741 )
2 years ago
Matt Jankowski
621e53f8fc
Fix Performance/Sum cop ( #24788 )
2 years ago
Claire
a247f77162
Change lists to be able to include accounts with pending follow requests ( #19727 )
2 years ago
Matt Jankowski
182bb4595f
Fix Lint/DuplicateBranch cop ( #24766 )
2 years ago
Claire
abce7cf2b9
Rewrite import feature ( #21054 )
2 years ago
Matt Jankowski
bdbc9d0036
Fix Rails/CompactBlank cop ( #24690 )
2 years ago
Matt Jankowski
e9e394fe57
Fix Rails/InverseOf cop ( #24732 )
2 years ago
Nick Schonning
519ae8c0c6
Drop EOL Ruby 2.7 ( #24237 )
2 years ago
Claire
d1e9e79cb7
Minor clean up and optimization of the automatic post deletion code ( #24613 )
2 years ago
Robert R George
335b53ab48
Add trend management to admin API ( #24257 )
2 years ago
Heitor de Melo Cardozo
a34c422490
Change moderation search an account using the username with @ ( #24242 )
2 years ago
Claire
1afa6d8cbf
Refactor `Status._insert_record` slightly and tighten the test around reblogs of discarded statuses ( #24516 )
2 years ago
Kuba Suder
158d6fcb43
fixed typo in a constant name ( #24511 )
2 years ago
Claire
6ccd12b521
Fix unescaped user input in LDAP query ( #24379 )
2 years ago
Nick Schonning
5f1a0f550b
Autofix Rubocop Rails/IgnoredColumnsAssignment ( #23761 )
2 years ago
Christian Schmidt
41190c8172
Wrong type for user setting when default is defined by lambda ( #24321 )
2 years ago
Eugen Rochko
c75fccf033
Change user settings to be stored in a more optimal way ( #23630 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
af57bcd3cf
Fix user archive takeout when using OpenStack Swift or S3 providers with no ACL support ( #24200 )
2 years ago
Eugen Rochko
1d2a941bc8
Change media upload limits and remove client-side resizing ( #23726 )
2 years ago
Claire
12eb6740d1
Fix Rails cache namespace being overriden with `v2` for cached statuses ( #24202 )
2 years ago
Takeshi Umeda
df68ba2e6a
Refactoring relations_map ( #24195 )
2 years ago
Vyr Cossont
d1b3f02926
Webhooks for local status.create, status.update, account.update ( #24133 )
2 years ago
Eugen Rochko
ef0c6a43ed
Change user backups to use expiring URLs for download when possible ( #24136 )
2 years ago
Christian Schmidt
7583523bf0
Replace `Status#translatable?` with language matrix in separate endpoint ( #24037 )
2 years ago
Claire
980472efc8
Fix unconfirmed accounts being registered as active users ( #23803 )
2 years ago
Jean byroot Boussier
08c2938b4a
Upgrade to latest redis-rb 4.x and fix deprecations ( #23616 )
...
Co-authored-by: Jean Boussier <jean.boussier@gmail.com>
2 years ago
Christian Schmidt
cc0c37cd69
Only offer translation for supported languages ( #23879 )
2 years ago
Claire
5acc02793a
Fix external authentication not running onboarding code for new users ( #23458 )
2 years ago
Claire
6943192f5e
Fix server error when failing to follow back followers from `/relationships` ( #23787 )
2 years ago
Claire
7bc43c91a0
Fix “Remove all followers from the selected domains” being more destructive than it claims ( #23805 )
2 years ago
Matt Jankowski
35cbd0685d
Fix deprecation warning about merging conditions ( #23618 )
2 years ago
Matt Jankowski
385ae6681d
Fix single-record invalid condition on PollVote ( #23810 )
2 years ago
Claire
0fb32f919f
Fix inefficiency when searching accounts per username in admin interface ( #23801 )
2 years ago
Nick Schonning
eed0829d3f
Autofix Rubocop Rails/WhereEquals ( #23759 )
2 years ago
Nick Schonning
e6312104c7
Autofix Rubocop remaining Layout rules ( #23679 )
2 years ago
Nick Schonning
c08d9e5e5c
Autofix Rubocop Style/UnpackFirst ( #23741 )
2 years ago
Nick Schonning
448f0929a7
Autofix Rubocop Rails/EnumHash ( #23737 )
2 years ago
Nick Schonning
483fabc53f
Autofix Rubocop Rails/RedundantForeignKey ( #23731 )
2 years ago
Nick Schonning
49f1168050
Autofix Rubocop Style/RedundantBegin ( #23703 )
2 years ago
Nick Schonning
3f9d7419d1
Autofix Rubocop Style/Lambda ( #23696 )
2 years ago
Nick Schonning
793f8c7dd5
Autofix Rubocop Style/IfUnlessModifier ( #23697 )
2 years ago
Nick Schonning
b7d4391c4d
Autofix Rubocop Lint/AmbiguousOperatorPrecedence ( #23681 )
2 years ago
Nick Schonning
31ca76fe2c
Run rubocop formatting except line length ( #23632 )
2 years ago
Aaron Patterson
edc6f486bf
Upgrade to Ruby 3.2 ( #22928 )
...
Co-authored-by: Matthew Ford <matt@bitzesty.com>
2 years ago
Claire
1a094b002d
Fix admin-set follow recommandations being case-sensitive ( #23500 )
...
Fixes #23472
2 years ago
Claire
cdcf981ad7
Fix server status URL being a required server setting ( #23499 )
2 years ago
Nick Schonning
ae45c9ccd4
Apply Rubocop Rails/WhereNot ( #23448 )
...
* Apply Rubocop Rails/WhereNot
* Update spec for where.not
2 years ago
Nick Schonning
4a49c50e64
Apply Rubocop Performance/BlockGivenWithExplicitBlock ( #23441 )
...
* Apply Rubocop Performance/BlockGivenWithExplicitBlock
* Unprefix used block parameter
2 years ago
Nick Schonning
e0a02f8696
Apply Rubocop Style/NegatedIfElseCondition ( #23451 )
2 years ago
Nick Schonning
faa8b582de
Apply Rubocop Style/RedundantAssignment ( #23452 )
2 years ago
Nick Schonning
0ea80860f4
Apply Rubocop Performance/RedundantBlockCall ( #23440 )
2 years ago
Nick Schonning
38ec6d27d8
Autofix Rails/EagerEvaluationLogMessage ( #23429 )
...
* Autofix Rails/EagerEvaluationLogMessage
* Update spec for debug block syntax
2 years ago
Eugen Rochko
92e5feb621
Add setting for status page URL ( #23390 )
2 years ago
Claire
9e5f274ba9
Add `roles` attribute to Account entities in REST API ( #23255 )
2 years ago
Claire
d28bbdfd48
Fix account activation being triggered before email confirmation ( #23245 )
...
* Add tests
* Fix account activation being triggered before email confirmation
Fixes #23098
2 years ago
Jeong Arm
c5474e725f
Fix Account Strike causing PG not null validation error ( #23178 )
2 years ago
Claire
340be8d706
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
2 years ago
Claire
592fe1a3bd
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
2 years ago
Claire
267f5c242f
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
2 years ago
Claire
0687eb20da
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
2 years ago
David Freedman
4d0985ce9c
Don't crash on unobtainable avatars ( #22462 )
2 years ago
Claire
64952cef52
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
2 years ago
Kaspar V
1cd04e5d77
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.
2 years ago
Darius Kazemi
b8408d85ea
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
2 years ago
Claire
d809eb0e83
Fix site upload validations ( #22479 )
...
* Fix site settings media upload handling of DimensionsValidationError
Fixes #22234
* Fix underlying validations not being performed for site uploads
2 years ago
Claire
ee5686999e
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
2 years ago
Alexander Ivanov
d126de71a6
Add webhook `account.approved` ( #22938 )
...
* Webhook `account.approved` when preparing new user
* Update Webhook.EVENTS
2 years ago
Partho Ghosh
5cdba7b239
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
2 years ago
Claire
cfeb01b17f
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
2 years ago
Claire
b821678966
Change remote media files to be downloaded outside of transactions ( #21796 )
2 years ago