597 Commits (5e563b4f2f379a8b304562767105c86098777c48)

Author SHA1 Message Date
ThibG 85a991cfa7 Minor performance improvements and cleanup in formatter (#10765)
6 years ago
ThibG a571b07557 Prevent silenced local users from notifying remote users not following them (#10575)
6 years ago
Eugen Rochko a6d2fe7165 Add blurhash (#10630)
6 years ago
Ben Lubar 483aa50856 Default to the web domain (eg. mastodon.lubar.me) instead of the local domain (eg. lubar.me) for keybase proofs (#10565)
6 years ago
Eugen Rochko 6302bed0b5 Fix Keybase verification using wrong domain for remote accounts (#10547)
6 years ago
Takeshi Umeda 21193ed31e Fix config serializer regex (#10487)
6 years ago
Eugen Rochko a82bc7f5ae Add ActivityPub representation for identity proofs (#10414)
6 years ago
Alex Gessner be7c92061c squashed identity proof updates (#10375)
6 years ago
Eugen Rochko 364e49ae1f Rename :poll to :preloadable_poll and :owned_poll to :poll on Status (#10401)
6 years ago
Eugen Rochko 6e163d5b2a Fix alternative relay support regression (#10398)
6 years ago
Eugen Rochko 367ab6764f Remove unused ActivityPub `@context` values depending on response (#10378)
6 years ago
Eugen Rochko 0e730974cd Change language detector threshold from 140 characters to 4 words (#10376)
6 years ago
Eugen Rochko d20386e209 Improve config serializer for Keybase (#10338)
6 years ago
ThibG 2a211ff18c Add support for custom emojis in poll options (#10322)
6 years ago
Eugen Rochko a3c41f3532 Add Keybase integration (#10297)
6 years ago
ThibG 9efb9d7f72 Set and store report URIs (#10303)
6 years ago
Eugen Rochko 793587060b Fix language detection of non-latin alphabets even at few characters (#10276)
6 years ago
Eugen Rochko d5377d0d45 Fix poll update handler calling method was that was not available (#10246)
6 years ago
ThibG 154c8a0302 Increase DNS timeouts (#10238)
6 years ago
ThibG 11ce444b8b Support pushing and receiving updates to poll tallies (#10209)
6 years ago
ThibG dcbe6c16ba Do not allow adding votes to expired polls (#10214)
6 years ago
ThibG db21a6c5ee Avoid unnecessarily fetching the replies collection when it is empty (#10201)
6 years ago
ThibG 46f837a107 Fix newlines in OStatus and RSS serializations (#10183)
6 years ago
ThibG acbf18b517 When serializing polls over OStatus, serialize poll options to text (#10160)
6 years ago
ThibG 7da087dabe Store remote votes URI (#10158)
6 years ago
Eugen Rochko 03b5da7b6f Add tests for ActivityPub poll processing (#10143)
6 years ago
Eugen Rochko 952045604c Fix remote poll expiration time (#10144)
6 years ago
Eugen Rochko 4a3acdc916 Add polls (#10111)
6 years ago
ThibG 892327c686 Give the `replies` collection an identifier and enable pagination (#10128)
6 years ago
ThibG 9f3f47e91f Improved remote thread fetching (#10106)
6 years ago
ThibG 181c40a402 Fix mention processing for unknwon accounts on incoming ActivityPub Notes (#10125)
6 years ago
Eugen Rochko 6068b479f6 Fix Announce activities of unknown statuses not fetching those statuses (#10065)
6 years ago
Eugen Rochko 397f180493 Add logging for rejected ActivityPub payloads and add tests (#10062)
6 years ago
Eugen Rochko 0230b3c41d Filter incoming Announce activities by relation to local activity (#10041)
6 years ago
Eugen Rochko ddbf75ea87 Filter incoming Create activities by relation to local activity (#10005)
6 years ago
ThibG 99dcb6d910 Alternative handling of private self-boosts (#9998)
6 years ago
Eugen Rochko 5adc3f5676 Fix URL linkifier grabbing full-width spaces and quotations (#9997)
6 years ago
Hinaloe cce3319bc2 Only URLs extract with pre-escaped text (#9991)
6 years ago
ThibG dfb101cd45 Make displaying application used to toot opt-in (#9897)
6 years ago
ysksn 9cad360caa Create Redisable#redis (#9633)
6 years ago
Jakub Mendyk 234e8105da Allow most kinds of characters in URL query (fixes #8408) (#8447)
6 years ago
ThibG d0008b5051 Add tombstones for remote statuses (#9830)
6 years ago
Eugen Rochko 77f972d5b1 Add support for non-public reblogs from ActivityPub (#9841)
6 years ago
Eugen Rochko 9b0c7cfa6f Use summary as summary for converted ActivityPub objects (#9823)
6 years ago
ThibG b8867a3412 Reduce chances of race conditions when processing deleted toots (#9815)
6 years ago
ThibG ffcaa4719a Ensure blocked user unfollows blocker if Block/Undo Block are processed out of order (#9687)
6 years ago
ThibG 9bc77287d2 Do not ignore federated reports targetting already-reported accounts (#9534)
6 years ago
ThibG bdc44c3558 Reduce usage of LD signatures (#9659)
6 years ago
Eugen Rochko 4e3131f02f Add handler for Move activity (#9629)
6 years ago
Eugen Rochko ab9308b7f7 Fix ThreadResolveWorker getting queued with invalid URLs (#9628)
6 years ago
ThibG 097d866028 Add setting to not aggregate reblogs (#9248)
6 years ago
Eugen Rochko 030ce53623 Fix TLS handshake timeout not being enforced (#9381)
6 years ago
Eugen Rochko 8c7ba82dc1 Fix nil error when no DNS addresses are found for host (#9379)
6 years ago
Eugen Rochko f3fee3cd27 Fix connect timeout not being enforced (#9329)
6 years ago
ThibG 6d38e81021 Include replies to list owner and replies to list members in list statuses (#9324)
6 years ago
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)
7 years ago
Eugen Rochko 5aa5b86bf1 Do not accept ActivityPub follow requests from blocked user (#7756)
7 years ago
Eugen Rochko 946091af45 Exclude unlisted, private and direct toots from affecting trends (#7686)
7 years ago
abcang f0ee3f8f8a Fix N+1 on AtomSerializer (#7669)
7 years ago
Eugen Rochko adeb99bc8c Record trending tags from ActivityPub, too (#7647)
7 years ago
ThibG d1b2466320 Ignore multiple occurrences of a hashtag within a status (fixes #7585) (#7606)
7 years ago
Eugen Rochko 1de7400dfc Resolve unknown status from Add activity, skip Remove if unknown (#7526)
7 years ago
Eugen Rochko aeceb63275 Add preference to hide following/followers lists (#7532)
7 years ago
MIYAGI Hikaru 7dbf83d6b8 User agent for WebFinger (#7531)
7 years ago
Akihiko Odaki 5dadb6896b Raise Mastodon::RaceConditionError if Redis lock failed (#7511)
7 years ago
ThibG 74c2a46423 Fetch boosted statuses on behalf of a follower (fixes #7426) (#7459)
7 years ago
Yamagishi Kazutoshi 59b48b923d Disable inflate gzip on head method (#7432)
7 years ago
Yamagishi Kazutoshi 1b42ea9f2c Support gzip encoding on Request (#7425)
7 years ago
Eugen Rochko 244a270a80 If an OStatus message contains nsfw hashtag, mark it as sensitive (#7398)
7 years ago
Eugen Rochko 4055ce490c Enable custom emojis in profiles (notes, field values, display names) (#7374)
7 years ago
Eugen Rochko ef1a273322 Fix handling of malformed ActivityPub payloads when URIs are nil (#7370)
7 years ago
Eugen Rochko 154076e8e7 Store URIs of follows, follow requests and blocks for ActivityPub (#7160)
7 years ago
ThibG f2ecedaab5 Fixes/do not override timestamps (#7336)
7 years ago
ThibG 9c1e1005f4 Fixes/do not override timestamps (#7331)
7 years ago
Eugen Rochko 92c5474861 Fix n+1 queries in StatusThreadingConcern (#7321)
7 years ago
Eugen Rochko ca1c696dbd Slightly reduce RAM usage (#7301)
7 years ago
ThibG 616cfab97c Accept actor object updates from all supported actor types (#7312)
7 years ago
Eugen Rochko c5fa8041c2 Remove most behaviour disparities between blocks and mutes (#7231)
7 years ago
Eugen Rochko 192746ec3e Guard against nil URLs in Request class (#7284)
7 years ago
Surinna Curtis 72793b3fc7 Support Actors/Statuses with multiple types (#7305)
7 years ago
Eugen Rochko 62a50fcc75 Fix missing updated_at attribute on emoji EntityCache (#7297)
7 years ago
Eugen Rochko aa54b99f3f Fix missing domain attribute in EntityCache for emoji (#7290)
7 years ago
Eugen Rochko 1a653fff95 Add entity cache (#7271)
7 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