summaryrefslogtreecommitdiffstats
path: root/utils
Commit message (Collapse)AuthorAgeFilesLines
...
* Adding go vet from hack-a-thon (#5328)Corey Hulen2017-02-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | * Adding go vet to the api package * Adding go vet to app package * Adding go vet to manualtesting package * Adding go vet to the model package * Adding go vet to the store dir * Adding go vet to utils package * Adding missing dirs with go files * Fixing up makefile * Fixing up makefile * Removing root dir
* 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
|
* Implement APIv4 infrastructure (#5191)Joram Wilander2017-01-301-2/+4
| | | | | | * Implement APIv4 infrastructure * Update parameter requirement functions per feedback
* Add initial tests for urlencoded (#5178)Carlos Tadeu Panato Junior2017-01-251-0/+35
|
* add initial tests for utils/mail.go (#5176)Carlos Tadeu Panato Junior2017-01-241-0/+61
|
* Move permissions code into app package (#5146)Joram Wilander2017-01-231-1/+10
| | | | | | * Move permissions code into app package * Revert getPosts permission
* 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-183-0/+28
|
* Add inbucket docker image to allow local and automated testing of emails (#4901)Carlos Tadeu Panato Junior2017-01-171-0/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | * add docker container for inbucket * Add way to get the emails using inbucket and add a test for reset password * add config setting to send emails * update TestEmailTest update * add another test and fix wrong assert * update per review fix lint change senders email * Revert config.json to default values for EmailSettings section * update test * add setup to make the test run
* PLT-4938 Add app package and move logic over from api package (#4931)Joram Wilander2017-01-132-0/+28
| | | | | | | | | | * 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
* Don't sanitize company name out of license (#5001)Joram Wilander2017-01-091-1/+0
|
* PLT-5080 (Server): Channel-Admin level permissions (#4874)George Goldberg2016-12-221-0/+24
| | | | Adds permissions for manage/delete public/private channels at the Channel Admin level.
* Fix some typos in the English locale (fixes #4663) (#4793)Pierre Rudloff2016-12-212-2/+2
|
* PLT-4990 - Server: Split out channel permissions to Create/Manage/Delete (#4864)George Goldberg2016-12-212-10/+60
| | | | | | * 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-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
|