2013-08-01 17:59:23 +02:00
|
|
|
var feature_flags = (function () {
|
|
|
|
|
|
|
|
var exports = {};
|
|
|
|
|
2013-09-19 16:51:11 +02:00
|
|
|
exports.mark_read_at_bottom = true;
|
|
|
|
exports.summarize_read_while_narrowed = true;
|
|
|
|
|
2013-08-09 18:02:03 +02:00
|
|
|
exports.twenty_four_hour_time = _.contains([],
|
|
|
|
page_params.email);
|
2013-08-10 04:42:53 +02:00
|
|
|
exports.dropbox_integration = page_params.staging || _.contains(['dropbox.com'], page_params.domain);
|
2013-09-09 19:09:28 +02:00
|
|
|
exports.email_forwarding = true;
|
2013-08-15 18:31:53 +02:00
|
|
|
|
|
|
|
exports.mandatory_topics = _.contains([
|
|
|
|
'customer7.invalid'
|
|
|
|
],
|
|
|
|
page_params.domain
|
|
|
|
);
|
|
|
|
|
2013-08-23 22:25:37 +02:00
|
|
|
exports.collapsible = page_params.staging;
|
2013-08-23 01:04:34 +02:00
|
|
|
|
2013-09-04 20:30:33 +02:00
|
|
|
exports.propagate_topic_edits = page_params.staging ||
|
|
|
|
_.contains(['customer7.invalid'], page_params.domain);
|
|
|
|
|
2013-09-07 04:22:18 +02:00
|
|
|
exports.fade_users_when_composing = page_params.staging;
|
2013-09-03 15:16:00 +02:00
|
|
|
|
2013-09-20 20:18:43 +02:00
|
|
|
exports.alert_words =
|
|
|
|
_.contains(['reddit.com', 'mit.edu', 'zulip.com'], page_params.domain);
|
2013-09-03 15:16:00 +02:00
|
|
|
|
2013-09-09 20:24:21 +02:00
|
|
|
exports.muting = page_params.staging;
|
|
|
|
|
2013-09-12 22:02:55 +02:00
|
|
|
exports.left_side_userlist = page_params.staging ||
|
|
|
|
_.contains(['customer7.invalid'], page_params.domain);
|
|
|
|
|
2013-08-01 17:59:23 +02:00
|
|
|
return exports;
|
|
|
|
|
|
|
|
}());
|