505 Commits (733a3d20b089f67ec57b08ddcad19b8de212fd48)

Author SHA1 Message Date
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