You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mastodon/spec
Rey Tucker 94f5c714f1 Don't delete periods when validating username uniqueness (#11392) (#11400)
* Check to make sure usernames with '.' cannot be created

* Add test for instance actor account name conflicts

This makes sure that migration 20190715164535_add_instance_actor
won't fail if there's already an account that is named the same
as the domain (minus the .)

* Put the test into the correct context...

* Add another test to split this into two validations

* Don't delete periods when validating username uniqueness (#11392)

The 20190715164535_add_instance_actor migration fails if there's
already a username similar to the domain name, e.g. if you are
'vulpine.club' and have a user named 'vulpineclub', validation
fails.

Upon further review, usernames with periods are dropped by the
regular expression in the Account class, so we don't need to
worry about it here.

Fixes #11392
6 years ago
..
controllers Change unconfirmed user login behaviour (#11375) 6 years ago
fabricators Remove WebSub subscriptions (#11303) 6 years ago
features Change unconfirmed user login behaviour (#11375) 6 years ago
fixtures Remove Salmon and PubSubHubbub (#11205) 6 years ago
helpers Remove Atom feeds and old URLs in the form of `GET /:username/updates/:id` (#11247) 6 years ago
lib Play animated custom emoji on hover (#11348) 6 years ago
mailers Add invite request to pending account notification e-mail (#10528) 6 years ago
models Don't delete periods when validating username uniqueness (#11392) (#11400) 6 years ago
policies Remove WebSub subscriptions (#11303) 6 years ago
presenters Admission-based registrations mode (#10250) 6 years ago
requests Refactor controllers for statuses, accounts, and more (#11249) 6 years ago
routing Move create/destroy actions for api/v1/statuses to namespace (#3678) 8 years ago
serializers/activitypub Fix account URI in UpdatePollSerializer (#11194) 6 years ago
services Remove WebSub subscriptions (#11303) 6 years ago
support Remove empty strings (#5732) 7 years ago
validators Fix “invited by” not showing up for invited accounts in admin interface (#10791) 6 years ago
views Remove Atom feeds and old URLs in the form of `GET /:username/updates/:id` (#11247) 6 years ago
workers Remove Salmon and PubSubHubbub (#11205) 6 years ago
rails_helper.rb Disable Same-Site cookie implementation to fix SSO issues on WebKit browsers (#9819) 6 years ago
spec_helper.rb Add ActivityPub actor representing the entire server (#11321) 6 years ago