Nick Schonning
e0e63b73ee
Autofix Rubocop RSpec/EmptyLineAfterHook ( #23718 )
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
1a02101100
Autofix Rubocop Style/EmptyLambdaParameter ( #23705 )
1 year ago
Nick Schonning
3680e032b4
Autofix Rubocop RSpec/EmptyLineAfterFinalLet ( #23707 )
1 year ago
Nick Schonning
167709f6b0
Autofix Rubocop Style/BlockDelimiters ( #23706 )
1 year ago
Nick Schonning
c0d7c855b3
Autofix Rubocop RSpec/Capybara/FeatureMethods ( #23708 )
1 year ago
Nick Schonning
08289a38fa
Autofix Rubocop Style/TrailingCommaInArrayLiteral ( #23692 )
1 year ago
Nick Schonning
5069769cbe
Autofix Rubocop Style/TrailingCommaInHashLiteral ( #23693 )
1 year ago
Nick Schonning
b4cbfff3eb
Autofix Rubocop RSpec/ExcessiveDocstringSpacing ( #23666 )
1 year ago
Nick Schonning
c38bd17657
Autofix Rubocop Style/TrailingCommaInArguments ( #23694 )
1 year ago
Nick Schonning
e2a3ebb271
Autofix Rubocop Style/IfUnlessModifier ( #23697 )
1 year ago
Nick Schonning
d65b2c1924
Apply Rubocop Style/RedundantConstantBase ( #23463 )
1 year ago
Nick Schonning
a7db0b41cd
Autofix Rubocop Lint/ParenthesesAsGroupedExpression ( #23682 )
1 year ago
Nick Schonning
e5cf23cf3a
Enable Rubocop RSpec/HooksBeforeExamples ( #23668 )
1 year ago
Nick Schonning
efd424506a
Autofix Rubocop Style/RedundantPercentQ ( #23651 )
1 year ago
Nick Schonning
c0a645f647
Autofix Rubocop RSpec/ExampleWording ( #23667 )
1 year ago
Nick Schonning
7a3d4c3d4b
Enable Rubocop RSpec/MultipleDescribes ( #23672 )
1 year ago
Nick Schonning
54318dcd6d
Autofix Rubocop RSpec/ClassCheck ( #23685 )
1 year ago
Nick Schonning
634368c491
Autofix Rubocop Lint/SymbolConversion ( #23683 )
1 year ago
Nick Schonning
6d42820e5d
Autofix Rubocop Lint/AmbiguousOperator ( #23680 )
1 year ago
Nick Schonning
ac59d6f19f
Enable Rubocop Style/NumericLiterals ( #23647 )
1 year ago
Nick Schonning
669f6d2c0a
Run rubocop formatting except line length ( #23632 )
1 year ago
Nick Schonning
6ed6c41724
Autofix Rubocop RSpec/EmptyLineAfterExample ( #23661 )
1 year ago
Nick Schonning
68b1071f86
Autofix Rubocop RSpec/BeNil ( #23653 )
1 year ago
Nick Schonning
936204b9ea
Autofix Rubocop Style/NestedParenthesizedCalls ( #23646 )
1 year ago
Nick Schonning
37914c8757
Autofix Rubocop Style/MethodCallWithoutArgsParentheses ( #23645 )
1 year ago
Claire
66f715550e
Add `memorial` attribute to REST API ( #23591 )
1 year ago
Claire
d6930b3847
Add API parameter to safeguard unexpect mentions in new posts ( #18350 )
1 year ago
Varun Sharma
45e2936c89
Add tests to indicate inclusion of self replies in statuses endpoint ( #23266 )
1 year ago
Claire
c55568c75a
Add tests for `REST::AccountSerializer` ( #23319 )
1 year ago
Claire
0c9eac80d8
Fix unbounded recursion in post discovery ( #23506 )
* Add a limit to how many posts can get fetched as a result of a single request
* Add tests
* Always pass `request_id` when processing `Announce` activities
---------
Co-authored-by: nametoolong <nametoolong@users.noreply.github.com>
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
1487fcde93
Apply Rubocop Style/ExpandPathArguments ( #23450 )
1 year ago
Nick Schonning
ed570050c6
Autofix Rails/EagerEvaluationLogMessage ( #23429 )
* Autofix Rails/EagerEvaluationLogMessage
* Update spec for debug block syntax
1 year ago
Claire
9edefc779f
Fix `UserCleanupScheduler` crash when an unconfirmed account has a moderation note ( #23318 )
* Fix `UserCleanupScheduler` crash when an unconfirmed account has a moderation note
* Add tests
1 year ago
Claire
20a479ff7c
Change `POST /settings/applications/:id` to regenerate token on scopes change ( #23359 )
Fixes #23096
1 year ago
Claire
13a2abacc8
Add `roles` attribute to Account entities in REST API ( #23255 )
1 year ago
Claire
a5a00d7f7a
Fix email with empty domain name labels passing validation ( #23246 )
* Fix email with empty domain name labels passing validation
`EmailMxValidator` would allow empty labels because `Resolv::DNS` is
particularly lenient about them, but the email would be invalid and
unusable.
* Add tests
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
Markus Unterwaditzer
f2a6e71bb6
Suppress AddressFamilyError in link verification ( #23204 )
* Suppress AddressFamilyError
* clarify comment
1 year ago
Claire
448be26b34
Add missing `policy` attribute to `WebPushSubscriptionSerializer` ( #23210 )
* Add missing `policy` attribute to `WebPushSubscriptionSerializer`
Fixes #23145
* Add tests
1 year ago
Claire
68dcbcb7bf
Add more specific error messages to HTTP signature verification ( #21617 )
* Return specific error on failure to parse Date header
* Add error message when preferredUsername is not set
* Change error report to be JSON and include more details
* Change error report to differentiate unknown account and failed refresh
* Add tests
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
4b92e59f4f
Add support for editing media description and focus point of already-posted statuses ( #20878 )
* Add backend support for editing media attachments of existing posts
* Allow editing media attachments of already-posted toots
* Add tests
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
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
Claire
15b88a83ab
Fix sanitizer parsing link text as HTML when stripping unsupported links ( #22558 )
1 year ago
Markus Unterwaditzer
0c689b9d01
fix: allow verification when page size exceeds 1MB (using HTML5 parser) ( #22879 )
* fix: allow verification when page size exceeds 1MB
Truncates the page after 1MB instead
Closes #15316
* switch to HTML5 parser, fix rubocop errors
* undo rubocop fixes
Co-authored-by: Chris Zubak-Skees <chriszs@gmail.com>
1 year ago
Claire
18fb01ef7c
Fix possible race conditions when suspending/unsuspending accounts ( #22363 )
* Fix possible race conditions when suspending/unsuspending accounts
* Fix tests
Tests were assuming SuspensionWorker and UnsuspensionWorker would do the
suspending/unsuspending themselves, but this has changed.
1 year ago