637 Commits (4472c5723a9f140fcb01155f7b255c8a9b5016f7)

Author SHA1 Message Date
Matt Jankowski eb39fb7211 Add controller spec for manifests controller (#4003)
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
Yamagishi Kazutoshi 022878b743 Upgrade jsdom to version 11.0.0 (#3994)
7 years ago
Akihiko Odaki (@fn_aki@pawoo.net) 4be3cf318d Cover Admin::AccountsController more (#3327)
7 years ago
Akihiko Odaki (@fn_aki@pawoo.net) 05f73fbdab Reduce number of commands in FeedManager#trim (#3989)
7 years ago
Akihiko Odaki (@fn_aki@pawoo.net) fa7649409b Overwrite old statuses with reblogs in PrecomputeFeedService (#3984)
7 years ago
Eugen Rochko d0221b05bc Fix #1624 - Send e-mail notifications to admins about new reports (#3949)
7 years ago
Eugen Rochko b90a44b6d0 Fix #3910 - Require OTP authentication to disable 2FA (#3935)
8 years ago
Akihiko Odaki (@fn_aki@pawoo.net) 4ca14209d1 Cover Auth::RegistrationsController more (#3353)
8 years ago
Akihiko Odaki (@fn_aki@pawoo.net) 071c6f392e Cover Admin::DomainBlocksController more (#3329)
8 years ago
Eugen Rochko c465c5b3a8 Add overview of active sessions (#3929)
8 years ago
Sorin Davidoi 1280559503 Revocable sessions (#3616)
8 years ago
Eugen Rochko 8fb81e1372 Add important test for full-width hashtags (#3911)
8 years ago
Yamagishi Kazutoshi 539dbaa049 Remove unused variables (#3906)
8 years ago
Akihiko Odaki (@fn_aki@pawoo.net) 561ca10d86 Some minor change and spec for Account (#3813)
8 years ago
Eugen Rochko e7810e4031 Fix regression from #3842 (#3892)
8 years ago
Akihiko Odaki (@fn_aki@pawoo.net) 77dcf442e7 Filter direct statuses in Status.as_home_timeline (#3842)
8 years ago
Akihiko Odaki (@fn_aki@pawoo.net) baa248a801 Update fabricator for MediaAttachment to attach a file according to type (#3862)
8 years ago
unarist 55376105f5 Fix RTL detection on Ruby side (#3867)
8 years ago
masarakki d947978192 setting-for-account-deletable (#3852)
8 years ago
Akihiko Odaki (@fn_aki@pawoo.net) 481f277e58 Cover Block more (#3837)
8 years ago
Akihiko Odaki (@fn_aki@pawoo.net) ac1f0e49f0 Cover DomainBlock more (#3838)
8 years ago
Akihiko Odaki (@fn_aki@pawoo.net) c8020b2105 Cover Export more (#3840)
8 years ago
Eugen Rochko 8bed91d94c Rename FollowRemoteAccountService to ResolveRemoteAccountService (#3847)
8 years ago
Akihiko Odaki (@fn_aki@pawoo.net) 5fcbc71c35 Cover Favourite more (#3841)
8 years ago
Akihiko Odaki (@fn_aki@pawoo.net) e990a4a566 Spec AccountDomainBlock (#3816)
8 years ago
nightpool 0048f7ac72 Whitelist allowed classes for federated statuses (#3810)
8 years ago
Akihiko Odaki (@fn_aki@pawoo.net) f391f81f3d Spec UserMailer (#3757)
8 years ago
Eugen Rochko 7181178007 Fix regression from #3490 - filter out hidden statuses from ancestors/descendants even if the viewer is anonymous (#3752)
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
unarist 1ce6a20bde Fix locale related specs (#3707)
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
Akihiko Odaki (@fn_aki@pawoo.net) 5c54ae381a Localize date in digest and cover NotificationMailer more (#3694)
8 years ago
René Klačan ecdf17a2d7 Make sure email is case insensitive on all places (#3688)
8 years ago
Akihiko Odaki (@fn_aki@pawoo.net) a5729feb11 Improve default language decision and spec (#3351)
8 years ago
Matt Jankowski e31cd944c2 Move create/destroy actions for api/v1/statuses to namespace (#3678)
8 years ago
Matt Jankowski dc717cf425 Move reblogged_by and favourited_by actions out of api/v1/statuses and into unique controllers (#3646)
8 years ago
Matt Jankowski b439018342 Language detection defaults to nil (#3666)
8 years ago
Eugen Rochko 006594e181 Fix db:seed - only run some validations when the field was changed (#3592)
8 years ago
Yamagishi Kazutoshi 5da41e0cae Improve RuboCop rules (compatibility to Code Climate) (#3636)
8 years ago
Matt Jankowski 76f986d07b Clean up for api/base controller (#3629)
8 years ago
unarist c40e5aea44 Use "match_array" only for order independent assertions (#3626)
8 years ago
Matt Jankowski 9a43a1051a Coverage improvement and concern extraction for rate limit headers in API controller (#3625)
8 years ago
unarist 5ef958b99f Fix 500 errors on searching invalid URLs (#3613)
8 years ago
unarist 117d333a84 Fix tag search order and not to use tsvector (#3611)
8 years ago
Yamagishi Kazutoshi 615c580665 Add quotes ESLint rules (#3602)
8 years ago
Matt Jankowski d339ac2c76 Introduce StatusThreadingConcern (#3490)
8 years ago
Daigo 3 Dango e1142e190b Redirect to streaming_api_base_url (#3579)
8 years ago
Yamagishi Kazutoshi d4f2db0902 Fix randomly fail (regression from #3560) (#3580)
8 years ago
Yamagishi Kazutoshi 49dee153d3 Skip image length check (regression from #3528) (#3581)
8 years ago
René Klačan b64a43d38f Don't follow account if it's already followed (#3575)
8 years ago
Eugen Rochko 4a6ceb24c9 Added support for configurable reserved usernames (fix of #1382) (#3566)
8 years ago
Akihiko Odaki (@fn_aki@pawoo.net) ec5f146bca Cover WebfingerResource more (#3560)
8 years ago
Akihiko Odaki (@fn_aki@pawoo.net) 1653be63ac Spec ScopedSettings (#3559)
8 years ago
Akihiko Odaki (@fn_aki@pawoo.net) 10da1db4e6 Remove some code in TagManager and spec (#3547)
8 years ago
Akihiko Odaki (@fn_aki@pawoo.net) 734a309e93 Spec InlineRablScope (#3542)
8 years ago
Akihiko Odaki (@fn_aki@pawoo.net) 5c1868df66 Spec HashObject (#3544)
8 years ago
Akihiko Odaki (@fn_aki@pawoo.net) 3dd0d62583 A minor change for ProviderDiscovery and spec (#3543)
8 years ago
Akihiko Odaki (@fn_aki@pawoo.net) 267468e232 Remove some arguments of Formatter.instance.format and spec (#3541)
8 years ago
Akihiko Odaki (@fn_aki@pawoo.net) 502d0a1f04 Spec Extractor (#3540)
8 years ago
Akihiko Odaki (@fn_aki@pawoo.net) 39ddcf59a9 Spec action verification of StreamEntryFinder (#3549)
8 years ago
Akihiko Odaki (@fn_aki@pawoo.net) e285f6086c Remove redundant code in AtomSerializer and spec (#3528)
8 years ago
Yamagishi Kazutoshi 9df077e370 Fix spec for #2388 (#3526)
8 years ago
Akihiko Odaki (@fn_aki@pawoo.net) 2c511bbad4 Spec response for forgery (#3248)
8 years ago
Yamagishi Kazutoshi ae7f6beef1 Improve tests for JavaScript (#3496)
8 years ago
Yamagishi Kazutoshi 339d73541b Add scenarios for log in (#3497)
8 years ago
Matt Jankowski d327e1d105 Remove usernames and hashtags from language detection (#3503)
8 years ago
Matt Jankowski 25990c77c0 Handle nil and blank cases in Account finders (#3500)
8 years ago
Matt Jankowski 1066fd1ab5 Spec coverage and refactor for the api/v1/accounts controllers (#3451)
8 years ago
Matt Jankowski 81ce4e4318 Move admin/pubsubhubbub controller to admin/subscriptions (#3442)
8 years ago
Matt Jankowski 0985a9ff7d Improve spec coverage and clean up api/v1/blocks controller (#3464)
8 years ago
Matt Jankowski ae721f376a Improve spec coverage and clean up api/v1/follow_requests controller (#3465)
8 years ago
Matt Jankowski e32b9ecbf6 Improve spec coverage and clean up api/v1/domain_blocks controller (#3466)
8 years ago
Matt Jankowski 6237abaaa3 Improve spec coverage and clean up api/v1/favourites controller (#3472)
8 years ago
Matt Jankowski ff4d3f11b5 Expand spec coverage and refactor the `Account.find_` methods (#3485)
8 years ago
Matt Jankowski 3e95a6c9b7 Improve spec coverage and clean up api/v1/mutes controller (#3481)
8 years ago
Matt Jankowski b89dbac199 Refactor and spec coverage for api/v1/timelines actions (#3482)
8 years ago
Yamagishi Kazutoshi 024a0dc704 Hold value of I18n.locale with ApplicationHelperSpec (#3474)
8 years ago
Yamagishi Kazutoshi b652c52992 Keep ENV['LOCAL_HTTPS'] with ApplicationControllerSpec (fix random fail) (#3479)
8 years ago
Matt Jankowski 8b69d8d46d Improve spec coverage and clean up api/v1/media controller (#3467)
8 years ago
Matt Jankowski 5a54a5ba69 Clean up api/subscriptions controller (#3448)
8 years ago
Jack Jennings 4e75c71b3e Add status destroy authorization to policy (#3453)
8 years ago
Matt Jankowski 4e89226243 Improve api oembed controller (#3450)
8 years ago
Matt Jankowski 0ee8f559ec Clean up api/salmon controller (#3449)
8 years ago
Jack Jennings c4bf180a77 Fix incorrect visibility setter in StatusPolicySpec (#3456)
8 years ago
Matt Jankowski 18c81c74e5 Remove exports/base controller in favor of shared concern (#3444)
8 years ago
Akihiko Odaki 20d016f430 Refactor User and spec (#3431)
8 years ago
Jack Jennings 877b82f63e Move status reblog authorization into policy (#3425)
8 years ago
Akihiko Odaki 27811b2b39 Use around hook to restore context in InstancePresenter spec (#3430)
8 years ago
Akihiko Odaki 80598c9190 Use around hook to restore context in InstanceHelper spec (#3429)
8 years ago
Akihiko Odaki 6f064d0e65 Use around hook to restore context in Admin::SettingsController spec (#3428)
8 years ago
Akihiko Odaki 1b74047c4f Use around hook to restore context in ApplicationHelper spec (#3432)
8 years ago
Yamagishi Kazutoshi 53d9bebaf3 Update dependencies of Node.js (#3067)
8 years ago
Jack Jennings faf53a5a3e Extract authorization policy for viewing statuses (#3150)
8 years ago
Akihiko Odaki ff2bfea0b3 Remove methods from ObfuscateFilename and spec (#3347)
8 years ago
Akihiko Odaki 587f2d0b1f Spec Auth::ConfirmationsController (#3348)
8 years ago
Akihiko Odaki a111604729 Spec AccountControllerConcern (#3349)
8 years ago
Akihiko Odaki e41d7875d7 Cover Admin::ReportsController more (#3346)
8 years ago
Akihiko Odaki 9481b20b23 Cover InstancesController more (#3342)
8 years ago
Akihiko Odaki 46a60e19ef Cover Admin::SuspensionsController more (#3350)
8 years ago
Akihiko Odaki 503298d89b Spec Auth::PasswordsController (#3352)
8 years ago
Akihiko Odaki 1cb145578b Spec Admin::ResetsController calls send_reset_password_instructions (#3354)
8 years ago
Akihiko Odaki 2b299efbbc Spec #destroy feature of Admin::TwoFactorAuthenticationsController (#3355)
8 years ago
Akihiko Odaki 07c90d0b0d Coever Admin::SilencesController more (#3356)
8 years ago
Akihiko Odaki e48d2dfd87 Cover Settings::ExportsController more (#3358)
8 years ago
Akihiko Odaki 43722d1add Cover Oauth::AuthorizedApplicationsController (#3359)
8 years ago
Akihiko Odaki cdcb550ce9 Cover Oauth::AuthorizationsController more (#3361)
8 years ago
Akihiko Odaki 013825b7b0 Cover Settings::TwoFactorAuthenticationsController more (#3376)
8 years ago
Akihiko Odaki bbaa9dda56 Cover WellKnown::HostMetaController more (#3382)
8 years ago
Akihiko Odaki bb41a6ad80 Cover Settings::TwoFactorAuthentication::RecoveryCodesController more (#3383)
8 years ago
Akihiko Odaki f868fcb154 Spec Settings::Exports (#3384)
8 years ago
Akihiko Odaki 7300379c81 Cover WellKnown::WebfingerController more (#3385)
8 years ago
Akihiko Odaki 820e97af27 Cover Settings::TwoFactorAuthentication::ConfirmationsController more (#3386)
8 years ago
Akihiko Odaki 53bc24a6ae Cover ApplicationHelper more (#3412)
8 years ago
Akihiko Odaki 8192f0d981 Spec Activitystreams2BuilderHelper (#3413)
8 years ago
Akihiko Odaki 9389058544 Spec FlashesHelper (#3414)
8 years ago
Akihiko Odaki b0c3722eea Spec HomeHelper (#3415)
8 years ago
Akihiko Odaki 5f935f5da8 Spec HttpHelper (#3416)
8 years ago
Akihiko Odaki 437ef29afd Cover Admin::PubSubHubHubController more (#3343)
8 years ago
Atsushi Yamamoto 4547e3585a Add preference setting for delete toot modal (#3368)
8 years ago
happycoloredbanana a867644030 Avoid comparing domains when looking for an exact match of a local account (#3336)
8 years ago
Akinori MUSHA 8a5d3b2e5d Go to root after login in single user mode (#3289)
8 years ago
Akihiko Odaki 5d9513aaea Spec Admin::BaseController (#3328)
8 years ago
Akihiko Odaki 9efb491366 Cover TagsController more (#3306)
8 years ago
abcang 4c889085d2 Add test when hashtag and URL are concatenated (#3279)
8 years ago
Yamagishi Kazutoshi d54273621b Skip formatting for cashtag in status text (#3275)
8 years ago
Akihiko Odaki 6af012aae4 Cover HomeController more (#3258)
8 years ago
Eugen Rochko b886ecea5c Fix Devise destroy method being available to delete user record (#3266)
8 years ago
alpaca-tc 46ca699d72 Toggle sensitive from admin page (#3261)
8 years ago
Matt Jankowski fecc2c2f47 Refactor of API timeline actions (#3263)
8 years ago
Akihiko Odaki 855082f935 Cover StatusesController more (#3259)
8 years ago
Akihiko Odaki d670290506 Cover StreamEntriesController more and remove redundant instructions (#3257)
8 years ago
Akihiko Odaki 1cf385646a Spec AuthorizeFollowsController assigns @account (#3246)
8 years ago
Akihiko Odaki 4f023cb001 Introduce recent to Follow (#3247)
8 years ago
Akihiko Odaki 9cc7a3c209 Cover AccountsController more in spec (#3229)
8 years ago
Matt Jankowski 4f2a0f546d Coverage for api/web/settings controller (#3238)
8 years ago
Matt Jankowski 8c11626321 Add coverage for ReportFilter and AccountFilter (#3236)
8 years ago
Matt Jankowski 0eb8b00cc9 Specs for cleanup workers (#3235)
8 years ago
Akihiko Odaki c0aba00ae1 Cover ApplicationController more in spec (#3230)
8 years ago
Akihiko Odaki 387e8449a8 Cover AccountUnfollowController more in spec (#3228)
8 years ago
Akihiko Odaki 4f061bc92c Cover AccountFollowController more in spec (#3227)
8 years ago
Akihiko Odaki 680f357380 Cover AboutController more in spec (#3226)
8 years ago
Immae ae917bfb23 Allow alternate domains for mastodon handlers (#3187)
8 years ago
Akihiko Odaki cbd9804857 single_user_mode? always returns boolean (#3215)
8 years ago
Matt Jankowski 1122249e51 Filter languages with opt out (#3175)
8 years ago
Eugen Rochko c8c80650bc Ensure unique identifiers in fabricated objects in tests (#3173)
8 years ago
Eugen Rochko a55019c3bf More tests for public timeline method (#3171)
8 years ago
Sorin Davidoi fcf794aebe Performance improvements (#3168)
8 years ago
Jack Jennings 2d7cf07852 Enable and fill in JSON response test in API::AccountsController (#3157)
8 years ago
Matt Jankowski c3f8cd26c7 Add coverage for api/v1 controllers (#3155)
8 years ago
Eugen Rochko 5695449335 Add buttons to block and unblock domain (#3127)
8 years ago
Matt Jankowski c8f8629c7e Add spec coverage for regeneration worker (#3143)
8 years ago
Matt Jankowski 4423ed3557 Specs for precompute feed service (#3142)
8 years ago
Yamagishi Kazutoshi 2ad6edded5 Replace inline styles with stylesheet (#3115)
8 years ago
Eugen Rochko 0cafe62561 Account domain blocks (#2381)
8 years ago
Matt Jankowski b3f0e6f7b9 After remote follow worker specs (#3098)
8 years ago
Eugen Rochko 93e9f8b3ed Fix #2572 - Resolve preview cards for remote statuses as well as local ones (#3088)
8 years ago
alpaca-tc b8b7be1e4a Improve Account#triadic_closures (#3079)
8 years ago
alpaca-tc 0d7dc192c3 Optimize Status#permitted_for 24x (#3069)
8 years ago
Eugen Rochko bd7dc50186 Fix change of status callbacks not setting in_reply_to_account_id and (#3072)
8 years ago
Eugen Rochko 5039bc93d5 Feature conversations muting (#3017)
8 years ago
Matt Jankowski 4752edb183 Update rails to version 5.0.3 (#3054)
8 years ago
Eugen Rochko 83b444ddab Do not cancel PuSH subscriptions after encountering "permanent" error… (#3046)
8 years ago
alpaca-tc 4b5edb0d16 Fixes NoMethodError: undefined method 'first' for nil:NilClass (#3036)
8 years ago
Matt Jankowski dc59643e73 Spec coverage and refactor for pubsub/delivery worker (#3021)
8 years ago
Eugen Rochko 12ef99556e Add conversation model, <ostatus:conversation /> (#3016)
8 years ago
Eugen Rochko 7b5af13d19 Prepend reblogs' wrapper content with "RT @original_author", (#3013)
8 years ago
Matt Jankowski 213c146d87 Coverage for domain block worker (#2997)
8 years ago
Eugen Rochko 7c20c80ed7 Fix #2027 - Accept own ID for remote follow with and without preceding @ (#2991)
8 years ago
Jack Jennings cd56acd184 Add specs for current Status#permitted? implementation (#2982)
8 years ago
Eugen Rochko 3702e2c924 Fix regressions from #2683 (#2970)
8 years ago
Matt Jankowski 60fa69399c Pubsub confirmation worker spec (#2974)
8 years ago
Eugen Rochko ee7719d540 Fix #2955 - Send HEAD request ahead of GET when fetching URL previews (#2972)
8 years ago
Matt Jankowski cd8fc8031f Spec feed insert worker (#2965)
8 years ago
Matt Jankowski 6658a20e98 Disable sidekiq logging in test mode (#2962)
8 years ago
Matt Jankowski cd3630e3d1 Spec coverage and refactor of digest mailer worker (#2961)
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
Akihiko Odaki a1abb11656 Use CLD3 (#2949)
8 years ago
abcang 5b538cde50 Fixed bug that timeline can not be displayed by InvalidURIError (#2947)
8 years ago
Matt Jankowski c298bcbb49 Services specs for subscribe and unsubscribe (#2928)
8 years ago
Matt Jankowski 735c5098c5 Specs for API push controller, with refactor (#2926)
8 years ago
Matt Jankowski 23f6ec856f Delegate Account#user_locale method and allow nil (#2927)
8 years ago
Matt Jankowski bddb03a089 Improve allowed language handling (#2897)
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 de0f63e0ac Fixes slow query in notifications api (#2851)
8 years ago
alpaca-tc 0f6ae77634 Optimize MuteService and AfterBlockService (#2836)
8 years ago
Eugen Rochko 78b890cc81 Fix Scheduler::SubscriptionsScheduler (#2834)
8 years ago
Matt Jankowski 05b8a950c6 Stream entry specs and refactor to use delegate (#2827)
8 years ago
Matt Jankowski 5393dbf4a2 Misc spec coverage improvements (#2821)
8 years ago
masarakki 23bf01bcd6 use Twitter::Extractor for creating links (#2502)
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
Matt Jankowski d30ae1bc44 Remove the react-rails gem (#2801)
8 years ago
alpaca-tc a206fa8037 Delete records in smaller transaction (#2802)
8 years ago