Nick Schonning
ef344388c5
Autofix Rubocop Regex Style rules ( #23690 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
1 year ago
Claire
572086c8ad
Add support for importing lists ( #25203 )
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
S.H
f145662c05
Align argument type to keyword argument for private process method in FetchResourceService ( #25189 )
1 year ago
Matt Jankowski
9e8323fdb9
Fix Performance/MapCompact cop ( #24797 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Essem
a76777c33b
Fix oversight in backup service ( #25034 )
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
a4e3f98fc7
Change Move handler to also move list memberships ( #24808 )
2 years ago
Matt Jankowski
53682a7b4f
Fix Performance/DeletePrefix cop ( #24796 )
2 years ago
Matt Jankowski
4d1f9d4278
Rename `with_lock` to `with_redis_lock` to avoid confusion with ActiveRecord's method ( #24741 )
2 years ago
Claire
dc06dd260f
Check domain suspensions before trying to fetch resources ( #24535 )
2 years ago
Claire
e964406ec3
Optimize archive export service and export zip files instead of gzipped tar files ( #23360 )
2 years ago
Claire
abce7cf2b9
Rewrite import feature ( #21054 )
2 years ago
Matt Jankowski
bdbc9d0036
Fix Rails/CompactBlank cop ( #24690 )
2 years ago
Nick Schonning
519ae8c0c6
Drop EOL Ruby 2.7 ( #24237 )
2 years ago
Matt Jankowski
f01a643897
Remove instance variables from helper usage ( #24203 )
2 years ago
Claire
27fab2ce37
Fix crash in NotifyService when trying to send an email notification for polls ( #24558 )
2 years ago
Claire
172a4ad9f4
Fix crash in NotifyService when trying to send an email notification for post edits ( #24460 )
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
Christian Schmidt
72b4973f50
Requeue expiration notification ( #24311 )
2 years ago
Takeshi Umeda
df68ba2e6a
Refactoring relations_map ( #24195 )
2 years ago
Christian Schmidt
7583523bf0
Replace `Status#translatable?` with language matrix in separate endpoint ( #24037 )
2 years ago
Claire
23bce96f0c
Change sidekiq-bulk's batch size from 10,000 to 1,000 jobs in one Redis call ( #24034 )
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
Claire
fe098d35c2
Fix original account being unfollowed on migration before the follow request could be sent ( #21957 )
2 years ago
Christian Schmidt
cc0c37cd69
Only offer translation for supported languages ( #23879 )
2 years ago
Claire
7bc43c91a0
Fix “Remove all followers from the selected domains” being more destructive than it claims ( #23805 )
2 years ago
Nick Schonning
19be243493
Autofix Rubocop Style/HashConversion ( #23852 )
2 years ago
Nick Schonning
4f6ad6475e
Autofix Rubocop Rails/Blank ( #23765 )
2 years ago
Nick Schonning
247bf6e812
Enable Rubocop Style/StringConcatenation defaults ( #23792 )
2 years ago
Nick Schonning
dd63a919f0
Autofix Rubocop Style/RescueStandardError ( #23745 )
2 years ago
Nick Schonning
e6312104c7
Autofix Rubocop remaining Layout rules ( #23679 )
2 years ago
Nick Schonning
49f1168050
Autofix Rubocop Style/RedundantBegin ( #23703 )
2 years ago
Nick Schonning
793f8c7dd5
Autofix Rubocop Style/IfUnlessModifier ( #23697 )
2 years ago
Nick Schonning
a71a0802d6
Autofix Rubocop Lint/SymbolConversion ( #23683 )
2 years ago
Nick Schonning
31ca76fe2c
Run rubocop formatting except line length ( #23632 )
2 years ago
Claire
0ae0740826
Add API parameter to safeguard unexpect mentions in new posts ( #18350 )
2 years ago
Claire
ea4cffac37
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
e0a02f8696
Apply Rubocop Style/NegatedIfElseCondition ( #23451 )
2 years ago
Nick Schonning
38ec6d27d8
Autofix Rails/EagerEvaluationLogMessage ( #23429 )
...
* Autofix Rails/EagerEvaluationLogMessage
* Update spec for debug block syntax
2 years ago
Claire
2b356a3de6
Fix ActivityPub::ProcessingWorker error on incoming malformed JSON-LD ( #23416 )
2 years ago
Markus Unterwaditzer
4a902cc7f6
Suppress AddressFamilyError in link verification ( #23204 )
...
* Suppress AddressFamilyError
* clarify comment
2 years ago
Claire
8de1412d0f
Revert "Remove LDSignature on actor Delete activities ( #21466 )" ( #23185 )
...
This reverts commit 4d9ee0e01d
.
2 years ago
Claire
b131e01db7
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
42aa864c84
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
b7f37e68ad
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
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
Claire
6ccc1c09b6
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
8b3c8fa218
Be more lenient with OEmbed detection and validation ( #22533 )
2 years ago