988 Commits (7f8e1bede4e68c01ff167fc3f4e1e63da24307a8)

Author SHA1 Message Date
Eugen Rochko fab65848d2
Fix empty home feed before first follow has finished processing (#16152)
4 years ago
Eugen Rochko f627d2eb93
Fix trying to fetch key from empty URI when verifying HTTP signature (#16100)
4 years ago
Eugen Rochko daccc07dc1
Change auto-following admin-selected accounts, show in recommendations (#16078)
4 years ago
Claire 0b36e3419d
Fix processing of remote Delete activities (#16084)
4 years ago
Eugen Rochko ca3bc1b09f
Refactor StatusReachFinder to handle followers and relays as well (#16051)
4 years ago
Eugen Rochko 6d6000f61f
Fix remote reporters not receiving suspend/unsuspend activities (#16050)
4 years ago
Eugen Rochko dde8739020
Fix reports of already suspended accounts being recorded (#16047)
4 years ago
Eugen Rochko 619fad6cf8
Remove spam check and dependency on nilsimsa gem (#16011)
4 years ago
Claire cbd0ee1d07
Update Mastodon to Rails 6.1 (#15910)
4 years ago
Claire 5614e6724e
Fix URL scanning in note length validator and preview card fetching (#15827)
4 years ago
Claire 65db262550
Update twitter-text from 1.14 to 3.1.0 and fix toot character counting (#15382)
4 years ago
Claire 5f4c0b79c2
Change ResolveAccountService's handling of skip_webfinger (#15750)
4 years ago
Eugen Rochko f8972d4503
Fix YouTube embeds failing due to YouTube serving wrong OEmbed URLs (#15716)
4 years ago
Takeshi Umeda 7f1c56954b
Fix first return value of FetchLinkCardService.html method (#15630)
4 years ago
luigi 7ea9588520
Use Enumerable#filter_map in more places (#15527)
4 years ago
luigi eb51e43fb4
Optimize some regex matching (#15528)
4 years ago
luigi 087ed84367
Optimize map { ... }.compact calls (#15513)
4 years ago
abcang efffdd3778
Fix rubocop config and warnings (#15503)
4 years ago
ThibG f1f96ebf02
Fix being able to import more than allowed number of follows (#15384)
4 years ago
Eugen Rochko e89648574f
Fix error when changing ACL on missing objects during suspension (#15420)
4 years ago
Eugen Rochko ba0b79fc5c
Fix undefined method error when batch-removing statuses with ElasticSearch on (#15421)
4 years ago
ThibG de57efd055
Fix mentions not being deleted efficiently (#15416)
4 years ago
Eugen Rochko 473abc35a1
Fix trying to privatize empty media attachments (#15414)
4 years ago
ThibG 814b7775fb
Improve performances of deleting favourites when deleting accounts (#15412)
4 years ago
ThibG 2ab3e91eaf
Fix BatchedRemoveStatusService not working without ES in rails console (#15408)
4 years ago
ThibG 3249d35bdc
Improve account deletion performances further (#15407)
4 years ago
ThibG f18349640b
Fix batch order warnings in BatchedRemoveStatusService (#15409)
4 years ago
Eugen Rochko 9915d11c0d
Fix unnecessary queries when batch-removing statuses, 100x faster (#15387)
4 years ago
ThibG 43961035a9
Fix some notifications not being deleted on poll/status deletion (#15402)
4 years ago
ThibG 7bf3c6e57b
Fix AccountDeletionWorker crashing and clogging sidekiq queues (#15380)
4 years ago
ThibG a60d9335d8
Fix resolving accounts sometimes creating duplicate records for a given AP id (#15364)
4 years ago
Eugen Rochko eb35be0431
Fix follow limit preventing re-following of a moved account (#14207)
4 years ago
ThibG b1feb47055
Improve searching for private toots from URL (#14856)
4 years ago
ThibG 1390cc194b
Add indication to admin UI of whether a report has been forwarded (#13237)
4 years ago
Eugen Rochko e7e099d1a0
Fix deletes not reaching every server that interacted with status (#15200)
4 years ago
ThibG 66832cbf33
Undo outgoing follows when suspending a remote account (#15188)
4 years ago
ThibG 8b8004a962
Fix webfinger redirect handling in ResolveAccountService (#15187)
4 years ago
ThibG 96c1e71329
Add import/export feature for bookmarks (#14956)
4 years ago
ThibG 2f6831f318
Fix sending spurious Rejects when processing remote account deletion (#15104)
4 years ago
Eugen Rochko df1653174b
Add cache buster feature for media files (#15155)
4 years ago
ThibG 966593393e
Fix DMs not appearing into timelines (#15182)
4 years ago
ThibG 1e64666662
Fix crash in SuspendAccountWorker (#15106)
4 years ago
Eugen Rochko 3134691948
Add support for reversible suspensions through ActivityPub (#14989)
4 years ago
ThibG ee8cf246cf
Fix crashes in SuspendAccountService/UnsuspendAccountService (#15100)
4 years ago
ThibG f84239ecab
Fix suspension/unsuspension not working because of FeedManager change (#15099)
4 years ago
ThibG 1f945e7390
Fix followers synchronization mechanism not being triggered on mentions (#15026)
4 years ago
ThibG fb586584f2
Fix account processing failing because of large collections (#15027)
4 years ago
ThibG ca56527140
Add follower synchronization mechanism (#14510)
4 years ago
OSAMU SATO 96761752ec
Add duration parameter to muting. (#13831)
4 years ago
Eugen Rochko 5e1364c448
Add IP-based rules (#14963)
4 years ago
Eugen Rochko 7d985f2aac
Remove dependency on goldfinger gem (#14919)
4 years ago
Eugen Rochko 974b1b79ce
Add option to be notified when a followed user posts (#13546)
4 years ago
Eugen Rochko ed099d8bdc
Change account suspensions to be reversible by default (#14726)
4 years ago
Eugen Rochko 65760f59df
Refactor feed manager (#14761)
4 years ago
Eugen Rochko e8bc187845
Refactor how public and tag timelines are queried (#14728)
4 years ago
Eugen Rochko 1c308af84c
Change own direct-visibility statuses to be in the home feed again (#14711)
4 years ago
dependabot[bot] 8972e5f7f6
Bump rubocop from 0.86.0 to 0.88.0 (#14412)
4 years ago
Takeshi Umeda b1bb1906be
Fix limited follower id in fan-out-on-write service (#14709)
4 years ago
Eugen Rochko ce8f33dd2f
Fix inefficiencies in fan-out-on-write service (#14682)
4 years ago
Akihiko Odaki 41eeb9ebaa
Use Status.group instead of Status.distinct in HashQueryService (#14662)
4 years ago
Takeshi Umeda 156af70e4d
Fix following restriction not working when exact match in account search (#14394)
4 years ago
Takeshi Umeda 939a47393c
Fix duplicate notification and delivery of mentions (#14378)
4 years ago
Takeshi Umeda 7540e235a2
Fix movie width and frame_rate returning nil (#14357)
4 years ago
ThibG d658af7ff8
Fix removing allowed domains being done synchronously (#14302)
4 years ago
Eugen Rochko 98b3b80d6b
Fix account domain block not properly unfollowing accounts from domain (#14304)
4 years ago
ThibG ee5a4030f7
Fix removing a DomainAllow rule wiping known accounts in open federation mode (#14298)
4 years ago
Eugen Rochko ed04697510
Change User-Agent of link preview fetching service to include "Bot" (#14248)
4 years ago
Eugen Rochko 64aac30733
Add customizable thumbnails for audio and video attachments (#14145)
4 years ago
ThibG 89f40b6c3e
Make domain block/silence/reject-media code more robust (#13424)
4 years ago
Takeshi Umeda d890abfcab
Fix performance of follow import (#13836)
4 years ago
Takeshi Umeda 643065799b
Fix activity not being signed (#13948)
4 years ago
Eugen Rochko 5d8398c8b8
Add E2EE API (#13820)
5 years ago
ThibG 27ea7c13a5
Fix hashtag search performing account search as well (#13758)
5 years ago
Takeshi Umeda d8bad8fbf6
Fix not publishing update of remote timeline (#13745)
5 years ago
Eugen Rochko 4b766f9846
Refactor monkey-patching of Goldfinger (#12561)
5 years ago
Eugen Rochko 2744f61696
Fix not being able to resolve public resources in development environment (#13505)
5 years ago
Eugen Rochko c3965e28b3
Fix returning results when searching for URL with non-zero offset (#13377)
5 years ago
Takeshi Umeda 11169367e4
Fix incorrect deletion of local accounts imported by overwriting (#13350)
5 years ago
ThibG f08f880f58
Fix media not being marked sensitive when client sets a CW but no text (#13277)
5 years ago
ThibG cb12a2cdd3
Fix some timeouts when searching URLs by limiting some database queries (#13253)
5 years ago
ThibG b154428e14
Add federation support for the "hide network" preference (#11673)
5 years ago
Eugen Rochko 9660aa4543
Change local media attachments to perform heavy processing asynchronously (#13210)
5 years ago
ThibG 5284e29e2f
Fix public posts from silenced accounts not being changed to unlisted visibility (#13096)
5 years ago
ThibG 6185bff4b3
Fix error when searching for URLs that contain the mention syntax (#13151)
5 years ago
Eugen Rochko 339ce1c4e9
Add specific rate limits for posting and following (#13172)
5 years ago
ThibG cf4fe6caef
Fix misleading error when attempting to re-send a pending follow request (#13133)
5 years ago
ThibG d91946ae13
Fix backups failing when files are missing from media attachments (#13146)
5 years ago
ThibG 3704402dcc
Fix duplicate accounts being created when fetching an account for its key only (#13147)
5 years ago
ThibG 983ab40086
Fix previously OStatus-based accounts not being detected as ActivityPub (#13129)
5 years ago
ThibG d386d89179 Fix invalid votes from the API being accepted (#12601)
5 years ago
Daigo 3 Dango 206dfd7dad Clarify keyword arguments with ** (#12769)
5 years ago
ThibG c306978190 Use quality values in Accept field to explicitly prefer JSON over HTML (#12806)
5 years ago
ThibG e4d75f238b Fix URL search not returning private toots user has access to (#12742)
5 years ago
Eugen Rochko f86ee4b59f
Fix IDN mentions not being processed, IDN domains not being rendered (#12715)
5 years ago
chr v1.x 7e074610a6 Fix backups stopping due to read timeouts (#12281)
5 years ago
ThibG b364175e1b Fix link crawler not specifying accepted content-type (#12646)
5 years ago
Takeshi Umeda 68070e82cc Add signature to exported status (#12649)
5 years ago
Takeshi Umeda a391eaf4d8 Fix an error when ActivityPub::FetchRemoteStatusService url is called with nil (#12652)
5 years ago
ThibG 2ee5a9d9c3 Clean up OStatus-related codepaths (#12173)
5 years ago
Alice Gaudon 668f698077 Admin setting to disable default follows (#12566)
5 years ago
trwnh 1653ae91ce Fix account search with no query (#12549)
5 years ago
Eugen Rochko bbf926b1c0
Fix error when using search API with no query (#12541)
5 years ago
ThibG 911cc14481 Add follow_request notification type (#12198)
5 years ago
ThibG 00c219aa45 Fix empty poll options not being filtered on remote poll update (#12484)
5 years ago
Eugen Rochko a60b602ade
Fix OEmbed discovery not handling different URL variants in query (#12439)
5 years ago
ThibG c656cc2191 Fix FetchLinkCardServices crashing on a tags without a target (#12159)
5 years ago
ThibG c4d45765e3 Change domain block behavior to update user records before deleting data (#12247)
5 years ago
Eugen Rochko d14e74eff5
Add cache for OEmbed endpoints to avoid extra HTTP requests (#12403)
5 years ago
ThibG dfea7368c9 Add bookmarks (#7107)
5 years ago
ThibG 0d5f3ae331 Fix already-known remote private toots not being searchable by URL (#12336)
5 years ago
ThibG 66c1fe0495 Fix various issues with account migration (#12301)
5 years ago
ThibG 65e13cfacf Add abilityto add oneself to lists (#12271)
5 years ago
nightpool 9762fe382c microformat mentions can have an implicit property (#12189)
5 years ago
Eugen Rochko 8386d9ec10
Fix hashtag timeline REST API accepting too many hashtags (#12091)
5 years ago
Eugen Rochko eb83d6256e
Add `reason` param to `POST /api/v1/accounts` REST API (#12064)
5 years ago
ThibG 3a4d994c40 Fix BootstrapTimelineService crashing when bootstrapped accounts are invalid (#12037)
5 years ago
Eugen Rochko 9ba40a6bfd
Remove HEAD request from fetching link previews (#12028)
5 years ago
abcang 9ef5532a7e Fix follow requests N+1 (#12004)
5 years ago
ThibG 3babf8464b Add voters count support (#11917)
5 years ago
Eugen Rochko 368a87755b
Fix account migration not affecting followers on origin server (#11980)
5 years ago
Eugen Rochko 3ec80c7aec
Fix preview card image not being re-fetched even if link is re-posted (#11981)
5 years ago
Eugen Rochko ab33c4df94
Add `exclude_unreviewed` param to `GET /api/v2/search` REST API (#11977)
5 years ago
ThibG 18b451c0e6 Change silences to always require approval on follow (#11975)
5 years ago
Eugen Rochko 2f90a38f44
Fix unreviewed hashtag not being found by exact case-insensitive match (#11976)
5 years ago
Jeong Arm 00d7bdcc2a Fix search error when ElasticSearch is enabled but not available (#11954)
5 years ago
Eugen Rochko 4f6af87906
Change spam check to apply to local accounts and add a threshold (#11806)
5 years ago
Eugen Rochko 38dc51b2d6
Fix Move handler queuing jobs that will fail if account is suspended (#11864)
5 years ago
Eugen Rochko 50edf84898
Fix search API not resolving URL when type is given (#11822)
5 years ago
Eugen Rochko c5d37f18cb
Change deletes to preserve soft-deleted statuses in unresolved reports (#11805)
5 years ago
Eugen Rochko 43f56f1291
Change account deletion page to have better explanations (#11753)
5 years ago
Eugen Rochko cb447b28c4
Add profile directory to web UI (#11688)
5 years ago
Eugen Rochko 97192d9a77
Fix remote and staff-removed statuses leaving media behind for a day (#11638)
5 years ago
Eugen Rochko cc0a55cf9a
Add more accurate hashtag search (#11579)
5 years ago
Eugen Rochko 70da6d6630
Fix accounts search by full/partial display name and others (#11580)
5 years ago
Eugen Rochko 8fdff2748f
Add more accurate account search (#11537)
5 years ago
Eugen Rochko c5661b0f92
Fix account search always returning exact match on paginated results (#11525)
5 years ago
Eugen Rochko f51c7c105f
Fix acct URIs with IDN domains not being resolved (#11520)
5 years ago
ThibG bced70469a Add domain block notes (#11515)
5 years ago
Eugen Rochko 5e35aa8280
Fix non-lowercase hashtags not being picked up by the streaming API (#11508)
5 years ago
Eugen Rochko 24552b5160
Add whitelist mode (#11291)
5 years ago
Eugen Rochko f371b32137
Change hashtags to preserve first-used casing (#11416)
5 years ago
Eugen Rochko b9fbcbfe4e
Add search syntax for operators and phrases (#11411)
5 years ago
ThibG 92569ffde8 Fix invites not being disabled upon account suspension (#11412)
5 years ago
Eugen Rochko 4eeff26533
Change account domain block to clear out notifications and follows (#11393)
5 years ago
Eugen Rochko bd87e66679
Remove WebSub subscriptions (#11303)
5 years ago
ThibG 2f813b7ea1 Disable LDSigning when AUTHORIZED_FETCH is set to true (#11295)
5 years ago
ThibG 3595ce6325 Fix leaking private statuses the admin account follows (#11300)
5 years ago
Eugen Rochko 6ff67be0f6
Add a spam check (#11217)
5 years ago
ThibG 4e1260feaa Fix BlockService trying to reject incorrect follow request (#11288)
5 years ago
Eugen Rochko 4e8dcc5dbb
Add HTTP signatures to all outgoing ActivityPub GET requests (#11284)
5 years ago
Eugen Rochko 5d3feed191
Refactor fetching of remote resources (#11251)
5 years ago
ThibG 85eb418e1f Fix handling of webfinger redirects in ResolveAccountService (#11279)
5 years ago
Eugen Rochko 4e92183227
Refactor domain block checks (#11268)
5 years ago
Eugen Rochko 63c7fe8e48
Refactor controllers for statuses, accounts, and more (#11249)
5 years ago
ThibG 87c1ad4ea3 Fix BackupService crashing when an attachment is missing (#11241)
5 years ago
Eugen Rochko b851456139
Remove Atom feeds and old URLs in the form of `GET /:username/updates/:id` (#11247)
5 years ago
Eugen Rochko 23aeef52cc
Remove Salmon and PubSubHubbub (#11205)
5 years ago
Eugen Rochko 2cfa427ea7
Change domain block behaviour to prevent creation of accounts from suspended domains (#11219)
5 years ago
ThibG 915c619394 Add support for Audio activities (#11189)
5 years ago
Eugen Rochko 707ddf7808
Change domain blocks to automatically support subdomains (#11138)
5 years ago
Eugen Rochko f7f23b4a19
Add audio uploads (#11123)
5 years ago
Eugen Rochko f2b743e715
Refactor all ActivityPub deliveries to be serialized and signed through one concern (#10966)
6 years ago
ThibG a1519a8ef5 Prevent from publicly boosting one's own private toots (#10775)
6 years ago
ThibG 14f6ce2885 Record account suspend/silence time and keep track of domain blocks (#10660)
6 years ago
ThibG b1a0322a06 Reject follow requests of blocked users (#10633)
6 years ago
Daniel Aleksandersen 10bdd912d6 Treat meta[property] as a space-separated list (#10604)
6 years ago
ThibG cb71c95e22 Export and import show_reblogs together with following list (#10495)
6 years ago
Eugen Rochko 67b3b62b98
Improve blocked view of profiles (#10491)
6 years ago
ThibG d4882aa64a Export and import `hide_notifications` alongside user mutes (#10335)
6 years ago
ThibG 62bafa20a1 Hide blocking accounts from blocked users (#10442)
6 years ago
Eugen Rochko 1714ea5978
Add ActivityPub representation for identity proofs (#10414)
6 years ago
Eugen Rochko f1bc90ab50
Rename :poll to :preloadable_poll and :owned_poll to :poll on Status (#10401)
6 years ago
Eugen Rochko 9d0573f574
Fix vote-after-expiration not showing error, count vote as interaction (#10352)
6 years ago
ThibG 62dd0b7f9c Fix processing poll Updates (#10333)
6 years ago
ThibG 1217185cfa Do not distribute Delete when rejecting unapproved accounts (#10321)
6 years ago
ThibG a20354a20b Set and store report URIs (#10303)
6 years ago
ThibG 6b0eda14a1 Avoid race condition when streaming deleted statuses (#10280)
6 years ago
Eugen Rochko 3ad3223b46
Fix detailed poll validation errors not being returned in the API (#10261)
6 years ago
Eugen Rochko ba84b6d4d7
Add `visibility` param to reblog REST API (#9851)
6 years ago
Eugen Rochko 51e154f5e8
Admission-based registrations mode (#10250)
6 years ago
Eugen Rochko 9f5b55ad4f
Fix poll update handler calling method was that was not available (#10246)
6 years ago
Eugen Rochko a41afef80c
Optimize RemoveStatusService by removing n+1 query and using shared inboxes (#10247)
6 years ago
ThibG 3a92885a86 Support pushing and receiving updates to poll tallies (#10209)
6 years ago
ThibG c11dff5049 Reject existing Follows when suspending a remote account (#10230)
6 years ago
ThibG 3aaac4f134 Do not allow adding votes to expired polls (#10214)
6 years ago
ThibG 09c042aa10 Handle StaleObjectError when retrieving polls (#10208)
6 years ago
ThibG df5924a1db Do not error out on unsalvageable errors in FetchRepliesService (#10175)
6 years ago
ThibG d785497ba5 Fix suspended account's fields being set as empty dict instead of list (#10178)
6 years ago
Eugen Rochko 4037b5eb1e
Fix last_fetched_at not being set on polls (#10170)
6 years ago
Eugen Rochko e6900b167b
Fix another typo in ActivityPub::FetchRemotePollService (#10146)
6 years ago
Eugen Rochko 878a75ba21
Fix typo in ActivityPub::FetchRemotePollService (#10145)
6 years ago
Eugen Rochko ae1b9cf70a
Fix remote poll expiration time (#10144)
6 years ago
ThibG f821eca3b3 Correctly make polls and media mutually exclusive (#10141)
6 years ago
ThibG e13d3792f3 Make sure the poll is created before storing its id (#10142)
6 years ago
Eugen Rochko 230a012f00
Add polls (#10111)
6 years ago
ThibG 9d3c6f1849 Improved remote thread fetching (#10106)
6 years ago
Eugen Rochko e7f20cc43f
Add type, limit, offset, min_id, max_id, account_id to search API (#10091)
6 years ago
NOGISAKA Sadata e050958794 Skip some methods in BatchedRemoveStatusService when account is nil (#10095)
6 years ago
Eugen Rochko dad339da6d
Filter incoming Create activities by relation to local activity (#10005)
6 years ago
ThibG 99c4b5b75a Move sending account Delete to anyone but the account's followers to the pull̀ queue (#10016)
6 years ago