Files
zulip/static/js/feature_flags.js
Tim Abbott fcec80461b Remove the SSO-only realm integration.
It's messy code, only one customer ever used it, and it's not in use
today.

(imported from commit af3f512ac6af74af66c588c7d40d699e98514d0a)
2015-09-19 21:54:51 -07:00

47 lines
1.4 KiB
JavaScript

var feature_flags = (function () {
var exports = {};
// Helpers
var og_zuliper_emails = [];
// Voyager-related flags
exports.do_not_share_the_love = page_params.voyager;
// Manually-flipped debugging flags
exports.log_send_times = false;
exports.collect_send_times = false;
exports.use_socket = true;
exports.local_echo = true;
// Permanent realm-specific stuff:
exports.disable_message_editing = _.contains(['mit.edu'], page_params.domain);
exports.is_og_zulip_user = _.contains(og_zuliper_emails, page_params.email);
exports.left_side_userlist = _.contains(['customer7.invalid'], page_params.domain);
// Experimental modification to support much wider message views.
exports.full_width = false;
// Beta rewrite of the Bot UI; probably worth finishing and deploying
exports.new_bot_ui = false;
// Experimental feature to not fade messages that differ only in
// topic; was not a successful experiment so can be deleted.
exports.fade_at_stream_granularity = false;
// The features below have all settled into their final states and can
// be removed when we get a chance
exports.cleanup_before_reload = true;
exports.fade_users_when_composing = true;
exports.mark_read_at_bottom = true;
exports.propagate_topic_edits = true;
exports.clicking_notification_causes_narrow = true;
exports.negated_search = true;
exports.collapsible = false;
exports.dropbox_integration = false;
return exports;
}());