From 234958e0076655efd8a58ea4502edce3226418ed Mon Sep 17 00:00:00 2001 From: S4KH Date: Fri, 21 Oct 2016 20:36:13 +0800 Subject: HW 4139: Make channel limits configurable in the System Console (#4154) * Auto Changes * 4139 Made channel limits configurable in the System Console as described in the issue * Removed error message entries from other locales, made maxChannelsPerteam type to pointer * Added * symbol to maxChannelsPerTeam inside isValid function * Update team_test.go * Restored to old test * Checked maximum number channels per team when creating channel * Fixed code to pass api/channel_test.go * Reverted changes on config except MaxChannelsPerTeam * Update channel.go * Ran gofmt -w . * Reverted vendor directoy --- config/config.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'config/config.json') diff --git a/config/config.json b/config/config.json index bbdb8d160..02e300897 100644 --- a/config/config.json +++ b/config/config.json @@ -51,7 +51,8 @@ "RestrictTeamInvite": "all", "RestrictPublicChannelManagement": "all", "RestrictPrivateChannelManagement": "all", - "UserStatusAwayTimeout": 300 + "UserStatusAwayTimeout": 300, + "MaxChannelsPerTeam": 2000 }, "SqlSettings": { "DriverName": "mysql", -- cgit v1.2.3-1-g7c22