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
3e95a6c9b7
Improve spec coverage and clean up api/v1/mutes controller ( #3481 )
8 years ago
Yamagishi Kazutoshi
b652c52992
Keep ENV['LOCAL_HTTPS'] with ApplicationControllerSpec (fix random fail) ( #3479 )
...
* Keep ENV['LOCAL_HTTPS'] with ApplicationControllerSpec (fix random fail)
* use climate_control
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
Matt Jankowski
4e89226243
Improve api oembed controller ( #3450 )
...
* Add StreamEntryFinder class to parse URLs
* Use StreamEntryFinder and clean up api/oembed controller
8 years ago
Matt Jankowski
0ee8f559ec
Clean up api/salmon controller ( #3449 )
8 years ago
Matt Jankowski
18c81c74e5
Remove exports/base controller in favor of shared concern ( #3444 )
8 years ago
Akihiko Odaki
6f064d0e65
Use around hook to restore context in Admin::SettingsController spec ( #3428 )
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 )
...
* Remove methods from ObfuscateFilename
* Spec ObfuscateFilename
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 )
...
* Spec output of Settings::Exports::BlockedAccountsController
* Spec output of Settings::Exports::FollowingAccountsController
* Spec output of Settings::Exports::MutedAccountsController
* Spec Settings::Exports::BaseController
This commit removes duplicate specs in classes inheriting
Settings::Exports::BaseController as well.
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
437ef29afd
Cover Admin::PubSubHubHubController more ( #3343 )
8 years ago
Atsushi Yamamoto
4547e3585a
Add preference setting for delete toot modal ( #3368 )
...
* Set delete_modal preference to true by default
* Does not show confirmation modal if delete_modal is false
* Add ja translation for preference setting page
8 years ago
Akinori MUSHA
8a5d3b2e5d
Go to root after login in single user mode ( #3289 )
...
In single user mode, visitors are redirected to the single user's
profile page. So, if you are the owner without a session, you start
from that page, click the login button and authenticate yourself
expecting you'll soon get started with the home page, but in reality
you'll get redirected back to where you started from -- your own
profile page.
This fixes the behavior by redirecting you home after login if you
have started from your own profile page.
8 years ago
Akihiko Odaki
5d9513aaea
Spec Admin::BaseController ( #3328 )
8 years ago
Akihiko Odaki
9efb491366
Cover TagsController more ( #3306 )
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 )
...
(You may think that we need account deletions, but this way would've just orphaned the db records)
8 years ago
alpaca-tc
46ca699d72
Toggle sensitive from admin page ( #3261 )
8 years ago
Matt Jankowski
fecc2c2f47
Refactor of API timeline actions ( #3263 )
...
- Increase coverage to exercise all parts of each action
- Move into namespace to share common code
- Misc refactor of each action for smaller methods, simpler code
8 years ago
Akihiko Odaki
855082f935
Cover StatusesController more ( #3259 )
8 years ago
Akihiko Odaki
d670290506
Cover StreamEntriesController more and remove redundant instructions ( #3257 )
...
* Cover StreamEntriesController more
* Remove redundant instructions in StreamEntriesController
8 years ago
Akihiko Odaki
1cf385646a
Spec AuthorizeFollowsController assigns @account ( #3246 )
...
@account is used by the view.
8 years ago
Akihiko Odaki
4f023cb001
Introduce recent to Follow ( #3247 )
...
Introduce recent to Follow, as Account and other models have.
This change also adds specs for the scope and the dependents.
8 years ago
Akihiko Odaki
9cc7a3c209
Cover AccountsController more in spec ( #3229 )
...
* Introduce recent scope to Status and StreamEntry
Introduce recent scope to Status and StreamEntry as Account has.
* Cover AccountsController more in AccountsController
8 years ago
Matt Jankowski
4f2a0f546d
Coverage for api/web/settings controller ( #3238 )
8 years ago
Akihiko Odaki
c0aba00ae1
Cover ApplicationController more in spec ( #3230 )
8 years ago