mirror of https://github.com/zulip/zulip.git
777fcaa6a0
Adds a new field org_type to Realm. Defaults for restricted_to_domain and invite_required are now controlled by org_type at time of realm creation (see zerver.lib.actions.do_create_realm), rather than at the database level. Note that the backend defaults are all org_type=corporate, since that matches the current assumptions in the codebase, whereas the frontend default is org_type=community, since if a user isn't sure they probably want community. Since we will likely in the future enable/disable various administrative features based on whether an organization is corporate or community, we discuss those issues in the realm creation form. Before we actually implement any such features, we'll want to make sure users understand what type of organization they are a member of. Choice of org_type (via radio button) has been added to the realm creation flow and the realm creation management command, and the open-realm option removed. The database defaults have not been changed, which allows our testing code to work unchanged. [includes some HTML/CSS work by Brock Whittaker to make it look nice] |
||
---|---|---|
.. | ||
0001_initial.py | ||
0002_django_1_8.py | ||
0003_custom_indexes.py | ||
0004_userprofile_left_side_userlist.py | ||
0005_auto_20150920_1340.py | ||
0006_zerver_userprofile_email_upper_idx.py | ||
0007_userprofile_is_bot_active_indexes.py | ||
0008_preregistrationuser_upper_email_idx.py | ||
0009_add_missing_migrations.py | ||
0010_delete_streamcolor.py | ||
0011_remove_guardian.py | ||
0012_remove_appledevicetoken.py | ||
0013_realmemoji.py | ||
0014_realm_emoji_url_length.py | ||
0015_attachment.py | ||
0016_realm_create_stream_by_admins_only.py | ||
0017_userprofile_bot_type.py | ||
0018_realm_emoji_message.py | ||
0019_preregistrationuser_realm_creation.py | ||
0020_add_tracking_attachment.py | ||
0021_migrate_attachment_data.py | ||
0022_subscription_pin_to_top.py | ||
0023_userprofile_default_language.py | ||
0024_realm_allow_message_editing.py | ||
0025_realm_message_content_edit_limit.py | ||
0026_delete_mituser.py | ||
0027_realm_default_language.py | ||
0028_userprofile_tos_version.py | ||
0029_realm_subdomain.py | ||
0030_realm_org_type.py | ||
__init__.py |