525 Commits (a1c79ef54429ccc63fe64a3347a5de6f2caa459e)

Author SHA1 Message Date
nullkal 07024f56df Use charlock_holmes instead of nkf at FetchLinkCardService (#4080)
7 years ago
Surinna Curtis fd67e58c82 replies to local-only toots default to local-only, and fix some regex bugs
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
beatrix-bitrot cdcb74ffb6 Merge remote-tracking branch 'upstream/master'
7 years ago
Surinna Curtis 01f1c9dec6 Eyes with variation-selector-16 now also do local-only
7 years ago
ThibG b9e0e43128 Raise an error if salmon request response is unsatisfactory (#3960)
7 years ago
beatrix-bitrot 002484b9d2 keyword muting and local only tooting WIP
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
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