735 Commits (9b74ffa7e090bb84bd41827c96d63a86e26c73b4)

Author SHA1 Message Date
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
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
Eugen Rochko dccc1a74ad Support more variations of ActivityPub keyId in signature (#4630)
7 years ago
Eugen Rochko 44b5084f1d Handle duplicate ActivityPub activities (#4639)
7 years ago
Eugen Rochko aee1db8fa1 Improve ActivityPub/OStatus compatibility (#4632)
7 years ago
Eugen Rochko e96d64397e Parse OStatus tag URIs in ActivityPub handlers when those are local (#4631)
7 years ago
Eugen Rochko 0afaecf61f Make ActivityPub::TagManager#local_uri? recognize local URIs with ports (#4628)
7 years ago
Eugen Rochko 75afe35f09 If url attribute not present in Note, fallback to id attribute (#4629)
7 years ago
Eugen Rochko ce7e12bd72 Put ActivityPub alternate link into Atom, prefer it when processing Atom (#4623)
7 years ago
Eugen Rochko c2101d3ad7 Add _:atomUri property for deduplicating OStatus/ActivityPub legacy records (#4593)
7 years ago
Eugen Rochko 5bd2dcd436 Re-add missing transaction around status-from-OStatus creation (#4603)
7 years ago
unarist 83b48812e4 Fix ActivityPub follow interaction and add more specs (#4601)
7 years ago
Eugen Rochko 5516767c75 ActivityPub delivery (#4566)
7 years ago
Eugen Rochko 0e2a3049e7 Add serializing/unserializing of "locked" actor attribute (#4585)
7 years ago
Eugen Rochko 719a5212be Handle ActivityPub follows correctly (#4571)
7 years ago
Eugen Rochko 1b6ced5887 Add Digest header to requests with body, handle acct and URI keyId (#4565)
7 years ago
Eugen Rochko f18739fd60 Add ActivityPub inbox (#4216)
7 years ago
TheKinrar a62b6a4f12 Don't normalize invalid domain names (#4499)
7 years ago
Yamagishi Kazutoshi f95fca19d4 Change RuboCop rules to loose (#4464)
7 years ago
Eugen Rochko 14004daca4 Fix length validator counting things that look like URIs like URLs (#4462)
7 years ago
Ondřej Hruška 5eb1a1aaca Fix multipoint shortcode bug (#4387)
7 years ago
Clworld 0c86b36cac Add callback_url/acct information for Sidekiq PuSH workers Exception. (#4281)
7 years ago
Eugen Rochko 65a1c48653 Use the same emoji data on the frontend and backend (#4284)
7 years ago
Eugen Rochko 75ab767791 Fix webfinger retries (#4275)
7 years ago
Eugen Rochko 3852032953 Correct OStatus inflection (Ostatus -> OStatus) (#4255)
7 years ago
Yamagishi Kazutoshi 87bb16a236 Add unfollow modal (optional) (#4246)
7 years ago
Akihiko Odaki b0f97d9a87 Introduce Ostatus name space (#4164)
7 years ago
ThibG 9c1791c546 Optimize uri normalization (#4212)
7 years ago
Eugen Rochko c99f41dc3c Improve ActivityPub representations (#3844)
7 years ago
Eugen Rochko c38739d81e Fix subsequent replies to unresolved status not being filtered from home (#4190)
7 years ago
Eugen Rochko c5fa4aba91 HTTP signatures (#4146)
7 years ago
Eugen Rochko 7d8fd050eb Add option to opt out of search engines on public profile/status pages (#4199)
7 years ago
Yamagishi Kazutoshi 865f5170a8 Add setting a always mark media as sensitive (#4136)
7 years ago
Eugen Rochko 20e15ecfb3 Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl (#4090)
7 years ago
Damien Erambert 387de88e2f Add a setting allowing the use of system's default font in Web UI (#4033)
7 years ago
Akihiko Odaki (@fn_aki@pawoo.net) 05f73fbdab Reduce number of commands in FeedManager#trim (#3989)
7 years ago
nightpool 0048f7ac72 Whitelist allowed classes for federated statuses (#3810)
8 years ago
Eugen Rochko 7181178007 Fix regression from #3490 - filter out hidden statuses from ancestors/descendants even if the viewer is anonymous (#3752)
8 years ago
Matt Jankowski b439018342 Language detection defaults to nil (#3666)
8 years ago
Yamagishi Kazutoshi 5da41e0cae Improve RuboCop rules (compatibility to Code Climate) (#3636)
8 years ago
unarist eebfad1ac8 Allow "class" attribute on the "a" tag in sanitization (#3623)
8 years ago
Matt Jankowski d339ac2c76 Introduce StatusThreadingConcern (#3490)
8 years ago
Akihiko Odaki (@fn_aki@pawoo.net) 10da1db4e6 Remove some code in TagManager and spec (#3547)
8 years ago
Akihiko Odaki (@fn_aki@pawoo.net) 3dd0d62583 A minor change for ProviderDiscovery and spec (#3543)
8 years ago
Akihiko Odaki (@fn_aki@pawoo.net) 267468e232 Remove some arguments of Formatter.instance.format and spec (#3541)
8 years ago
Akihiko Odaki (@fn_aki@pawoo.net) e285f6086c Remove redundant code in AtomSerializer and spec (#3528)
8 years ago
Clworld 7e95d45c8d Execute PushUpdateWorker only for accounts who uses StreamingAPI just now. (#3278)
8 years ago
Matt Jankowski d327e1d105 Remove usernames and hashtags from language detection (#3503)
8 years ago
Matt Jankowski 533a8cc68b Misc tidying and clean ups (#3445)
8 years ago
Matt Jankowski 4e89226243 Improve api oembed controller (#3450)
8 years ago
Atsushi Yamamoto 4547e3585a Add preference setting for delete toot modal (#3368)
8 years ago
alpaca-tc 0931218b3f Refactor Setting (#3302)
8 years ago
masarakki 0949d86d83 fix-cache-returns-nil (#3213)
8 years ago
Yamagishi Kazutoshi d54273621b Skip formatting for cashtag in status text (#3275)
8 years ago
abcang e3dcaaf0b9 Unify the method of extracting tags (#3138)
8 years ago
Matt Jankowski 6619cfe934 Conditional validations no longer accept strings for if/unless (#3124)
8 years ago
Eugen Rochko 0cafe62561 Account domain blocks (#2381)
8 years ago
beatrix b460582b67 Revert HTML CW changes (#3020)
8 years ago
Eugen Rochko 12ef99556e Add conversation model, <ostatus:conversation /> (#3016)
8 years ago
Eugen Rochko 7b5af13d19 Prepend reblogs' wrapper content with "RT @original_author", (#3013)
8 years ago
Eugen Rochko b5091f16f0 Fix not rejecting remote URIs when parsing out local IDs (#3012)
8 years ago
Eugen Rochko db707c7af3 Fix #1426 - Trim long usernames in public follower/following lists (#2993)
8 years ago
Eugen Rochko 090f27b86f When avatar/header are missing, do not include the missing file into Atom (#2988)
8 years ago
Eugen Rochko 3702e2c924 Fix regressions from #2683 (#2970)
8 years ago
beatrix e71ac76f5e fix a regression introduced by 4f54465c3b (#2966)
8 years ago
R Tucker 4f54465c3b Handle hashtags in spoiler_texts (partial fix for #699) (#2683)
8 years ago
Akihiko Odaki a1abb11656 Use CLD3 (#2949)
8 years ago
abcang 5b538cde50 Fixed bug that timeline can not be displayed by InvalidURIError (#2947)
8 years ago
Matt Jankowski 23f6ec856f Delegate Account#user_locale method and allow nil (#2927)
8 years ago
masarakki 38d8eb7b97 raise-when-oembed-not-found (#2882)
8 years ago
alpaca-tc 0f6ae77634 Optimize MuteService and AfterBlockService (#2836)
8 years ago
masarakki 23bf01bcd6 use Twitter::Extractor for creating links (#2502)
8 years ago
Eugen Rochko c32e312061 More robust PuSH subscription refreshes (#2799)
8 years ago
Matt Jankowski 9db85085a9 Language improvements, replace whatlanguage with CLD (#2753)
8 years ago
Yamagishi Kazutoshi 4a582aceed Add target=_blank to user note (#2622)
8 years ago
Eugen Rochko 9841dcaca7 Hotfix remote status formatting (#2543)
8 years ago
Yamagishi Kazutoshi cc6d730bdc Fix broken oEmbed provider (#2537)
8 years ago
Eugen Rochko 4a7dc4fadc OEmbed support for PreviewCard (#2337)
8 years ago
Yamagishi Kazutoshi 7f02d09887 Decodes URL containing IDN (#2436)
8 years ago
Eugen 87f7a3922c Punycode URI normalization (#2370)
8 years ago
178inaba a1bc7b0fdc Add simple_format to simplified_format (#2198)
8 years ago
ThibG e9bb5e8e8a Allow webfinger controller to reply to user@WEB_DOMAIN in addition to user@LOCAL_DOMAIN (#2351)
8 years ago
Matt Jankowski 1a0960ba88 [WIP] Html lang on statuses (#2297)
8 years ago
Eugen 1ccf2c8e52 Improve bio compatibility (#2278)
8 years ago
Mingye Wang e3fbd2db30 Fix mangling of ##tag matches (#2194) (#2247)
8 years ago
Matt Jankowski be1ecde300 Clean up settings/preferences controller (#2237)
8 years ago
abcang 815462feff Fix html escape characters in the URL (#2138)
8 years ago
Matt Jankowski 4591c7dbdb Language detection refactor (#2099)
8 years ago
Eugen 7e230fc786 Fix #1972, fix #1870 - Fix special characters in XML, add tests (#1988)
8 years ago
Eugen 4921bf4b20 Fix #1870 - Strip control characters out of strings in AtomSerializer (#1876)
8 years ago
Eugen b9b9edd4c8 Add language detection (#1772)
8 years ago
Eugen 86e2b25355 Fix #1852 - Ensure feeds have valid <title> tags (#1875)
8 years ago
ThibG c45c67c2ac Allow running mastodon on a different domain as the one used for identifying users (#1267)
8 years ago
Effy Elden 089c5a76ba Change usage of gsub to delete, as per Code Climate/Rubocop recommendation (#1753)
8 years ago
Eugen 5c414c98e2 Fix #1220, fix #1671 - Hook up comment box to the Redux comment value (#1699)
8 years ago
Eugen 5f9cd9b246 Fix #1609, fix #1628 - Revert #1397 (#1700)
8 years ago
Matt Jankowski 49c3000d62 Organize coverage dirs (#1695)
8 years ago
Ben Roberts 462e956164 significant improvement in microformats markup (#1063)
8 years ago
Matt Jankowski d1ebb63c54 Quick best practice cleanup of views/helpers (#1546)
8 years ago
Matt Jankowski 9d1d8797fd Webfinger resource to extract username from resource string (#1607)
8 years ago
Matt Jankowski 43143fb22e Remove order prior to .find_in_batches (#1470)
8 years ago
Matt Jankowski 874a240a58 Clean up generation of account webfinger string (#1477)
8 years ago
Rachel H b07990c94f Keep newlines in xml (#1397)
8 years ago
Eugen d30a82a22f Fix #1339 - better Atom titles (#1343)
8 years ago
Joël Quenneville 8a67fb5eca DRY up reblog vs original status check
8 years ago
Eugen Rochko eaa0b8e669 Fix nil#object_type error
8 years ago
Eugen Rochko a1c63cb01d Re-add forgotten <author> element on standalone <entry>
8 years ago
Eugen 1781fcaea4 Force UTF8 encoding on generated XML (#1140)
8 years ago
Eugen 24c77e57b2 Rewrite Atom generation from stream entries to use Ox instead of Nokogiri (#1124)
8 years ago
Eugen Rochko 5189ce9cd1 Replace calls to FeedManager#inline_render and #broadcast
8 years ago
Kurtis Rainbolt-Greene 9b8f587c8d Moved to the worker
8 years ago
Kurtis Rainbolt-Greene 9e58c2b0e3 This method isn't used anymore
8 years ago
Kurtis Rainbolt-Greene de1bb4bd56 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 4751381a24 Merge pull request #852 from peterkeen/email-whitelist-817
8 years ago
Eugen 6a8bb89f80 Merge pull request #858 from krainboltgreene/patch-6
8 years ago
Eugen Rochko fa2a1af90a Spawn FeedInsertWorker to deliver status into personal feed
8 years ago
Kurtis Rainbolt-Greene 8dace45447 Use active record shorthand
8 years ago
Pete Keen f28fcf9080 [#817] Add email whitelist
8 years ago
Eugen Rochko e60c473917 Reduce number of items in feeds, optimize regeneration worker slightly,
8 years ago
Eugen Rochko 9123aca6df Optimize FeedManager#unmerge, and slightly optimize FeedManager#merge
8 years ago
Eugen Rochko fbf64105a5 Optimize filter methods in FeedManager a bit, use redis pipelining on merge/unmerge feed methods,
8 years ago
Eugen Rochko 8796f7a125 Add check for visibility.nil? even though it can't ever be, to check for race conditions
8 years ago
Eugen Rochko 4db2e2f4eb Fix issue with feed merge-in code as well
8 years ago
Eugen Rochko 4ef48bcc42 Fix #408 - link @ names in bios
8 years ago
Eugen Rochko b3cb765a94 Prettier account and stream entry URLs
8 years ago
Eugen Rochko f1b9644cfd Add "direct" visibility level in the backend. Web UI is not yet
8 years ago
Eugen Rochko 0cb5a2a0a7 Add digest e-mails
8 years ago
Eugen Rochko 9989890e2e Fix #231 - Muting
8 years ago
Kit Redgrave 4554ccd5d0 Mute button progress so far. WIP, doesn't entirely work correctly.
8 years ago
Eugen Rochko cb17a23483 If a status is within 40 statuses from the top of a home feed, do not
8 years ago
Eugen Rochko ff8a080d40 Add validation of media attachments, clean up mastodon-own exception classes
8 years ago
Eugen Rochko 75d5dc1df8 Improve glow
8 years ago
Eugen Rochko 7413dcb28a Fix #555 - Use a better URL parser
8 years ago
Eugen Rochko ce193afa4f Mentions in private statuses allow mentioned people to see them
8 years ago
Eugen Rochko 59c8c2b28a Make follow requests federate
8 years ago
Eugen Rochko 81be690f95 Fix #614 - extra reply-boolean on statuses to account for cases when replied-to
8 years ago
Eugen Rochko 9c736975bd Fix showing ellipsis even when link hasn't been cut off
8 years ago
Eugen Rochko 728817fba2 Add tracking of delay to streaming API
8 years ago
Eugen Rochko 727d236fcc Cleaning up format of broadcast real-time messages, removing
8 years ago
Eugen Rochko 27ad4ce9e8 Do not run FetchLinkCardService on local URLs, increase file size limit to 8MB,
8 years ago
Eugen Rochko 959e064186 Instead of using spoiler boolean and spoiler_text, simply check for non-blank spoiler_text
8 years ago
Eugen c7778752e3 Merge branch 'master' into master
8 years ago
Eugen Rochko cb33960e0e Fix #204, fix #515 - URL truncating is now a style so copypasting is not
8 years ago
blackle e25fc71c2c Implement a click-to-view spoiler system
8 years ago
Eugen Rochko 98660a76d9 Move merging/unmerging of timelines into background. Move blocking into
8 years ago
Eugen Rochko 4d39cc7bf9 Add /api/v1/notifications/clear, non-existing link cards for statuses will
8 years ago
Eugen Rochko 28e65027b2 Fix #365, 1/2 of #408 - replace rails_autolink with URI.regexp, run link_hashtags on simplified_format
8 years ago
Eugen Rochko f748a91ec7 Fix #463 - Fetch and display previews of URLs using OpenGraph tags
8 years ago
Eugen Rochko 86264a950c Add optional StatsD performance tracking
8 years ago
Eugen Rochko 5d88ef90c9 Fix tests, add applications to eager loading/cache for statuses, fix
8 years ago
Eugen Rochko 533448be42 Add extended about page stub
8 years ago
Eugen Rochko 6d98465db2 Extend rails-settings-cached to merge db-saved hash values with defaults
8 years ago
Eugen Rochko 7e7c2bbb0f Migrate from ledermann/rails-settings to rails-settings-cached which allows global settings
8 years ago
Eugen Rochko 043d9114bf Federate blocks with the http://mastodon.social/schema/1.0 verb namespace
8 years ago
Eugen Rochko d7bc0d8a33 Set in_reply_to_account on statuses to non-self value when possible, thus
8 years ago
Eugen Rochko 337c3d0ed8 Private posts mentioning non-followers should not notify them, neither locally nor via Salmon
8 years ago
Eugen Rochko 238233440f Follow call on locked account creates follow request instead
8 years ago
Eugen Rochko 09a477c782 Add "locked" flag to accounts, prevent blocked users from following, force-unfollow blocked users
8 years ago
Eugen Rochko 47921a626c Fixed AS delete verb
8 years ago
Eugen Rochko a2fee40e8f Fix whitespace preservation in status text
8 years ago
Eugen Rochko e5e702a976 Adding configurable e-mail blacklist
8 years ago
Eugen Rochko 42b065d3d7 Automatically block outgoing notifications from silenced accounts to users
8 years ago
Eugen Rochko 8d4ef0b6c3 Per-status control for unlisted mode, also federation for unlisted mode
8 years ago
Eugen Rochko ea0846645a Fix #65 - Options to block notifications from people you don't follow/who don't follow you
8 years ago
Eugen Rochko 3b3bf2dd59 Filter statuses that mention blocked users
8 years ago
Eugen Rochko 38025dfea3 Adding unified streamable notifications
8 years ago
Eugen Rochko e71b152d89 Fix rubocop issues, introduce usage of frozen literal to improve performance
8 years ago
Eugen Rochko 7a55e3c409 Fix #63 - Filter mentions that reply to blocked users
8 years ago
Eugen Rochko ebe726f774 Fix #122 - Add microformats-2 classes to mention links
8 years ago
Eugen Rochko 6d9f8ee11e Improve filtering of public/hashtag timelines, both in backlog and real-time
8 years ago
Eugen Rochko f1d2c46ded Improve feed regeneration
8 years ago
Eugen Rochko 8f0869876b Improved configuration from ENV, cleaned up timeline filter methods
8 years ago
Eugen Rochko 6d948a809e Account notes (bios) can now contain links. Character limit upped to 160
8 years ago
Eugen Rochko cb22dce970 Adding hashtags
8 years ago
Eugen Rochko 082e57fc13 Adding hashtag model
8 years ago
Eugen Rochko 72565e9e61 Fix subtle bugs, new icon button
8 years ago
Eugen Rochko 84495615b4 Shorten rendered links (strip protocol and www, truncate to 30 chars), redirect
8 years ago
Eugen Rochko 12a6eb95be Make account domains case-insensitive, downcase before checking against local
8 years ago
Eugen Rochko c3f5dfeabb Adding public timeline
8 years ago
Eugen Rochko b23c4b488c Better comparison of "local" domain
8 years ago
Eugen Rochko 9d59d7b463 Adding a block model and filter mentions from blocked users (fix #60)
8 years ago
Eugen Rochko be86d4e0a3 Preparing feeds for better filtering
8 years ago
Eugen Rochko a4f7eca5fa Fix #25 - Only latest reblog of status kept on feed as zset value is set to "true" status ID
8 years ago
Eugen Rochko 927333f4f8 Improve code style
8 years ago
Eugen Rochko 4f9b7432dd Fix #52 - Add API versioning (v1)
8 years ago
Eugen 3f75f52285 Fix subtle home feed filtering bug
8 years ago
Eugen Rochko ce29624c6d Fixing image upload limits, allowing webm, merge/unmerge events trigger
8 years ago
Eugen Rochko 3d566279cb Fix formatter return block
8 years ago
Eugen Rochko 0077fc26df Merge and unmerge timelines on follow/unfollow, solves #21, #22
8 years ago
Eugen Rochko 73615d7a79 Newlines and paragraphs in local statuses properly formatted
8 years ago
Eugen Rochko 33ad2e5423 Shorten mentions to only usernames
8 years ago
Eugen Rochko 3cc47beb6e Refactored generation of unique tags, URIs and object URLs into own classes,
8 years ago
Eugen Rochko e24bfbde1a Fixing FanOutOnWriteService, fixing Sidekiq not having enough DB connections
9 years ago
Eugen Rochko a08e724476 Fix subscriptions:clear task, refactor feeds, refactor streamable activites
9 years ago