- Jun 06, 2017
-
-
unarist authored
-
unarist authored
* Sort results by the name * Switch search method to simple `LIKE` matching instead of tsvector/tsquery Previously we used scores from ts_rank_cd() to sort results, but it didn't work because the function returns same score for all results. It's not for calculate similarity of single words. Sometimes this bug even push out exact matching tag from results. Additionally, PostgreSQL supports prefix searching with standard btree index. Using it offers simpler code, but also less index size and some speed.
-
Yamagishi Kazutoshi authored
* Add quotes ESLint rule * Add jsx-quotes ESlint rule * Sort ESLint rules
-
- Jun 05, 2017
-
-
Matt Jankowski authored
* Add a StatusFilter class to identify visibility of statuses by accounts * Extract StatusThreadingConcern from Status * Clarify purpose of checking for nil account
-
Daigo 3 Dango authored
* 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
-
Yamagishi Kazutoshi authored
-
Yamagishi Kazutoshi authored
-
René Klačan authored
Closes https://github.com/tootsuite/mastodon/issues/3102
-
- Jun 04, 2017
-
-
Eugen Rochko authored
* Added support for configurable reserved usernames * Added reserved usernames from mastodon issue 1355 * Fix reserved usernames
-
Akihiko Odaki (@fn_aki@pawoo.net) authored
-
Akihiko Odaki (@fn_aki@pawoo.net) authored
-
Akihiko Odaki (@fn_aki@pawoo.net) authored
* Do not fall back to StreamEntry if object_type is unavailable in TagManager Since 6d6a429a, when Status, the only model with stream_entry, and StreamEntry got its own logic in uri_for and url_for, the purpose of the fallbacks to activity_type of StreamEntry became unclear. This commit removes the fallbacks. When adding another model with stream_entry in future, consider to update uri_for and url_for. * Cover TagManager more
-
Akihiko Odaki (@fn_aki@pawoo.net) authored
-
Akihiko Odaki (@fn_aki@pawoo.net) authored
-
Akihiko Odaki (@fn_aki@pawoo.net) authored
* Do not default the format in ProviderDiscovery The format should be determined when discovering, as it is in the current implementation, and it is a flaw if it is not determined. * Spec ProviderDiscovery
-
Akihiko Odaki (@fn_aki@pawoo.net) authored
* Remove some arguments of Formatter.instance.format * Improve spec for Formatter
-
Akihiko Odaki (@fn_aki@pawoo.net) authored
-
Akihiko Odaki (@fn_aki@pawoo.net) authored
-
- Jun 03, 2017
-
-
Akihiko Odaki (@fn_aki@pawoo.net) authored
* Remove redundant status.reply? in AtomSerializer#object * Cover AtomSerializer more
-
Yamagishi Kazutoshi authored
-
- Jun 01, 2017
-
-
Akihiko Odaki (@fn_aki@pawoo.net) authored
Remove protect_from_forgery in ApiController, which is disabled by the following skip_before_action, as well.
-
Yamagishi Kazutoshi authored
- Upgrade dependencies - chai (3.5.0 -> 4.0.1) - chai-enzyme (0.6.1 -> 0.7.1) - sinon (2.2.0 -> 2.3.2) - Change extensions from .jsx to .js - Don't assign `React` to `global` - Check code format using ESLint
-
Yamagishi Kazutoshi authored
-
Matt Jankowski authored
* Add failing specs for hashtag and username extraction in language detector * Remove usernames and hashtags from text before language detection * Handle multiple instances of special case, and reduce whitespace
-
Matt Jankowski authored
-
- May 31, 2017
-
-
Matt Jankowski authored
-
Matt Jankowski authored
-
Matt Jankowski authored
-
Matt Jankowski authored
-
Matt Jankowski authored
-
Matt Jankowski authored
-
Matt Jankowski authored
* Move specs for account finder methods to concern spec * Move account finder methods to concern * Improve spec wording * Use more explicit comparison to ensure correct return value * Add coverage for .find_local! and .find_remote! * Add some methods to the finder * Use arel on matching_username method * Avoid ternary in matching domain method * Simplify finder methods * Use an AccountFinder class to simplify lookup
-
Matt Jankowski authored
-
Matt Jankowski authored
-
Yamagishi Kazutoshi authored
-
Yamagishi Kazutoshi authored
* Keep ENV['LOCAL_HTTPS'] with ApplicationControllerSpec (fix random fail) * use climate_control
-
Matt Jankowski authored
-
Matt Jankowski authored
-
- May 30, 2017
-
-
Jack Jennings authored
* Add status destroy authorization to policy * Create explicit unreblog status authorization
-
Matt Jankowski authored
* Add StreamEntryFinder class to parse URLs * Use StreamEntryFinder and clean up api/oembed controller
-