542 Commits (8bb1747946a15f844141da0b6b8a9de8d30bb694)

Author SHA1 Message Date
Eugen Rochko 0ebb6c1480 Revert connect timeout from 1s to 10s (#9319)
6 years ago
Eugen Rochko 4ec133ef93 Prevent multiple handlers for Delete of Actor from running (#9292)
6 years ago
Eugen Rochko 7a939f7cfc Remove intermediary arrays when creating hash maps from results (#9291)
6 years ago
ThibG b6e377a340 Fix emoji update date processing (#9255)
6 years ago
Eugen Rochko d78aed7a37 Reduce connect timeout limit and limit signature failures by source IP (#9236)
6 years ago
Eugen Rochko d84886f35e Accept the same payload in multiple inboxes and deliver (#9150)
6 years ago
m.b a342451341 Add Page AP type support (#9121)
6 years ago
ThibG e169e36810 Ignore invalid hashtags on remote statuses instead of rejecting them (#9118)
6 years ago
ThibG 56774d3bd4 Fix missing `mention` argument when processing incoming Create activities (#9114)
6 years ago
Eugen Rochko b110105a53 Allow inbox owner to view implicitly targeted ActivityPub payload (#9093)
6 years ago
Eugen Rochko 40d23fc4d1 Add option to block reports from domain (#8830)
6 years ago
Eugen Rochko 654520ec8c Improve support for aspects/circles (#8950)
6 years ago
Eugen Rochko 0a5b65533d Improve signature verification safeguards (#8959)
6 years ago
Eugen Rochko b9e620946c Fix typo in ActivityPub Create handler (#8952)
6 years ago
Eugen Rochko ce087ef889 Move network calls out of transaction in ActivityPub handler (#8951)
6 years ago
Eugen Rochko c9b5168ebd Add conversations API (#8832)
6 years ago
Jeong Arm 708c12af1e Leave unknown language as nil if account is remote (#8861)
6 years ago
ThibG 47eaba870e Fix handling of ActivityPub activities lacking some attributes (#8864)
6 years ago
Eugen Rochko ea769a7d02 Fix class autoloading issue in ActivityPub::Activity::Create (#8820)
6 years ago
cbayerlein 81dd71dba7 Exclude replies from list timelines (#8683)
6 years ago
ふぁぼ原 bb8afc4608 Add a new preference to always hide all media (#8569)
6 years ago
Matt Sweetman 674865731a Add user preference to always expand toots marked with content warnings (#8762)
6 years ago
Eugen Rochko d3105031f8 Redesign forms, verify link ownership with rel="me" (#8703)
6 years ago
Renato "Lond" Cerqueira d516e7fa62 Fix autoplay issue with spoiler tag (#8540)
6 years ago
Eugen Rochko b8e126ca0f Do not sign useless User-Agent or Accept-Encoding headers (#8533)
6 years ago
Renato "Lond" Cerqueira c7423078ce Add animate custom emoji param to embed pages (#8507)
6 years ago
Eugen Rochko 1d319c531e Add CLI task for rotating keys (#8466)
6 years ago
Quint Guvernator 476ba6e4f0 Fix low-hanging rubocop gripes (#8458)
6 years ago
Eugen Rochko 3f59f13506 Spread out crawling randomly to avoid DDoSing the link (#8445)
6 years ago
M Somerville 777e09500e Support ActivityStreams’ summaryMap. (#8422)
6 years ago
Jakub Mendyk 289b4f2838 Add ability to change an instance default theme from the administration panel (#7092) (#8381)
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
ThibG 20ced948f2 Implement Undo { Accept { Follow } } (fixes #8234) (#8245)
6 years ago
ThibG c16294d20a Use correct activity id in Accept when receiving duplicate Follow (fixes #8218) (#8244)
6 years ago
Eugen Rochko 3fe1f95dd0 Expect relays to answer with accept/reject (#8179)
6 years ago
ThibG 193ebf3cf4 Serialize text-less statuses as '.' over OStatus (fixes #7856) (#8126)
6 years ago
Eugen Rochko 8c8f80c0fb Fix incorrect context definition for the "featured" keyword (#8090)
6 years ago
Eugen Rochko 38f413e583 Fix activity:interactions counter to count all interactions (#8037)
6 years ago
Eugen Rochko b751ec1c2e Whitelist dat/ipfs/gopher links in sanitizer (#8034)
6 years ago
Eugen Rochko d0b14eaee2 Add admin dashboard (#8029)
6 years ago
Eugen Rochko 64ce00c9c5 Disable language detection for texts shorter than 140 characters (#8010)
6 years ago
Eugen Rochko 28c301e41c Do not count self in potential friendships (#8014)
6 years ago
Eugen Rochko a94f6c800d Make whole-word filter regex consistent between Ruby and JS (#7987)
6 years ago
ThibG 4c70bb6d6d Add option to not consider word boundaries when processing keyword filtering (#7975)
6 years ago
Eugen Rochko 6084257fda In keyword filter, account for reblogs, HTML and whole-words (#7960)
6 years ago
Eugen Rochko 9f0a91e142 Check reblogged status for blocked/muted mentions (#7957)
6 years ago
Eugen Rochko aa4e75166b Re-add follow recommendations API (#7918)
6 years ago
MIYAGI Hikaru ac56fa3c22 Merge `HIDDEN_SERVICE_VIA_TRANSPARENT_PROXY` into `ALLOW_ACCESS_TO_HIDDEN_SERVICE` (#7901)
6 years ago
Eugen Rochko d878e3e945 Keyword/phrase filtering (#7905)
6 years ago
Eugen Rochko f91fa10804 Allow selecting default posting language instead of auto-detect (#7828)
6 years ago
Eugen Rochko 5aa5b86bf1 Do not accept ActivityPub follow requests from blocked user (#7756)
6 years ago
Eugen Rochko 946091af45 Exclude unlisted, private and direct toots from affecting trends (#7686)
6 years ago
abcang f0ee3f8f8a Fix N+1 on AtomSerializer (#7669)
6 years ago
Eugen Rochko adeb99bc8c Record trending tags from ActivityPub, too (#7647)
6 years ago
ThibG d1b2466320 Ignore multiple occurrences of a hashtag within a status (fixes #7585) (#7606)
6 years ago
Eugen Rochko 1de7400dfc Resolve unknown status from Add activity, skip Remove if unknown (#7526)
6 years ago
Eugen Rochko aeceb63275 Add preference to hide following/followers lists (#7532)
6 years ago
MIYAGI Hikaru 7dbf83d6b8 User agent for WebFinger (#7531)
6 years ago
Akihiko Odaki 5dadb6896b Raise Mastodon::RaceConditionError if Redis lock failed (#7511)
6 years ago
ThibG 74c2a46423 Fetch boosted statuses on behalf of a follower (fixes #7426) (#7459)
6 years ago
Yamagishi Kazutoshi 59b48b923d Disable inflate gzip on head method (#7432)
6 years ago
Yamagishi Kazutoshi 1b42ea9f2c Support gzip encoding on Request (#7425)
6 years ago
Eugen Rochko 244a270a80 If an OStatus message contains nsfw hashtag, mark it as sensitive (#7398)
6 years ago
Eugen Rochko 4055ce490c Enable custom emojis in profiles (notes, field values, display names) (#7374)
6 years ago
Eugen Rochko ef1a273322 Fix handling of malformed ActivityPub payloads when URIs are nil (#7370)
6 years ago
Eugen Rochko 154076e8e7 Store URIs of follows, follow requests and blocks for ActivityPub (#7160)
6 years ago
ThibG f2ecedaab5 Fixes/do not override timestamps (#7336)
6 years ago
ThibG 9c1e1005f4 Fixes/do not override timestamps (#7331)
6 years ago
Eugen Rochko 92c5474861 Fix n+1 queries in StatusThreadingConcern (#7321)
6 years ago
Eugen Rochko ca1c696dbd Slightly reduce RAM usage (#7301)
6 years ago
ThibG 616cfab97c Accept actor object updates from all supported actor types (#7312)
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
Eugen Rochko 62a50fcc75 Fix missing updated_at attribute on emoji EntityCache (#7297)
6 years ago
Eugen Rochko aa54b99f3f Fix missing domain attribute in EntityCache for emoji (#7290)
6 years ago
Eugen Rochko 1a653fff95 Add entity cache (#7271)
6 years ago
MIYAGI Hikaru 28808f638e HTTP proxy support for outgoing request, manage access to hidden service (#7134)
7 years ago
Eugen Rochko 24330e4fa7 Add RSS feeds for end-users (#7259)
7 years ago
Eugen Rochko 39f36c0901 Detect and prevent image bombs, max. processable dimension 4096^2 (#7229)
7 years ago
Eugen Rochko 599aa39aca Remove "nsfw" category for sensitive statuses in OStatus serializer (#7048)
7 years ago
Eugen Rochko 466442b764 Add bio fields (#6645)
7 years ago
Levi Bard 6828abc1d7 Enable updating additional account information from user preferences via rest api (#6789)
7 years ago
Eugen Rochko 608b4096ea Forward deletes on the same path as reply forwarding (#7058)
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
ThibG f7a96189b6 Do not ignore unknown media attachments, only skip them (#6948)
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
Rey Tucker 4c91be94d3 request: in the event of failure, try other IPs (#6761) (#6813)
7 years ago
ThibG 99790407e2 Serialize mentions in the order they are added (#6836)
7 years ago
Eugen Rochko f0bc8e8a89 Ignore media validation when attaching to status during processing (#6822)
7 years ago
MitarashiDango 894226c288 fix validation error (media only status) (#6684)
7 years ago
Eugen Rochko 0c2a08adeb Remove text requirement when media attached from statuses (#6672)
7 years ago
Eugen Rochko 29f412da2c Fix #6657 - Use target instead of origin in Remove activity (#6664)
7 years ago
Eugen Rochko b1f8dfd3cf Federate pinned statuses over ActivityPub (#6610)
7 years ago
Eugen Rochko 5f70533e8a Fix #5708: Reject->Follow will remove the follow if it exists (#6571)
7 years ago
Eugen Rochko 0ebd2a1718 Federated reports (#6570)
7 years ago
Akihiko Odaki a5a434a8f6 Raise Mastodon::HostValidationError when host for HTTP request is private (#6410)
7 years ago
Akihiko Odaki 7ac6e09dde Do not push status to feed if its reblog is already inserted (#6488)
7 years ago
Eugen Rochko 865c7e7178 Focal points (#6520)
7 years ago
Eugen Rochko c34ff9fb82 Fix avatar and header issues by using custom geometry detector (#6515)
7 years ago
Eugen Rochko 3f2a113d32 Push discovered status through streaming API within a time window (#6484)
7 years ago
Eugen Rochko 7ca5a06505 Full-text search for authorized statuses (#6423)
7 years ago
Eugen Rochko 219b28e172 Add preference to always display sensitive media (#6448)
7 years ago
Akihiko Odaki 3cd3cae7f7 Accept ActivityPub announce from the author of the original note (#6236)
7 years ago
ThibG dc4054abe9 Process mentions and reblogs even from resolved threads (#6299)
7 years ago
Eugen Rochko e19ece354e Skip ActivityPub Announces of non-public objects (#6230)
7 years ago
puckipedia 74e427c24b Add the author of a status to cc if reblogged (#6226)
7 years ago
Eugen Rochko c8f0be1d6d Revert #5772 (#6221)
7 years ago
Eugen Rochko d4e0d2563c Fix bad URL schemes being accepted (#6219)
7 years ago
puckipedia 4ae7b4eb1e Move Article from supported to converted types (#6218)
7 years ago
ThibG 5ee5272b69 Don't normalize URLs in toots (#6134)
7 years ago
Akihiko Odaki 7a0479c830 Allow to dereference Follow object for ActivityPub (#5772)
7 years ago
puckipedia 95adc48b92 [!] Sanitize incoming classlist properly (#6162)
7 years ago
Eugen Rochko 48bc0b8375 Don't leave behind husk of remotely-deleted profile (#6159)
7 years ago
Eugen Rochko cb45282e47 Fix stats expiring too quickly because of variable mistake (#6155)
7 years ago
Eugen Rochko 9427823d5c Add more instance stats APIs (#6125)
7 years ago
Akihiko Odaki d8a0c19166 Fix XML oEmbed support discovery (#6104)
7 years ago
Eugen Rochko 99a208cd8f Do not hide statuses from silenced accounts from other silenced accounts (#6030)
7 years ago
Eugen Rochko 8c04f9417f Fix redundant HTTP request in FetchLinkCardService (#6002)
7 years ago
abcang a55211ee5b Save media outside transaction (#5959)
7 years ago
Yamagishi Kazutoshi fba46b6072 Using double splat operator (#5859)
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
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
Renato "Lond" Cerqueira f366a83c6c Improve language filter (#5724)
7 years ago
MIYAGI Hikaru 3506668438 Avoid emojifying on invisible text (#5558)
7 years ago
puckipedia 2c06b21883 Allow ActivityPub Note's tag and attachment to be single objects (#5534)
7 years ago
Eugen Rochko fef7c55bce When status is fetched instead of delivered, do not stream it (#5437)
7 years ago
aschmitz 4dbdda6b89 Clean up reblog tracking keys, related improvements (#5428)
7 years ago
Eugen Rochko 7571d79c8d Keep references to all reblogs of a status on home feed (#5419)
7 years ago
Eugen Rochko 8a276b4d43 Ensure that feed renegeration restores non-zero items (#5409)
7 years ago
unarist 1fa6d20981 Fix un-reblogged status being at wrong position in the home timeline (#5418)
7 years ago
Nolan Lawson a54c272a1f Add option to reduce motion (#5393)
7 years ago
unarist 69b74d26cd Use atomUri in Undo activity of Announce (#5376)
7 years ago
Eugen Rochko ab9c76d786 Fix NameError: uninitialized constant OStatus::AtomSerializer::TagManager (#5371)
7 years ago
Eugen Rochko 7ccc1c5748 Fix UserTrackingConcern firing on every request, optimize some queries (#5368)
7 years ago
Eugen Rochko bfc6479a96 When unfollowing, remove from home in web UI immediately (#5369)
7 years ago
Eugen Rochko 40328ea6a3 Fix #5271 - Fix missing attribute in remove_from_feed (#5277)
7 years ago
Eugen Rochko 007fce8c10 Set snowflake IDs for backdated statuses (#5260)
7 years ago
Eugen Rochko 60925ce0ae Encode custom emojis as resolveable objects in ActivityPub (#5243)
7 years ago
unarist 617bc216b8 Fix remote profile being displayed in HTML on remote_follow (#5249)
7 years ago
Lynx Kotoura 94fb47ee12 Fix theme settings (#5242)
7 years ago
Eugen Rochko f37350c08f When processing custom emoji, ensure a non-animated version exists (#5230)
7 years ago
Yamagishi Kazutoshi 6bd4e3bf97 Separate notifications preferences from general preferences (#4447)
7 years ago
aschmitz 5b2d855d86 Non-Serial ("Snowflake") IDs (#4801)
7 years ago
Akihiko Odaki 2e6db37776 Validate id of ActivityPub representations (#5114)
7 years ago
Daigo 3 Dango 87223e9426 Suppress backtrace from Request#perform (#5174)
7 years ago
Eugen Rochko cb8ecac1ce After 7 days of repeated delivery failures, give up on inbox (#5131)
7 years ago
Eugen Rochko 7143870551 Change max redirects followed to 2 (#5136)
7 years ago
Eugen Rochko 795e624d5d Add ability to specify alternative text for media attachments (#5123)
7 years ago
Eugen Rochko 1efe904a28 Fix #5059 - Stop processing payload if it's from local account (#5100)
7 years ago
Akihiko Odaki 77424c156d Add missing validations in ActivityPub::Activity::Create (#5096)
7 years ago
Eugen Rochko da257754b5 Add emoji autosuggest (#5053)
7 years ago
Eugen Rochko d2aeb45461 Fix custom emojis not detected when used in content warning (#5049)
7 years ago
ThibG 0d9bc73158 Fix race condition when processing incoming OStatus messages (#5013)
7 years ago
Akihiko Odaki b1ba673029 Introduce OStatus::TagManager (#5008)
7 years ago
Naoki Kosaka 6b3e313022 Fix non-local statuses are html_encoded in public_page. (#5012)
7 years ago
Andrew b4842ef0b9 Add support for multiple themes (#4959)
7 years ago
Eugen Rochko ef6defa2c4 Define emoji context for ActivityPub (#5004)
7 years ago
Eugen Rochko eb345f8e8b Custom emoji (#4988)
7 years ago
unarist f4b3642767 Add published property to ActivityPub activity for reblogs (#5000)
7 years ago
unarist 73fdfcb262 Raise an error on getting activity uri for remote status (#4984)
7 years ago
unarist 134feb2ca8 Escape URL parts on formatting local status (#4975)
7 years ago
Akihiko Odaki d4a1ddd46a Fix filterable_languages method of SettingsHelper (#4966)
7 years ago
ThibG 67dd48a449 Fix race condition when receiving an ActivityPub Create multiple times (#4930)
7 years ago
ふぁぼ原 c71727ca55 Enable to recognize most kinds of characters as URL paths (#4941)
7 years ago
unarist f7ae3f39f6 Include requested URL into the message on network errors (#4945)
7 years ago
ThibG 53a5e16c5f Fix ActivityPub handling of replies with WEB_DOMAIN (#4895) (#4904)
7 years ago
Eugen Rochko f221fea176 Fix #4894 - Merge context hash into final JSON hash after key transform (#4898)
7 years ago
unarist 05ef0ead4a Handle stream_entry URL correctly in ActivityPub (#4854)
7 years ago
Eugen Rochko a27821f725 Fix language filter codes (#4841)
7 years ago
Eugen Rochko 73c613dcfc Switch to static URIs, new URI format in both protocols for new statuses (#4815)
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
unarist 34603e0154 Raise an error for remote url in StatusFinder (#4776)
7 years ago
Eugen Rochko 0aa744a8e3 Define missing JSON-LD properties (#4767)
7 years ago
Eugen Rochko 23c149c5b9 Add ActivityPub handler for Delete->Actor activities (#4761)
7 years ago
Eugen Rochko e1a781476f Do not rely on activity arriving exactly once after delete arrived (#4754)
7 years ago
unarist 4c0dbcadfe Deduplicate with local status on Create activity (#4763)
7 years ago
unarist 5765b930d6 Convert OStatus tag to ActivityPub id on in_reply_to resolution (#4756)
7 years ago
unarist ee591d23b5 Fallback from perform_via_activitypub on private posts (#4758)
7 years ago
Eugen Rochko 02bd661d76 Remove identity context from output of LinkedDataSignature (#4753)
7 years ago
Eugen Rochko ca76d11434 Forward ActivityPub creates that reply to local statuses (#4709)
7 years ago
Eugen Rochko 651c659fd6 Update status embeds (#4742)
7 years ago
Eugen Rochko 3135d20283 Serialize ActivityPub alternate link into OStatus deletes, handle it (#4730)
7 years ago
unarist 9edbeec86c Fix Delete activity handling when the status has been reblogged (#4729)
7 years ago
unarist 8f561fb7bf Allow Symbol keyed Hash in LinkedDataSignature (#4715)
7 years ago
Eugen Rochko 94ba76455e Add _:inReplyToAtomUri to ActivityPub (#4702)
7 years ago
Eugen Rochko c423a3463b Forward ActivityPub deletes to followers of rebloggers (#4706)
7 years ago
Eugen Rochko b2e1379427 Use Tombstone and _:atomUri in Delete activities as fallback (#4704)
7 years ago
Eugen Rochko 5147147da9 Add handling of Linked Data Signatures in payloads (#4687)
7 years ago
unarist bab7127ac9 Fetch reblogs as Announce activity instead of Note object (#4672)
7 years ago
unarist 1cb7c1a273 Fix bugs which OStatus accounts may detected as ActivityPub ready (#4662)
7 years ago