zulip/zerver/migrations
Rishi Gupta 777fcaa6a0 Add new organization type field to Realm objects.
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]
2016-10-05 17:01:46 -07:00
..
0001_initial.py zerver/migrations: Squash an AlterField from 0002 into 0001. 2016-07-06 11:40:12 -07:00
0002_django_1_8.py zerver/migrations: Squash an AlterField from 0002 into 0001. 2016-07-06 11:40:12 -07:00
0003_custom_indexes.py
0004_userprofile_left_side_userlist.py
0005_auto_20150920_1340.py
0006_zerver_userprofile_email_upper_idx.py Add case-insensitive index on UserProfile.email. 2016-01-09 20:01:37 -08:00
0007_userprofile_is_bot_active_indexes.py Add UserProfile indexes on is_active and is_bot. 2016-01-09 20:01:37 -08:00
0008_preregistrationuser_upper_email_idx.py Add case-insensitive index on PreregistrationUser.email. 2016-01-09 20:01:37 -08:00
0009_add_missing_migrations.py Add missing migrations present in models.py. 2016-01-26 20:38:46 -08:00
0010_delete_streamcolor.py Delete unused old StreamColor model. 2016-04-08 13:06:04 -07:00
0011_remove_guardian.py Annotate zerver.migrations. 2016-06-28 16:38:33 -07:00
0012_remove_appledevicetoken.py Remove obsolete AppleDeviceToken model. 2016-04-20 21:51:52 -07:00
0013_realmemoji.py Replace bytes by strings in zerver migrations 2, 13, 18. 2016-07-04 12:08:37 -07:00
0014_realm_emoji_url_length.py Increase maximum URL length for RealmEmoji to 1000. 2016-05-02 19:02:56 -07:00
0015_attachment.py Add Attachment model to keep track of uploads. 2016-05-02 22:14:47 -07:00
0016_realm_create_stream_by_admins_only.py Add setting to only allow admins create new streams. 2016-05-18 18:53:13 -07:00
0017_userprofile_bot_type.py Add bot_type field to UserProfile. 2016-05-19 22:37:37 -07:00
0018_realm_emoji_message.py Replace bytes by strings in zerver migrations 2, 13, 18. 2016-07-04 12:08:37 -07:00
0019_preregistrationuser_realm_creation.py Add interface for creating new realms. 2016-06-17 16:15:28 -07:00
0020_add_tracking_attachment.py Modify Attachment model to track file access permissions. 2016-06-23 17:46:16 -07:00
0021_migrate_attachment_data.py Annotate zerver.migrations. 2016-06-28 16:38:33 -07:00
0022_subscription_pin_to_top.py Add ability to pin streams to top of the streams sidebar list. 2016-06-30 22:26:09 -07:00
0023_userprofile_default_language.py Change all default values in models to unicode. 2016-07-11 21:30:32 -07:00
0024_realm_allow_message_editing.py Add realm setting to disable message editing. 2016-07-10 11:57:24 -07:00
0025_realm_message_content_edit_limit.py Add realm setting to time-limit editing of message content. 2016-07-15 13:55:49 -07:00
0026_delete_mituser.py Remove old MitUser model and related code. 2016-07-26 20:30:12 -07:00
0027_realm_default_language.py Add realm-level default language setting. 2016-08-09 17:38:29 -07:00
0028_userprofile_tos_version.py Terms of Service: Fix corner cases around new users being created. 2016-08-13 00:19:54 -07:00
0029_realm_subdomain.py Add option for hosting each realm on its own subdomain. 2016-09-27 23:24:14 -07:00
0030_realm_org_type.py Add new organization type field to Realm objects. 2016-10-05 17:01:46 -07:00
__init__.py