495 Commits (b83fb8b1072d5cd7a5c1e65afe127d9275538c1e)

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