921 Commits (9a37df48ddd11f8fcfa07bbd29b57c3b73da6aa5)

Author SHA1 Message Date
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)
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
Matt Jankowski b188aeb0e7 Specs for pubsub subscribe service (#2951)
7 years ago
Matt Jankowski 87ef624429 Spec and refactor for pubsubhubbub/unsubscribe service (#2946)
7 years ago
Matt Jankowski c298bcbb49 Services specs for subscribe and unsubscribe (#2928)
7 years ago
Matt Jankowski d2aae2c2e0 Unblock domain service specs/refactor (#2867)
7 years ago
alpaca-tc ea2e2f4857 Hotfix convert string from symbol (#2856)
7 years ago
alpaca-tc 1f1ce0291f Refactor domain_blocks_controller (#2843)
7 years ago
alpaca-tc 0f6ae77634 Optimize MuteService and AfterBlockService (#2836)
7 years ago
alpaca-tc 2bb3b70454 Handling failed http response (#2823)
7 years ago
Matt Jankowski b6b297a297 Move account header and avatar methods to a concern (#2825)
7 years ago
Matt Jankowski dc50a231de Add specs (and refactor) of FetchRemoteResourceService and SearchService (#2812)
7 years ago
Eugen Rochko c32e312061 More robust PuSH subscription refreshes (#2799)
7 years ago
alpaca-tc a206fa8037 Delete records in smaller transaction (#2802)
7 years ago
Yamagishi Kazutoshi 93ec05f976 Decode IDNA in PreviewCard (#2781)
7 years ago
Eugen Rochko 78df86a7c8 Likely fix #2458, fix #2031 - handle out-of-order deletes for statuses (#2734)
7 years ago
Eugen Rochko 91a8a5eab8 Fix #2706 - Always respond with 200 to PuSH payloads (#2733)
7 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
Eugen Rochko 8d4ef0b6c3 Per-status control for unlisted mode, also federation for unlisted mode
8 years ago
Eugen c0bb1ed7c5 Fix trying to PuSH-publish updates of remote removals
8 years ago
Eugen Rochko 66e01be769 Fix delete Salmons
8 years ago
Eugen Rochko 0cc5410e03 Adding backtracing to Salmon/Processing workers
8 years ago
Eugen Rochko 95321e961b Fix Pubsubhubbub::UnsubscribeService
8 years ago
Eugen Rochko b5ad0eb4ea Adding embedded PuSH server
8 years ago
Eugen Rochko 31108d4659 Public and hashtag timelines now exclude reblogs and replies
8 years ago
Eugen Rochko 1f62ffcc7a Fix #288 - Strip first @ from search query, don't search accounts if it begins with #
8 years ago
Eugen Rochko 1997e331ce Fix #278 - Use mb_chars.downcase on hashtags
8 years ago
Eugen Rochko 23162b2893 Update hub URL and re-subscribe if hub URL changes
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 f613f2b84a Only distribute statuses to followers who signed in in the last 2 weeks, add rake task for clearing feeds of inactive users
8 years ago
Eugen Rochko f6d196255c Fix unfollows not clearing reblogs, fix blocks not clearing reblogs and notifications,
8 years ago
Eugen Rochko 65d6191147 Adding sensitive marker to statuses in API
8 years ago
Eugen Rochko 30010a6dbd Moving some counter queries out of subqueries in the API
8 years ago
Eugen Rochko f07b0dc82f Remove unneeded indices, improve error handling in background workers, don't needlessly reload reblogged status, send Devise e-mails asynchronously
8 years ago
Eugen Rochko 0943e98288 Adding option to specify asset server, filter followers query by local accounts
8 years ago
Eugen Rochko dc8b46ecbc Use old rules for mention notifications as for mentions timeline
8 years ago
Eugen Rochko 3fc7820d6e Call NotifyService about remote reblogs
8 years ago
Eugen Rochko 38025dfea3 Adding unified streamable notifications
8 years ago
Eugen Rochko b373fb0ff6 Catch validation errors in ProcessFeedService so that one failing entry wouldn't stop others from going through
8 years ago
Eugen Rochko d2029a8845 Don't create attachments if remote file cannot be fetched
8 years ago
Eugen Rochko e71b152d89 Fix rubocop issues, introduce usage of frozen literal to improve performance
8 years ago
Eugen Rochko 6f0d312dc3 Force utf-8 encoding when processing XML
8 years ago
Eugen Rochko 6206f75837 Add limit to search results
8 years ago
Eugen Rochko cbfa28b9cc Use full-text search for autosuggestions
8 years ago
Eugen Rochko aed424aef0 Fix live status removal from public/hashtag channels
8 years ago
Eugen Rochko 0b03bbad67 Discard misattributed remote statuses, improve timelines filter
8 years ago
Eugen Rochko a6ae45e8d7 Status removal is broadcast to public/hashtag timelines too
8 years ago
Eugen Rochko c0ee14756f Adding more logging
8 years ago
Eugen Rochko ac79369f2b Fix for thread resolve service and process feed service url method
8 years ago
Eugen Rochko 9da30e31c8 Fix region setting for AWS gem
8 years ago
Eugen Rochko f1d2c46ded Improve feed regeneration
8 years ago
Eugen Rochko 663c0edd8d Fix typo
8 years ago
Eugen Rochko 434c3fb2f7 ProcessFeedService refactor
8 years ago
Eugen Rochko 8f0869876b Improved configuration from ENV, cleaned up timeline filter methods
8 years ago
Eugen Rochko 5ad6611101 Add test for FanOutOnWriteService
8 years ago
Eugen Rochko f0956d434c Improve @mention regex
8 years ago
Eugen Rochko cb22dce970 Adding hashtags
8 years ago
Eugen Rochko 4c3885b952 Allow @username@domain/@username in follow form, prevent duplicate accounts
8 years ago
Eugen Rochko 72565e9e61 Fix subtle bugs, new icon button
8 years ago
Eugen Rochko 1eac265f35 Adding public timeline silencing
8 years ago
Eugen Rochko d63f0295b9 Fix public channel
8 years ago
Eugen Rochko cc10f56f66 Fix method return when rescuing
8 years ago
Eugen Rochko bcdb0dc310 Fix RemoveStatusService trying to send delete salmons on behalf of remote statuses
8 years ago
Eugen Rochko 4762bb6b7a Fix duplication of media attachments when a remote status reblogs a local one
8 years ago
Eugen Rochko 7beab6b00c Fix remove status service sending salmons
8 years ago
Eugen Rochko 405f7f0541 No-op for Salmons without body, fail fast if Webfinger does not contain
8 years ago
Eugen Rochko dd99153ce6 Treat dfrn:owner like xmlns:author for Friendica compatibility
8 years ago
Eugen Rochko a1d34be18b Improve Friendica support (but still not there yet)
8 years ago
Eugen Rochko 34bfc0f0dc Fix up a few exceptions
8 years ago
Eugen Rochko 1af00c8193 Fixing namespaces issue
8 years ago
Eugen Rochko 61d7c88408 Fix namespace parsing in Atom feeds
8 years ago
Eugen Rochko 80217fd58b Use Account#find_remote method when possible
8 years ago
Eugen Rochko 3d229e3937 Don't return unsaved status from ProcessFeedService
8 years ago
Eugen Rochko 33668b91f8 Adding test for ProcessFeedService
8 years ago
Eugen Rochko 5da603fb6f Improve process feed service
8 years ago
Eugen Rochko d2c7d9fc4e PuSH unsubscribe needs correct callback URL
8 years ago
Eugen Rochko 7cb55af441 Fix default assumed object type (note->activity), make stream entry threaded? check aware of orphaned replies
8 years ago
Eugen Rochko 9bf5a73968 Adding domain blocks
8 years ago
Eugen Rochko c3f5dfeabb Adding public timeline
8 years ago
Eugen Rochko 62498dcefd Fix #83 - if user cannot be found (or is self) throw error, don't return empty 200
8 years ago
Eugen Rochko b23c4b488c Better comparison of "local" domain
8 years ago
Eugen Rochko 6e8165696c Update OStatus2 to handle malformed Salmon without raising unexpected exceptions
8 years ago
Eugen Rochko 96cc77ce55 Catch Paperclip errors on /api/v1/media, return early from update profile service if XML given is nil
8 years ago
Eugen Rochko 3319473b2c Move PubSubHubbub pinging to a background worker
8 years ago
Eugen Rochko 2febc6ed65 Fix typo
8 years ago
Eugen Rochko fe77921e47 Catching more exceptions that slipped through, removing AR logging from
8 years ago
Eugen Rochko 70e9dd0b5b Blocking will prevent e-mail notifications from blocked user, blocks in UI
8 years ago
Eugen Rochko 7b9a4af311 API for blocking and unblocking
8 years ago
Eugen Rochko 9d59d7b463 Adding a block model and filter mentions from blocked users (fix #60)
8 years ago
Eugen Rochko d74da1a89a Small fixes
8 years ago
Eugen Rochko be86d4e0a3 Preparing feeds for better filtering
8 years ago
Eugen Rochko 927333f4f8 Improve code style
8 years ago
Eugen Rochko e4aebad35a Fix handling of multiple Link headers (that should not be a thing though)
8 years ago
Eugen Rochko 7e14eefc81 Replace logo, fix #57 - delete/unreblog/unfavourite API, fix #45 - app
8 years ago
Eugen Rochko 210362e665 Improve redirect handling in FetchAtomService
8 years ago
Eugen Rochko c6b0311b86 Fix #54 - Fetch remote accounts by URL from mentions
8 years ago
Eugen Rochko b1a670af8d Handle remote account mentions a little better by trying a URL lookup in the db
8 years ago
Eugen Rochko 4a670780f0 Fix #51 - prevent duplicate attachments for remote statuses
8 years ago
Eugen Rochko 4bec613897 Fix #24 - Thread resolving for remote statuses
8 years ago
Eugen Rochko 608a2bfffc Upgrade to PubSubHubbub 0.4 (removing verify_token)
8 years ago
Eugen Rochko 059ebbf48d Separate PuSH subscriptions from following, add mastodon:push:refresh task,
8 years ago
Eugen Rochko 9863196f7b Small rubocop offences removed
8 years ago
Eugen Rochko adffc7a495 Fix #43
8 years ago
Eugen Rochko 183a23943b Fix how other services used old FollowRemoteAccountService
8 years ago
Eugen Rochko 0e9c1a297a Improved error handling for FollowRemoteService
8 years ago
Eugen Rochko 8c0b19012b Fix #41, debug #42
8 years ago
Eugen Rochko d6a64f45fd Adding a notification stack for error messages
8 years ago
Eugen Rochko 05b0c985b4 Send "delete" Salmons to remote mentioned accounts on status removal
8 years ago