Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-06-11 | Make sure email is case insensitive on all places (#3688) | René Klačan | |
When case insensitivity is enabled via devise's `config.case_insensitive_keys` then `.find_for_authentication` method needs to be used instead of `.find_by` because second mentioned returns `nil` when valid email with different cases is passed. More info https://github.com/plataformatec/devise/wiki/How-To:-Use-case-insensitive-emails | |||
2017-06-10 | Improve default language decision and spec (#3351) | Akihiko Odaki (@fn_aki@pawoo.net) | |
* Improve default language decision This change allows to takes account of accepted language determined by the user agent even if the custom default locale of the instance is configured. * Cover Localized more * Fix code style | |||
2017-06-10 | Move create/destroy actions for api/v1/statuses to namespace (#3678) | Matt Jankowski | |
Each of mute, favourite, reblog has been updated to: - Have a separate controller with just a create and destroy action - Preserve historical route names to not break the API - Mild refactoring to break up long methods | |||
2017-06-09 | Move reblogged_by and favourited_by actions out of api/v1/statuses and into ↵ | Matt Jankowski | |
unique controllers (#3646) * Add specs for api statuses routes * Update favourited_by and reblogged_by api routes * Move methods into new controllers * Use load_accounts methods to simplify index actions * Clean up load_accounts methods * Clean up link header generation * Check for link headers in specs * Remove unused actions from api/v1/statuses controller * Remove specs for moved actions | |||
2017-06-07 | Clean up for api/base controller (#3629) | Matt Jankowski | |
* Move ApiController to Api/BaseController * API controllers inherit from Api::BaseController * Add coverage for various error cases in api/base controller | |||
2017-06-07 | Use "match_array" only for order independent assertions (#3626) | unarist | |
2017-06-07 | Coverage improvement and concern extraction for rate limit headers in API ↵ | Matt Jankowski | |
controller (#3625) * Coverage for rate limit headers * Move rate limit headers methods to concern * Move throttle check to condition on before_action * Move match_data variable into method * Move utc timestamp to separate method * Move header setting into smaller methods * specs cleanup | |||
2017-06-05 | Redirect to streaming_api_base_url (#3579) | Daigo 3 Dango | |
* Redirect to streaming_api_base_url When Rails receives a request to streaming API, it most likely means that there is another host which is configured to respond to it. This is to redirect clients to that host if `STREAMING_API_BASE_URL` is set as another host. * Use the new Ruby 1.9 hash syntax | |||
2017-06-03 | Fix spec for #2388 (#3526) | Yamagishi Kazutoshi | |
2017-06-01 | Spec response for forgery (#3248) | Akihiko Odaki (@fn_aki@pawoo.net) | |
Remove protect_from_forgery in ApiController, which is disabled by the following skip_before_action, as well. | |||
2017-05-31 | Spec coverage and refactor for the api/v1/accounts controllers (#3451) | Matt Jankowski | |
2017-05-31 | Move admin/pubsubhubbub controller to admin/subscriptions (#3442) | Matt Jankowski | |
2017-05-31 | Improve spec coverage and clean up api/v1/blocks controller (#3464) | Matt Jankowski | |
2017-05-31 | Improve spec coverage and clean up api/v1/follow_requests controller (#3465) | Matt Jankowski | |
2017-05-31 | Improve spec coverage and clean up api/v1/domain_blocks controller (#3466) | Matt Jankowski | |
2017-05-31 | Improve spec coverage and clean up api/v1/favourites controller (#3472) | Matt Jankowski | |
2017-05-31 | Improve spec coverage and clean up api/v1/mutes controller (#3481) | Matt Jankowski | |
2017-05-31 | Keep ENV['LOCAL_HTTPS'] with ApplicationControllerSpec (fix random fail) (#3479) | Yamagishi Kazutoshi | |
* Keep ENV['LOCAL_HTTPS'] with ApplicationControllerSpec (fix random fail) * use climate_control | |||
2017-05-30 | Improve spec coverage and clean up api/v1/media controller (#3467) | Matt Jankowski | |
2017-05-31 | Clean up api/subscriptions controller (#3448) | Matt Jankowski | |
2017-05-30 | Improve api oembed controller (#3450) | Matt Jankowski | |
* Add StreamEntryFinder class to parse URLs * Use StreamEntryFinder and clean up api/oembed controller | |||
2017-05-30 | Clean up api/salmon controller (#3449) | Matt Jankowski | |
2017-05-30 | Remove exports/base controller in favor of shared concern (#3444) | Matt Jankowski | |
2017-05-30 | Use around hook to restore context in Admin::SettingsController spec (#3428) | Akihiko Odaki | |
2017-05-29 | Extract authorization policy for viewing statuses (#3150) | Jack Jennings | |
2017-05-29 | Remove methods from ObfuscateFilename and spec (#3347) | Akihiko Odaki | |
* Remove methods from ObfuscateFilename * Spec ObfuscateFilename | |||
2017-05-29 | Spec Auth::ConfirmationsController (#3348) | Akihiko Odaki | |
2017-05-29 | Spec AccountControllerConcern (#3349) | Akihiko Odaki | |
2017-05-29 | Cover Admin::ReportsController more (#3346) | Akihiko Odaki | |
2017-05-29 | Cover InstancesController more (#3342) | Akihiko Odaki | |
2017-05-29 | Cover Admin::SuspensionsController more (#3350) | Akihiko Odaki | |
2017-05-29 | Spec Auth::PasswordsController (#3352) | Akihiko Odaki | |
2017-05-29 | Spec Admin::ResetsController calls send_reset_password_instructions (#3354) | Akihiko Odaki | |
2017-05-29 | Spec #destroy feature of Admin::TwoFactorAuthenticationsController (#3355) | Akihiko Odaki | |
2017-05-29 | Coever Admin::SilencesController more (#3356) | Akihiko Odaki | |
2017-05-29 | Cover Settings::ExportsController more (#3358) | Akihiko Odaki | |
2017-05-29 | Cover Oauth::AuthorizedApplicationsController (#3359) | Akihiko Odaki | |
2017-05-29 | Cover Oauth::AuthorizationsController more (#3361) | Akihiko Odaki | |
2017-05-29 | Cover Settings::TwoFactorAuthenticationsController more (#3376) | Akihiko Odaki | |
2017-05-29 | Cover WellKnown::HostMetaController more (#3382) | Akihiko Odaki | |
2017-05-29 | Cover Settings::TwoFactorAuthentication::RecoveryCodesController more (#3383) | Akihiko Odaki | |
2017-05-29 | Spec Settings::Exports (#3384) | Akihiko Odaki | |
* 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. | |||
2017-05-29 | Cover WellKnown::WebfingerController more (#3385) | Akihiko Odaki | |
2017-05-29 | Cover Settings::TwoFactorAuthentication::ConfirmationsController more (#3386) | Akihiko Odaki | |
2017-05-29 | Cover Admin::PubSubHubHubController more (#3343) | Akihiko Odaki | |
2017-05-29 | Add preference setting for delete toot modal (#3368) | Atsushi Yamamoto | |
* 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 | |||
2017-05-26 | Go to root after login in single user mode (#3289) | Akinori MUSHA | |
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. | |||
2017-05-26 | Spec Admin::BaseController (#3328) | Akihiko Odaki | |
2017-05-25 | Cover TagsController more (#3306) | Akihiko Odaki | |
2017-05-23 | Cover HomeController more (#3258) | Akihiko Odaki | |