746 Commits (8fe92642dae4eda7fd1b64403c7b862f2ab8bd65)

Author SHA1 Message Date
Eugen Rochko c15b8ee75b Always let through notifications from staff (#9152)
6 years ago
ThibG cfe92b50bb Fix Pleroma mentions being fetched as preview cards (#9158)
6 years ago
ThibG 1cbcb09d67 Do not hide boost notifications from followed people with hidden boosts (#9147)
6 years ago
Eugen Rochko cf2ab9c394 Include preview cards in status entity in REST API (#9120)
6 years ago
Eugen Rochko 7c01fbf4fd Add locality check to ActivityPub::FetchRemoteAccountService (#9109)
6 years ago
abcang 95ef0e144a Skip link-back check if body is nil (#9107)
6 years ago
ThibG 8d76db2714 Do not fetch preview card for mentioned users (#6934)
6 years ago
Eugen Rochko 654520ec8c Improve support for aspects/circles (#8950)
6 years ago
Quint Guvernator 96388bae5f always allow DMs from staff (#8993)
6 years ago
Eugen Rochko 8efdf1a898 Do not push DMs into the home feed (#8940)
6 years ago
Eugen Rochko c9b5168ebd Add conversations API (#8832)
6 years ago
Eugen Rochko 24f168e58e Fix link verification for remote accounts (#8868)
6 years ago
Eugen Rochko 52168073a3 Support link verification with redirects (#8735)
6 years ago
Yamagishi Kazutoshi 6d970d6e71 Fix failed profile verification when rel attribute including values other than me (#8733)
6 years ago
Eugen Rochko 3f9f3a351b Fix VerifyAccountLinksWorker not being queued (#8721)
6 years ago
Eugen Rochko d3105031f8 Redesign forms, verify link ownership with rel="me" (#8703)
6 years ago
ThibG 441238b938 Handle relative URLs when fetching OEmbed/OpenGraph cards (#8669)
6 years ago
Eugen Rochko 601a0dc6cc Add preference for report notification e-mails, skip for duplicates (#8559)
6 years ago
Eugen Rochko 1d319c531e Add CLI task for rotating keys (#8466)
6 years ago
Eugen Rochko f9836d593c Bump interactions count when a follow happens (#8468)
6 years ago
Eugen Rochko 63859550d3 Delay e-mail notifications by 2 minutes (#8438)
6 years ago
ThibG 5da13c3980 Do not crash if remote custom emoji does not define updated date (fixes #8376) (#8377)
6 years ago
Eugen Rochko bb7dce98a0 Improve federated ID validation (#8372)
6 years ago
Eugen Rochko 025e7c6f8c Add favourites to archive takeout (#8351)
6 years ago
Eugen Rochko fe88a4f42c Get rid of all batch order warnings (#8334)
6 years ago
Eugen Rochko 35c99eeb0f Increase reach of Delete->Actor activities (#8305)
6 years ago
ThibG 8f788fe92a Do not process outgoing mentions to suspended accounts (#8272)
6 years ago
ThibG c16294d20a Use correct activity id in Accept when receiving duplicate Follow (fixes #8218) (#8244)
6 years ago
ThibG fff6297a24 Allow accessing local private/DM messages by URL (#8196)
6 years ago
Eugen Rochko 3dc21c1ff6 Prevent ActivityPub movedTo recursion (#8092)
6 years ago
Eugen Rochko 38f413e583 Fix activity:interactions counter to count all interactions (#8037)
6 years ago
Eugen Rochko 171c20ce72 Add federation relay support (#7998)
6 years ago
Eugen Rochko 68d884e556 Send undo of boost to original poster if reblog (#7959)
6 years ago
Eugen Rochko e57d9177dc Fix check for PotentialFriendshipTracker when replying (#7933)
6 years ago
Eugen Rochko aa4e75166b Re-add follow recommendations API (#7918)
6 years ago
Eugen Rochko f91fa10804 Allow selecting default posting language instead of auto-detect (#7828)
6 years ago
Eugen Rochko 907694df6a Add autofollow option to invites (#7805)
6 years ago
Eugen Rochko 681ac8580a Remove placeholder text for media-only toots (#7806)
6 years ago
Eugen Rochko b051d74029 Fix domain hiding logic (#7765)
6 years ago
Yamagishi Kazutoshi 1a145c6af1 Skip processing when HEAD method returns 501 (#7730)
6 years ago
Akihiko Odaki 3114ac9655 Do not mark remote status sensitive even if spoiler text is present (#7395)
6 years ago
Eugen Rochko 946091af45 Exclude unlisted, private and direct toots from affecting trends (#7686)
6 years ago
Eugen Rochko 9e3f9b8250 Improve counter caches on Status and Account (#7644)
6 years ago
Eugen Rochko dc7bf28635 Reduce wasted work in RemoveStatusService due to inactive followers (#7672)
6 years ago
Eugen Rochko 8a3b9d26fb Track trending tags (#7638)
6 years ago
Eugen Rochko f68736088b Use #any? instead of #exists? when checking media attachments (#7570)
6 years ago
Yamagishi Kazutoshi ccc240b59c Add media timeline (#6631)
6 years ago
Akihiko Odaki 5dadb6896b Raise Mastodon::RaceConditionError if Redis lock failed (#7511)
6 years ago
unarist 63a10a7ffe Fix custom emoji handling in UpdateRemoteProfileService (OStatus) (#7501)
6 years ago
Wiktor 37136f5986 Fix account URI when updating ActivityPub account (#7488)
6 years ago
abcang e6c952476c Call media.present? because media may be nil (#7474)
6 years ago
ThibG 74c2a46423 Fetch boosted statuses on behalf of a follower (fixes #7426) (#7459)
6 years ago
Eugen Rochko e86a4fe36b Add REST API for Web Push Notifications subscriptions (#7445)
6 years ago
Yamagishi Kazutoshi 6092325a48 Rescue Mastodon::LengthValidationError in FetchLinkCardService (#7424)
6 years ago
Surinna Curtis a2b84b644b Take the first recognized actor_type. (#7410)
6 years ago
ThibG 10be4c496c Fix hashtags not being federated on mentions (fixes #6900) (#7406)
6 years ago
Eugen Rochko 7ff3c849d1 Bot nameplates (#7391)
6 years ago
Eugen Rochko b890e5830c Support explicitly supplying language code for status via REST API (#7389)
6 years ago
Eugen Rochko ef1a273322 Fix handling of malformed ActivityPub payloads when URIs are nil (#7370)
6 years ago
Eugen Rochko 8913ccb434 Store home feeds for 7 days instead of 14 (#7354)
6 years ago
Eugen Rochko ba4e838b7f Improve PostStatusService performance (#7317)
6 years ago
Eugen Rochko ca1c696dbd Slightly reduce RAM usage (#7301)
6 years ago
abcang fcfc44de66 Keep notification when muting_notifications is true (#7311)
6 years ago
Eugen Rochko c5fa8041c2 Remove most behaviour disparities between blocks and mutes (#7231)
6 years ago
Eugen Rochko 192746ec3e Guard against nil URLs in Request class (#7284)
6 years ago
Surinna Curtis 72793b3fc7 Support Actors/Statuses with multiple types (#7305)
6 years ago
Emelia Smith 1071ecfebc Prevent suspended accounts from appearing in AccountSearchService (#7246)
7 years ago
Eugen Rochko 599aa39aca Remove "nsfw" category for sensitive statuses in OStatus serializer (#7048)
7 years ago
Eugen Rochko 7cba58aeaf Rescue SSL errors when processing mentions, remove useless line (#7184)
7 years ago
Kaito Sinclaire 447741e456 Direct messages column (#4514)
7 years ago
ThibG 60d86501b5 Remove extra spaces from search API queries and public account headers (fixes #7129) (#7152)
7 years ago
Eugen Rochko 466442b764 Add bio fields (#6645)
7 years ago
Eugen Rochko 1343b9f329 Ensure SynchronizeFeaturedCollectionWorker is unique and clean up (#7043)
7 years ago
Renato "Lond" Cerqueira ddbc1572f2 When creating status, if no sensitive status is given, use default (#7057)
7 years ago
Nolan Lawson 3e30ac6b7d Fix nil account issue in ProcessAccountService (#7019)
7 years ago
Eugen Rochko 40afedc030 Support all ActivityPub actor types (#6997)
7 years ago
David Underwood 44274257de [WIP] Enable custom emoji on account pages and in the sidebar (#6124)
7 years ago
ThibG 1cda8b247a Fix compatibility with PeerTube (#6968)
7 years ago
Akihiko Odaki acece7a2e6 Validate HTTP response length while receiving (#6891)
7 years ago
Akihiko Odaki 11c19f6cc9 Close http connection in perform method of Request class (#6889)
7 years ago
Eugen Rochko ab96a9ff11 Use username/domain to match existing accounts in ActivityPub (#6842)
7 years ago
nightpool 2902b97c83 Add entropy to download filenames (#6811)
7 years ago
Eugen Rochko 0277ca9a0c For now, put a "." into no-text statuses with media for backcompat (#6691)
7 years ago
Eugen Rochko f92176899e After blocking domain with reject_media, invalidate cache (#6679)
7 years ago
Eugen Rochko 0c2a08adeb Remove text requirement when media attached from statuses (#6672)
7 years ago
Eugen Rochko b1f8dfd3cf Federate pinned statuses over ActivityPub (#6610)
7 years ago
Aboobacker MK fab75c2396 Fix 500 while searching after deleting a post (#6604)
7 years ago
Eugen Rochko 0ebd2a1718 Federated reports (#6570)
7 years ago
Eugen Rochko f6884555d7 Account archive download (#6460)
7 years ago
Eugen Rochko 0357e93a91 Fix #5173: Click card to embed external content (#6471)
7 years ago
Eugen Rochko 7ca5a06505 Full-text search for authorized statuses (#6423)
7 years ago
abcang b209de40f4 Fix saving of oEmbed image (#6409)
7 years ago
Akihiko Odaki b5162e2aff Rename ResolveRemoteAccountService to ResolveAccountService (#6327)
7 years ago
Akihiko Odaki fabc4af7ff Rename FetchRemoteResourceService to ResolveURLService (#6328)
7 years ago
Renato "Lond" Cerqueira b2632dfad7 When must_be_following_dm is on, only notify if recipient dm'ed user (#6283)
7 years ago
Eugen Rochko 9cfbbbce1f Fix home regeneration (#6251)
7 years ago
puckipedia 87dd003ea5 Allow attributedTo in a status to be an embedded object (#6238)
7 years ago
Eugen Rochko d4e0d2563c Fix bad URL schemes being accepted (#6219)
7 years ago
ThibG 090bd4d505 When fetching an ActivityPub-enabled status, do not re-request it as text/html (#6196)
7 years ago
Eugen Rochko c647ce902b Send one Delete of Actor in ActivityPub when account is suspended (#6172)
7 years ago
Eugen Rochko 289355749f Fix FetchAtomService not finding alternatives if there's a Link header (#6170)
7 years ago
Eugen Rochko afa3852159 Update moved-to property when it's removed too (#6160)
7 years ago
ThibG 7eb2f42976 Reduce the number of synchronous resolves when posting toots (#6075)
7 years ago
Eugen Rochko 8c04f9417f Fix redundant HTTP request in FetchLinkCardService (#6002)
7 years ago
Eugen Rochko 5b2ab607db Fix #5952 - NameError (regression from #5762) (#5999)
7 years ago
Akihiko Odaki d67575edea Store preview image for embedded photo in preview cards (#5986)
7 years ago
Renato "Lond" Cerqueira 15bc3398f7 Return false if object does not respond to url (#5988)
7 years ago
Renato "Lond" Cerqueira ab3d248f48 Change conditional to avoid nil into string error in sidekiq (#5987)
7 years ago
Andrea Scarpino e8198cd298 Fix account and tag searches with leading/trailing spaces (#5965)
7 years ago
Yamagishi Kazutoshi f54ca825c5 Ignore HEAD method if does not support (#5949)
7 years ago
Eugen Rochko 856e8465ea Fix #5926 - Do not downgrade to OStatus once ActivityPub is known (#5929)
7 years ago
Akihiko Odaki ce3989fc6a Add embed_url to preview cards (#5775)
7 years ago
Yamagishi Kazutoshi 9c1cbddf70 Search only from followees (#5897)
7 years ago
Yamagishi Kazutoshi fba46b6072 Using double splat operator (#5859)
7 years ago
Eugen Rochko 1e7f022fa2 Add list of lists component to web UI (#5811)
7 years ago
Eugen Rochko cfe67ba832 Add semi-support for Video/Image objects in ActivityPub (#5848)
7 years ago
Eugen Rochko 2421fd745a Fix too many forwards (#5854)
7 years ago
aschmitz ce341c7cf6 Allow hiding of reblogs from followed users (#5762)
7 years ago
ThibG f33fd11c87 Fix handling of temporary failures in ProcessMentionsService (#5842)
7 years ago
abcang 4e409e629d Fixed duplicating URL of photo type of oEmbed (#5763)
7 years ago
abcang ef14321fff Fix NoMethodError at ActivityPub::FetchRemoteStatusService (#5753)
7 years ago
Eugen Rochko b89f614bd7 Profile redirect notes (#5746)
7 years ago
Eugen Rochko e149067561 Lists (#5703)
7 years ago
Eugen Rochko 3df46ce5a8 Fix some rubocop style issues (#5730)
7 years ago
Surinna Curtis 582dd1b7c7 Optional notification muting (#5087)
7 years ago
ThibG 4531b67c3e Use already-known remote user data if resolving temporarily fails in mentions (#5702)
7 years ago
Eugen Rochko 80873c1134 Add option to block direct messages from people you don't follow (#5669)
7 years ago
ThibG 5abd97e5ba Fix process mentions for local users, as local users are considered to use OStatus (#5618)
7 years ago
ThibG 4912f539c3 Twidere mention workaround (#5552)
7 years ago
Eugen Rochko 7f1a0241c1 Add ability to disable login and mark accounts as memorial (#5615)
7 years ago
ThibG 02608c2292 Do not process undeliverable mentions (#5598)
7 years ago
ThibG a8249d2486 Resolve remote accounts when mentioned even if they are already known (#5539)
7 years ago
ThibG fec32921d5 Update remote ActivityPub users when fetching their toots (#5545)
7 years ago
ThibG b41ed24f74 Instantiate service classes for each call (fixes #5540) (#5543)
7 years ago
unarist 8b2ee20dfa Don't capture scheme-less URLs in the status (#5435)
7 years ago
abcang 7c1f3173bb Close connection when succeeded posting (#5390)
7 years ago
ThibG 10c5fafbe1 Fix remote status fetching for “pure” ActivityPub WEB_ACCOUNT users (#5372)
7 years ago
unarist dead33f113 Fix some failure cases on FetchLinkCardService (#5347)
7 years ago
Eugen Rochko a431000b97 Fix #5272 - Order of checks in ActivityPub handler (#5276)
7 years ago
Eugen Rochko 007fce8c10 Set snowflake IDs for backdated statuses (#5260)
7 years ago
unarist 4acb1c73dd Improve error handling on LinkCrawlWorker (#5250)
7 years ago
ThibG a89d69a269 Fix regression in FetchRemoteResourceService (#5217)
7 years ago
ThibG dee5c22790 Check Webfinger-returned author URI even when not redirected (#5213)
7 years ago
aschmitz 5b2d855d86 Non-Serial ("Snowflake") IDs (#4801)
7 years ago
Yamagishi Kazutoshi e671d77e8f Fix undefined local variable (regression from #5114) (#5210)
7 years ago
Eugen Rochko 23dd2eb614 Follow up to #5172, clean up notifications after mute like after block (#5198)
7 years ago
Akihiko Odaki 2e6db37776 Validate id of ActivityPub representations (#5114)
7 years ago
Eugen Rochko 7983da13cd Fix possible acct: uri usurpation in ActivityPub account discovery (#5208)
7 years ago
Eugen Rochko c35e6234ab If HTTP signature is wrong and webfinger cache is stale, retry with resolve (#5129)
7 years ago
abcang 292f489301 Flush body when POST requests (#5128)
7 years ago
Eugen Rochko 10a2b3dd4c Follow-up to #4582 and #5027, removing dead code (#5101)
7 years ago
Eugen Rochko 1efe904a28 Fix #5059 - Stop processing payload if it's from local account (#5100)
7 years ago
Eugen Rochko 25d6a51276 Send streaming API delete to people mentioned in status (#5103)
7 years ago
aschmitz 618df7a5ee Change IDs to strings rather than numbers in API JSON output (#5019)
7 years ago
Akihiko Odaki b1ba673029 Introduce OStatus::TagManager (#5008)
7 years ago
Eugen Rochko 48377dfe46 Fix incomplete account records being read (#4998)
7 years ago
Eugen Rochko e9bb7e62b1 Admin interface for listing, adding and removing custom emojis (#5002)
7 years ago
unarist 4a4e555fd4 Fix an error when actor json couldn't be fetched in ResolveRemoteAccountService (#4979)
7 years ago
Akihiko Odaki d4a1ddd46a Fix filterable_languages method of SettingsHelper (#4966)
7 years ago
ふぁぼ原 c71727ca55 Enable to recognize most kinds of characters as URL paths (#4941)
7 years ago
Eugen Rochko 41d6ada41f Support OpenGraph video embeds (#4897)
7 years ago
ThibG aaac0c5556 Fix refollowing (#4931)
7 years ago
Eugen Rochko 34f7c3de25 Fix #4917 - Add missing suspend checks (#4921)
7 years ago
ThibG 284c777b19 [WiP] Whenever a remote keypair changes, unfollow them and re-subscribe to … (#4907)
7 years ago
Eugen Rochko 6628ea4a82 Default follows for new users (#4871)
7 years ago
Eugen Rochko 86cf6905cc Fix errors preventing UnsubscribeService from working (#4866)
7 years ago
Eugen Rochko dfd9eed84c Add missing reject_media check before avatar download via ActivityPub (#4862)
7 years ago
Eugen Rochko 1a5442204b Fix #4852 - Check if already requested from FollowService (#4855)
7 years ago
Eugen Rochko cc4bc2709d Fix #4850 - When visibility missing from API call to toot, fallback to user preference (#4861)
7 years ago
Eugen Rochko 6fb8be482b Fetch statuses/following/followers numbers from ActivityPub collections (#4840)
7 years ago
Eugen Rochko 883a12cb0f Fix mentions in direct statuses not being delivered via AP (#4806)
7 years ago
Eugen Rochko be4bfd2ec1 Fix some ActivityPub JSON bugs (#4796)
7 years ago
Eugen Rochko 8847d2fda4 Rename "locked" to "manuallyApprovesFollowers" in ActivityPub (#4779)
7 years ago
Eugen Rochko 23682c8593 Make "unfollow" undo pending outgoing follow request too (#4781)
7 years ago
Eugen Rochko 0aa744a8e3 Define missing JSON-LD properties (#4767)
7 years ago
Eugen Rochko 60ec86be49 Avoid sending some ActivityPub payloads if the receiver will get them through distribution (#4739)
7 years ago
Eugen Rochko e9e271878e Make PreviewCard records reuseable between statuses (#4642)
7 years ago
unarist 5a6b15f014 Don't process ActivityPub payload if signature is invalid (#4752)
7 years ago
James 2fbae21f05 Guarantee Subscription service first account has proper URL details (#4732)
7 years ago
Eugen Rochko ca76d11434 Forward ActivityPub creates that reply to local statuses (#4709)
7 years ago
Eugen Rochko 3135d20283 Serialize ActivityPub alternate link into OStatus deletes, handle it (#4730)
7 years ago
unarist e17945907a Fix deletion of status which has been reblogged (#4728)
7 years ago
Eugen Rochko 6025762ba2 Add ActivityPub serializer for Undo of Announce (#4703)
7 years ago
Eugen Rochko 5147147da9 Add handling of Linked Data Signatures in payloads (#4687)
7 years ago
masarakki d8f136cb8b authorize-follow-requests-after-unlocking (#4658)
7 years ago
Eugen Rochko cab7fa158a Add configuration to disable private status federation over PuSH (#4582)
7 years ago
unarist bab7127ac9 Fetch reblogs as Announce activity instead of Note object (#4672)
7 years ago
unarist 75ce1235b5 Fix accessing to XML attribute in FetchAtomService (#4668)
7 years ago
unarist 915eda7f88 Ignore empty response in ActivityPub::FetchRemoteStatusService (#4661)
7 years ago
unarist 1cb7c1a273 Fix bugs which OStatus accounts may detected as ActivityPub ready (#4662)
7 years ago
Eugen Rochko dccc1a74ad Support more variations of ActivityPub keyId in signature (#4630)
7 years ago
Eugen Rochko d76bd63226 Do not try to re-subscribe to unsubscribed accounts (#4653)
7 years ago
Eugen Rochko 1a19358b24 ActivityPub migration procedure (#4617)
7 years ago
Eugen Rochko 44b5084f1d Handle duplicate ActivityPub activities (#4639)
7 years ago
Yamagishi Kazutoshi ac7fb7c820 Add support for searching AP users (#4599)
7 years ago
Eugen Rochko 5bc37d814f Require "inbox" to be set on actor to be ActivityPub-ready (#4595)
7 years ago
Yamagishi Kazutoshi ffc125c953 Fix search (regression from #4589) (#4594)
7 years ago
Eugen Rochko 3473aac8d8 Hook up URL-based resource look-up to ActivityPub (#4589)
7 years ago
Eugen Rochko 5516767c75 ActivityPub delivery (#4566)
7 years ago
Eugen Rochko 0e2a3049e7 Add serializing/unserializing of "locked" actor attribute (#4585)
7 years ago