zulip/zerver/views
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
..
webhooks Add Pipeline Hook event handling to gitlab integration. 2016-10-02 09:35:07 -07:00
__init__.py Add new organization type field to Realm objects. 2016-10-05 17:01:46 -07:00
alert_words.py Remove rest_dispatch hack and optimize imports. 2016-06-24 16:11:03 -07:00
integrations.py Add option for hosting each realm on its own subdomain. 2016-09-27 23:24:14 -07:00
messages.py Extract zerver/lib/message.py. 2016-10-04 11:31:20 -07:00
pointer.py Remove extra new lines at the ends of Zulip authoried files. 2016-09-26 21:05:24 -07:00
presence.py Remove json/get_active_statuses endpoint. 2016-09-27 14:33:56 -07:00
push_notifications.py push notifications: Fix very minor quirk when adding tokens. 2016-09-15 06:40:18 -07:00
realm.py Add realm-level default language setting. 2016-08-09 17:38:29 -07:00
realm_emoji.py Remove rest_dispatch hack and optimize imports. 2016-06-24 16:11:03 -07:00
report.py Use universal_newlines=True in subprocess.check_output. 2016-07-26 12:06:41 -07:00
streams.py Replace legacy endpoint for renaming a stream and add tests. 2016-10-02 20:33:49 -07:00
tutorial.py Remove extra new lines at the ends of Zulip authoried files. 2016-09-26 21:05:24 -07:00
upload.py Url encoded name of the file should be an ascii. 2016-09-26 21:13:34 -07:00
user_settings.py Move i18n functions from zerver/views/__init__.py to zerver/lib/i18n.py 2016-08-09 16:10:24 -07:00
users.py Remove unused code path in avatar() endpoint. 2016-07-12 17:37:02 -07:00
zephyr.py Move webathena views to its own file. 2016-08-18 18:26:49 -07:00