summaryrefslogtreecommitdiffstats
path: root/utils/config.go
Commit message (Collapse)AuthorAgeFilesLines
* Fixing race conditions in the code base (#5966)Corey Hulen2017-04-041-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Adding initial race detector * Remove setting of config twice * Fixing config file watch and config reload on license save * Fixing config file watch and config reload on license save * Fixing build error * Fixing locking issue * Fixing makefile * Fixing race in config * Fixing race in status unit test * Adding EE race tests * Fixing race in cluster info * Removing code that's isn't needed * Fixing some more races * Fixing govet issue
* PLT-5906 Set logs path instead log filename (#5949)enahum2017-04-041-2/+3
| | | | | | * PLT-5906 Set logs path instead log filename * feedback review
* Fixing config file watch and config reload on license save (#5954)Corey Hulen2017-04-041-5/+67
| | | | | | | | | | * Fixing config file watch and config reload on license save * Fixing config file watch and config reload on license save * Fixing build error * Fixing locking issue
* PLT-6139 (Server): Private Channel member managing (#5941)George Goldberg2017-04-031-0/+1
| | | | Adds an EE policy feature to allow restricting system-wide which level of Admins can manage the membership of private channels.
* PLT-6076 Read config file info from enviroment vars (#5873)Corey Hulen2017-03-291-17/+47
| | | | | | | | | | | | * Adding viper libs for config file changes * Removing the old fsnotify lib * updating some missing libs * PLT-6076 Read config file info from enviroment vars * Changing unit test to use less important props
* Add system console switch for enabling link previews (#5663)Joram Wilander2017-03-061-0/+1
|
* PLT-5548 Prevent server start if defaultLocate is not available (#5532)enahum2017-02-281-0/+27
| | | | | | * PLT-5548 Prevent server start if defaultLocate is not available * Add validation for supported locales
* PLT-5070: Server side component of Telemetry. (#5514)George Goldberg2017-02-241-1/+3
|
* Implement PUT /users/{user_id}/password endpoint for APIv4 (#5243)Joram Wilander2017-02-071-1/+1
|
* Improvments to typing messages (#5230)Christopher Speller2017-01-301-0/+4
|
* Migrate functions to app package (#5106)Joram Wilander2017-01-191-1/+1
| | | | | | | | | | | | | | | | | | * Refactor and move session logic into app package * Refactor email functions into the app package * Refactor password update into app package * Migrate user functions to app package * Move team functions into app package * Migrate channel functions into app package * Pass SiteURL through to app functions * Update based on feedback
* Message Editing and Deleting permissions (#4692)Amit Yadav2017-01-181-0/+3
|
* PLT-4938 Add app package and move logic over from api package (#4931)Joram Wilander2017-01-131-0/+10
| | | | | | | | | | * Add app package and move logic over from api package * Change app package functions to return errors * Move non-api tests into app package * Fix merge
* PLT-4990 - Server: Split out channel permissions to Create/Manage/Delete (#4864)George Goldberg2016-12-211-0/+4
| | | | | | * Server side changes. * Fix unit tests and default config.
* PLT-4767 Implement MFA Enforcement (#4662)Joram Wilander2016-12-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Create MFA setup page and remove MFA setup from account settings modal * Add enforce MFA to system console and force redirect * Lockdown mfa required API routes, add localization, other changes * Minor fixes * Fix typo * Fix some unit tests * Fix more unit tests * Minor fix * Updating UI for MFA screen (#4670) * Updating UI for MFA screen * Updating styles for MFA page * Add the ability to switch between email/sso with MFA enabled * Added mfa change email * Minor UI updates for MFA enforcement * Fix unit test * Fix client unit test * Allow switching email to ldap and back when MFA is enabled * Fix unit test * Revert config.json
* PLT-4357 adding performance monitoring (#4622)Corey Hulen2016-11-221-0/+4
| | | | | | | | | | | | | | | | | | * WIP * WIP * Adding metrics collection * updating vendor packages * Adding metrics to config * Adding admin console page for perf monitoring * Updating glide * switching to tylerb/graceful
* PLT-4550 move webrtc to TE (#4440)enahum2016-11-041-4/+2
| | | | | | * PLT-4550 move webrtc to TE * remove webrtc from makefile enterprise tests
* PLT-4165 removing team name reserved words (#4289)Corey Hulen2016-10-211-1/+0
|
* Fixing the console level debug statements (#4092)Corey Hulen2016-09-271-2/+8
|
* PLT-3412 WebRTC Server side & System Console (#3706)enahum2016-09-151-0/+4
| | | | | | | | | | * WebRTC Server side * WebRTC System Console * Consistency on variable names * Add turn and stun uri validation
* Modifying permissions system. (#3897)Christopher Speller2016-09-131-0/+6
|
* PLT-3753 Added Segment analytics (#3972)David Lu2016-09-061-0/+1
|
* Trim / from SiteURL before sending to client (#3966)Joram Wilander2016-09-061-1/+2
|
* PLT-4005 Generates default Salts if empty in the config file (#3950)enahum2016-09-061-0/+9
|
* PLT-4041 Make SAML FirstName and LastName optional (#3951)enahum2016-09-061-0/+3
|
* Making LDAP FirstName and LastName fields optional. (#3919)Christopher Speller2016-09-011-0/+2
|
* Fix load config panic errors to display message instead of id (#3855)enahum2016-08-221-2/+2
|
* PLT-3647 Email Batching (#3718)Harrison Healey2016-08-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PLT-3647 Added config settings for email batching * PLT-3647 Refactored generation of email notification * PLT-3647 Added serverside code for email batching * PLT-3647 Updated settings UI to enable email batching * PLT-3647 Removed debug code * PLT-3647 Fixed 0-padding of minutes in batched notification * PLT-3647 Updated clientside UI for when email batching is disabled * Go fmt * PLT-3647 Changed email batching to be disabled by default * Updated batched email message * Added email batching toggle to system console * Changed Email Notifications > Immediate setting to a 30 second batch interval * Go fmt * Fixed link to Mattermost icon in batched email notification * Updated users to use 30 second email batching by default * Fully disabled email batching when clustering is enabled * Fixed email batching setting in the system console * Fixed casing of 'Send Email notifications' -> 'Send email notifications' * Updating UI Improvements for email batching (#3736) * Updated text for notification settings and SiteURL. * Prevented enabling email batching when SiteURL isn't set in the system console * Re-added a couple debug messages * Added warning text when clustering is enabled
* PLT-3617 Switched public file links to use a sha256 hash (#3792)Harrison Healey2016-08-151-2/+2
| | | | | | * Changed FileSettings.PublicLinkSalt to be a pointer * Switched public file links to use a sha256 hash
* Update licensing switches for Office365 and Google SSO through OAuth2 (#3786)Joram Wilander2016-08-111-2/+2
|
* Changed autodetection of SiteURL (#3764)Harrison Healey2016-08-091-5/+1
| | | | | | * Changed autoconfiguration of SiteURL to be done on every request * Added SiteURL to system console
* PLT-2899 adding clustering of app servers (#3682)Corey Hulen2016-08-041-3/+8
| | | | | | | | | | | | | | | | | | * PLT-2899 adding clustering of app servers * PLT-2899 base framework * PLT-2899 HA backend * PLT-2899 Fixing config file * PLT-2899 adding config syncing * PLT-2899 set System console to readonly when clustering enabled. * PLT-2899 Fixing publish API * PLT-2899 fixing strings
* PLT-3408 Add SiteURL to config.json (#3692)Harrison Healey2016-08-021-1/+6
| | | | | | | | * PLT-3408 Changed serverside code to get the service's URL from config.json * PLT-3408 Changed most clientside code to use the SiteURL config setting instead of window.location * PLT-3408 Changed default SiteURL to be autodetected
* Added custom branding to login description (#3710)David Lu2016-08-021-0/+1
|
* PLT-3633 EE: Add Google and Office365 SSO through OAuth2 (#3660)Joram Wilander2016-07-291-1/+8
| | | | | | | | | | | | | | | | * EE: Add Google and Office365 SSO through OAuth2 * Add localization strings * Text tweaks for PLT-3633 * Added sign-up button for Office 365 * Updated some error messages and a bit of licensing * Updated sign-in method section in user settings to include Google and Office365 * Added more localization strings
* PLT-1866/PLT-3509 Added links to download the native apps (#3651)Harrison Healey2016-07-221-0/+4
| | | | | | | | | | | | * PLT-1866 Added configurable links for native app downloads * PLT-1866 Added native app download link to main menu * PLT-3509 Added native app link to tutorial * PLT-3509 Added native app link to welcome email * PLT-3509 Made link to apps in welcome email conditional on being set
* PLT-1465 Added password requirements (#3489)David Lu2016-07-061-0/+8
| | | | | | | | | | * Added password requirements * added tweaks * fixed error code * removed http.StatusNotAcceptable
* PLT-3346/PLT-3342/PLT-3360 EE: Add the ability to restrict channel ↵Joram Wilander2016-07-061-0/+2
| | | | | | | | management permissions (#3453) * EE: Add the ability to restrict channel management permissions * Always allow last user in a channel to delete that channel
* SAML support (#3494)enahum2016-07-051-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PLT-3073: Implement SAML/Okta Server side (EE) (#3422) * PLT-3137 Support for SAML configuration * PLT-3410 SAML Database Store * PLT-3411 CLI to add Identity Provider Certificate and Service Provider Private Key * PLT-3409 SAML Interface for EE * PLT-3139 Handle SAML authentication server side * Add localization messages * PLT-3443 SAML Obtain SP metadata * PLT-3142 Login & Switch to/from SAML * Remove Certs for Database & Clean SAML Request * Make required Username, FirstName and LastName * PLT-3140 Add SAML to System Console (#3476) * PLT-3140 Add SAML to System Console * Move web_client functions to client.jsx * Fix issues found by PM * update package.json mattermost driver * Fix text messages for SAML
* PLT-1316/PLT-3280 Change client-side max file size limit (#3354)Thomas Balthazar2016-07-051-0/+1
| | | | | | | | | * Change client-side max file size limit It now relies on the value set in config.json. Re-enable and tweak the max file size setting in system console. * Update file upload error message
* Sanitize personal information out of license for non system admin users (#3487)Joram Wilander2016-07-051-1/+0
|
* EE: Add the ability to restrict the user roles that can send team invites ↵Joram Wilander2016-06-291-0/+1
| | | | (#3442)
* Syncronization interval now set on config save. (#3421)Christopher Speller2016-06-281-0/+6
|
* Adding validation for LDAP settings to configuration (#3425)Christopher Speller2016-06-281-4/+2
|
* PLT-3364 Fix panic when load config failes (#3361)enahum2016-06-201-1/+0
|
* PLT-3143 Added serverside code for custom Emoji (#3311)Harrison Healey2016-06-141-0/+3
| | | | | | | | | | | | | | * Added model objects for emoji * Added database tables for emoji * Added settings for custom emoji * Added serverside APIs and unit tests for custom emoji * Added additional validation to catch duplicate emoji names earlier on * Added additional validation to prevent users from adding emoji as another user
* PLT-2406 Add "Database:" to Mattermost About Dialog (#3261)Thomas Balthazar2016-06-071-0/+1
| | | | | | | | | * Add "Database:" to Mattermost About Dialog The property has been named SQLDriverName to make a difference with the FileSettings DriverName. * Add missing string for 'Database' in i18n file
* PLT-3168 Hide EnableFormatting advanced setting unless testing is enabled ↵Harrison Healey2016-06-051-0/+1
| | | | | | | | (#3237) * Added EnableTesting to the client config * Hid EnableFormatting advanced setting unless testing is enabled
* PLT-1800 Load server side locale from the config.json (#3202)enahum2016-06-021-1/+2
| | | | | | | | | | | | * PLT-1800 Load server side locale from the config.json * Add support for locales with country specifics * Fix localization on served locale file as plain/text * Remove github.com/cloudfoundry/jibber_jabber as vendor dependency * Fix get locale on login_controller
* Revert "PLT-1800 Load server side locale from the config.json" (#3201)Christopher Speller2016-06-011-2/+1
|