658 Commits (c6f018091e10aa28bd93d6439aaa571e71f99bea)

Author SHA1 Message Date
Eugen Rochko 61ed133fea
Account archive download (#6460)
7 years ago
Eugen Rochko f7765acf9d
Fix #5173: Click card to embed external content (#6471)
7 years ago
Eugen Rochko 3ebc0ad4d3
Full-text search for authorized statuses (#6423)
7 years ago
abcang 7e5c433dfc Fix saving of oEmbed image (#6409)
7 years ago
Akihiko Odaki 613e7c7521 Rename ResolveRemoteAccountService to ResolveAccountService (#6327)
7 years ago
Akihiko Odaki 17cecd75ca Rename FetchRemoteResourceService to ResolveURLService (#6328)
7 years ago
Renato "Lond" Cerqueira e56404be41 When must_be_following_dm is on, only notify if recipient dm'ed user (#6283)
7 years ago
Eugen Rochko 7badad7797
Fix home regeneration (#6251)
7 years ago
puckipedia 74c1c9ec01 Allow attributedTo in a status to be an embedded object (#6238)
7 years ago
Eugen Rochko e4a241abef
Fix bad URL schemes being accepted (#6219)
7 years ago
ThibG a594139115 When fetching an ActivityPub-enabled status, do not re-request it as text/html (#6196)
7 years ago
Eugen Rochko 02ba03d6db
Send one Delete of Actor in ActivityPub when account is suspended (#6172)
7 years ago
Eugen Rochko 7d4f4f9aab
Fix FetchAtomService not finding alternatives if there's a Link header (#6170)
7 years ago
Eugen Rochko d319b3dbe4
Update moved-to property when it's removed too (#6160)
7 years ago
ThibG cea98e0c12 Reduce the number of synchronous resolves when posting toots (#6075)
7 years ago
Eugen Rochko a8deb6648b
Fix redundant HTTP request in FetchLinkCardService (#6002)
7 years ago
Eugen Rochko 5706fe18c2
Fix #5952 - NameError (regression from #5762) (#5999)
7 years ago
Akihiko Odaki f9f6918148 Store preview image for embedded photo in preview cards (#5986)
7 years ago
Renato "Lond" Cerqueira 19257d91bf Return false if object does not respond to url (#5988)
7 years ago
Renato "Lond" Cerqueira fe180f18ff Change conditional to avoid nil into string error in sidekiq (#5987)
7 years ago
Andrea Scarpino 6a82939adb Fix account and tag searches with leading/trailing spaces (#5965)
7 years ago
Yamagishi Kazutoshi e7d55df38d Ignore HEAD method if does not support (#5949)
7 years ago
Eugen Rochko 86b4d5439c
Fix #5926 - Do not downgrade to OStatus once ActivityPub is known (#5929)
7 years ago
Akihiko Odaki c083816c24 Add embed_url to preview cards (#5775)
7 years ago
Yamagishi Kazutoshi d7a17b5e8b Search only from followees (#5897)
7 years ago
Yamagishi Kazutoshi b21db9bbde Using double splat operator (#5859)
7 years ago
Eugen Rochko e20895f251
Add list of lists component to web UI (#5811)
7 years ago
Eugen Rochko 4c6b5dbe96
Add semi-support for Video/Image objects in ActivityPub (#5848)
7 years ago
Eugen Rochko 85e97ecab6
Fix too many forwards (#5854)
7 years ago
aschmitz eeaec39888 Allow hiding of reblogs from followed users (#5762)
7 years ago
ThibG b8efb5daed Fix handling of temporary failures in ProcessMentionsService (#5842)
7 years ago
abcang 3dce6cbbd7 Fixed duplicating URL of photo type of oEmbed (#5763)
7 years ago
abcang 2bcc81700c Fix NoMethodError at ActivityPub::FetchRemoteStatusService (#5753)
7 years ago
Eugen Rochko 58cede4808
Profile redirect notes (#5746)
7 years ago
Eugen Rochko 24cafd73a2
Lists (#5703)
7 years ago
Eugen Rochko 3e90987c8b Fix some rubocop style issues (#5730)
7 years ago
Surinna Curtis 031a5a8f92 Optional notification muting (#5087)
7 years ago
ThibG 1c25853842 Use already-known remote user data if resolving temporarily fails in mentions (#5702)
7 years ago
Eugen Rochko fbef909c2a
Add option to block direct messages from people you don't follow (#5669)
7 years ago
ThibG 889ada5ee2 Fix process mentions for local users, as local users are considered to use OStatus (#5618)
7 years ago
ThibG 5d5c0f4f43 Twidere mention workaround (#5552)
7 years ago
Eugen Rochko 1032f3994f
Add ability to disable login and mark accounts as memorial (#5615)
7 years ago
ThibG 84cfee2488 Do not process undeliverable mentions (#5598)
7 years ago
ThibG 7bea1530f4 Resolve remote accounts when mentioned even if they are already known (#5539)
7 years ago
ThibG d37a56c07c Update remote ActivityPub users when fetching their toots (#5545)
7 years ago
ThibG 89c77fe225 Instantiate service classes for each call (fixes #5540) (#5543)
7 years ago
unarist 3bc8924940 Don't capture scheme-less URLs in the status (#5435)
7 years ago
abcang 2eab41cd1a Close connection when succeeded posting (#5390)
7 years ago
ThibG 95fe20b78a Fix remote status fetching for “pure” ActivityPub WEB_ACCOUNT users (#5372)
7 years ago
unarist 35ec1c91e3 Fix some failure cases on FetchLinkCardService (#5347)
7 years ago
Eugen Rochko 3888a12c79 Fix #5272 - Order of checks in ActivityPub handler (#5276)
7 years ago
Eugen Rochko 0717d9b3e6 Set snowflake IDs for backdated statuses (#5260)
7 years ago
unarist 5c8ca024ef Improve error handling on LinkCrawlWorker (#5250)
7 years ago
ThibG 2559d9166c Fix regression in FetchRemoteResourceService (#5217)
7 years ago
ThibG 0e1b0f2747 Check Webfinger-returned author URI even when not redirected (#5213)
7 years ago
aschmitz 468523f4ad Non-Serial ("Snowflake") IDs (#4801)
7 years ago
Yamagishi Kazutoshi d40c9140e8 Fix undefined local variable (regression from #5114) (#5210)
7 years ago
Eugen Rochko 291feba6f1 Follow up to #5172, clean up notifications after mute like after block (#5198)
7 years ago
Akihiko Odaki 63f0979799 Validate id of ActivityPub representations (#5114)
7 years ago
Eugen Rochko c743b5e1fd Fix possible acct: uri usurpation in ActivityPub account discovery (#5208)
7 years ago
Eugen Rochko 76f360c625 If HTTP signature is wrong and webfinger cache is stale, retry with resolve (#5129)
7 years ago
abcang 3d9b8847d2 Flush body when POST requests (#5128)
7 years ago
Eugen Rochko e528114c53 Follow-up to #4582 and #5027, removing dead code (#5101)
7 years ago
Eugen Rochko cf7fbf2c56 Fix #5059 - Stop processing payload if it's from local account (#5100)
7 years ago
Eugen Rochko 91e5b0dfdb Send streaming API delete to people mentioned in status (#5103)
7 years ago
aschmitz 669fe9ee06 Change IDs to strings rather than numbers in API JSON output (#5019)
7 years ago
Akihiko Odaki bb4d005a83 Introduce OStatus::TagManager (#5008)
7 years ago
Eugen Rochko 41e6c8b151 Fix incomplete account records being read (#4998)
7 years ago
Eugen Rochko 09a94b575e Admin interface for listing, adding and removing custom emojis (#5002)
7 years ago
unarist 1eab53ee10 Fix an error when actor json couldn't be fetched in ResolveRemoteAccountService (#4979)
7 years ago
Akihiko Odaki 48d77ea1eb Fix filterable_languages method of SettingsHelper (#4966)
7 years ago
ふぁぼ原 3816943e6b Enable to recognize most kinds of characters as URL paths (#4941)
7 years ago
Eugen Rochko 596dab06e9 Support OpenGraph video embeds (#4897)
7 years ago
ThibG af00220d79 Fix refollowing (#4931)
7 years ago
Eugen Rochko b9d241c6f5 Fix #4917 - Add missing suspend checks (#4921)
7 years ago
ThibG f29918e707 [WiP] Whenever a remote keypair changes, unfollow them and re-subscribe to … (#4907)
7 years ago
Eugen Rochko 7d7844a47f Default follows for new users (#4871)
7 years ago
Eugen Rochko 90712d4293 Fix errors preventing UnsubscribeService from working (#4866)
7 years ago
Eugen Rochko 9e15eeec63 Add missing reject_media check before avatar download via ActivityPub (#4862)
7 years ago
Eugen Rochko 4b460bc571 Fix #4852 - Check if already requested from FollowService (#4855)
7 years ago
Eugen Rochko 7ca173be47 Fix #4850 - When visibility missing from API call to toot, fallback to user preference (#4861)
7 years ago
Eugen Rochko a4caa7eb62 Fetch statuses/following/followers numbers from ActivityPub collections (#4840)
7 years ago
Eugen Rochko e821c00e74 Fix mentions in direct statuses not being delivered via AP (#4806)
7 years ago
Eugen Rochko 9b50a9dd83 Fix some ActivityPub JSON bugs (#4796)
7 years ago
Eugen Rochko 37fdddd927 Rename "locked" to "manuallyApprovesFollowers" in ActivityPub (#4779)
7 years ago
Eugen Rochko d3b6746173 Make "unfollow" undo pending outgoing follow request too (#4781)
7 years ago
Eugen Rochko 1b5806b744 Define missing JSON-LD properties (#4767)
7 years ago
Eugen Rochko 390bfec6da Avoid sending some ActivityPub payloads if the receiver will get them through distribution (#4739)
7 years ago
Eugen Rochko 7dc5035031 Make PreviewCard records reuseable between statuses (#4642)
7 years ago
unarist f7937d903c Don't process ActivityPub payload if signature is invalid (#4752)
7 years ago
James 6b2be5dbfb Guarantee Subscription service first account has proper URL details (#4732)
7 years ago
Eugen Rochko 7b8f262840 Forward ActivityPub creates that reply to local statuses (#4709)
7 years ago
Eugen Rochko 4c76402ba1 Serialize ActivityPub alternate link into OStatus deletes, handle it (#4730)
7 years ago
unarist 7876aed134 Fix deletion of status which has been reblogged (#4728)
7 years ago
Eugen Rochko 2a2698e450 Add ActivityPub serializer for Undo of Announce (#4703)
7 years ago
Eugen Rochko 00840f4f2e Add handling of Linked Data Signatures in payloads (#4687)
7 years ago
masarakki 649a20ab46 authorize-follow-requests-after-unlocking (#4658)
7 years ago
Eugen Rochko cf615abbf9 Add configuration to disable private status federation over PuSH (#4582)
7 years ago
unarist b01a19fe39 Fetch reblogs as Announce activity instead of Note object (#4672)
7 years ago
unarist 760cfe328f Fix accessing to XML attribute in FetchAtomService (#4668)
7 years ago
unarist 5927b43c0f Ignore empty response in ActivityPub::FetchRemoteStatusService (#4661)
7 years ago
unarist d63de55ef8 Fix bugs which OStatus accounts may detected as ActivityPub ready (#4662)
7 years ago
Eugen Rochko 72bb3e03fd Support more variations of ActivityPub keyId in signature (#4630)
7 years ago
Eugen Rochko 3534e115e5 Do not try to re-subscribe to unsubscribed accounts (#4653)
7 years ago
Eugen Rochko 6e9eda5331 ActivityPub migration procedure (#4617)
7 years ago
Eugen Rochko fe5b66aa08 Handle duplicate ActivityPub activities (#4639)
7 years ago
Yamagishi Kazutoshi 5f22c0189d Add support for searching AP users (#4599)
7 years ago
Eugen Rochko 26d26644ac Require "inbox" to be set on actor to be ActivityPub-ready (#4595)
7 years ago
Yamagishi Kazutoshi 96e9ed13de Fix search (regression from #4589) (#4594)
7 years ago
Eugen Rochko 4e75f0d889 Hook up URL-based resource look-up to ActivityPub (#4589)
7 years ago
Eugen Rochko b7370ac8ba ActivityPub delivery (#4566)
7 years ago
Eugen Rochko ccdd5a9576 Add serializing/unserializing of "locked" actor attribute (#4585)
7 years ago
Eugen Rochko dd7ef0dc41 Add ActivityPub inbox (#4216)
7 years ago
Yamagishi Kazutoshi 3e7a541e09 Change RuboCop rules to loose (#4464)
7 years ago
nullkal 6654c30033 Fix an error when a user tries to search nonexistent remote user (regression from #4275) (#4400)
7 years ago
sdukhovni 06d905f415 Allow domain blocks that only reject media without silencing or suspending (#4325)
7 years ago
Eugen Rochko a929f7e6ac Fix #4172 - Mutes now block notifications (#4300)
7 years ago
Eugen Rochko 1fcdaafa6f Fix webfinger retries (#4275)
7 years ago
Sorin Davidoi dcb9497148 fix(push_subscription): Guard against malformed favourite notification (#4271)
7 years ago
Eugen Rochko bbdcfd6baf Add ActivityPub attributes to accounts (#4273)
7 years ago
Akihiko Odaki f0d6550f16 Fix logging in ProcessFeedService (#4270)
7 years ago
Eugen Rochko 8400bee3b1 Refactor ResolveRemoteAccountService (#4258)
7 years ago
Eugen Rochko a5a07da892 Correct OStatus inflection (Ostatus -> OStatus) (#4255)
7 years ago
Akihiko Odaki 89b988cab5 Introduce Ostatus name space (#4164)
7 years ago
Sorin Davidoi 8387b3928e fix(push-subscriptions): Refactor how Sidekiq jobs are handled (#4226)
7 years ago
ThibG 05cd37097c Optimize uri normalization (#4212)
7 years ago
Eugen Rochko cd9b2ab2f7 Fix #2672 - Connect signed PuSH subscription requests to instance domain (#4205)
7 years ago
Eugen Rochko 1618b68bfa HTTP signatures (#4146)
7 years ago
Eugen Rochko e2685ccc81 Fix #4149, fix #1199 - Store emojis as unicode (#4189)
7 years ago
Sorin Davidoi 0c7c188c45 Web Push Notifications (#3243)
7 years ago
Eugen Rochko 1764c32b9e Fix #4067 - Do not make HTTP round-trip when resolving local URL (#4160)
7 years ago
nightpool 1c6c6b271c Revert "Wrap methods of ProcessFeedService::ProcessEntry in classes (#4151)" (#4157)
7 years ago
Akihiko Odaki (@fn_aki@pawoo.net) 425acecfdb Wrap methods of ProcessFeedService::ProcessEntry in classes (#4151)
7 years ago
Akihiko Odaki (@fn_aki@pawoo.net) 29f314a502 Remove redundant inclusion (#4150)
7 years ago
Akihiko Odaki (@fn_aki@pawoo.net) 7bacdd718a Fix PrecomputeFeedService for filtered statuses (#4148)
7 years ago
abcang 617208053c Rescue exceptions related to Goldfinger at FetchRemoteStatusService (#4138)
7 years ago
abcang 307f3e0dd7 Rescue exceptions related to Goldfinger (#4044)
7 years ago
nullkal 007ab330e6 Use charlock_holmes instead of nkf at FetchLinkCardService (#4080)
7 years ago
Eugen Rochko 1c1819a78a Fix feed author not being enforced in ProcessFeedService (#4092)
7 years ago
Eugen Rochko 8b2cad5637 Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl (#4090)
7 years ago
abcang 5e6acf9601 Fix Nokogiri::HTML at FetchLinkCardService (#4072)
7 years ago
abcang a6d02cff36 Rescue exceptions caused by FetchLinkCardService (#4045)
7 years ago
Akihiko Odaki (@fn_aki@pawoo.net) 7362469d89 Do not raise an error if PrecomputeFeed could not find any status (#4015)
7 years ago
abcang b342c81c17 rescue HTTP::ConnectionError (#3992)
7 years ago
Akihiko Odaki (@fn_aki@pawoo.net) f79c10162e Use multiple pairs for zadd in PrecomputeFeedService (#3990)
7 years ago
Akihiko Odaki (@fn_aki@pawoo.net) 7d8e3721ae Overwrite old statuses with reblogs in PrecomputeFeedService (#3984)
7 years ago
ThibG a91d968cab Raise an error if salmon request response is unsatisfactory (#3960)
7 years ago
ThibG 15b43f555d Fix conversations (fixes #3869) (#3870)
8 years ago
Akihiko Odaki (@fn_aki@pawoo.net) bab5a18232 Filter direct statuses in Status.as_home_timeline (#3842)
8 years ago
Eugen Rochko f3be605286 Rename FollowRemoteAccountService to ResolveRemoteAccountService (#3847)
8 years ago
ThibG 51b2f789bd Fix #3633 by not spawning RemoteProfileUpdateWorker from FetchRemoteAccountService (#3642)
8 years ago
Eugen Rochko 91c71471ab Fix account delete form not accepting password, update suspended (#3745)
8 years ago
Eugen Rochko e17c2e5da5 Batched remove status service (#3735)
8 years ago
Eugen Rochko 4a618908e8 Account deletion (#3728)
8 years ago
Eugen Rochko dc8a6244fc Fix #2619 - When redis feed is empty, fall back to database (#3721)
8 years ago
Eugen Rochko 605e2a417c Fix regression from #3672 - Do not use pipeline around zscore (#3704)
8 years ago
ThibG f8fe394e7a Fix an error when TagManager.local_url? is called with a bad URI (#3701)
8 years ago
Eugen Rochko ce812466c7 Fix removal of status sending the original status to mentioned users instead of delete Salmon (#3672)
8 years ago
Yamagishi Kazutoshi f3e8bc9f8f Refactor UpdateRemoteProfileService (#3690)
8 years ago
Eugen Rochko b87eb8ea14 Fix #3378 - If favourite/reblog already exists, return it instead of failing (#3641)
8 years ago
ThibG f741673638 Fixes #3605 by returning account from database in case of race condition (#3606)
8 years ago
Yamagishi Kazutoshi 0a0b9a271a Improve RuboCop rules (compatibility to Code Climate) (#3636)
8 years ago
Yamagishi Kazutoshi 1d68fe1a60 Fix Code Climate failed (regression from #3622) (#3624)
8 years ago
ThibG 28d2920472 Fixes #3388 by moving re-entrant `shared_status_from_xml` before transaction block (#3622)
8 years ago
unarist e34c5a3503 Fix 500 errors on searching invalid URLs (#3613)
8 years ago
ThibG 7adac1bc51 Try fixing ThreadResolveWorker calls (#3599)
8 years ago
René Klačan 037f96c5ae Don't follow account if it's already followed (#3575)
8 years ago
takayamaki 3eedad2737 change sidekiq queueing to bulk push (#3536)
8 years ago
Yamagishi Kazutoshi 336f0b0823 Remove WarmCacheService (#3527)
8 years ago
Matt Jankowski b25e42a77f Misc tidying and clean ups (#3445)
8 years ago
Jack Jennings 33f669a5f8 Add status destroy authorization to policy (#3453)
8 years ago
Jack Jennings e031fd60ad Move status reblog authorization into policy (#3425)
8 years ago
Jack Jennings 3a2003ba86 Extract authorization policy for viewing statuses (#3150)
8 years ago
happycoloredbanana 9642601126 Avoid comparing domains when looking for an exact match of a local account (#3336)
8 years ago
Eugen Rochko 44cb08297c Fix some nil errors (#3338)
8 years ago
beatrix 19ecde8fe7 don't notify me when my toot is faved by someone i muted (#3245)
8 years ago
Eugen Rochko 4a4733b397 Similarly to #2426, put creation of remote statuses in a transaction, (#3233)
8 years ago
Akihiko Odaki f554807563 Use joins for account properties (#3167)
8 years ago
Eugen Rochko f1ab70649b Add buttons to block and unblock domain (#3127)
8 years ago
abcang d22cec81fb Unify the method of extracting tags (#3138)
8 years ago
Matt Jankowski db4119f971 Specs for precompute feed service (#3142)
8 years ago
Eugen Rochko 620d0d8029 Account domain blocks (#2381)
8 years ago
Yamagishi Kazutoshi 79ef8b3653 Fetch remote image using http.rb (#3114)
8 years ago
Eugen Rochko 1efda1c453 Fix #2572 - Resolve preview cards for remote statuses as well as local ones (#3088)
8 years ago
Shunsuke Michii 0dfffb6dcb Make faster ProcessFeedService (#3080)
8 years ago
Eugen Rochko d0dd9eb5b5 Feature conversations muting (#3017)
8 years ago
beatrix 3dcb5fa28f Revert HTML CW changes (#3020)
8 years ago
Eugen Rochko 5abdc77c80 Add conversation model, <ostatus:conversation /> (#3016)
8 years ago
Eugen Rochko 43d754eb42 Fix not rejecting remote URIs when parsing out local IDs (#3012)
8 years ago
Eugen Rochko 58bcd50f7f Fix #1426 - Trim long usernames in public follower/following lists (#2993)
8 years ago
Eugen Rochko 72698bc3b4 Fix regressions from #2683 (#2970)
8 years ago
Eugen Rochko a231f915a0 Fix #2955 - Send HEAD request ahead of GET when fetching URL previews (#2972)
8 years ago
alpaca-tc c3ef5d5414 Add `account_id DESC` to optimize PrecomputeFeedService (#2967)
8 years ago
R Tucker e2491680e6 Handle hashtags in spoiler_texts (partial fix for #699) (#2683)
8 years ago
Eugen Rochko 3a38322a54 Add spec for Pubsubhubbub::DistributionWorker. PuSH-deliver public items (#2954)
8 years ago
Matt Jankowski 682507bc3c Specs for pubsub subscribe service (#2951)
8 years ago
Matt Jankowski 441d6dc734 Spec and refactor for pubsubhubbub/unsubscribe service (#2946)
8 years ago
Matt Jankowski 5bea42412e Services specs for subscribe and unsubscribe (#2928)
8 years ago
Matt Jankowski b8ba719f73 Unblock domain service specs/refactor (#2867)
8 years ago
alpaca-tc 74036a2c9d Hotfix convert string from symbol (#2856)
8 years ago