Harshit Bansal
|
7d10cbc32b
|
Add RealmAlias.allow_subdomains to model, frontend, and API.
Includes a database migration.
Fixes #1868.
|
2017-02-08 22:03:27 -08:00 |
Rishi Gupta
|
a16c48f0c4
|
actions.py: Change do_remove_realm_alias to take a RealmAlias.
Ensures that this function doesn't throw an error / prevents putting in an
incorrect realm or domain argument.
|
2017-02-08 21:15:28 -08:00 |
Harshit Bansal
|
b4186fdfdd
|
views/realm_aliases.py: Use domain instead of id as handle for RealmAlias.
We need to make the change for the API, and the next commit introduces a
unique_together constraint on (realm, domain) anyway.
|
2017-01-26 17:24:25 -08:00 |
Harshit Bansal
|
06cc306d00
|
Add stricter domain validation and improve error messages.
|
2017-01-26 17:24:25 -08:00 |
Harshit Bansal
|
5b01694e00
|
actions.py: Rename do_get_realm_aliases to get_realm_aliases.
|
2017-01-26 17:24:25 -08:00 |
Harshit Bansal
|
ceb636dbd9
|
Manage allowed domains from admin settings.
Fixes: #1867.
|
2017-01-06 12:03:31 -08:00 |