summaryrefslogtreecommitdiffstats
path: root/utils
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* mail: allow PLAIN auth over non-tls connections (#3900)Girish Ramakrishnan2016-09-021-2/+5
| | | | | | | This allows mattermost to use a non-tls connection with a SMTP server that supports PLAIN auth (but not LOGIN). The go library explicitly allows PLAIN auth over non-tls connections - https://golang.org/src/net/smtp/auth.go#L55 Fixes #2929
* Making LDAP FirstName and LastName fields optional. (#3919)Christopher Speller2016-09-011-0/+2
|
* Fixing license (#3878)Corey Hulen2016-08-252-6/+12
| | | | | | | | * Fixing sanitize license * Fixing license * Fixing unit tests
* 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-162-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-112-4/+4
|
* 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-042-3/+9
| | | | | | | | | | | | | | | | | | * 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-292-1/+9
| | | | | | | | | | | | | | | | * 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
* EE: Don't enforce start date on licenses (#3645)Joram Wilander2016-07-202-3/+3
|
* PLT-3629 fix uploading certificates if the files in the config do not exists ↵enahum2016-07-201-0/+15
| | | | (#3634)
* PLT-1465 Added password requirements (#3489)David Lu2016-07-063-0/+73
| | | | | | | | | | * Added password requirements * added tweaks * fixed error code * removed http.StatusNotAcceptable
* PLT-3512 adding join/leave channel to the CLI (#3498)Corey Hulen2016-07-061-0/+1
| | | | | | | | | | | | | | * PLT-3512 adding join/leave channel to the CLI * PLT-3512 adding list channels to the CLI * PLT-3512 adding restore channel * Adding make run-cli command * Updating txt * Fixing txt purposed by PMs
* 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-052-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-052-1/+20
|
* PLT-3456 Fix Errors while starting the server (#3445)enahum2016-07-043-5/+11
| | | | | | * PLT-3456 AppErrors that are triggered before translations are loaded crash server or produce bad error messages. * Fixing tests
* 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-2971 Added email footer for address (#3319)David Lu2016-06-161-0/+7
| | | | | | | | | | * Added email footer for address * added default * Update html.go * Changed according to PM
* 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-2058 Debugging incoming web hook content (#3150)Martin Schenck2016-06-101-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PLT-2058 Debugging incoming web hook content This change debugs contents of incoming webhooks using l4g. The problem is that in order to debug the request body, it neads to be read. And a Reader can only be read once. Hence, the body is only read for Debugging if it is actually enabled. Furthermore, a new reader is created from the content of the old reader in order for the rest of the method to work as usual (with or without debugging). The debug statement is wrapped in a closure, so that the content is only copied if Debug is actually enabled. It is not possible to return `(string, string)` from the closure to `l4g.Debug()`. That is the reason the debugging is not done with `=%v`, but the translations strings end with a space. I tested the change with a `application/json` HTTP header as well as `payload=` The debug method is extracted into util/log.go in order to be re-usable for debugging `io.Reader` * Added a config flag to turn off incoming webhook debugging Setting `EnableWebhookDebugging` to false in the `config.json` will disable the printing of the content of incoming webhooks to the console * Defaulting webhook debugging to true * Added the setting of debugging incoming webhooks to the system console
* 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-023-14/+22
| | | | | | | | | | | | * 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-013-22/+14
|
* PLT-1800 Load server side locale from the config.json (#3135)enahum2016-06-013-14/+22
| | | | | | | | | | * 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
* Added duplicated trigger validation (#3124)David Lu2016-05-272-0/+51
|
* Revert "PLT-1800 Load server side locale from the config.json" (#3133)Christopher Speller2016-05-273-23/+14
|
* PLT-1800 Load server side locale from the config.json (#3092)enahum2016-05-273-14/+23
| | | | | | | | * 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
* Revert "PLT-1800 Load server side locale from the config.json (#3076)"Christopher Speller2016-05-243-23/+14
| | | | This reverts commit 34beaa569bfb32f1607375f1d5a22859322060d2.
* PLT-1800 Load server side locale from the config.json (#3076)enahum2016-05-243-14/+23
| | | | | | * PLT-1800 Load server side locale from the config.json * Add support for locales with country specifics
* Adding enterprise build hash to about dialog (#3058)Christopher Speller2016-05-201-0/+1
|
* PLT-2664 Split out push notifications from email notifications (#3049)Joram Wilander2016-05-191-0/+1
| | | | | | | | * Split out push and email notification logic, always send push notifications on mention * Add user setting to control push notifications * Minor changeto simplify code
* Removing looking for config in /tmp/ (#3055)Christopher Speller2016-05-191-5/+1
|
* PLT-2972 Fix config Desanitaze (#3018)enahum2016-05-171-1/+1
|
* PLT-2797 Remove LDAP Password Field Name setting (#2884)enahum2016-05-051-1/+0
|
* PLT-2707 Adding option to show DM list from all of server (#2871)Corey Hulen2016-05-041-0/+1
| | | | | | * PLT-2707 Adding option to show DM list from all of server * Fixing loc
* Sanitize sensitive data of out config file for the system console (#2849)Joram Wilander2016-05-031-0/+38
|
* Port HPNS from 2.2 to master (#2863)Joram Wilander2016-05-031-0/+1
|
* Fixing LDAP editing of attributes (#2824)Christopher Speller2016-05-021-0/+1
|