1011 Commits (4e0718dbf55bd3720cc306a86fb1771fb00a637a)

Author SHA1 Message Date
ysksn 316bc93abd Remove redundant (#9503)
6 years ago
ysksn 201a9e844a Use find_or_initialize_by (#9504)
6 years ago
Eugen Rochko fd8ca11f19 Add profile directory (#9427)
6 years ago
Eugen Rochko 626a544d08 Improve account suspension speed and completeness (#9290)
6 years ago
valerauko a6ebcda59b Ignore JSON-LD profile in mime type comparison (#9179)
6 years ago
James Kiesel b874d9dac7 Simplify hashtag query service, perf increase for 'any' tags (#9298)
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
ThibG 49889c0b8b Check that twitter:player is valid before using it (#9254)
6 years ago
Eugen Rochko 5f613d55e6 Optimize the process of following someone (#9220)
6 years ago
m.b 1093295902 Update resolve_url_service.rb (#9188)
6 years ago
James Kiesel d2a9ea58da Allow joining several hashtags in a single column (#8904)
6 years ago
Eugen Rochko 3981da6f90 Revert "Fix FetchAtomService content type handling (#9132)" (#9171)
6 years ago
valerauko c20d55f7dd Fix FetchAtomService content type handling (#9132)
6 years ago
Eugen Rochko d84886f35e Accept the same payload in multiple inboxes and deliver (#9150)
6 years ago
Eugen Rochko c15b8ee75b Always let through notifications from staff (#9152)
6 years ago
ThibG cfe92b50bb Fix Pleroma mentions being fetched as preview cards (#9158)
6 years ago
ThibG 1cbcb09d67 Do not hide boost notifications from followed people with hidden boosts (#9147)
6 years ago
Eugen Rochko cf2ab9c394 Include preview cards in status entity in REST API (#9120)
6 years ago
Eugen Rochko 7c01fbf4fd Add locality check to ActivityPub::FetchRemoteAccountService (#9109)
6 years ago
abcang 95ef0e144a Skip link-back check if body is nil (#9107)
6 years ago
ThibG 8d76db2714 Do not fetch preview card for mentioned users (#6934)
6 years ago
Eugen Rochko 654520ec8c Improve support for aspects/circles (#8950)
6 years ago
Quint Guvernator 96388bae5f always allow DMs from staff (#8993)
6 years ago
Eugen Rochko 8efdf1a898 Do not push DMs into the home feed (#8940)
6 years ago
Eugen Rochko c9b5168ebd Add conversations API (#8832)
6 years ago
Eugen Rochko 24f168e58e Fix link verification for remote accounts (#8868)
6 years ago
Eugen Rochko 52168073a3 Support link verification with redirects (#8735)
6 years ago
Yamagishi Kazutoshi 6d970d6e71 Fix failed profile verification when rel attribute including values other than me (#8733)
6 years ago
Eugen Rochko 3f9f3a351b Fix VerifyAccountLinksWorker not being queued (#8721)
6 years ago
Eugen Rochko d3105031f8 Redesign forms, verify link ownership with rel="me" (#8703)
6 years ago
ThibG 441238b938 Handle relative URLs when fetching OEmbed/OpenGraph cards (#8669)
6 years ago
Eugen Rochko 601a0dc6cc Add preference for report notification e-mails, skip for duplicates (#8559)
6 years ago
Eugen Rochko 1d319c531e Add CLI task for rotating keys (#8466)
6 years ago
Eugen Rochko f9836d593c Bump interactions count when a follow happens (#8468)
6 years ago
Eugen Rochko 63859550d3 Delay e-mail notifications by 2 minutes (#8438)
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
Eugen Rochko 025e7c6f8c Add favourites to archive takeout (#8351)
6 years ago
Eugen Rochko fe88a4f42c Get rid of all batch order warnings (#8334)
6 years ago
Eugen Rochko 35c99eeb0f Increase reach of Delete->Actor activities (#8305)
6 years ago
ThibG 8f788fe92a Do not process outgoing mentions to suspended accounts (#8272)
6 years ago
ThibG c16294d20a Use correct activity id in Accept when receiving duplicate Follow (fixes #8218) (#8244)
6 years ago
ThibG fff6297a24 Allow accessing local private/DM messages by URL (#8196)
6 years ago
Eugen Rochko 3dc21c1ff6 Prevent ActivityPub movedTo recursion (#8092)
6 years ago
Eugen Rochko 38f413e583 Fix activity:interactions counter to count all interactions (#8037)
6 years ago
Eugen Rochko 171c20ce72 Add federation relay support (#7998)
6 years ago
Eugen Rochko 68d884e556 Send undo of boost to original poster if reblog (#7959)
6 years ago
Eugen Rochko e57d9177dc Fix check for PotentialFriendshipTracker when replying (#7933)
6 years ago
Eugen Rochko aa4e75166b Re-add follow recommendations API (#7918)
6 years ago
Eugen Rochko f91fa10804 Allow selecting default posting language instead of auto-detect (#7828)
7 years ago
Eugen Rochko 907694df6a Add autofollow option to invites (#7805)
7 years ago
Eugen Rochko 681ac8580a Remove placeholder text for media-only toots (#7806)
7 years ago
Eugen Rochko b051d74029 Fix domain hiding logic (#7765)
7 years ago
Yamagishi Kazutoshi 1a145c6af1 Skip processing when HEAD method returns 501 (#7730)
7 years ago
Akihiko Odaki 3114ac9655 Do not mark remote status sensitive even if spoiler text is present (#7395)
7 years ago
Eugen Rochko 946091af45 Exclude unlisted, private and direct toots from affecting trends (#7686)
7 years ago
Eugen Rochko 9e3f9b8250 Improve counter caches on Status and Account (#7644)
7 years ago
Eugen Rochko dc7bf28635 Reduce wasted work in RemoveStatusService due to inactive followers (#7672)
7 years ago
Eugen Rochko 8a3b9d26fb Track trending tags (#7638)
7 years ago
Eugen Rochko f68736088b Use #any? instead of #exists? when checking media attachments (#7570)
7 years ago
Yamagishi Kazutoshi ccc240b59c Add media timeline (#6631)
7 years ago
Akihiko Odaki 5dadb6896b Raise Mastodon::RaceConditionError if Redis lock failed (#7511)
7 years ago
unarist 63a10a7ffe Fix custom emoji handling in UpdateRemoteProfileService (OStatus) (#7501)
7 years ago
Wiktor 37136f5986 Fix account URI when updating ActivityPub account (#7488)
7 years ago
abcang e6c952476c Call media.present? because media may be nil (#7474)
7 years ago
ThibG 74c2a46423 Fetch boosted statuses on behalf of a follower (fixes #7426) (#7459)
7 years ago
Eugen Rochko e86a4fe36b Add REST API for Web Push Notifications subscriptions (#7445)
7 years ago
Yamagishi Kazutoshi 6092325a48 Rescue Mastodon::LengthValidationError in FetchLinkCardService (#7424)
7 years ago
Surinna Curtis a2b84b644b Take the first recognized actor_type. (#7410)
7 years ago
ThibG 10be4c496c Fix hashtags not being federated on mentions (fixes #6900) (#7406)
7 years ago
Eugen Rochko 7ff3c849d1 Bot nameplates (#7391)
7 years ago
Eugen Rochko b890e5830c Support explicitly supplying language code for status via REST API (#7389)
7 years ago
Eugen Rochko ef1a273322 Fix handling of malformed ActivityPub payloads when URIs are nil (#7370)
7 years ago
Eugen Rochko 8913ccb434 Store home feeds for 7 days instead of 14 (#7354)
7 years ago
Eugen Rochko ba4e838b7f Improve PostStatusService performance (#7317)
7 years ago
Eugen Rochko ca1c696dbd Slightly reduce RAM usage (#7301)
7 years ago
abcang fcfc44de66 Keep notification when muting_notifications is true (#7311)
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
Emelia Smith 1071ecfebc Prevent suspended accounts from appearing in AccountSearchService (#7246)
7 years ago
Eugen Rochko 599aa39aca Remove "nsfw" category for sensitive statuses in OStatus serializer (#7048)
7 years ago
Eugen Rochko 7cba58aeaf Rescue SSL errors when processing mentions, remove useless line (#7184)
7 years ago
Kaito Sinclaire 447741e456 Direct messages column (#4514)
7 years ago
ThibG 60d86501b5 Remove extra spaces from search API queries and public account headers (fixes #7129) (#7152)
7 years ago
Eugen Rochko 466442b764 Add bio fields (#6645)
7 years ago
Eugen Rochko 1343b9f329 Ensure SynchronizeFeaturedCollectionWorker is unique and clean up (#7043)
7 years ago
Renato "Lond" Cerqueira ddbc1572f2 When creating status, if no sensitive status is given, use default (#7057)
7 years ago
Nolan Lawson 3e30ac6b7d Fix nil account issue in ProcessAccountService (#7019)
7 years ago
Eugen Rochko 40afedc030 Support all ActivityPub actor types (#6997)
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
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
Eugen Rochko ab96a9ff11 Use username/domain to match existing accounts in ActivityPub (#6842)
7 years ago
nightpool 2902b97c83 Add entropy to download filenames (#6811)
7 years ago
Eugen Rochko 0277ca9a0c For now, put a "." into no-text statuses with media for backcompat (#6691)
7 years ago
Eugen Rochko f92176899e After blocking domain with reject_media, invalidate cache (#6679)
7 years ago
Eugen Rochko 0c2a08adeb Remove text requirement when media attached from statuses (#6672)
7 years ago
Eugen Rochko b1f8dfd3cf Federate pinned statuses over ActivityPub (#6610)
7 years ago
Aboobacker MK fab75c2396 Fix 500 while searching after deleting a post (#6604)
7 years ago
Eugen Rochko 0ebd2a1718 Federated reports (#6570)
7 years ago
Eugen Rochko f6884555d7 Account archive download (#6460)
7 years ago
Eugen Rochko 0357e93a91 Fix #5173: Click card to embed external content (#6471)
7 years ago
Eugen Rochko 7ca5a06505 Full-text search for authorized statuses (#6423)
7 years ago
abcang b209de40f4 Fix saving of oEmbed image (#6409)
7 years ago
Akihiko Odaki b5162e2aff Rename ResolveRemoteAccountService to ResolveAccountService (#6327)
7 years ago
Akihiko Odaki fabc4af7ff Rename FetchRemoteResourceService to ResolveURLService (#6328)
7 years ago
Renato "Lond" Cerqueira b2632dfad7 When must_be_following_dm is on, only notify if recipient dm'ed user (#6283)
7 years ago
Eugen Rochko 9cfbbbce1f Fix home regeneration (#6251)
7 years ago
puckipedia 87dd003ea5 Allow attributedTo in a status to be an embedded object (#6238)
7 years ago
Eugen Rochko d4e0d2563c Fix bad URL schemes being accepted (#6219)
7 years ago
ThibG 090bd4d505 When fetching an ActivityPub-enabled status, do not re-request it as text/html (#6196)
7 years ago
Eugen Rochko c647ce902b Send one Delete of Actor in ActivityPub when account is suspended (#6172)
7 years ago
Eugen Rochko 289355749f Fix FetchAtomService not finding alternatives if there's a Link header (#6170)
7 years ago
Eugen Rochko afa3852159 Update moved-to property when it's removed too (#6160)
7 years ago
ThibG 7eb2f42976 Reduce the number of synchronous resolves when posting toots (#6075)
7 years ago
Eugen Rochko 8c04f9417f Fix redundant HTTP request in FetchLinkCardService (#6002)
7 years ago
Eugen Rochko 5b2ab607db Fix #5952 - NameError (regression from #5762) (#5999)
7 years ago
Akihiko Odaki d67575edea Store preview image for embedded photo in preview cards (#5986)
7 years ago
Renato "Lond" Cerqueira 15bc3398f7 Return false if object does not respond to url (#5988)
7 years ago
Renato "Lond" Cerqueira ab3d248f48 Change conditional to avoid nil into string error in sidekiq (#5987)
7 years ago
Andrea Scarpino e8198cd298 Fix account and tag searches with leading/trailing spaces (#5965)
7 years ago
Yamagishi Kazutoshi f54ca825c5 Ignore HEAD method if does not support (#5949)
7 years ago
Eugen Rochko 856e8465ea Fix #5926 - Do not downgrade to OStatus once ActivityPub is known (#5929)
7 years ago
Akihiko Odaki ce3989fc6a Add embed_url to preview cards (#5775)
7 years ago
Yamagishi Kazutoshi 9c1cbddf70 Search only from followees (#5897)
7 years ago
Yamagishi Kazutoshi fba46b6072 Using double splat operator (#5859)
7 years ago
Eugen Rochko 1e7f022fa2 Add list of lists component to web UI (#5811)
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
ThibG f33fd11c87 Fix handling of temporary failures in ProcessMentionsService (#5842)
7 years ago
abcang 4e409e629d Fixed duplicating URL of photo type of oEmbed (#5763)
7 years ago
abcang ef14321fff Fix NoMethodError at ActivityPub::FetchRemoteStatusService (#5753)
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
Surinna Curtis 582dd1b7c7 Optional notification muting (#5087)
7 years ago
ThibG 4531b67c3e Use already-known remote user data if resolving temporarily fails in mentions (#5702)
7 years ago
Eugen Rochko 80873c1134 Add option to block direct messages from people you don't follow (#5669)
7 years ago
ThibG 5abd97e5ba Fix process mentions for local users, as local users are considered to use OStatus (#5618)
7 years ago
ThibG 4912f539c3 Twidere mention workaround (#5552)
7 years ago
Eugen Rochko 7f1a0241c1 Add ability to disable login and mark accounts as memorial (#5615)
7 years ago
ThibG 02608c2292 Do not process undeliverable mentions (#5598)
7 years ago
ThibG a8249d2486 Resolve remote accounts when mentioned even if they are already known (#5539)
7 years ago
ThibG fec32921d5 Update remote ActivityPub users when fetching their toots (#5545)
7 years ago
ThibG b41ed24f74 Instantiate service classes for each call (fixes #5540) (#5543)
7 years ago
unarist 8b2ee20dfa Don't capture scheme-less URLs in the status (#5435)
7 years ago
abcang 7c1f3173bb Close connection when succeeded posting (#5390)
7 years ago
ThibG 10c5fafbe1 Fix remote status fetching for “pure” ActivityPub WEB_ACCOUNT users (#5372)
7 years ago
unarist dead33f113 Fix some failure cases on FetchLinkCardService (#5347)
7 years ago
Eugen Rochko a431000b97 Fix #5272 - Order of checks in ActivityPub handler (#5276)
7 years ago
Eugen Rochko 007fce8c10 Set snowflake IDs for backdated statuses (#5260)
7 years ago
unarist 4acb1c73dd Improve error handling on LinkCrawlWorker (#5250)
7 years ago
ThibG a89d69a269 Fix regression in FetchRemoteResourceService (#5217)
7 years ago
ThibG dee5c22790 Check Webfinger-returned author URI even when not redirected (#5213)
7 years ago
aschmitz 5b2d855d86 Non-Serial ("Snowflake") IDs (#4801)
7 years ago
Yamagishi Kazutoshi e671d77e8f Fix undefined local variable (regression from #5114) (#5210)
7 years ago
Eugen Rochko 23dd2eb614 Follow up to #5172, clean up notifications after mute like after block (#5198)
7 years ago
Akihiko Odaki 2e6db37776 Validate id of ActivityPub representations (#5114)
7 years ago
Eugen Rochko 7983da13cd Fix possible acct: uri usurpation in ActivityPub account discovery (#5208)
7 years ago
Eugen Rochko c35e6234ab If HTTP signature is wrong and webfinger cache is stale, retry with resolve (#5129)
7 years ago
abcang 292f489301 Flush body when POST requests (#5128)
7 years ago
Eugen Rochko 10a2b3dd4c Follow-up to #4582 and #5027, removing dead code (#5101)
7 years ago
Eugen Rochko 1efe904a28 Fix #5059 - Stop processing payload if it's from local account (#5100)
7 years ago
Eugen Rochko 25d6a51276 Send streaming API delete to people mentioned in status (#5103)
7 years ago
aschmitz 618df7a5ee Change IDs to strings rather than numbers in API JSON output (#5019)
7 years ago
Akihiko Odaki b1ba673029 Introduce OStatus::TagManager (#5008)
7 years ago
Eugen Rochko 48377dfe46 Fix incomplete account records being read (#4998)
7 years ago
Eugen Rochko e9bb7e62b1 Admin interface for listing, adding and removing custom emojis (#5002)
7 years ago
unarist 4a4e555fd4 Fix an error when actor json couldn't be fetched in ResolveRemoteAccountService (#4979)
7 years ago
Akihiko Odaki d4a1ddd46a Fix filterable_languages method of SettingsHelper (#4966)
7 years ago
ふぁぼ原 c71727ca55 Enable to recognize most kinds of characters as URL paths (#4941)
7 years ago
Eugen Rochko 41d6ada41f Support OpenGraph video embeds (#4897)
7 years ago
ThibG aaac0c5556 Fix refollowing (#4931)
7 years ago
Eugen Rochko 34f7c3de25 Fix #4917 - Add missing suspend checks (#4921)
7 years ago
ThibG 284c777b19 [WiP] Whenever a remote keypair changes, unfollow them and re-subscribe to … (#4907)
7 years ago
Eugen Rochko 6628ea4a82 Default follows for new users (#4871)
7 years ago
Eugen Rochko 86cf6905cc Fix errors preventing UnsubscribeService from working (#4866)
7 years ago
Eugen Rochko dfd9eed84c Add missing reject_media check before avatar download via ActivityPub (#4862)
7 years ago
Eugen Rochko 1a5442204b Fix #4852 - Check if already requested from FollowService (#4855)
7 years ago
Eugen Rochko cc4bc2709d Fix #4850 - When visibility missing from API call to toot, fallback to user preference (#4861)
7 years ago
Eugen Rochko 6fb8be482b Fetch statuses/following/followers numbers from ActivityPub collections (#4840)
7 years ago
Eugen Rochko 883a12cb0f Fix mentions in direct statuses not being delivered via AP (#4806)
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
Eugen Rochko 0aa744a8e3 Define missing JSON-LD properties (#4767)
7 years ago
Eugen Rochko 60ec86be49 Avoid sending some ActivityPub payloads if the receiver will get them through distribution (#4739)
7 years ago
Eugen Rochko e9e271878e Make PreviewCard records reuseable between statuses (#4642)
7 years ago
unarist 5a6b15f014 Don't process ActivityPub payload if signature is invalid (#4752)
7 years ago
James 2fbae21f05 Guarantee Subscription service first account has proper URL details (#4732)
7 years ago
Eugen Rochko ca76d11434 Forward ActivityPub creates that reply to local statuses (#4709)
7 years ago
Eugen Rochko 3135d20283 Serialize ActivityPub alternate link into OStatus deletes, handle it (#4730)
7 years ago
unarist e17945907a Fix deletion of status which has been reblogged (#4728)
7 years ago
Eugen Rochko 6025762ba2 Add ActivityPub serializer for Undo of Announce (#4703)
7 years ago
Eugen Rochko 5147147da9 Add handling of Linked Data Signatures in payloads (#4687)
7 years ago
masarakki d8f136cb8b authorize-follow-requests-after-unlocking (#4658)
7 years ago
Eugen Rochko cab7fa158a Add configuration to disable private status federation over PuSH (#4582)
7 years ago
unarist bab7127ac9 Fetch reblogs as Announce activity instead of Note object (#4672)
7 years ago
unarist 75ce1235b5 Fix accessing to XML attribute in FetchAtomService (#4668)
7 years ago
unarist 915eda7f88 Ignore empty response in ActivityPub::FetchRemoteStatusService (#4661)
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 d76bd63226 Do not try to re-subscribe to unsubscribed accounts (#4653)
7 years ago
Eugen Rochko 1a19358b24 ActivityPub migration procedure (#4617)
7 years ago
Eugen Rochko 44b5084f1d Handle duplicate ActivityPub activities (#4639)
7 years ago
Yamagishi Kazutoshi ac7fb7c820 Add support for searching AP users (#4599)
7 years ago
Eugen Rochko 5bc37d814f Require "inbox" to be set on actor to be ActivityPub-ready (#4595)
7 years ago
Yamagishi Kazutoshi ffc125c953 Fix search (regression from #4589) (#4594)
7 years ago
Eugen Rochko 3473aac8d8 Hook up URL-based resource look-up to ActivityPub (#4589)
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 f18739fd60 Add ActivityPub inbox (#4216)
7 years ago
Yamagishi Kazutoshi f95fca19d4 Change RuboCop rules to loose (#4464)
7 years ago
nullkal 977140ed3c Fix an error when a user tries to search nonexistent remote user (regression from #4275) (#4400)
7 years ago
sdukhovni 961f103c35 Allow domain blocks that only reject media without silencing or suspending (#4325)
7 years ago
Eugen Rochko cf253b725e Fix #4172 - Mutes now block notifications (#4300)
7 years ago
Eugen Rochko 75ab767791 Fix webfinger retries (#4275)
7 years ago
Sorin Davidoi 04ec8a8f38 fix(push_subscription): Guard against malformed favourite notification (#4271)
7 years ago
Eugen Rochko 81ebd4025a Add ActivityPub attributes to accounts (#4273)
7 years ago
Akihiko Odaki b085c55263 Fix logging in ProcessFeedService (#4270)
7 years ago
Eugen Rochko df59dc6639 Refactor ResolveRemoteAccountService (#4258)
7 years ago
Eugen Rochko 3852032953 Correct OStatus inflection (Ostatus -> OStatus) (#4255)
7 years ago
Akihiko Odaki b0f97d9a87 Introduce Ostatus name space (#4164)
7 years ago
Sorin Davidoi 3d4ae604b8 fix(push-subscriptions): Refactor how Sidekiq jobs are handled (#4226)
7 years ago
ThibG 9c1791c546 Optimize uri normalization (#4212)
7 years ago
Eugen Rochko c6e46f7421 Fix #2672 - Connect signed PuSH subscription requests to instance domain (#4205)
7 years ago
Eugen Rochko c5fa4aba91 HTTP signatures (#4146)
7 years ago
Eugen Rochko 5138dde794 Fix #4149, fix #1199 - Store emojis as unicode (#4189)
7 years ago
Sorin Davidoi ecab38fd66 Web Push Notifications (#3243)
7 years ago
Eugen Rochko eb0c9a8831 Fix #4067 - Do not make HTTP round-trip when resolving local URL (#4160)
7 years ago
nightpool 336f1bc5ec Revert "Wrap methods of ProcessFeedService::ProcessEntry in classes (#4151)" (#4157)
7 years ago
Akihiko Odaki (@fn_aki@pawoo.net) 002ed7dc62 Wrap methods of ProcessFeedService::ProcessEntry in classes (#4151)
7 years ago
Akihiko Odaki (@fn_aki@pawoo.net) 2e3f13788f Remove redundant inclusion (#4150)
7 years ago
Akihiko Odaki (@fn_aki@pawoo.net) 3db69012fd Fix PrecomputeFeedService for filtered statuses (#4148)
7 years ago
abcang 60df44837e Rescue exceptions related to Goldfinger at FetchRemoteStatusService (#4138)
7 years ago
abcang 7ee3ddac47 Rescue exceptions related to Goldfinger (#4044)
7 years ago
nullkal 07024f56df Use charlock_holmes instead of nkf at FetchLinkCardService (#4080)
7 years ago
Eugen Rochko 1b16fa4d2f Fix feed author not being enforced in ProcessFeedService (#4092)
7 years ago
Eugen Rochko 20e15ecfb3 Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl (#4090)
7 years ago
abcang 8041c97d52 Fix Nokogiri::HTML at FetchLinkCardService (#4072)
7 years ago
abcang 43d97dea48 Rescue exceptions caused by FetchLinkCardService (#4045)
7 years ago
Akihiko Odaki (@fn_aki@pawoo.net) aea653f05d Do not raise an error if PrecomputeFeed could not find any status (#4015)
7 years ago
abcang 572513b0b0 rescue HTTP::ConnectionError (#3992)
7 years ago
Akihiko Odaki (@fn_aki@pawoo.net) f2c73de856 Use multiple pairs for zadd in PrecomputeFeedService (#3990)
7 years ago
Akihiko Odaki (@fn_aki@pawoo.net) fa7649409b Overwrite old statuses with reblogs in PrecomputeFeedService (#3984)
7 years ago
ThibG b9e0e43128 Raise an error if salmon request response is unsatisfactory (#3960)
8 years ago
ThibG ee7952c349 Fix conversations (fixes #3869) (#3870)
8 years ago
Akihiko Odaki (@fn_aki@pawoo.net) 77dcf442e7 Filter direct statuses in Status.as_home_timeline (#3842)
8 years ago
Eugen Rochko 8bed91d94c Rename FollowRemoteAccountService to ResolveRemoteAccountService (#3847)
8 years ago
ThibG dd67b9e049 Fix #3633 by not spawning RemoteProfileUpdateWorker from FetchRemoteAccountService (#3642)
8 years ago
Eugen Rochko c883e96d95 Fix account delete form not accepting password, update suspended (#3745)
8 years ago
Eugen Rochko 6f8f401ea1 Batched remove status service (#3735)
8 years ago
Eugen Rochko 1c7e2ddd65 Account deletion (#3728)
8 years ago
Eugen Rochko 973d6ef93a Fix #2619 - When redis feed is empty, fall back to database (#3721)
8 years ago
Eugen Rochko 9cda14bd24 Fix regression from #3672 - Do not use pipeline around zscore (#3704)
8 years ago
ThibG 3af5774a71 Fix an error when TagManager.local_url? is called with a bad URI (#3701)
8 years ago
Eugen Rochko 8b893afde7 Fix removal of status sending the original status to mentioned users instead of delete Salmon (#3672)
8 years ago
Yamagishi Kazutoshi d3279a6702 Refactor UpdateRemoteProfileService (#3690)
8 years ago
Eugen Rochko 3fc61534fd Fix #3378 - If favourite/reblog already exists, return it instead of failing (#3641)
8 years ago
ThibG 38f03f6da4 Fixes #3605 by returning account from database in case of race condition (#3606)
8 years ago
Yamagishi Kazutoshi 5da41e0cae Improve RuboCop rules (compatibility to Code Climate) (#3636)
8 years ago
Yamagishi Kazutoshi 1844753bda Fix Code Climate failed (regression from #3622) (#3624)
8 years ago
ThibG 13340bdc7a Fixes #3388 by moving re-entrant `shared_status_from_xml` before transaction block (#3622)
8 years ago
unarist 5ef958b99f Fix 500 errors on searching invalid URLs (#3613)
8 years ago
ThibG 34e120cd84 Try fixing ThreadResolveWorker calls (#3599)
8 years ago
René Klačan b64a43d38f Don't follow account if it's already followed (#3575)
8 years ago
takayamaki aa6740c21b change sidekiq queueing to bulk push (#3536)
8 years ago
Yamagishi Kazutoshi 4489e0d6f9 Remove WarmCacheService (#3527)
8 years ago
Matt Jankowski 533a8cc68b Misc tidying and clean ups (#3445)
8 years ago
Jack Jennings 4e75c71b3e Add status destroy authorization to policy (#3453)
8 years ago
Jack Jennings 877b82f63e Move status reblog authorization into policy (#3425)
8 years ago
Jack Jennings faf53a5a3e Extract authorization policy for viewing statuses (#3150)
8 years ago
happycoloredbanana a867644030 Avoid comparing domains when looking for an exact match of a local account (#3336)
8 years ago
Eugen Rochko 1b9b49b01a Fix some nil errors (#3338)
8 years ago
beatrix a977728990 don't notify me when my toot is faved by someone i muted (#3245)
8 years ago
Eugen Rochko cc91569a92 Similarly to #2426, put creation of remote statuses in a transaction, (#3233)
8 years ago
Akihiko Odaki 9d32e7f6d5 Use joins for account properties (#3167)
8 years ago
Eugen Rochko 5695449335 Add buttons to block and unblock domain (#3127)
8 years ago
abcang e3dcaaf0b9 Unify the method of extracting tags (#3138)
8 years ago
Matt Jankowski 4423ed3557 Specs for precompute feed service (#3142)
8 years ago
Eugen Rochko 0cafe62561 Account domain blocks (#2381)
8 years ago
Yamagishi Kazutoshi bd1f7d0b9c Fetch remote image using http.rb (#3114)
8 years ago
Eugen Rochko 93e9f8b3ed Fix #2572 - Resolve preview cards for remote statuses as well as local ones (#3088)
8 years ago
Shunsuke Michii 37c8d4ce7e Make faster ProcessFeedService (#3080)
8 years ago
Eugen Rochko 5039bc93d5 Feature conversations muting (#3017)
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 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 3702e2c924 Fix regressions from #2683 (#2970)
8 years ago
Eugen Rochko ee7719d540 Fix #2955 - Send HEAD request ahead of GET when fetching URL previews (#2972)
8 years ago
alpaca-tc d0c0fed791 Add `account_id DESC` to optimize PrecomputeFeedService (#2967)
8 years ago
R Tucker 4f54465c3b Handle hashtags in spoiler_texts (partial fix for #699) (#2683)
8 years ago
Eugen Rochko 221898cc90 Add spec for Pubsubhubbub::DistributionWorker. PuSH-deliver public items (#2954)
8 years ago
Matt Jankowski b188aeb0e7 Specs for pubsub subscribe service (#2951)
8 years ago
Matt Jankowski 87ef624429 Spec and refactor for pubsubhubbub/unsubscribe service (#2946)
8 years ago
Matt Jankowski c298bcbb49 Services specs for subscribe and unsubscribe (#2928)
8 years ago
Matt Jankowski d2aae2c2e0 Unblock domain service specs/refactor (#2867)
8 years ago
alpaca-tc ea2e2f4857 Hotfix convert string from symbol (#2856)
8 years ago
alpaca-tc 1f1ce0291f Refactor domain_blocks_controller (#2843)
8 years ago
alpaca-tc 0f6ae77634 Optimize MuteService and AfterBlockService (#2836)
8 years ago
alpaca-tc 2bb3b70454 Handling failed http response (#2823)
8 years ago
Matt Jankowski b6b297a297 Move account header and avatar methods to a concern (#2825)
8 years ago
Matt Jankowski dc50a231de Add specs (and refactor) of FetchRemoteResourceService and SearchService (#2812)
8 years ago
Eugen Rochko c32e312061 More robust PuSH subscription refreshes (#2799)
8 years ago
alpaca-tc a206fa8037 Delete records in smaller transaction (#2802)
8 years ago
Yamagishi Kazutoshi 93ec05f976 Decode IDNA in PreviewCard (#2781)
8 years ago
Eugen Rochko 78df86a7c8 Likely fix #2458, fix #2031 - handle out-of-order deletes for statuses (#2734)
8 years ago
Eugen Rochko 91a8a5eab8 Fix #2706 - Always respond with 200 to PuSH payloads (#2733)
8 years ago
yhirano 7c65bcbdb7 Downgrade rubocop 0.48.1 => 0.46.0 (#2628)
8 years ago
Patrick Figel ae0c77c5d1 Set unknown attachment type when adding domain blocks (#2605)
8 years ago
Eugen Rochko 97dff125a8 Improve shared status verification (#2525)
8 years ago
Eugen Rochko 4a7dc4fadc OEmbed support for PreviewCard (#2337)
8 years ago
Matt Jankowski 89255db0d8 Domain block service cleanup (#2490)
8 years ago
Keiji, Yoshimi 8e7c858877 attach_media should be in transaction of creation status (#2426)
8 years ago
Eugen Rochko 553d6a1ea6 Fix #2402 - Add Idempotency-Key header to PostStatusService that prevents (#2419)
8 years ago
178inaba 1b6e534850 Optimize account search (#2421)
8 years ago
Eugen 87f7a3922c Punycode URI normalization (#2370)
8 years ago
Yamagishi Kazutoshi 45bee6a000 Show multibyte URI preview card (#2363)
8 years ago
Eugen 1ccf2c8e52 Improve bio compatibility (#2278)
8 years ago
ik-fib 3d7666f63c Add Mastodon version to user agent (#2253)
8 years ago
Eugen a38b05112e Fix possibility of unrightful webfinger redirect (#2147)
8 years ago
Matt Jankowski 4591c7dbdb Language detection refactor (#2099)
8 years ago
ik-fib 1b8613bc7a Add "Mastodon" to user agent (#2073)
8 years ago
Tomohiro Suwa a9f4feb735 Fix nil query_username (#2013)
8 years ago
Keiji, Yoshimi 4863184f88 reduce unneed query when post without attachements. (#1907)
8 years ago
Eugen 6e801f4030 Fix #1957 - WhatLanguage can return null. Fallback to 'en' (#1959)
8 years ago
Eugen b9b9edd4c8 Add language detection (#1772)
8 years ago
alpaca-tc 5c2010661a Check @recipient.user at the first (#1939)
8 years ago
Eugen c2b4bafc33 Fix #1813 - Alleviate extra requests when processing mentions (#1938)
8 years ago
Matt Jankowski 3052fe93ba Clean up check that account needs a webfinger update (#1932)
8 years ago
alpaca-tc 2aae4c5531 Fixed NoMethodError in UnfollowService (#1918)
8 years ago
Eugen ba6b4c6e62 Make file attachment on MediaAttachment optional (#1865)
8 years ago
alpaca-tc efb88aae30 ActiveRecord::Relation does not respond to `#id` (#1834)
8 years ago
Matt Jankowski 0d9e4aaaaf Account search service refactor (#1791)
8 years ago
ThibG 626e7d1548 Refresh webfinger (#1323)
8 years ago
ThibG c45c67c2ac Allow running mastodon on a different domain as the one used for identifying users (#1267)
8 years ago
Matt Jankowski 8ed4ecb7e4 Silence more scope order warnings (#1604)
8 years ago
Matt Jankowski 9a30c564b6 Remove unused AtomBuilderHelper (#1364)
8 years ago
ThibG e326eb53dd Get handle from atom feed's author/email field instead of guessing from URL (#1344)
8 years ago
Eugen 697e4da6cb Fix #1141, fix #1126 - Avatar/profile info fetching (#1215)
8 years ago
Eugen 0b8bd5a9ce Merge pull request #1218 from R0ckweb/patch-2
8 years ago
Yann GUERN 33b00dd70f #1141 on remote follow
8 years ago
Eugen Rochko 81b7c81200 Fix #801 - Respect webfinger's canonical response of username/domain
8 years ago
Chad Pytel 1a82d2bde6 Use I18n for media attachment validation errors
8 years ago
Eugen 24c77e57b2 Rewrite Atom generation from stream entries to use Ox instead of Nokogiri (#1124)
8 years ago
Eugen Rochko 0db2a0c7c4 Fix wrong pubsub channel on public timelines
8 years ago
Eugen Rochko fb6459d303 Fix notifications delivered to wrong pubsub channel, optimized RemoveStatusService,
8 years ago
Eugen Rochko cd68e54a7d Split SalmonWorker into smaller parts, move profile updating into another job
8 years ago
Eugen Rochko 5189ce9cd1 Replace calls to FeedManager#inline_render and #broadcast
8 years ago
Eugen Rochko 8f38353c4d Only render public payload once in FanOutOnWrite
8 years ago
Eugen Rochko fa2a1af90a Spawn FeedInsertWorker to deliver status into personal feed
8 years ago
Eugen Rochko e60c473917 Reduce number of items in feeds, optimize regeneration worker slightly,
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 6ebe31e716 Make default admin UI page reports. Add admin UI for creating a domain block
8 years ago
Eugen Rochko 4db2e2f4eb Fix issue with feed merge-in code as well
8 years ago
Eugen Rochko 572cf64791 Fix feed regeneration bug
8 years ago
Eugen Rochko 3c6e9ee33c Fix reworked search
8 years ago
Eugen Rochko b3cb765a94 Prettier account and stream entry URLs
8 years ago
Eugen Rochko a015d2e08b Shorter timeout on FetchAtomService
8 years ago
Eugen Rochko 1b4583ca91 Fix full-text search query quotation, improve tag search performance with an index,
8 years ago
Eugen Rochko 3893f75a51 New API method: /api/v1/search
8 years ago
Eugen Rochko a19062b726 Federate header images, fix open-uri http->https redirection error
8 years ago
Eugen Rochko 64be072702 Make account search blazing fast and rank followers/followees higher in the results
8 years ago
Eugen Rochko f1b9644cfd Add "direct" visibility level in the backend. Web UI is not yet
8 years ago
Eugen Rochko 27d4971979 Fix casuality of processing remote mentions such that notifications
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 a741049a77 Fix #104 - Style OAuth authorized applications page
8 years ago
Eugen Rochko ff8a080d40 Add validation of media attachments, clean up mastodon-own exception classes
8 years ago
Eugen Rochko 128dcdf68a Merge branch 'fix_462' of https://github.com/rmhasan/mastodon into rmhasan-fix_462
8 years ago
Eugen Rochko 5157e25aab Add tuning documentation, add <content> tags back to most salmons,
8 years ago
Eugen Rochko b734ae3029 Skip remote media URLs that don't have a hostname
8 years ago
Eugen Rochko 6d453b00c6 Fix #651 - Do not reinsert original status into all followers feeds
8 years ago
Rakib Hasan d55cf10b4e previous commit was creating the status regardless
8 years ago
Rakib Hasan 008c95b3b9 revisted fix for #462
8 years ago
Eugen Rochko 94a6dfab3a Disable PuSH for blocked domains
8 years ago
Eugen Rochko 04b2b771c1 Add IDs to salmon slaps even if they are transient. Add title, too, mostly
8 years ago
Eugen Rochko 2980de5cc5 Add handler for salmons of undoing favourites
8 years ago
Eugen Rochko 8550d32165 Adding more unit tests. Fixing Salmon slaps XML
8 years ago
Eugen Rochko f48dc93379 Deduplicate delete salmons (send only one per mentioned-account domain)
8 years ago
Eugen Rochko f9f8f52fe9 Stop trying to shoehorn all Salmon updates into the poor database-connected
8 years ago
Eugen Rochko 12ed6f5712 Resolve issue with rendering authorize/reject Salmon slaps
8 years ago
Eugen Rochko ce193afa4f Mentions in private statuses allow mentioned people to see them
8 years ago
Eugen Rochko 1e66536797 After FollowService, re-fetch remote account asynchronously, do nothing
8 years ago
Eugen Rochko 1dbe19291d Fix processing of incoming authorizations/rejections
8 years ago
Eugen Rochko 79b86d7ffa Don't PuSH-resubscribe if already subscribed
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 eb9934c88c Add streaming API channels for local-only statuses
8 years ago
Eugen Rochko 43be729e6b Don't allow people to follow people they blocked without unblocking first
8 years ago
Eugen Rochko d384845469 Fix #61 - Add list of blocked users to the UI; clean up failed push notifications API
8 years ago
Eugen Rochko efa4065029 Preheat status cache
8 years ago
Eugen Rochko c7b7eb8067 Fix #598 - arrow keys to navigate media; fix #481 - non-exact matches no longer
8 years ago
Eugen Rochko 00261b46ec Move rendering of JSON payloads for public/hashtag timelines to
8 years ago
Eugen Rochko 727d236fcc Cleaning up format of broadcast real-time messages, removing
8 years ago
Eugen Rochko edcfbee9f5 Fix #529 - Make hashtag timelines show conversations, fix hashtag loading in the UI
8 years ago
Eugen Rochko d5a3d0aca2 Fix tests
8 years ago
Eugen Rochko 9327d05bf7 API for apps to register for push notifications
8 years ago
Eugen Rochko 27ad4ce9e8 Do not run FetchLinkCardService on local URLs, increase file size limit to 8MB,
8 years ago
Eugen Rochko 4d011ee829 Use <summary> to encode content warnings instead
8 years ago
Eugen Rochko e17b31bca6 Fix #522 - prevent blocked users from reblogging
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 ea8b548ee9 Make blocks create entries and unfollows instantly, but do the clean up
8 years ago
blackle e25fc71c2c Implement a click-to-view spoiler system
8 years ago
Eugen Rochko 9650e27b7b Domains with reject_media? set to true won't download avatars either
8 years ago
Eugen Rochko 3710d18889 Optional domain block attribute that prevents media attachments from being downloaded
8 years ago
Eugen Rochko 98660a76d9 Move merging/unmerging of timelines into background. Move blocking into
8 years ago
Eugen Rochko e55bad5740 Remove unneeded block check
8 years ago
Eugen Rochko 77a76d5171 Domain blocks now have varying severity - auto-suspend vs auto-silence
8 years ago
Eugen Rochko 55d6cd41e6 Fix a couple unhandled exceptions
8 years ago
Effy Elden 26cfebf434 Call uniq on the string version of mb_chars tags
8 years ago
Eugen Rochko d8d22cfa6f Instead of refusing to create accounts, domain blocks auto-suspend new accounts from that domain
8 years ago
Eugen Rochko 9d09b2c6b1 Fix preview cards layout, do preview card crawling for remote statuses
8 years ago
Eugen Rochko f748a91ec7 Fix #463 - Fetch and display previews of URLs using OpenGraph tags
8 years ago
Eugen Rochko 5d88ef90c9 Fix tests, add applications to eager loading/cache for statuses, fix
8 years ago
Effy Elden 8e0c1914fb Add tracking of OAuth app that posted a status, extend OAuth apps to have optional website field, add application details to API, show application name and website on detailed status views. Resolves #11
8 years ago
Eugen 4b384d6914 Fix too late return
8 years ago
Eugen Rochko 7e7c2bbb0f Migrate from ledermann/rails-settings to rails-settings-cached which allows global settings
8 years ago
Eugen Rochko 992c8d2c41 Add ruby version to Gemfile, move devDependencies in package.json to dependencies,
8 years ago
Eugen Rochko 126aba0e13 Fix #147 - Unreblogging will leave original status in feeds
8 years ago
Eugen Rochko 66c5363bae Fix undesired delivering of private toot to remote accounts that follow author
8 years ago
Eugen Rochko b57e126d47 Unblocks also federate
8 years ago
Eugen Rochko 043d9114bf Federate blocks with the http://mastodon.social/schema/1.0 verb namespace
8 years ago
Eugen Rochko 6a20c13009 Add API for retrieving favourites
8 years ago
Eugen Rochko 34febf75be Fix wrong person being notified after nested reblog call, fix favourites leaking private toots in Atom feeds
8 years ago
Eugen Rochko cef68b9b1c Follow requests send e-mail notifications, but are excluded from notifications API
8 years ago
Eugen Rochko 1ed3bb3a02 Don't show statuses to blocked users
8 years ago
Eugen Rochko 77cd58545d Re-enable Webfinger for locked accounts but don't handle "follow" events
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 d417da7d3a Private visibility on statuses prevents non-followers from seeing those
8 years ago
Eugen Rochko 9d4f96f440 Removing external hub completely, fix #333 fixing digit-only hashtags,
8 years ago
Eugen Rochko b7c2c5d81d Restoring old async behaviour of thread resolving as it proved to be more robust
8 years ago
Eugen Rochko e9e11b0ff5 Sensitive content federates using the "nsfw" hashtag
8 years ago
Eugen Rochko fb36684678 Thread resolving no longer needs to be separate from ProcessFeedService,
8 years ago
Eugen Rochko 51e60135ed Improve suspend account service
8 years ago
Eugen Rochko 88218c83d5 Add suspend account functionality to admin UI
8 years ago
Eugen Rochko 7752662f97 Add filters for suspended accounts
8 years ago
Eugen Rochko 6837480719 Adding suspend account service
8 years ago
Eugen Rochko ca0757a6cf Add account suspension
8 years ago
Eugen Rochko 42b065d3d7 Automatically block outgoing notifications from silenced accounts to users
8 years ago
Eugen Rochko 23a4f93345 Fix #323 - self-replies to appear in public timelines again
8 years ago
Eugen Rochko 211049ae59 Fix #329 - avatar errors no longer prevent remote accounts from being saved
8 years ago