Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-03-27 | Fix UniqueUsernameValidator comparison (#6926) | Eugen Rochko | |
Comparison was downcasing only one side, therefore if previously existing account had a non-lowercase spelling, it would be ignored when checking for duplicates. New rake task `mastodon:maintenance:find_duplicate_usernames` will help find constraint violations that might have occured from the presence of this bug. Bump version to 2.3.3 | |||
2017-11-16 | Fix AccountFinderConcern::AccountFinder#with_usernames (#5722) | ysksn | |
2017-06-01 | Handle nil and blank cases in Account finders (#3500) | Matt Jankowski | |
2017-05-31 | Expand spec coverage and refactor the `Account.find_` methods (#3485) | Matt Jankowski | |
* 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 |