536 Commits (b84b11c41a71aaeae02ff93c44c57a592cbec33d)

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