780 Commits (1baf40077b53a850ffe58d60aa2781f0972cf52d)

Author SHA1 Message Date
Eugen Rochko 9f5b55ad4f
Fix poll update handler calling method was that was not available (#10246)
6 years ago
ThibG 79b00d294d Increase DNS timeouts (#10238)
6 years ago
ThibG 3a92885a86 Support pushing and receiving updates to poll tallies (#10209)
6 years ago
ThibG 3aaac4f134 Do not allow adding votes to expired polls (#10214)
6 years ago
ThibG 34f261e6af Avoid unnecessarily fetching the replies collection when it is empty (#10201)
6 years ago
ThibG efd0fb8088 Fix newlines in OStatus and RSS serializations (#10183)
6 years ago
ThibG 636db1f54f When serializing polls over OStatus, serialize poll options to text (#10160)
6 years ago
ThibG 833ffce2df Store remote votes URI (#10158)
6 years ago
Eugen Rochko 0e6998da3c
Add tests for ActivityPub poll processing (#10143)
6 years ago
Eugen Rochko ae1b9cf70a
Fix remote poll expiration time (#10144)
6 years ago
Eugen Rochko 230a012f00
Add polls (#10111)
6 years ago
ThibG d8498b3983 Give the `replies` collection an identifier and enable pagination (#10128)
6 years ago
ThibG 9d3c6f1849 Improved remote thread fetching (#10106)
6 years ago
ThibG 9edab46368 Fix mention processing for unknwon accounts on incoming ActivityPub Notes (#10125)
6 years ago
Eugen Rochko 1a1b8170bb
Fix Announce activities of unknown statuses not fetching those statuses (#10065)
6 years ago
Eugen Rochko 147b4c2c3a
Add logging for rejected ActivityPub payloads and add tests (#10062)
6 years ago
Eugen Rochko c417e8c198
Filter incoming Announce activities by relation to local activity (#10041)
6 years ago
Eugen Rochko dad339da6d
Filter incoming Create activities by relation to local activity (#10005)
6 years ago
ThibG 6a5307a573 Alternative handling of private self-boosts (#9998)
6 years ago
Eugen Rochko 016ad37bc8
Fix URL linkifier grabbing full-width spaces and quotations (#9997)
6 years ago
Hinaloe 157d3af46c Only URLs extract with pre-escaped text (#9991)
6 years ago
ThibG ed30110618 Make displaying application used to toot opt-in (#9897)
6 years ago
ysksn bcfff65195 Create Redisable#redis (#9633)
6 years ago
Jakub Mendyk 6a5e3da6b0 Allow most kinds of characters in URL query (fixes #8408) (#8447)
6 years ago
ThibG 75b1488cf4 Add tombstones for remote statuses (#9830)
6 years ago
Eugen Rochko 31f396b57d
Add support for non-public reblogs from ActivityPub (#9841)
6 years ago
Eugen Rochko 4ab42287c0
Use summary as summary for converted ActivityPub objects (#9823)
6 years ago
ThibG a4f07bad95 Reduce chances of race conditions when processing deleted toots (#9815)
6 years ago
ThibG 70be301d69 Ensure blocked user unfollows blocker if Block/Undo Block are processed out of order (#9687)
6 years ago
ThibG b2f4114550 Do not ignore federated reports targetting already-reported accounts (#9534)
6 years ago
ThibG 290932602b Reduce usage of LD signatures (#9659)
6 years ago
Eugen Rochko 0f938ff29c
Add handler for Move activity (#9629)
6 years ago
Eugen Rochko aa9a20cde0
Fix ThreadResolveWorker getting queued with invalid URLs (#9628)
6 years ago
ThibG 81bda7d67c Add setting to not aggregate reblogs (#9248)
6 years ago
Eugen Rochko c39d7e7b2b
Fix TLS handshake timeout not being enforced (#9381)
6 years ago
Eugen Rochko 43c311b3a1
Fix nil error when no DNS addresses are found for host (#9379)
6 years ago
Eugen Rochko fd8145d232
Fix connect timeout not being enforced (#9329)
6 years ago
ThibG 466e3d710c Include replies to list owner and replies to list members in list statuses (#9324)
6 years ago
Eugen Rochko 384e953b75
Revert connect timeout from 1s to 10s (#9319)
6 years ago
Eugen Rochko 9311430ed7
Prevent multiple handlers for Delete of Actor from running (#9292)
6 years ago
Eugen Rochko 8069fd636b
Remove intermediary arrays when creating hash maps from results (#9291)
6 years ago
ThibG 7f5a4be580 Fix emoji update date processing (#9255)
6 years ago
Eugen Rochko 4615512285
Reduce connect timeout limit and limit signature failures by source IP (#9236)
6 years ago
Eugen Rochko be202f9377
Accept the same payload in multiple inboxes and deliver (#9150)
6 years ago
m.b 2b18f5f85d Add Page AP type support (#9121)
6 years ago
ThibG e53cc673e7 Ignore invalid hashtags on remote statuses instead of rejecting them (#9118)
6 years ago
ThibG 82e7988afc Fix missing `mention` argument when processing incoming Create activities (#9114)
6 years ago
Eugen Rochko d4cf963749
Allow inbox owner to view implicitly targeted ActivityPub payload (#9093)
6 years ago
Eugen Rochko fd5285658f
Add option to block reports from domain (#8830)
6 years ago
Eugen Rochko ddd30f331c
Improve support for aspects/circles (#8950)
6 years ago
Eugen Rochko 21ad21cb50
Improve signature verification safeguards (#8959)
6 years ago
Eugen Rochko 61d44dd11f
Fix typo in ActivityPub Create handler (#8952)
6 years ago
Eugen Rochko 790d3bc637
Move network calls out of transaction in ActivityPub handler (#8951)
6 years ago
Eugen Rochko 774ac47373
Add conversations API (#8832)
6 years ago
Jeong Arm 144d73730d Leave unknown language as nil if account is remote (#8861)
6 years ago
ThibG ba444797d2 Fix handling of ActivityPub activities lacking some attributes (#8864)
6 years ago
Eugen Rochko ef69c655cc
Fix class autoloading issue in ActivityPub::Activity::Create (#8820)
6 years ago
cbayerlein 4b78546135 Exclude replies from list timelines (#8683)
6 years ago
ふぁぼ原 f7a6f9489d Add a new preference to always hide all media (#8569)
6 years ago
Matt Sweetman 1889526e23 Add user preference to always expand toots marked with content warnings (#8762)
6 years ago
Eugen Rochko f4d549d300
Redesign forms, verify link ownership with rel="me" (#8703)
6 years ago
Renato "Lond" Cerqueira fe56d26f7b Fix autoplay issue with spoiler tag (#8540)
6 years ago
Eugen Rochko e3764bdb52
Do not sign useless User-Agent or Accept-Encoding headers (#8533)
6 years ago
Renato "Lond" Cerqueira 11658d8653 Add animate custom emoji param to embed pages (#8507)
6 years ago
Eugen Rochko cabdbb7f9c
Add CLI task for rotating keys (#8466)
6 years ago
Quint Guvernator da13fa5021 Fix low-hanging rubocop gripes (#8458)
6 years ago
Eugen Rochko b4ba4b1b5d
Spread out crawling randomly to avoid DDoSing the link (#8445)
6 years ago
M Somerville 95bd0d4528 Support ActivityStreams’ summaryMap. (#8422)
6 years ago
Jakub Mendyk 6cb3514d64 Add ability to change an instance default theme from the administration panel (#7092) (#8381)
6 years ago
ThibG 42573b76f1 Do not crash if remote custom emoji does not define updated date (fixes #8376) (#8377)
6 years ago
Eugen Rochko 802cf6a4c5
Improve federated ID validation (#8372)
6 years ago
ThibG 59f7f4c923 Implement Undo { Accept { Follow } } (fixes #8234) (#8245)
6 years ago
ThibG 1ee675d68b Use correct activity id in Accept when receiving duplicate Follow (fixes #8218) (#8244)
6 years ago
Eugen Rochko 39e361a56d
Expect relays to answer with accept/reject (#8179)
6 years ago
ThibG c52bcc0331 Serialize text-less statuses as '.' over OStatus (fixes #7856) (#8126)
6 years ago
Eugen Rochko 07b799468d
Fix incorrect context definition for the "featured" keyword (#8090)
6 years ago
Eugen Rochko a23ac107e4
Fix activity:interactions counter to count all interactions (#8037)
6 years ago
Eugen Rochko 8f64b17d98 Whitelist dat/ipfs/gopher links in sanitizer (#8034)
6 years ago
Eugen Rochko 2354b10eb5
Add admin dashboard (#8029)
6 years ago
Eugen Rochko 38e9662d78
Disable language detection for texts shorter than 140 characters (#8010)
6 years ago
Eugen Rochko 47c59591e0 Do not count self in potential friendships (#8014)
6 years ago
Eugen Rochko 20fefdb714
Make whole-word filter regex consistent between Ruby and JS (#7987)
6 years ago
ThibG 1ca4e51eb3 Add option to not consider word boundaries when processing keyword filtering (#7975)
6 years ago
Eugen Rochko 404c7702ec
In keyword filter, account for reblogs, HTML and whole-words (#7960)
6 years ago
Eugen Rochko 4b198b172d
Check reblogged status for blocked/muted mentions (#7957)
6 years ago
Eugen Rochko da8fe8079e
Re-add follow recommendations API (#7918)
6 years ago
MIYAGI Hikaru ddd0bb69e1 Merge `HIDDEN_SERVICE_VIA_TRANSPARENT_PROXY` into `ALLOW_ACCESS_TO_HIDDEN_SERVICE` (#7901)
6 years ago
Eugen Rochko cdb101340a
Keyword/phrase filtering (#7905)
6 years ago
Eugen Rochko a58ec29631
Allow selecting default posting language instead of auto-detect (#7828)
7 years ago
Eugen Rochko 6ba7d9d0d9
Do not accept ActivityPub follow requests from blocked user (#7756)
7 years ago
Eugen Rochko 1e938b966e
Exclude unlisted, private and direct toots from affecting trends (#7686)
7 years ago
abcang 90908fc24b Fix N+1 on AtomSerializer (#7669)
7 years ago
Eugen Rochko ab36e0ef72 Record trending tags from ActivityPub, too (#7647)
7 years ago
ThibG cdbdf7f98b Ignore multiple occurrences of a hashtag within a status (fixes #7585) (#7606)
7 years ago
Eugen Rochko 57b503d4ef
Resolve unknown status from Add activity, skip Remove if unknown (#7526)
7 years ago
Eugen Rochko 1e02dc8715
Add preference to hide following/followers lists (#7532)
7 years ago
MIYAGI Hikaru 919eef3098 User agent for WebFinger (#7531)
7 years ago
Akihiko Odaki 55fd55714a Raise Mastodon::RaceConditionError if Redis lock failed (#7511)
7 years ago
ThibG 7467361d70 Fetch boosted statuses on behalf of a follower (fixes #7426) (#7459)
7 years ago
Yamagishi Kazutoshi 6588f6a0a9 Disable inflate gzip on head method (#7432)
7 years ago
Yamagishi Kazutoshi edf882320a Support gzip encoding on Request (#7425)
7 years ago
Eugen Rochko 6208ea5a53
If an OStatus message contains nsfw hashtag, mark it as sensitive (#7398)
7 years ago
Eugen Rochko 61a9018607
Enable custom emojis in profiles (notes, field values, display names) (#7374)
7 years ago
Eugen Rochko c947e2e4c5
Fix handling of malformed ActivityPub payloads when URIs are nil (#7370)
7 years ago
Eugen Rochko 6793bec4c6
Store URIs of follows, follow requests and blocks for ActivityPub (#7160)
7 years ago
ThibG a24605961a Fixes/do not override timestamps (#7336)
7 years ago
ThibG 581a5c9d29 Fixes/do not override timestamps (#7331)
7 years ago
Eugen Rochko a5293fdf61
Fix n+1 queries in StatusThreadingConcern (#7321)
7 years ago
Eugen Rochko cb5b5cb5f7
Slightly reduce RAM usage (#7301)
7 years ago
ThibG d0cdd5cf94 Accept actor object updates from all supported actor types (#7312)
7 years ago
Eugen Rochko f62539ce5c
Remove most behaviour disparities between blocks and mutes (#7231)
7 years ago
Eugen Rochko 965345316f
Guard against nil URLs in Request class (#7284)
7 years ago
Surinna Curtis dc786c0cf4 Support Actors/Statuses with multiple types (#7305)
7 years ago
Eugen Rochko 705f1d7bf1
Fix missing updated_at attribute on emoji EntityCache (#7297)
7 years ago
Eugen Rochko 295e3ef02b
Fix missing domain attribute in EntityCache for emoji (#7290)
7 years ago
Eugen Rochko a872392cd9
Add entity cache (#7271)
7 years ago
MIYAGI Hikaru f58dcbc981 HTTP proxy support for outgoing request, manage access to hidden service (#7134)
7 years ago
Eugen Rochko 9d4710ed00
Add RSS feeds for end-users (#7259)
7 years ago
Eugen Rochko 7db7d68136
Detect and prevent image bombs, max. processable dimension 4096^2 (#7229)
7 years ago
Eugen Rochko 75c4ab9d12
Remove "nsfw" category for sensitive statuses in OStatus serializer (#7048)
7 years ago
Eugen Rochko 78ed4ab75f
Add bio fields (#6645)
7 years ago
Levi Bard cd0eaa349c Enable updating additional account information from user preferences via rest api (#6789)
7 years ago
Eugen Rochko b5726def55
Forward deletes on the same path as reply forwarding (#7058)
7 years ago
David Underwood 123a343d11 [WIP] Enable custom emoji on account pages and in the sidebar (#6124)
7 years ago
ThibG e573bb0990 Fix compatibility with PeerTube (#6968)
7 years ago
ThibG 9ed5eebd7c Do not ignore unknown media attachments, only skip them (#6948)
7 years ago
Akihiko Odaki 40e5d2303b Validate HTTP response length while receiving (#6891)
7 years ago
Akihiko Odaki 54b273bf99 Close http connection in perform method of Request class (#6889)
7 years ago
Rey Tucker 36b5703796 request: in the event of failure, try other IPs (#6761) (#6813)
7 years ago
ThibG ff6b8a6443 Serialize mentions in the order they are added (#6836)
7 years ago
Eugen Rochko f02411da40
Ignore media validation when attaching to status during processing (#6822)
7 years ago
MitarashiDango 6dcf96271e fix validation error (media only status) (#6684)
7 years ago
Eugen Rochko cfa9b6e13a
Remove text requirement when media attached from statuses (#6672)
7 years ago
Eugen Rochko e6520c0270
Fix #6657 - Use target instead of origin in Remove activity (#6664)
7 years ago
Eugen Rochko 9110db41c5
Federate pinned statuses over ActivityPub (#6610)
7 years ago
Eugen Rochko e852872846
Fix #5708: Reject->Follow will remove the follow if it exists (#6571)
7 years ago
Eugen Rochko 41a01bec23
Federated reports (#6570)
7 years ago
Akihiko Odaki 2e8a492e88 Raise Mastodon::HostValidationError when host for HTTP request is private (#6410)
7 years ago
Akihiko Odaki f8f0572ee0 Do not push status to feed if its reblog is already inserted (#6488)
7 years ago
Eugen Rochko 90f12f2e5a
Focal points (#6520)
7 years ago
Eugen Rochko a7171af0a3
Fix avatar and header issues by using custom geometry detector (#6515)
7 years ago
Eugen Rochko a71af98401
Push discovered status through streaming API within a time window (#6484)
7 years ago
Eugen Rochko 3ebc0ad4d3
Full-text search for authorized statuses (#6423)
7 years ago
Eugen Rochko 76f3d5d16b
Add preference to always display sensitive media (#6448)
7 years ago
Akihiko Odaki 0be9a1e321 Accept ActivityPub announce from the author of the original note (#6236)
7 years ago
ThibG b1e03197fa Process mentions and reblogs even from resolved threads (#6299)
7 years ago
Eugen Rochko 35b84985a8
Skip ActivityPub Announces of non-public objects (#6230)
7 years ago
puckipedia 628358aeea Add the author of a status to cc if reblogged (#6226)
7 years ago
Eugen Rochko dbda87c31f
Revert #5772 (#6221)
7 years ago
Eugen Rochko e4a241abef
Fix bad URL schemes being accepted (#6219)
7 years ago
puckipedia 0eff42d688 Move Article from supported to converted types (#6218)
7 years ago
ThibG a8b51124ba Don't normalize URLs in toots (#6134)
7 years ago
Akihiko Odaki 161c72d66d Allow to dereference Follow object for ActivityPub (#5772)
7 years ago
puckipedia 545095b3ce [!] Sanitize incoming classlist properly (#6162)
7 years ago
Eugen Rochko d60fd87e01
Don't leave behind husk of remotely-deleted profile (#6159)
7 years ago
Eugen Rochko 1419f656e2
Fix stats expiring too quickly because of variable mistake (#6155)
7 years ago
Eugen Rochko 38fc1b498d
Add more instance stats APIs (#6125)
7 years ago
Akihiko Odaki e0ef7f9d79 Fix XML oEmbed support discovery (#6104)
7 years ago
Eugen Rochko 3d3b403359
Do not hide statuses from silenced accounts from other silenced accounts (#6030)
7 years ago
Eugen Rochko a8deb6648b
Fix redundant HTTP request in FetchLinkCardService (#6002)
7 years ago
abcang 3caec1ecc2 Save media outside transaction (#5959)
7 years ago
Yamagishi Kazutoshi b21db9bbde Using double splat operator (#5859)
7 years ago
Eugen Rochko 4c6b5dbe96
Add semi-support for Video/Image objects in ActivityPub (#5848)
7 years ago
Eugen Rochko 85e97ecab6
Fix too many forwards (#5854)
7 years ago
aschmitz eeaec39888 Allow hiding of reblogs from followed users (#5762)
7 years ago
Eugen Rochko 58cede4808
Profile redirect notes (#5746)
7 years ago
Eugen Rochko 24cafd73a2
Lists (#5703)
7 years ago
Eugen Rochko 3e90987c8b Fix some rubocop style issues (#5730)
7 years ago
Renato "Lond" Cerqueira ad207456d6 Improve language filter (#5724)
7 years ago
MIYAGI Hikaru 782224c991 Avoid emojifying on invisible text (#5558)
7 years ago
puckipedia 0cb329f63a Allow ActivityPub Note's tag and attachment to be single objects (#5534)
7 years ago
Eugen Rochko 484208ce12 When status is fetched instead of delivered, do not stream it (#5437)
7 years ago
aschmitz 554c2fd8af Clean up reblog tracking keys, related improvements (#5428)
7 years ago
Eugen Rochko 34118169ac Keep references to all reblogs of a status on home feed (#5419)
7 years ago
Eugen Rochko 7cc71748ce Ensure that feed renegeration restores non-zero items (#5409)
7 years ago
unarist 6f490b4bfe Fix un-reblogged status being at wrong position in the home timeline (#5418)
7 years ago
Nolan Lawson fa0be3f834 Add option to reduce motion (#5393)
7 years ago
unarist 8125fdc19f Use atomUri in Undo activity of Announce (#5376)
7 years ago
Eugen Rochko df7dbc41ae Fix NameError: uninitialized constant OStatus::AtomSerializer::TagManager (#5371)
7 years ago
Eugen Rochko b8db386e05 Fix UserTrackingConcern firing on every request, optimize some queries (#5368)
7 years ago
Eugen Rochko 388d093beb When unfollowing, remove from home in web UI immediately (#5369)
7 years ago
Eugen Rochko cfa68907ae Fix #5271 - Fix missing attribute in remove_from_feed (#5277)
7 years ago
Eugen Rochko 0717d9b3e6 Set snowflake IDs for backdated statuses (#5260)
7 years ago
Eugen Rochko 3a3475450e Encode custom emojis as resolveable objects in ActivityPub (#5243)
7 years ago
unarist d8b2f89d33 Fix remote profile being displayed in HTML on remote_follow (#5249)
7 years ago
Lynx Kotoura daa59dd454 Fix theme settings (#5242)
7 years ago
Eugen Rochko b9c76e2edb When processing custom emoji, ensure a non-animated version exists (#5230)
7 years ago
Yamagishi Kazutoshi 178f718a9b Separate notifications preferences from general preferences (#4447)
7 years ago
aschmitz 468523f4ad Non-Serial ("Snowflake") IDs (#4801)
7 years ago
Akihiko Odaki 63f0979799 Validate id of ActivityPub representations (#5114)
7 years ago
Daigo 3 Dango 01d6aa0397 Suppress backtrace from Request#perform (#5174)
7 years ago
Eugen Rochko f4ca116ea8 After 7 days of repeated delivery failures, give up on inbox (#5131)
7 years ago
Eugen Rochko d2f56d1cbc Change max redirects followed to 2 (#5136)
7 years ago
Eugen Rochko 4ec1771165 Add ability to specify alternative text for media attachments (#5123)
7 years ago
Eugen Rochko cf7fbf2c56 Fix #5059 - Stop processing payload if it's from local account (#5100)
7 years ago
Akihiko Odaki 98936bfcdf Add missing validations in ActivityPub::Activity::Create (#5096)
7 years ago
Eugen Rochko 1e02ba111a Add emoji autosuggest (#5053)
7 years ago
Eugen Rochko 9c8e602163 Fix custom emojis not detected when used in content warning (#5049)
7 years ago
ThibG 34fa305a00 Fix race condition when processing incoming OStatus messages (#5013)
7 years ago
Akihiko Odaki bb4d005a83 Introduce OStatus::TagManager (#5008)
7 years ago
Naoki Kosaka df1ce2350c Fix non-local statuses are html_encoded in public_page. (#5012)
7 years ago
Andrew 0401a24558 Add support for multiple themes (#4959)
7 years ago
Eugen Rochko dce869dfc7 Define emoji context for ActivityPub (#5004)
7 years ago
Eugen Rochko 81cec35dbf Custom emoji (#4988)
7 years ago
unarist 17bf3363ac Add published property to ActivityPub activity for reblogs (#5000)
7 years ago
unarist 3f07f1b2b1 Raise an error on getting activity uri for remote status (#4984)
7 years ago
unarist ec36df97c4 Escape URL parts on formatting local status (#4975)
7 years ago
Akihiko Odaki 48d77ea1eb Fix filterable_languages method of SettingsHelper (#4966)
7 years ago
ThibG 4a73615193 Fix race condition when receiving an ActivityPub Create multiple times (#4930)
7 years ago
ふぁぼ原 3816943e6b Enable to recognize most kinds of characters as URL paths (#4941)
7 years ago
unarist a4c500176b Include requested URL into the message on network errors (#4945)
7 years ago
ThibG 550ff677da Fix ActivityPub handling of replies with WEB_DOMAIN (#4895) (#4904)
7 years ago
Eugen Rochko 881856553e Fix #4894 - Merge context hash into final JSON hash after key transform (#4898)
7 years ago
unarist a12572e074 Handle stream_entry URL correctly in ActivityPub (#4854)
7 years ago
Eugen Rochko 1caf11ddcc Fix language filter codes (#4841)
7 years ago
Eugen Rochko e7adbf572a Switch to static URIs, new URI format in both protocols for new statuses (#4815)
7 years ago
Eugen Rochko 9b50a9dd83 Fix some ActivityPub JSON bugs (#4796)
7 years ago
Eugen Rochko 37fdddd927 Rename "locked" to "manuallyApprovesFollowers" in ActivityPub (#4779)
7 years ago
Eugen Rochko d3b6746173 Make "unfollow" undo pending outgoing follow request too (#4781)
7 years ago
unarist 6a4e2db661 Raise an error for remote url in StatusFinder (#4776)
7 years ago
Eugen Rochko 1b5806b744 Define missing JSON-LD properties (#4767)
7 years ago
Eugen Rochko e482595a5d Add ActivityPub handler for Delete->Actor activities (#4761)
7 years ago
Eugen Rochko c2980d5b17 Do not rely on activity arriving exactly once after delete arrived (#4754)
7 years ago
unarist 8fd8f81ae7 Deduplicate with local status on Create activity (#4763)
7 years ago
unarist 504737e860 Convert OStatus tag to ActivityPub id on in_reply_to resolution (#4756)
7 years ago
unarist af2d22f88c Fallback from perform_via_activitypub on private posts (#4758)
7 years ago
Eugen Rochko 9a5ae09620 Remove identity context from output of LinkedDataSignature (#4753)
7 years ago
Eugen Rochko 7b8f262840 Forward ActivityPub creates that reply to local statuses (#4709)
7 years ago
Eugen Rochko e95bdec7c5 Update status embeds (#4742)
7 years ago
Eugen Rochko 4c76402ba1 Serialize ActivityPub alternate link into OStatus deletes, handle it (#4730)
7 years ago
unarist 938cd2875b Fix Delete activity handling when the status has been reblogged (#4729)
7 years ago
unarist f095a9f8a5 Allow Symbol keyed Hash in LinkedDataSignature (#4715)
7 years ago
Eugen Rochko 0d5d11eeff Add _:inReplyToAtomUri to ActivityPub (#4702)
7 years ago
Eugen Rochko 0397c58b61 Forward ActivityPub deletes to followers of rebloggers (#4706)
7 years ago
Eugen Rochko 884b085f53 Use Tombstone and _:atomUri in Delete activities as fallback (#4704)
7 years ago
Eugen Rochko 00840f4f2e Add handling of Linked Data Signatures in payloads (#4687)
7 years ago
unarist b01a19fe39 Fetch reblogs as Announce activity instead of Note object (#4672)
7 years ago
unarist d63de55ef8 Fix bugs which OStatus accounts may detected as ActivityPub ready (#4662)
7 years ago
Eugen Rochko 72bb3e03fd Support more variations of ActivityPub keyId in signature (#4630)
7 years ago
Eugen Rochko fe5b66aa08 Handle duplicate ActivityPub activities (#4639)
7 years ago
Eugen Rochko 412ea87306 Improve ActivityPub/OStatus compatibility (#4632)
7 years ago
Eugen Rochko c7d2619ab1 Parse OStatus tag URIs in ActivityPub handlers when those are local (#4631)
7 years ago
Eugen Rochko 4edf9d849f Make ActivityPub::TagManager#local_uri? recognize local URIs with ports (#4628)
7 years ago
Eugen Rochko 10489b4e4a If url attribute not present in Note, fallback to id attribute (#4629)
7 years ago
Eugen Rochko 40c45f5dd9 Put ActivityPub alternate link into Atom, prefer it when processing Atom (#4623)
7 years ago
Eugen Rochko ad892dbc0c Add _:atomUri property for deduplicating OStatus/ActivityPub legacy records (#4593)
7 years ago
Eugen Rochko 4fcbb1f838 Re-add missing transaction around status-from-OStatus creation (#4603)
7 years ago
unarist a855956185 Fix ActivityPub follow interaction and add more specs (#4601)
7 years ago
Eugen Rochko b7370ac8ba ActivityPub delivery (#4566)
7 years ago
Eugen Rochko ccdd5a9576 Add serializing/unserializing of "locked" actor attribute (#4585)
7 years ago
Eugen Rochko 81c1303cd6 Handle ActivityPub follows correctly (#4571)
7 years ago
Eugen Rochko fdea173237 Add Digest header to requests with body, handle acct and URI keyId (#4565)
7 years ago
Eugen Rochko dd7ef0dc41 Add ActivityPub inbox (#4216)
7 years ago
TheKinrar 9ba7d526a0 Don't normalize invalid domain names (#4499)
7 years ago
Yamagishi Kazutoshi 3e7a541e09 Change RuboCop rules to loose (#4464)
7 years ago
Eugen Rochko e1fcad34a9 Fix length validator counting things that look like URIs like URLs (#4462)
7 years ago
Ondřej Hruška f49339ca9c Fix multipoint shortcode bug (#4387)
7 years ago
Clworld 994d948c39 Add callback_url/acct information for Sidekiq PuSH workers Exception. (#4281)
7 years ago
Eugen Rochko a390abdefb Use the same emoji data on the frontend and backend (#4284)
7 years ago
Eugen Rochko 1fcdaafa6f Fix webfinger retries (#4275)
7 years ago
Eugen Rochko a5a07da892 Correct OStatus inflection (Ostatus -> OStatus) (#4255)
7 years ago
Yamagishi Kazutoshi 3267e4a785 Add unfollow modal (optional) (#4246)
7 years ago
Akihiko Odaki 89b988cab5 Introduce Ostatus name space (#4164)
7 years ago
ThibG 05cd37097c Optimize uri normalization (#4212)
7 years ago
Eugen Rochko 8c45cd0e36 Improve ActivityPub representations (#3844)
7 years ago
Eugen Rochko de397f3bc1 Fix subsequent replies to unresolved status not being filtered from home (#4190)
7 years ago
Eugen Rochko 1618b68bfa HTTP signatures (#4146)
7 years ago
Eugen Rochko c42092ba7a Add option to opt out of search engines on public profile/status pages (#4199)
7 years ago
Yamagishi Kazutoshi 2b9721d1b3 Add setting a always mark media as sensitive (#4136)
7 years ago
Eugen Rochko 8b2cad5637 Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl (#4090)
7 years ago
Damien Erambert 18d3fa953b Add a setting allowing the use of system's default font in Web UI (#4033)
7 years ago
Akihiko Odaki (@fn_aki@pawoo.net) 60b2b56d38 Reduce number of commands in FeedManager#trim (#3989)
7 years ago
nightpool 94d0e012de Whitelist allowed classes for federated statuses (#3810)
8 years ago
Eugen Rochko 8518d005fd Fix regression from #3490 - filter out hidden statuses from ancestors/descendants even if the viewer is anonymous (#3752)
8 years ago
Matt Jankowski 022008a2a6 Language detection defaults to nil (#3666)
8 years ago
Yamagishi Kazutoshi 0a0b9a271a Improve RuboCop rules (compatibility to Code Climate) (#3636)
8 years ago
unarist 6bd6dcf6df Allow "class" attribute on the "a" tag in sanitization (#3623)
8 years ago
Matt Jankowski 6201f96b8a Introduce StatusThreadingConcern (#3490)
8 years ago
Akihiko Odaki (@fn_aki@pawoo.net) e07b57852e Remove some code in TagManager and spec (#3547)
8 years ago
Akihiko Odaki (@fn_aki@pawoo.net) e674608d10 A minor change for ProviderDiscovery and spec (#3543)
8 years ago
Akihiko Odaki (@fn_aki@pawoo.net) c7af8cbc90 Remove some arguments of Formatter.instance.format and spec (#3541)
8 years ago
Akihiko Odaki (@fn_aki@pawoo.net) ce7c0def88 Remove redundant code in AtomSerializer and spec (#3528)
8 years ago
Clworld dab8fc4584 Execute PushUpdateWorker only for accounts who uses StreamingAPI just now. (#3278)
8 years ago
Matt Jankowski d010e270e6 Remove usernames and hashtags from language detection (#3503)
8 years ago
Matt Jankowski b25e42a77f Misc tidying and clean ups (#3445)
8 years ago
Matt Jankowski 3576fa0d59 Improve api oembed controller (#3450)
8 years ago
Atsushi Yamamoto 402c19a924 Add preference setting for delete toot modal (#3368)
8 years ago
alpaca-tc 08dce5e607 Refactor Setting (#3302)
8 years ago
masarakki 3b59f9c6c2 fix-cache-returns-nil (#3213)
8 years ago
Yamagishi Kazutoshi f937cad68f Skip formatting for cashtag in status text (#3275)
8 years ago
abcang d22cec81fb Unify the method of extracting tags (#3138)
8 years ago
Matt Jankowski 6e4c7d6211 Conditional validations no longer accept strings for if/unless (#3124)
8 years ago
Eugen Rochko 620d0d8029 Account domain blocks (#2381)
8 years ago
beatrix 3dcb5fa28f Revert HTML CW changes (#3020)
8 years ago
Eugen Rochko 5abdc77c80 Add conversation model, <ostatus:conversation /> (#3016)
8 years ago
Eugen Rochko b5a9c6b3d2 Prepend reblogs' wrapper content with "RT @original_author", (#3013)
8 years ago
Eugen Rochko 43d754eb42 Fix not rejecting remote URIs when parsing out local IDs (#3012)
8 years ago
Eugen Rochko 58bcd50f7f Fix #1426 - Trim long usernames in public follower/following lists (#2993)
8 years ago
Eugen Rochko a2c8da0185 When avatar/header are missing, do not include the missing file into Atom (#2988)
8 years ago
Eugen Rochko 72698bc3b4 Fix regressions from #2683 (#2970)
8 years ago
beatrix 57a3d71c90 fix a regression introduced by e2491680e6 (#2966)
8 years ago
R Tucker e2491680e6 Handle hashtags in spoiler_texts (partial fix for #699) (#2683)
8 years ago
Akihiko Odaki d5cabfe5c6 Use CLD3 (#2949)
8 years ago
abcang 08e94d1b19 Fixed bug that timeline can not be displayed by InvalidURIError (#2947)
8 years ago
Matt Jankowski 7a7d12d27f Delegate Account#user_locale method and allow nil (#2927)
8 years ago
masarakki 267ed3d74b raise-when-oembed-not-found (#2882)
8 years ago
alpaca-tc 59804abc3d Optimize MuteService and AfterBlockService (#2836)
8 years ago
masarakki d08f1112d5 use Twitter::Extractor for creating links (#2502)
8 years ago
Eugen Rochko 81584779cb More robust PuSH subscription refreshes (#2799)
8 years ago
Matt Jankowski 8c5ad23b24 Language improvements, replace whatlanguage with CLD (#2753)
8 years ago
Yamagishi Kazutoshi 4a5f73c8ae Add target=_blank to user note (#2622)
8 years ago
Eugen Rochko 7406404fa3 Hotfix remote status formatting (#2543)
8 years ago
Yamagishi Kazutoshi 831ff60698 Fix broken oEmbed provider (#2537)
8 years ago
Eugen Rochko 88725d6ce8 OEmbed support for PreviewCard (#2337)
8 years ago
Yamagishi Kazutoshi 3ea5b948a4 Decodes URL containing IDN (#2436)
8 years ago
Eugen 17c591ffba Punycode URI normalization (#2370)
8 years ago
178inaba 1244630ab4 Add simple_format to simplified_format (#2198)
8 years ago
ThibG 89dc29affb Allow webfinger controller to reply to user@WEB_DOMAIN in addition to user@LOCAL_DOMAIN (#2351)
8 years ago
Matt Jankowski 629d35e6f5 [WIP] Html lang on statuses (#2297)
8 years ago
Eugen 9d3be5579a Improve bio compatibility (#2278)
8 years ago
Mingye Wang 5c9aa2b732 Fix mangling of ##tag matches (#2194) (#2247)
8 years ago
Matt Jankowski 2dda356e3f Clean up settings/preferences controller (#2237)
8 years ago
abcang 70891a99a9 Fix html escape characters in the URL (#2138)
8 years ago
Matt Jankowski 297c11dba2 Language detection refactor (#2099)
8 years ago
Eugen 15ec4ae07b Fix #1972, fix #1870 - Fix special characters in XML, add tests (#1988)
8 years ago
Eugen f902a335f9 Fix #1870 - Strip control characters out of strings in AtomSerializer (#1876)
8 years ago
Eugen e4af4898de Add language detection (#1772)
8 years ago
Eugen 95bcbaa434 Fix #1852 - Ensure feeds have valid <title> tags (#1875)
8 years ago
ThibG a9529d3b4b Allow running mastodon on a different domain as the one used for identifying users (#1267)
8 years ago
Effy Elden 8321884eef Change usage of gsub to delete, as per Code Climate/Rubocop recommendation (#1753)
8 years ago
Eugen ac54da9394 Fix #1220, fix #1671 - Hook up comment box to the Redux comment value (#1699)
8 years ago
Eugen 043862f411 Fix #1609, fix #1628 - Revert #1397 (#1700)
8 years ago
Matt Jankowski b330d1f000 Organize coverage dirs (#1695)
8 years ago
Ben Roberts 0254ee9795 significant improvement in microformats markup (#1063)
8 years ago
Matt Jankowski c44a700252 Quick best practice cleanup of views/helpers (#1546)
8 years ago
Matt Jankowski aa90798386 Webfinger resource to extract username from resource string (#1607)
8 years ago
Matt Jankowski b57eed4584 Remove order prior to .find_in_batches (#1470)
8 years ago
Matt Jankowski 0687ab8ae3 Clean up generation of account webfinger string (#1477)
8 years ago
Rachel H f690320fb9 Keep newlines in xml (#1397)
8 years ago
Eugen c172919745 Fix #1339 - better Atom titles (#1343)
8 years ago
Joël Quenneville d4c94fa004 DRY up reblog vs original status check
8 years ago
Eugen Rochko 8a6d8de60a Fix nil#object_type error
8 years ago
Eugen Rochko 624a9a7136 Re-add forgotten <author> element on standalone <entry>
8 years ago
Eugen 1c351709bc Force UTF8 encoding on generated XML (#1140)
8 years ago
Eugen 6d6a429af8 Rewrite Atom generation from stream entries to use Ox instead of Nokogiri (#1124)
8 years ago
Eugen Rochko 5b95be1c42 Replace calls to FeedManager#inline_render and #broadcast
8 years ago
Kurtis Rainbolt-Greene 7bed4e51db Moved to the worker
8 years ago
Kurtis Rainbolt-Greene dc5704b0b0 This method isn't used anymore
8 years ago
Kurtis Rainbolt-Greene 1e96ce378e By pushing this into a worker we can reduce the amount of time the feed manager using workers eat up a connection
8 years ago
Eugen 117b22e905 Merge pull request #852 from peterkeen/email-whitelist-817
8 years ago
Eugen 2edeb3fe1c Merge pull request #858 from krainboltgreene/patch-6
8 years ago
Eugen Rochko 6fd865c000 Spawn FeedInsertWorker to deliver status into personal feed
8 years ago
Kurtis Rainbolt-Greene 731e650681 Use active record shorthand
8 years ago
Pete Keen e9a6da6bc7 [#817] Add email whitelist
8 years ago
Eugen Rochko 82aaedec46 Reduce number of items in feeds, optimize regeneration worker slightly,
8 years ago
Eugen Rochko b1f3499c38 Optimize FeedManager#unmerge, and slightly optimize FeedManager#merge
8 years ago
Eugen Rochko ce9df2fa82 Optimize filter methods in FeedManager a bit, use redis pipelining on merge/unmerge feed methods,
8 years ago
Eugen Rochko 8232f76c48 Add check for visibility.nil? even though it can't ever be, to check for race conditions
8 years ago
Eugen Rochko d6b965cf08 Fix issue with feed merge-in code as well
8 years ago
Eugen Rochko 139fc994e2 Fix #408 - link @ names in bios
8 years ago
Eugen Rochko d6ed2eb512 Prettier account and stream entry URLs
8 years ago
Eugen Rochko 74ae158c2f Add "direct" visibility level in the backend. Web UI is not yet
8 years ago
Eugen Rochko 6b81d10030 Add digest e-mails
8 years ago
Eugen Rochko c64a1c25c4 Fix #231 - Muting
8 years ago
Kit Redgrave 442fdbfc53 Mute button progress so far. WIP, doesn't entirely work correctly.
8 years ago
Eugen Rochko 7f0d1b8cc0 If a status is within 40 statuses from the top of a home feed, do not
8 years ago
Eugen Rochko 5f511324b6 Add validation of media attachments, clean up mastodon-own exception classes
8 years ago
Eugen Rochko 9d4cad6307 Improve glow
8 years ago
Eugen Rochko 3202bdd744 Fix #555 - Use a better URL parser
8 years ago
Eugen Rochko dc851c922e Mentions in private statuses allow mentioned people to see them
8 years ago
Eugen Rochko 149887a0ff Make follow requests federate
8 years ago
Eugen Rochko 6331ed16e5 Fix #614 - extra reply-boolean on statuses to account for cases when replied-to
8 years ago
Eugen Rochko 6fa4e01139 Fix showing ellipsis even when link hasn't been cut off
8 years ago
Eugen Rochko fb6aa7ad5c Add tracking of delay to streaming API
8 years ago
Eugen Rochko d9ca46b464 Cleaning up format of broadcast real-time messages, removing
8 years ago
Eugen Rochko 450ad43180 Do not run FetchLinkCardService on local URLs, increase file size limit to 8MB,
8 years ago
Eugen Rochko 999cde94a6 Instead of using spoiler boolean and spoiler_text, simply check for non-blank spoiler_text
8 years ago
Eugen f8da0dd490 Merge branch 'master' into master
8 years ago
Eugen Rochko 80cefd5b3c Fix #204, fix #515 - URL truncating is now a style so copypasting is not
8 years ago
blackle bf0f6eb62d Implement a click-to-view spoiler system
8 years ago
Eugen Rochko cca82bf0a2 Move merging/unmerging of timelines into background. Move blocking into
8 years ago
Eugen Rochko f392030ab8 Add /api/v1/notifications/clear, non-existing link cards for statuses will
8 years ago
Eugen Rochko d4d56b8af0 Fix #365, 1/2 of #408 - replace rails_autolink with URI.regexp, run link_hashtags on simplified_format
8 years ago
Eugen Rochko f0de621e76 Fix #463 - Fetch and display previews of URLs using OpenGraph tags
8 years ago
Eugen Rochko 306eb6e9c9 Add optional StatsD performance tracking
8 years ago
Eugen Rochko e9737c2235 Fix tests, add applications to eager loading/cache for statuses, fix
8 years ago
Eugen Rochko e25170f960 Add extended about page stub
8 years ago
Eugen Rochko 2939e9898b Extend rails-settings-cached to merge db-saved hash values with defaults
8 years ago
Eugen Rochko b11fdc3ae3 Migrate from ledermann/rails-settings to rails-settings-cached which allows global settings
8 years ago
Eugen Rochko c04002b340 Federate blocks with the http://mastodon.social/schema/1.0 verb namespace
8 years ago
Eugen Rochko 8d44281677 Set in_reply_to_account on statuses to non-self value when possible, thus
8 years ago
Eugen Rochko f729cfc881 Private posts mentioning non-followers should not notify them, neither locally nor via Salmon
8 years ago
Eugen Rochko b891a81008 Follow call on locked account creates follow request instead
8 years ago
Eugen Rochko 2d2154ba75 Add "locked" flag to accounts, prevent blocked users from following, force-unfollow blocked users
8 years ago
Eugen Rochko 4284093aa3 Fixed AS delete verb
8 years ago
Eugen Rochko 6a5036ab19 Fix whitespace preservation in status text
8 years ago
Eugen Rochko b362de2232 Adding configurable e-mail blacklist
8 years ago
Eugen Rochko 00e9dac1d3 Automatically block outgoing notifications from silenced accounts to users
8 years ago
Eugen Rochko 14bd46946d Per-status control for unlisted mode, also federation for unlisted mode
8 years ago
Eugen Rochko 71401659b8 Fix #65 - Options to block notifications from people you don't follow/who don't follow you
8 years ago