summaryrefslogtreecommitdiffstats
path: root/model/license.go
Commit message (Collapse)AuthorAgeFilesLines
* MM-12505: remove all things WebRTC (#9700)Jesse Hallam2018-10-181-1/+1
|
* #MM-12130 changes for custom service terms (#9450)Harshil Sharma2018-09-261-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * #MM-12130 changes for custom service terms * Fixed styling * Added getServiceTerms API * removed unnecessary panic * removed custom service terms text from flat config * reverted user sql store as those changes are no longer needed * added tests * Updated a config key to be more standard * Added copyright info * Loading service terms only if the feature is enabled * Loading service terms only if the feature is enabled * removed unused index * added createservice termns API * made a param to bool instead of string * added createservice termns API * review fixes * fixed styling * Minor refactoring * removed saveConfig and loadConfig magic * added empty service terms text check to createServiceTerms API * refactoed some urls to be terms_of_service instead of service_terms * removed check for support settings * changed URLs in tests * removed unused code * fixed a bug * added service termd id in conif * fixed a test * review fixes * minor fixes * Fixed TestCreateServiceTerms
* [MM-10718] Move custom branding to TE (#8871)Saturnino Abril2018-06-021-6/+0
| | | | | * move custom branding to TE * move brand's enterprise code to server and remove BrandInterface
* Merge remote-tracking branch 'origin/master' into advanced-permissions-phase-2Martin Kraft2018-05-241-6/+0
|\
| * remove license check when enforcing password requirements (#8840)Saturnino Abril2018-05-231-6/+0
| | | | | | Signed-off-by: Saturnino Abril <saturnino.abril@gmail.com>
* | MM-10606: License feature flag for custom schemes. (#8804)George Goldberg2018-05-171-0/+6
|/ | | | | | * MM-10606: Add new field to license for custom schemes. * Add feature flag to license check for Schemes.
* Eliminate utils.SetLicense calls (#8217)Chris2018-02-071-0/+19
| | | | | | | | | | * eliminate utils.SetLicense calls * test fix * another test fix * more test fixes
* unnamed return (#8170)Chris2018-01-301-14/+5
|
* PLT-7503: Create Message Export Scheduled Task and CLI Command (#7612)Jonathan2017-11-301-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Created message export scheduled task * Added CLI command to immediately kick off an export job * Added email addresses for users joining and leaving the channel to the export * Added support for both MySQL and PostgreSQL * Fixing gofmt error * Added a new ChannelMemberHistory store and associated tests * Updating the ChannelMemberHistory channel as users create/join/leave channels * Added user email to the message export object so it can be included in the actiance export xml * Don't fail to log a leave event if a corresponding join event wasn't logged * Adding copyright notices * Adding message export settings to daily diagnostics report * Added System Console integration for message export * Cleaned up TODOs * Made batch size configurable * Added export from timestamp to CLI command * Made ChannelMemberHistory table updates best effort * Added a context-based timeout option to the message export CLI * Minor PR updates/improvements * Removed unnecessary fields from MessageExport object to reduce query overhead * Removed JSON functions from the message export query in an effort to optimize performance * Changed the way that channel member history queries and purges work to better account for edge cases * Fixing a test I missed with the last refactor * Added file copy functionality to file backend, improved config validation, added default config values * Fixed file copy tests * More concise use of the testing libraries * Fixed context leak error * Changed default export path to correctly place an 'export' directory under the 'data' directory * Can't delete records from a read replica * Fixed copy file tests * Start job workers when license is applied, if configured to do so * Suggestions from the PR * Moar unit tests * Fixed test imports
* simplify things (#7735)Chris2017-10-301-10/+2
|
* add model.NewX funcs for builtin types (#7692)Chris2017-10-231-36/+18
| | | | | | * add model.NewX funcs for builtin types * whoops, forgot to add the new file
* PLT-6558: Basic data retention job scheduler/worker implementation. (#7449)George Goldberg2017-09-151-0/+7
| | | | | | * PLT-7639: Batch delete methods for data retention. * PLT-6558: Basic data retention job worker/scheduler implementation.
* Model: NewLocAppError -> NewAppError (#7450)George Goldberg2017-09-151-3/+4
|
* Configs for themes in `Display Settings`: hide themes options, hide custom ↵David Meza2017-09-051-0/+6
| | | | | | | | | | | | | | themes, specific list of themes (#7173) * Add configuration to enable or disable choosing themes in Display Settings. Only for Licensed servers. * Add configuration to enable or disable choosing custom themes in Display Settings. Only for Licensed servers. * Add configuration to enable or disable a specific list of themes to choose in Display Settings. Only for Licensed servers. * Added config value and logic for "DefaultTheme" * Fix problem with undefined values when the server is not licensed
* System Console: Email notification content setting (#7122)Jonathan2017-08-061-27/+35
| | | | | | | | | | | | | | | | * PLT-7195: Added new config option, new license feature, and config UI to system console. Still need to implement behaviour change in email batching code * PLT-7195: Modified batch emails to respect email notification content type setting * PLT-7195: Tweaking the colours a bit * PLT-7195: Added support for email notification content type setting in immediate (non-batched) notification messages. Attempted to clean up the code somewhat. Unit tests coming in a future commit * PLT-7195: Added unit tests for non-batched emails * Checked license when applying email content settings * Changed return type of getFormattedPostTime
* PLT-6976: Elasticsearch capitalisation and tests. (#6839)George Goldberg2017-07-071-5/+5
| | | | | | | * Fixes Elasticsearch to have consistent capitalisation everywhere across the code and UI (except the config file unfortunately). * Adds basic unit tests for Elastichsearch. * Adds a Elasticsearch docker image to the Makefile to enable testing the Elasticsearch feature.
* PLT-3466 E10: Add announcement bar feature (#6509)Joram Wilander2017-06-051-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | * E10 - Add announcement bar feature * Updates per feedback * Add component tests and snapshots * Update snapshots * Updating color picker UI (#6543) * Add class to body tag when banner is not dismissable and clean up localstorage items when banner changes * Fixing links (#6544) * Updating UI for fixed error bar (#6552) * Truncating text on fixed banner (#6561) * Plt 3466 - Error bar link states (#6577) * Updating error bar hover state * Updating error bar link states
* PLT-6504: Add ElasticSearch feature to license. (#6339)George Goldberg2017-05-091-12/+19
|
* PLT-5860 Updated copyright date (#6058)Harrison Healey2017-04-121-1/+1
| | | | | | | | | | | | * PLT-5860 Updated copyright date in about modal * PLT-5860 Updated copyright notice in JSX files * PLT-5860 Updated copyright notice in go files * Fixed misc copyright dates * Fixed component snapshots
* Reload license from DB for all cluster app servers (#5525)Joram Wilander2017-02-281-0/+5
| | | | | | * Reload license from DB for all cluster app servers * Increase test timeout
* PLT-4357 adding performance monitoring (#4622)Corey Hulen2016-11-221-0/+7
| | | | | | | | | | | | | | | | | | * 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-6/+0
| | | | | | * PLT-4550 move webrtc to TE * remove webrtc from makefile enterprise tests
* Webrtc client side (#4026)enahum2016-09-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * WebRTC Server side * WebRTC client side * Bug fixes and improvements * Pushing UI improvements for webrtc (#3728) * Pushing UI improvements for webrtc * Updating webrtc css * PLT-3943 WebRTC P1: bug fixes and improvements * Video resolution set to std, reduce volume of ringtone and flip video horizontally * Fix calling a user B while WebRTC RHS is still opened * Leave RHS opened when call ends, Fix isBusy on popover and channel_header * Fix pre-release feature, RHS & System Console * PLT-3945 - Updating UI for webrtc (#3908) * PLT-3943 Webrtc p1 * Add ongoing call indicator when RHS is opened * UI updates to to webrtc notifcation (#3959)
* PLT-3412 WebRTC Server side & System Console (#3706)enahum2016-09-151-1/+8
| | | | | | | | | | * WebRTC Server side * WebRTC System Console * Consistency on variable names * Add turn and stun uri validation
* PLT-3753 Added Segment analytics (#3972)David Lu2016-09-061-0/+16
|
* Update licensing switches for Office365 and Google SSO through OAuth2 (#3786)Joram Wilander2016-08-111-8/+8
|
* PLT-2899 adding clustering of app servers (#3682)Corey Hulen2016-08-041-0/+6
| | | | | | | | | | | | | | | | | | * 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-3633 EE: Add Google and Office365 SSO through OAuth2 (#3660)Joram Wilander2016-07-291-1/+7
| | | | | | | | | | | | | | | | * 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-1465 Added password requirements (#3489)David Lu2016-07-061-9/+15
| | | | | | | | | | * Added password requirements * added tweaks * fixed error code * removed http.StatusNotAcceptable
* SAML support (#3494)enahum2016-07-051-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Port HPNS from 2.2 to master (#2863)Joram Wilander2016-05-031-11/+23
|
* Add custom branding functionality (#2667)Joram Wilander2016-04-111-5/+11
|
* Add MFA functionalityJoramWilander2016-03-301-0/+6
|
* PLT-2115 Adding compliance=Corey Hulen2016-03-151-3/+9
|
* Move license storage to databaseJoramWilander2016-02-041-0/+26
|
* Final updatesJoramWilander2016-01-141-3/+20
|
* Add some unit testsJoramWilander2016-01-141-1/+1
|
* Added license validation and settingsJoramWilander2016-01-141-0/+68