979 Commits (3e43bc352dbfe6f28225aeb54c753fbcc739c013)

Author SHA1 Message Date
Claire 53d99e7426 Fix URL scanning in note length validator and preview card fetching (#15827)
4 years ago
Claire a33f8f787a Update twitter-text from 1.14 to 3.1.0 and fix toot character counting (#15382)
4 years ago
Claire 7411520821 Change ResolveAccountService's handling of skip_webfinger (#15750)
4 years ago
Eugen Rochko 0baa928e56 Fix YouTube embeds failing due to YouTube serving wrong OEmbed URLs (#15716)
4 years ago
Takeshi Umeda 3830dbc6fc Fix first return value of FetchLinkCardService.html method (#15630)
4 years ago
luigi 1256c05a99 Use Enumerable#filter_map in more places (#15527)
4 years ago
luigi c19fe86d66 Optimize some regex matching (#15528)
4 years ago
luigi 944b059f50 Optimize map { ... }.compact calls (#15513)
4 years ago
abcang 41f9aa5dbb Fix rubocop config and warnings (#15503)
4 years ago
ThibG 82d014fd08 Fix being able to import more than allowed number of follows (#15384)
4 years ago
Eugen Rochko 060d0a1d6b Fix error when changing ACL on missing objects during suspension (#15420)
4 years ago
Eugen Rochko 0b88105e3a Fix undefined method error when batch-removing statuses with ElasticSearch on (#15421)
4 years ago
ThibG 92243f1306 Fix mentions not being deleted efficiently (#15416)
4 years ago
Eugen Rochko e4f5e9c029 Fix trying to privatize empty media attachments (#15414)
4 years ago
ThibG 52955fdcee Improve performances of deleting favourites when deleting accounts (#15412)
4 years ago
ThibG c1f03bedec Fix BatchedRemoveStatusService not working without ES in rails console (#15408)
4 years ago
ThibG 8d75aa630f Improve account deletion performances further (#15407)
4 years ago
ThibG 58e0d8924b Fix batch order warnings in BatchedRemoveStatusService (#15409)
4 years ago
Eugen Rochko 3489758ff2 Fix unnecessary queries when batch-removing statuses, 100x faster (#15387)
4 years ago
ThibG 806f7ea54f Fix some notifications not being deleted on poll/status deletion (#15402)
4 years ago
ThibG bbf0e7107c Fix AccountDeletionWorker crashing and clogging sidekiq queues (#15380)
4 years ago
ThibG 0b3e9c1e4c Fix resolving accounts sometimes creating duplicate records for a given AP id (#15364)
4 years ago
Eugen Rochko e66964d8f0 Fix follow limit preventing re-following of a moved account (#14207)
4 years ago
ThibG 509ab82fb2 Improve searching for private toots from URL (#14856)
4 years ago
ThibG 3debd888a6 Add indication to admin UI of whether a report has been forwarded (#13237)
4 years ago
Eugen Rochko 715c8eac80 Fix deletes not reaching every server that interacted with status (#15200)
4 years ago
ThibG da80f4852e Undo outgoing follows when suspending a remote account (#15188)
4 years ago
ThibG f2e1d77706 Fix webfinger redirect handling in ResolveAccountService (#15187)
4 years ago
ThibG 8e79bac43d Add import/export feature for bookmarks (#14956)
4 years ago
ThibG b0bc965658 Fix sending spurious Rejects when processing remote account deletion (#15104)
4 years ago
Eugen Rochko 471b8570ad Add cache buster feature for media files (#15155)
4 years ago
ThibG fdab81200a Fix DMs not appearing into timelines (#15182)
4 years ago
ThibG 6a6b98af65 Fix crash in SuspendAccountWorker (#15106)
4 years ago
Eugen Rochko 38be9af436 Add support for reversible suspensions through ActivityPub (#14989)
4 years ago
ThibG d41433f651 Fix crashes in SuspendAccountService/UnsuspendAccountService (#15100)
4 years ago
ThibG c11e8737dd Fix suspension/unsuspension not working because of FeedManager change (#15099)
4 years ago
ThibG a9b5dd584f Fix followers synchronization mechanism not being triggered on mentions (#15026)
4 years ago
ThibG 06aef3817a Fix account processing failing because of large collections (#15027)
4 years ago
ThibG 694a5e33d5 Add follower synchronization mechanism (#14510)
4 years ago
OSAMU SATO ba9252b32d Add duration parameter to muting. (#13831)
4 years ago
Eugen Rochko da4c730c47 Add IP-based rules (#14963)
4 years ago
Eugen Rochko adaf3f7b7a Remove dependency on goldfinger gem (#14919)
4 years ago
Eugen Rochko 02c4c91faa Add option to be notified when a followed user posts (#13546)
4 years ago
Eugen Rochko e514304a76 Change account suspensions to be reversible by default (#14726)
4 years ago
Eugen Rochko 38aa7a9a7f Refactor feed manager (#14761)
4 years ago
Eugen Rochko 78ceda1af6 Refactor how public and tag timelines are queried (#14728)
4 years ago
Eugen Rochko a143764c4c Change own direct-visibility statuses to be in the home feed again (#14711)
4 years ago
dependabot[bot] 61b768572e Bump rubocop from 0.86.0 to 0.88.0 (#14412)
4 years ago
Takeshi Umeda 74eb6f3a24 Fix limited follower id in fan-out-on-write service (#14709)
4 years ago
Eugen Rochko d0fecf89d5 Fix inefficiencies in fan-out-on-write service (#14682)
4 years ago
Akihiko Odaki 44df785077 Use Status.group instead of Status.distinct in HashQueryService (#14662)
4 years ago
Takeshi Umeda 381ecf1d0b Fix following restriction not working when exact match in account search (#14394)
4 years ago
Takeshi Umeda 652f872bf1 Fix duplicate notification and delivery of mentions (#14378)
4 years ago
Takeshi Umeda 622dcbeb8c Fix movie width and frame_rate returning nil (#14357)
4 years ago
ThibG 109ea6f860 Fix removing allowed domains being done synchronously (#14302)
4 years ago
Eugen Rochko bd73623069 Fix account domain block not properly unfollowing accounts from domain (#14304)
4 years ago
ThibG 0be60c5d05 Fix removing a DomainAllow rule wiping known accounts in open federation mode (#14298)
4 years ago
Eugen Rochko a0c1bbf583 Change User-Agent of link preview fetching service to include "Bot" (#14248)
4 years ago
Eugen Rochko a3ce01a102 Add customizable thumbnails for audio and video attachments (#14145)
4 years ago
ThibG a7400a4f97 Make domain block/silence/reject-media code more robust (#13424)
4 years ago
Takeshi Umeda 8054496ea7 Fix performance of follow import (#13836)
4 years ago
Takeshi Umeda fe20381455 Fix activity not being signed (#13948)
4 years ago
Eugen Rochko b864e78db8 Add E2EE API (#13820)
4 years ago
ThibG 063940f489 Fix hashtag search performing account search as well (#13758)
4 years ago
Takeshi Umeda b040567ea0 Fix not publishing update of remote timeline (#13745)
4 years ago
Eugen Rochko 3144f8dbbc Refactor monkey-patching of Goldfinger (#12561)
4 years ago
Eugen Rochko 96920a7b8e Fix not being able to resolve public resources in development environment (#13505)
4 years ago
Eugen Rochko 11deb933f5 Fix returning results when searching for URL with non-zero offset (#13377)
5 years ago
Takeshi Umeda 02b0321713 Fix incorrect deletion of local accounts imported by overwriting (#13350)
5 years ago
ThibG 54da8c4337 Fix media not being marked sensitive when client sets a CW but no text (#13277)
5 years ago
ThibG 23b1a9ad55 Fix some timeouts when searching URLs by limiting some database queries (#13253)
5 years ago
ThibG cd7c22da32 Add federation support for the "hide network" preference (#11673)
5 years ago
Eugen Rochko f459919552 Change local media attachments to perform heavy processing asynchronously (#13210)
5 years ago
ThibG 852958d725 Fix public posts from silenced accounts not being changed to unlisted visibility (#13096)
5 years ago
ThibG ef73f37f36 Fix error when searching for URLs that contain the mention syntax (#13151)
5 years ago
Eugen Rochko a4668d994b Add specific rate limits for posting and following (#13172)
5 years ago
ThibG d7da2bba02 Fix misleading error when attempting to re-send a pending follow request (#13133)
5 years ago
ThibG 910383d992 Fix backups failing when files are missing from media attachments (#13146)
5 years ago
ThibG 257354863e Fix duplicate accounts being created when fetching an account for its key only (#13147)
5 years ago
ThibG 78c15db0fa Fix previously OStatus-based accounts not being detected as ActivityPub (#13129)
5 years ago
ThibG 82262a6100 Fix invalid votes from the API being accepted (#12601)
5 years ago
Daigo 3 Dango f994905ebb Clarify keyword arguments with ** (#12769)
5 years ago
ThibG 057764b126 Use quality values in Accept field to explicitly prefer JSON over HTML (#12806)
5 years ago
ThibG 683b263a43 Fix URL search not returning private toots user has access to (#12742)
5 years ago
Eugen Rochko c72c27756f Fix IDN mentions not being processed, IDN domains not being rendered (#12715)
5 years ago
chr v1.x 38ccdb696f Fix backups stopping due to read timeouts (#12281)
5 years ago
ThibG fc94f3bd12 Fix link crawler not specifying accepted content-type (#12646)
5 years ago
Takeshi Umeda b08d72ffec Add signature to exported status (#12649)
5 years ago
Takeshi Umeda df28debc53 Fix an error when ActivityPub::FetchRemoteStatusService url is called with nil (#12652)
5 years ago
ThibG 357bee5ab9 Clean up OStatus-related codepaths (#12173)
5 years ago
Alice Gaudon a285b3c63c Admin setting to disable default follows (#12566)
5 years ago
trwnh a2f67154a4 Fix account search with no query (#12549)
5 years ago
Eugen Rochko 5d810aae4f Fix error when using search API with no query (#12541)
5 years ago
ThibG 60d26cabf0 Add follow_request notification type (#12198)
5 years ago
ThibG 1fc03686ea Fix empty poll options not being filtered on remote poll update (#12484)
5 years ago
Eugen Rochko 0342c42e05 Fix OEmbed discovery not handling different URL variants in query (#12439)
5 years ago
ThibG 32ef133fa6 Fix FetchLinkCardServices crashing on a tags without a target (#12159)
5 years ago
ThibG 27b7ec1043 Change domain block behavior to update user records before deleting data (#12247)
5 years ago
Eugen Rochko 357a2e5564 Add cache for OEmbed endpoints to avoid extra HTTP requests (#12403)
5 years ago
ThibG 517c1cd062 Add bookmarks (#7107)
5 years ago
ThibG 78e251fc77 Fix already-known remote private toots not being searchable by URL (#12336)
5 years ago
ThibG 28b68ec875 Fix various issues with account migration (#12301)
5 years ago
ThibG 6b5aebf0ca Add abilityto add oneself to lists (#12271)
5 years ago
nightpool d4ddfc486a microformat mentions can have an implicit property (#12189)
5 years ago
Eugen Rochko b665e99b2f Fix hashtag timeline REST API accepting too many hashtags (#12091)
5 years ago
Eugen Rochko 059287ad08 Add `reason` param to `POST /api/v1/accounts` REST API (#12064)
5 years ago
ThibG 081cae4c22 Fix BootstrapTimelineService crashing when bootstrapped accounts are invalid (#12037)
5 years ago
Eugen Rochko 67713f8b08 Remove HEAD request from fetching link previews (#12028)
5 years ago
abcang 2b89873dfc Fix follow requests N+1 (#12004)
5 years ago
ThibG f088e090e4 Add voters count support (#11917)
5 years ago
Eugen Rochko ae03161ad9 Fix account migration not affecting followers on origin server (#11980)
5 years ago
Eugen Rochko 386dc65671 Fix preview card image not being re-fetched even if link is re-posted (#11981)
5 years ago
Eugen Rochko 66d3e13777 Add `exclude_unreviewed` param to `GET /api/v2/search` REST API (#11977)
5 years ago
ThibG 70990720c5 Change silences to always require approval on follow (#11975)
5 years ago
Eugen Rochko e2372fcdc2 Fix unreviewed hashtag not being found by exact case-insensitive match (#11976)
5 years ago
Jeong Arm 565a36ab61 Fix search error when ElasticSearch is enabled but not available (#11954)
5 years ago
Eugen Rochko 195ea5bce5 Change spam check to apply to local accounts and add a threshold (#11806)
5 years ago
Eugen Rochko d321515c11 Fix Move handler queuing jobs that will fail if account is suspended (#11864)
5 years ago
Eugen Rochko ee1c152083 Fix search API not resolving URL when type is given (#11822)
5 years ago
Eugen Rochko 4291b74031 Change deletes to preserve soft-deleted statuses in unresolved reports (#11805)
5 years ago
Eugen Rochko 7ef93513f7 Change account deletion page to have better explanations (#11753)
5 years ago
Eugen Rochko 79922ae20f Add profile directory to web UI (#11688)
5 years ago
Eugen Rochko e4605bbb4a Fix remote and staff-removed statuses leaving media behind for a day (#11638)
5 years ago
Eugen Rochko 848cb2a697 Add more accurate hashtag search (#11579)
5 years ago
Eugen Rochko 291f316022 Fix accounts search by full/partial display name and others (#11580)
5 years ago
Eugen Rochko 6393a094c6 Add more accurate account search (#11537)
5 years ago
Eugen Rochko 826bc61c2c Fix account search always returning exact match on paginated results (#11525)
5 years ago
Eugen Rochko 10b486f627 Fix acct URIs with IDN domains not being resolved (#11520)
5 years ago
ThibG 072e696aa1 Add domain block notes (#11515)
5 years ago
Eugen Rochko 277acb8772 Fix non-lowercase hashtags not being picked up by the streaming API (#11508)
5 years ago
Eugen Rochko 825dc3ca22 Add whitelist mode (#11291)
5 years ago
Eugen Rochko b8386076c5 Change hashtags to preserve first-used casing (#11416)
5 years ago
Eugen Rochko 9c617b3b3a Add search syntax for operators and phrases (#11411)
5 years ago
ThibG 52cda33b82 Fix invites not being disabled upon account suspension (#11412)
5 years ago
Eugen Rochko 93a6ab5a32 Change account domain block to clear out notifications and follows (#11393)
5 years ago
Eugen Rochko f9ed4354b1 Remove WebSub subscriptions (#11303)
5 years ago
ThibG a7b0224699 Disable LDSigning when AUTHORIZED_FETCH is set to true (#11295)
5 years ago
ThibG 3f12a0b8fd Fix leaking private statuses the admin account follows (#11300)
5 years ago
Eugen Rochko f70b20a01c Add a spam check (#11217)
5 years ago
ThibG 4bf0ee9467 Fix BlockService trying to reject incorrect follow request (#11288)
5 years ago
Eugen Rochko 317b79d673 Add HTTP signatures to all outgoing ActivityPub GET requests (#11284)
5 years ago
Eugen Rochko 6baf5099a6 Refactor fetching of remote resources (#11251)
5 years ago
ThibG e39e4786b4 Fix handling of webfinger redirects in ResolveAccountService (#11279)
5 years ago
Eugen Rochko d0b0b63b1a Refactor domain block checks (#11268)
5 years ago
Eugen Rochko 56f0203c66 Refactor controllers for statuses, accounts, and more (#11249)
5 years ago
ThibG 12d6c0ff9b Fix BackupService crashing when an attachment is missing (#11241)
5 years ago
Eugen Rochko fbbcbd940d Remove Atom feeds and old URLs in the form of `GET /:username/updates/:id` (#11247)
5 years ago
Eugen Rochko 4931208dd8 Remove Salmon and PubSubHubbub (#11205)
5 years ago
Eugen Rochko 9ac82421f8 Change domain block behaviour to prevent creation of accounts from suspended domains (#11219)
5 years ago
ThibG 28806d5d6d Add support for Audio activities (#11189)
5 years ago
Eugen Rochko eac19f2300 Change domain blocks to automatically support subdomains (#11138)
5 years ago
Eugen Rochko d7e2f554fb Add audio uploads (#11123)
5 years ago
Eugen Rochko 57098a1b8d Refactor all ActivityPub deliveries to be serialized and signed through one concern (#10966)
5 years ago
ThibG 1fec2ff78f Prevent from publicly boosting one's own private toots (#10775)
5 years ago
ThibG f1a3135809 Record account suspend/silence time and keep track of domain blocks (#10660)
5 years ago
ThibG 140be28787 Reject follow requests of blocked users (#10633)
5 years ago
Daniel Aleksandersen e3dda38c8b Treat meta[property] as a space-separated list (#10604)
6 years ago
ThibG 110dbb5286 Export and import show_reblogs together with following list (#10495)
6 years ago
Eugen Rochko c84c30c542 Improve blocked view of profiles (#10491)
6 years ago
ThibG e87214826b Export and import `hide_notifications` alongside user mutes (#10335)
6 years ago
ThibG 4cd944d364 Hide blocking accounts from blocked users (#10442)
6 years ago
Eugen Rochko a82bc7f5ae Add ActivityPub representation for identity proofs (#10414)
6 years ago
Eugen Rochko 364e49ae1f Rename :poll to :preloadable_poll and :owned_poll to :poll on Status (#10401)
6 years ago
Eugen Rochko 2b25f64bf1 Fix vote-after-expiration not showing error, count vote as interaction (#10352)
6 years ago
ThibG f398b9ce02 Fix processing poll Updates (#10333)
6 years ago
ThibG e9fc1e8ccb Do not distribute Delete when rejecting unapproved accounts (#10321)
6 years ago
ThibG 9efb9d7f72 Set and store report URIs (#10303)
6 years ago
ThibG 289199a107 Avoid race condition when streaming deleted statuses (#10280)
6 years ago
Eugen Rochko 0b6bcb9384 Fix detailed poll validation errors not being returned in the API (#10261)
6 years ago
Eugen Rochko 1279d85ff4 Add `visibility` param to reblog REST API (#9851)
6 years ago
Eugen Rochko 73fb7bfa0f Admission-based registrations mode (#10250)
6 years ago
Eugen Rochko d5377d0d45 Fix poll update handler calling method was that was not available (#10246)
6 years ago
Eugen Rochko 45d257a20f Optimize RemoveStatusService by removing n+1 query and using shared inboxes (#10247)
6 years ago
ThibG 11ce444b8b Support pushing and receiving updates to poll tallies (#10209)
6 years ago
ThibG 05aa8b9303 Reject existing Follows when suspending a remote account (#10230)
6 years ago
ThibG dcbe6c16ba Do not allow adding votes to expired polls (#10214)
6 years ago
ThibG 641384d288 Handle StaleObjectError when retrieving polls (#10208)
6 years ago
ThibG 0c8e3beb51 Do not error out on unsalvageable errors in FetchRepliesService (#10175)
6 years ago
ThibG fbe97b9643 Fix suspended account's fields being set as empty dict instead of list (#10178)
6 years ago
Eugen Rochko 31a1fa3dcf Fix last_fetched_at not being set on polls (#10170)
6 years ago
Eugen Rochko 1c6a9a6ea8 Fix another typo in ActivityPub::FetchRemotePollService (#10146)
6 years ago
Eugen Rochko 1bbbc31cc0 Fix typo in ActivityPub::FetchRemotePollService (#10145)
6 years ago
Eugen Rochko 952045604c Fix remote poll expiration time (#10144)
6 years ago
ThibG ad11260825 Correctly make polls and media mutually exclusive (#10141)
6 years ago
ThibG 7d0dc066a7 Make sure the poll is created before storing its id (#10142)
6 years ago
Eugen Rochko 4a3acdc916 Add polls (#10111)
6 years ago
ThibG 9f3f47e91f Improved remote thread fetching (#10106)
6 years ago
Eugen Rochko 693f2353bc Add type, limit, offset, min_id, max_id, account_id to search API (#10091)
6 years ago
NOGISAKA Sadata ae346fd6d1 Skip some methods in BatchedRemoveStatusService when account is nil (#10095)
6 years ago
Eugen Rochko ddbf75ea87 Filter incoming Create activities by relation to local activity (#10005)
6 years ago
ThibG b27f715601 Move sending account Delete to anyone but the account's followers to the pull̀ queue (#10016)
6 years ago
abcang 4a8a8bcb8a Fix Tombstone.delete_all ArgumentError (#9978)
6 years ago
Eugen Rochko d2d4d38f22 Add featured hashtags to profiles (#9755)
6 years ago
Eugen Rochko 1f303e5591 Add option to overwrite imported data (#9962)
6 years ago
ysksn 9cad360caa Create Redisable#redis (#9633)
6 years ago
ThibG b1c76ef610 Prevent posting toots with media attachments from someone else (#9921)
6 years ago
Renato "Lond" Cerqueira cde2fe25b9 Rescue SSL error in verify link service (#9914)
6 years ago
ThibG a238beb870 Fix scheduled toot with media immediately creating a toot (#9894)
6 years ago
Eugen Rochko 17a8c10a03 Fix error when `scheduled_at` attribute is malformed (#9866)
6 years ago
ThibG 8de5d28891 Reject existing Follow in addition to sending a Block (#9811)
6 years ago