Nick Schonning
c66250abf1
Autofix Rubocop Regex Style rules ( #23690 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
1 year ago
Claire
8884d1ece0
Add support for importing lists ( #25203 )
1 year ago
Christian Schmidt
69057467cb
Translate CW, poll options and media descriptions ( #24175 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
1 year ago
S.H
8c183a9831
Align argument type to keyword argument for private process method in FetchResourceService ( #25189 )
1 year ago
Matt Jankowski
9f5deb310b
Fix Performance/MapCompact cop ( #24797 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
1 year ago
Essem
5fd8d1e417
Fix oversight in backup service ( #25034 )
2 years ago
Matt Jankowski
2c6c398c60
Fix Performance/CollectionLiteralInLoop cop ( #24819 )
2 years ago
Claire
a2a22bad23
Fix various edge cases with local moves ( #24812 )
2 years ago
Claire
c98b012583
Change Move handler to also move list memberships ( #24808 )
2 years ago
Matt Jankowski
668a19a2f3
Fix Performance/DeletePrefix cop ( #24796 )
2 years ago
Matt Jankowski
f1c1dd0118
Rename `with_lock` to `with_redis_lock` to avoid confusion with ActiveRecord's method ( #24741 )
2 years ago
Claire
a89b02af92
Check domain suspensions before trying to fetch resources ( #24535 )
2 years ago
Claire
b233da5996
Optimize archive export service and export zip files instead of gzipped tar files ( #23360 )
2 years ago
Claire
32a030dd74
Rewrite import feature ( #21054 )
2 years ago
Matt Jankowski
d902a707a3
Fix Rails/CompactBlank cop ( #24690 )
2 years ago
Nick Schonning
49fad26eca
Drop EOL Ruby 2.7 ( #24237 )
2 years ago
Matt Jankowski
0a5f0a8b20
Remove instance variables from helper usage ( #24203 )
2 years ago
Claire
85b1b45820
Fix crash in NotifyService when trying to send an email notification for polls ( #24558 )
2 years ago
Claire
99e3e152cd
Fix crash in NotifyService when trying to send an email notification for post edits ( #24460 )
2 years ago
Eugen Rochko
a9b5598c97
Change user settings to be stored in a more optimal way ( #23630 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Christian Schmidt
eb38e9df31
Requeue expiration notification ( #24311 )
2 years ago
Takeshi Umeda
38c84f57b6
Refactoring relations_map ( #24195 )
2 years ago
Christian Schmidt
bd047acc35
Replace `Status#translatable?` with language matrix in separate endpoint ( #24037 )
2 years ago
Claire
1d0ad558ff
Change sidekiq-bulk's batch size from 10,000 to 1,000 jobs in one Redis call ( #24034 )
2 years 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>
2 years ago
Claire
050f1669c6
Fix original account being unfollowed on migration before the follow request could be sent ( #21957 )
2 years ago
Christian Schmidt
5a8c651e8f
Only offer translation for supported languages ( #23879 )
2 years ago
Claire
c2a046ded1
Fix “Remove all followers from the selected domains” being more destructive than it claims ( #23805 )
2 years ago
Nick Schonning
56489cdc4f
Autofix Rubocop Style/HashConversion ( #23852 )
2 years ago
Nick Schonning
4ff44be134
Autofix Rubocop Rails/Blank ( #23765 )
2 years ago
Nick Schonning
0cfdd1a401
Enable Rubocop Style/StringConcatenation defaults ( #23792 )
2 years ago
Nick Schonning
59c8d43d94
Autofix Rubocop Style/RescueStandardError ( #23745 )
2 years ago
Nick Schonning
717683d1c3
Autofix Rubocop remaining Layout rules ( #23679 )
2 years ago
Nick Schonning
2177daeae9
Autofix Rubocop Style/RedundantBegin ( #23703 )
2 years ago
Nick Schonning
e2a3ebb271
Autofix Rubocop Style/IfUnlessModifier ( #23697 )
2 years ago
Nick Schonning
634368c491
Autofix Rubocop Lint/SymbolConversion ( #23683 )
2 years ago
Nick Schonning
669f6d2c0a
Run rubocop formatting except line length ( #23632 )
2 years ago
Claire
d6930b3847
Add API parameter to safeguard unexpect mentions in new posts ( #18350 )
2 years 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>
2 years ago
Nick Schonning
f68bb52556
Apply Rubocop Style/NegatedIfElseCondition ( #23451 )
2 years ago
Nick Schonning
ed570050c6
Autofix Rails/EagerEvaluationLogMessage ( #23429 )
...
* Autofix Rails/EagerEvaluationLogMessage
* Update spec for debug block syntax
2 years ago
Claire
bb89f0af8a
Fix ActivityPub::ProcessingWorker error on incoming malformed JSON-LD ( #23416 )
2 years ago
Markus Unterwaditzer
f2a6e71bb6
Suppress AddressFamilyError in link verification ( #23204 )
...
* Suppress AddressFamilyError
* clarify comment
2 years ago
Claire
628dcbb732
Revert "Remove LDSignature on actor Delete activities ( #21466 )" ( #23185 )
...
This reverts commit f4f2b062ec
.
2 years 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
2 years 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
2 years 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>
2 years 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.
2 years 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.
2 years ago
Effy Elden
4dc9152b3e
Be more lenient with OEmbed detection and validation ( #22533 )
2 years ago