563 Commits (2b44b7a9f6fa88fa0413096ca3a42b45e54909e5)

Author SHA1 Message Date
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)
7 years ago
ThibG ee7952c349 Fix conversations (fixes #3869) (#3870)
7 years ago
Akihiko Odaki (@fn_aki@pawoo.net) 77dcf442e7 Filter direct statuses in Status.as_home_timeline (#3842)
7 years ago
Eugen Rochko 8bed91d94c Rename FollowRemoteAccountService to ResolveRemoteAccountService (#3847)
7 years ago
ThibG dd67b9e049 Fix #3633 by not spawning RemoteProfileUpdateWorker from FetchRemoteAccountService (#3642)
7 years ago
Eugen Rochko c883e96d95 Fix account delete form not accepting password, update suspended (#3745)
7 years ago
Eugen Rochko 6f8f401ea1 Batched remove status service (#3735)
7 years ago
Eugen Rochko 1c7e2ddd65 Account deletion (#3728)
7 years ago
Eugen Rochko 973d6ef93a Fix #2619 - When redis feed is empty, fall back to database (#3721)
7 years ago
Eugen Rochko 9cda14bd24 Fix regression from #3672 - Do not use pipeline around zscore (#3704)
7 years ago
ThibG 3af5774a71 Fix an error when TagManager.local_url? is called with a bad URI (#3701)
7 years ago
Eugen Rochko 8b893afde7 Fix removal of status sending the original status to mentioned users instead of delete Salmon (#3672)
7 years ago
Yamagishi Kazutoshi d3279a6702 Refactor UpdateRemoteProfileService (#3690)
7 years ago
Eugen Rochko 3fc61534fd Fix #3378 - If favourite/reblog already exists, return it instead of failing (#3641)
7 years ago
ThibG 38f03f6da4 Fixes #3605 by returning account from database in case of race condition (#3606)
7 years ago
Yamagishi Kazutoshi 5da41e0cae Improve RuboCop rules (compatibility to Code Climate) (#3636)
7 years ago
Yamagishi Kazutoshi 1844753bda Fix Code Climate failed (regression from #3622) (#3624)
7 years ago
ThibG 13340bdc7a Fixes #3388 by moving re-entrant `shared_status_from_xml` before transaction block (#3622)
7 years ago
unarist 5ef958b99f Fix 500 errors on searching invalid URLs (#3613)
7 years ago
ThibG 34e120cd84 Try fixing ThreadResolveWorker calls (#3599)
7 years ago
René Klačan b64a43d38f Don't follow account if it's already followed (#3575)
7 years ago
takayamaki aa6740c21b change sidekiq queueing to bulk push (#3536)
7 years ago
Yamagishi Kazutoshi 4489e0d6f9 Remove WarmCacheService (#3527)
7 years ago
Matt Jankowski 533a8cc68b Misc tidying and clean ups (#3445)
7 years ago
Jack Jennings 4e75c71b3e Add status destroy authorization to policy (#3453)
7 years ago
Jack Jennings 877b82f63e Move status reblog authorization into policy (#3425)
7 years ago
Jack Jennings faf53a5a3e Extract authorization policy for viewing statuses (#3150)
7 years ago
happycoloredbanana a867644030 Avoid comparing domains when looking for an exact match of a local account (#3336)
7 years ago
Eugen Rochko 1b9b49b01a Fix some nil errors (#3338)
7 years ago
beatrix a977728990 don't notify me when my toot is faved by someone i muted (#3245)
7 years ago
Eugen Rochko cc91569a92 Similarly to #2426, put creation of remote statuses in a transaction, (#3233)
7 years ago
Akihiko Odaki 9d32e7f6d5 Use joins for account properties (#3167)
7 years ago
Eugen Rochko 5695449335 Add buttons to block and unblock domain (#3127)
7 years ago
abcang e3dcaaf0b9 Unify the method of extracting tags (#3138)
7 years ago
Matt Jankowski 4423ed3557 Specs for precompute feed service (#3142)
7 years ago
Eugen Rochko 0cafe62561 Account domain blocks (#2381)
7 years ago
Yamagishi Kazutoshi bd1f7d0b9c Fetch remote image using http.rb (#3114)
7 years ago
Eugen Rochko 93e9f8b3ed Fix #2572 - Resolve preview cards for remote statuses as well as local ones (#3088)
7 years ago
Shunsuke Michii 37c8d4ce7e Make faster ProcessFeedService (#3080)
7 years ago
Eugen Rochko 5039bc93d5 Feature conversations muting (#3017)
7 years ago
beatrix b460582b67 Revert HTML CW changes (#3020)
7 years ago
Eugen Rochko 12ef99556e Add conversation model, <ostatus:conversation /> (#3016)
7 years ago
Eugen Rochko b5091f16f0 Fix not rejecting remote URIs when parsing out local IDs (#3012)
7 years ago
Eugen Rochko db707c7af3 Fix #1426 - Trim long usernames in public follower/following lists (#2993)
7 years ago
Eugen Rochko 3702e2c924 Fix regressions from #2683 (#2970)
7 years ago
Eugen Rochko ee7719d540 Fix #2955 - Send HEAD request ahead of GET when fetching URL previews (#2972)
7 years ago
alpaca-tc d0c0fed791 Add `account_id DESC` to optimize PrecomputeFeedService (#2967)
7 years ago
R Tucker 4f54465c3b Handle hashtags in spoiler_texts (partial fix for #699) (#2683)
7 years ago
Eugen Rochko 221898cc90 Add spec for Pubsubhubbub::DistributionWorker. PuSH-deliver public items (#2954)
7 years ago