欧醚
4b1d586872
update trend statuses test
1 year ago
Christian Schmidt
bd047acc35
Replace `Status#translatable?` with language matrix in separate endpoint ( #24037 )
1 year ago
Matt Jankowski
688287c59d
Coverage improvement round-out following up previous work ( #23987 )
1 year ago
Matt Jankowski
506b16cf59
Pending example models minimal coverage ( #23912 )
1 year ago
Matt Jankowski
cd99fa8ceb
Fabricator specs ( #23925 )
1 year ago
Matt Jankowski
c40d5e5a8f
Misc coverage improvements for validators ( #23928 )
1 year ago
Matt Jankowski
f9c2213ae5
Models specs coverage ( #23940 )
1 year ago
Christian Schmidt
5a8c651e8f
Only offer translation for supported languages ( #23879 )
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
Nick Schonning
84cc805cae
Enable Style/FrozenStringLiteralComment for specs ( #23790 )
1 year ago
Nick Schonning
717683d1c3
Autofix Rubocop remaining Layout rules ( #23679 )
1 year ago
Nick Schonning
5116347eb7
Autofix Rubocop RSpec/BeEq ( #23740 )
1 year ago
Nick Schonning
bf785df9fe
Audofix Rubocop Style/WordArray ( #23739 )
1 year ago
Nick Schonning
4552685f6b
Autofix Rubocop RSpec/LeadingSubject ( #23670 )
1 year ago
Nick Schonning
38a1d8bb85
Autofix Rubocop RSpec/ImplicitSubject ( #23721 )
1 year ago
Nick Schonning
bd1d57c230
Autofix Rubocop RSpec/EmptyLineAfterSubject ( #23719 )
1 year ago
Nick Schonning
65ba0d92ef
Enable Rubocop RSpec/NotToNot ( #23723 )
1 year ago
Nick Schonning
81ad6c2e39
Autofix Rubocop Style/StringLiterals ( #23695 )
1 year ago
Nick Schonning
ac3561098e
Autofix Rubocop RSpec/LetBeforeExamples ( #23671 )
1 year ago
Nick Schonning
3680e032b4
Autofix Rubocop RSpec/EmptyLineAfterFinalLet ( #23707 )
1 year ago
Nick Schonning
b4cbfff3eb
Autofix Rubocop RSpec/ExcessiveDocstringSpacing ( #23666 )
1 year ago
Nick Schonning
a7db0b41cd
Autofix Rubocop Lint/ParenthesesAsGroupedExpression ( #23682 )
1 year ago
Nick Schonning
c0a645f647
Autofix Rubocop RSpec/ExampleWording ( #23667 )
1 year ago
Nick Schonning
54318dcd6d
Autofix Rubocop RSpec/ClassCheck ( #23685 )
1 year ago
Nick Schonning
6d42820e5d
Autofix Rubocop Lint/AmbiguousOperator ( #23680 )
1 year ago
Nick Schonning
669f6d2c0a
Run rubocop formatting except line length ( #23632 )
1 year ago
Nick Schonning
68b1071f86
Autofix Rubocop RSpec/BeNil ( #23653 )
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
ed570050c6
Autofix Rails/EagerEvaluationLogMessage ( #23429 )
* Autofix Rails/EagerEvaluationLogMessage
* Update spec for debug block syntax
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
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
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
Claire
b59fb28e90
Fix 500 error when trying to migrate to an invalid address ( #21462 )
* Fix 500 error when trying to migrate to an invalid address
* Add tests
1 year ago
David Leadbeater
69378eac99
Don't allow URLs that contain non-normalized paths to be verified ( #20999 )
* Don't allow URLs that contain non-normalized paths to be verified
This stops things like https://example.com/otheruser/../realuser where
"/otheruser" appears to be the verified URL, but the actual URL being
verified is "/realuser" due to the "/../".
Also fix a test to use 'https', so it is testing the right thing, now
that since #20304 https is required.
* missing do
2 years ago
Eugen Rochko
b31afc6294
Fix error when passing unknown filter param in REST API ( #20626 )
Fix #19156
2 years ago
Emily Strickland
c2231539c7
Test blank account field verifiability ( #20458 )
* Test blank account field verifiability
This change tests the need for #20428 , which ensures that we guard against a situation in which `at_xpath` returns `nil`.
* Test verifiability of blank fields for remote account profiles
This adds a counterpart test for remote account profiles' fields' verifiability when those fields are blank. I previously added the same test for local accounts.
2 years ago
Eugen Rochko
9965a23b04
Change link verification to ignore IDN domains ( #20295 )
Fix #3833
2 years ago
Eugen Rochko
e98833748e
Fix being able to spoof link verification ( #20217 )
- Change verification to happen in `default` queue
- Change verification worker to only be queued if there's something to do
- Add `link` tags from metadata fields to page header of profiles
2 years ago
luzpaz
6ba52306f9
Fix typos ( #19849 )
Found via `codespell -q 3 -S ./yarn.lock,./CHANGELOG.md,./AUTHORS.md,./config/locales,./app/javascript/mastodon/locales -L ba,followings,keypair,medias,pattens,pixelx,rememberable,ro,te`
2 years ago
Roni Laukkarinen
36b0ff57b7
Fix grammar ( #20106 )
2 years ago
Eugen Rochko
d0ba77047e
Change max. thumbnail dimensions to 640x360px (360p) ( #19619 )
2 years ago
Eugen Rochko
45ebdb72ca
Add support for language preferences for trending statuses and links ( #18288 )
2 years ago
Eugen Rochko
9f65909f42
Change public timelines to be filtered by current locale by default ( #19291 )
In the absence of an opt-in to multiple specific languages in the
preferences, it makes more sense to filter by the user's presumed
language only (interface language or `lang` override)
2 years ago
Eugen Rochko
50948b46aa
Add ability to filter followed accounts' posts by language ( #19095 )
2 years ago
Eugen Rochko
0412a4d03e
Change e-mail domain blocks to match subdomains of blocked domains ( #18979 )
2 years ago
Eugen Rochko
c3f0621a59
Add ability to follow hashtags ( #18809 )
2 years ago
Eugen Rochko
e7aa2be828
Change how hashtags are normalized ( #18795 )
* Change how hashtags are normalized
* Fix tests
2 years ago
Eugen Rochko
44b2ee3485
Add customizable user roles ( #18641 )
* Add customizable user roles
* Various fixes and improvements
* Add migration for old settings and fix tootctl role management
2 years ago