summaryrefslogtreecommitdiffstats
path: root/utils
Commit message (Collapse)AuthorAgeFilesLines
* PLT-4357 adding performance monitoring (#4622)Corey Hulen2016-11-222-0/+5
| | | | | | | | | | | | | | | | | | * 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-4618 Fix email subjects (#4537)enahum2016-11-141-5/+2
|
* PLT-4550 move webrtc to TE (#4440)enahum2016-11-042-5/+2
| | | | | | * PLT-4550 move webrtc to TE * remove webrtc from makefile enterprise tests
* PLT-4165 removing team name reserved words (#4289)Corey Hulen2016-10-212-2/+0
|
* PLT-3105 Files table migration (#4068)Harrison Healey2016-09-302-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implemented initial changes for files table * Removed *_benchmark_test.go files * Re-implemented GetPublicFile and added support for old path * Localization for files table * Moved file system code into utils package * Finished server-side changes and added initial upgrade script * Added getPostFiles api * Re-add Extension and HasPreviewImage fields to FileInfo * Removed unused translation * Fixed merge conflicts left over after permissions changes * Forced FileInfo.extension to be lower case * Changed FileUploadResponse to contain the FileInfos instead of FileIds * Fixed permissions on getFile* calls * Fixed notifications for file uploads * Added initial version of client code for files changes * Permanently added FileIds field to Post object and removed Post.HasFiles * Updated PostStore.Update to be usable in more circumstances * Re-added Filenames field and switched file migration to be entirely lazy-loaded * Increased max listener count for FileStore * Removed unused fileInfoCache * Moved file system code back into api * Removed duplicate test case * Fixed unit test running on ports other than 8065 * Renamed HasPermissionToPostContext to HasPermissionToChannelByPostContext * Refactored handleImages to make it more easily understandable * Renamed getPostFiles to getFileInfosForPost * Re-added pre-FileIds posts to analytics * Changed files to be saved as their ids as opposed to id/filename.ext * Renamed FileInfo.UserId to FileInfo.CreatorId * Fixed detection of language in CodePreview * Fixed switching between threads in the RHS not loading new files * Add serverside protection against a rare bug where the client sends the same file twice for a single post * Refactored the important parts of uploadFile api call into a function that can be called without a web context
* Fixing the console level debug statements (#4092)Corey Hulen2016-09-271-2/+8
|
* Modifications to rate limiting settings. (#4091)Christopher Speller2016-09-261-1/+1
|
* PLT-3412 WebRTC Server side & System Console (#3706)enahum2016-09-152-0/+5
| | | | | | | | | | * WebRTC Server side * WebRTC System Console * Consistency on variable names * Add turn and stun uri validation
* Modifying permissions system. (#3897)Christopher Speller2016-09-132-0/+87
|
* PLT-3753 Added Segment analytics (#3972)David Lu2016-09-062-11/+150
|
* 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
|
* 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