summaryrefslogtreecommitdiffstats
path: root/utils/license.go
Commit message (Collapse)AuthorAgeFilesLines
* [MM-10718] Move custom branding to TE (#8871)Saturnino Abril2018-06-021-1/+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-1/+0
|\
| * remove license check when enforcing password requirements (#8840)Saturnino Abril2018-05-231-1/+0
| | | | | | Signed-off-by: Saturnino Abril <saturnino.abril@gmail.com>
* | MM-10606: License feature flag for custom schemes. (#8804)George Goldberg2018-05-171-0/+1
|/ | | | | | * MM-10606: Add new field to license for custom schemes. * Add feature flag to license check for Schemes.
* Structured logging (#8673)Christopher Speller2018-04-271-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implementing structured logging * Changes to en.json to allow refactor to run. * Fixing global logger * Structured logger initalization. * Add caller. * Do some log redirection. * Auto refactor * Cleaning up l4g reference and removing dependancy. * Removing junk. * Copyright headers. * Fixing tests * Revert "Changes to en.json to allow refactor to run." This reverts commit fd8249e99bcad0231e6ea65cd77c32aae9a54026. * Fixing some auto refactor strangeness and typo. * Making keys more human readable.
* Fix various segfaults when running `go test` manually (#8448)Jesse Hallam2018-03-211-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | * failing to find i18n shouldn't segfault The server was trying to handle the fact that it couldn't find the i18n directory, by emitting a translated log message... * fix utils.FindDir The attempts to find the directory in the parent or grandparent directory don't work if the current working directory was inside `enterprise`, with `enterprise` itself being a symlink as per the usual developer setup. Recurse to the root of the filesystem, cleaning the path along the way to work around this limitation (and allow tests to be run from an arbitrarily deep nesting level.) Fix corresponding usages to employ filepath.Join. * failing to find html templates shouldn't segfault * fail fast if the test user cannot be created * rework utils.FindDir to retain backwards compatibility
* Remove license globals entirely (#8229)Chris2018-02-091-132/+3
| | | | | | | | * remove license globals entirely * fix infinite recursion * test fix
* Finally remove utils.Cfg (#8113)Chris2018-01-171-2/+2
| | | | | | | | * finally remove utils.Cfg * fix compile error * another test compilation fix
* Remove utils.ClientCfg and utils.ClientCfgHash (#8041)Chris2018-01-051-2/+17
| | | | | | * remove utils.ClientCfg and utils.ClientCfgHash * remove unused import
* PLT-7503: Create Message Export Scheduled Task and CLI Command (#7612)Jonathan2017-11-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* PLT-7668: Elasticsearch & DataRetention in client license. (#7548)George Goldberg2017-10-031-0/+2
|
* Renaming repoChristopher Speller2017-09-061-1/+1
|
* PLT-6226 Fixing races with licensing (#7213)Corey Hulen2017-08-161-22/+61
| | | | | | | | | | * PLT-6226 Fixing races with licensing * Fixing build issue * Fixing licensing issue * removing commented code
* System Console: Email notification content setting (#7122)Jonathan2017-08-061-0/+1
| | | | | | | | | | | | | | | | * 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-3466 E10: Add announcement bar feature (#6509)Joram Wilander2017-06-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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-6471 Properly panic when translations can't be loaded (#6414)Harrison Healey2017-05-231-1/+2
| | | | | | | | | | * PLT-6471 Properly panic when translations can't be loaded * Print usage messages when errors occur during CLI initialization * Reverted behaviour of FindDir and added second return value to it * Fixed merge conflict
* PLT-6408 Framework for job server (#6404)Harrison Healey2017-05-181-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added initial job server * Added job server to be ran as part of platform * Added test job to the enterprise repo * Fixed job server not loading license * Renamed job package to jobs * Fixed TE not being buildable * Added JobStatus table to database * Changed fields used by JobStatus * Added APIs to query job status * Added config change listener to server * Added option to run job server from Makefile * Added ability to enable/disable jobs from config * Commented out placeholder for search indexing job * Fixed govet * Removed debug messages and fixed job api init message
* 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
* PLT-6090 adding ability to read license file from disk (#5895)Corey Hulen2017-03-311-0/+27
| | | | | | | | * PLT-6090 adding ability to read license file from disk * Fixing unit test that fails only sometimes * Fixing test that fails randomly
* PLT-5703 Update license expiry timing and text (#5602)Joram Wilander2017-03-061-0/+2
| | | | | | * Update license expiry timing and text * Updating error bar (#5632)
* Don't sanitize company name out of license (#5001)Joram Wilander2017-01-091-1/+0
|
* PLT-4357 adding performance monitoring (#4622)Corey Hulen2016-11-221-0/+1
| | | | | | | | | | | | | | | | | | * 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-1/+0
| | | | | | * PLT-4550 move webrtc to TE * remove webrtc from makefile enterprise tests
* PLT-3412 WebRTC Server side & System Console (#3706)enahum2016-09-151-0/+1
| | | | | | | | | | * WebRTC Server side * WebRTC System Console * Consistency on variable names * Add turn and stun uri validation
* Fixing license (#3878)Corey Hulen2016-08-251-3/+9
| | | | | | | | * Fixing sanitize license * Fixing license * Fixing unit tests
* Update licensing switches for Office365 and Google SSO through OAuth2 (#3786)Joram Wilander2016-08-111-2/+2
|
* PLT-2899 adding clustering of app servers (#3682)Corey Hulen2016-08-041-0/+1
| | | | | | | | | | | | | | | | | | * 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-0/+1
| | | | | | | | | | | | | | | | * 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
* EE: Don't enforce start date on licenses (#3645)Joram Wilander2016-07-201-1/+1
|
* PLT-1465 Added password requirements (#3489)David Lu2016-07-061-0/+1
| | | | | | | | | | * Added password requirements * added tweaks * fixed error code * removed http.StatusNotAcceptable
* SAML support (#3494)enahum2016-07-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Sanitize personal information out of license for non system admin users (#3487)Joram Wilander2016-07-051-0/+20
|
* Port HPNS from 2.2 to master (#2863)Joram Wilander2016-05-031-0/+1
|
* PLT-2057 User as a first class object (#2648)Corey Hulen2016-04-211-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Adding TeamMember to system * Fixing all unit tests on the backend * Fixing merge conflicts * Fixing merge conflict * Adding javascript unit tests * Adding TeamMember to system * Fixing all unit tests on the backend * Fixing merge conflicts * Fixing merge conflict * Adding javascript unit tests * Adding client side unit test * Cleaning up the clint side tests * Fixing msg * Adding more client side unit tests * Adding more using tests * Adding last bit of client side unit tests and adding make cmd * Fixing bad merge * Fixing libraries * Updating to new client side API * Fixing borken unit test * Fixing unit tests * ugg...trying to beat gofmt * ugg...trying to beat gofmt * Cleaning up remainder of the server side routes * Adding inital load api * Increased coverage of webhook unit tests (#2660) * Adding loading ... to root html * Fixing bad merge * Removing explicit content type so superagent will guess corectly (#2685) * Fixing merge and unit tests * Adding create team UI * Fixing signup flows * Adding LDAP unit tests and enterprise unit test helper (#2702) * Add the ability to reset MFA from the commandline (#2706) * Fixing compliance unit tests * Fixing client side tests * Adding open server to system console * Moving websocket connection * Fixing unit test * Fixing unit tests * Fixing unit tests * Adding nickname and more LDAP unit tests (#2717) * Adding join open teams * Cleaning up all TODOs in the code * Fixing web sockets * Removing unused webockets file * PLT-2533 Add the ability to reset a user's MFA from the system console (#2715) * Add the ability to reset a user's MFA from the system console * Add client side unit test for adminResetMfa * Reorganizing authentication to fix LDAP error message (#2723) * Fixing failing unit test * Initial upgrade db code * Adding upgrade script * Fixing upgrade script after running on core * Update OAuth and Claim routes to work with user model changes (#2739) * Fixing perminant deletion. Adding ability to delete all user and the entire database (#2740) * Fixing team invite ldap login call (#2741) * Fixing bluebar and some img stuff * Fix all the different file upload web utils (#2743) * Fixing invalid session redirect (#2744) * Redirect on bad channel name (#2746) * Fixing a bunch of issue and removing dead code * Patch to fix error message on leave channel (#2747) * Setting EnableOpenServer to false by default * Fixing config * Fixing upgrade * Fixing reported bugs * Bug fixes for PLT-2057 * PLT-2563 Redo password recovery to use a database table (#2745) * Redo password recovery to use a database table * Update reset password audits * Split out admin and user reset password APIs to be separate * Delete password recovery when user is permanently deleted * Consolidate password resetting into a single function * Removed private channels as an option for outgoing webhooks (#2752) * PLT-2577/PLT-2552 Fixes for backstage (#2753) * Added URL to incoming webhook list * Fixed client functions for adding/removing integrations * Disallowed slash commands without trigger words * Fixed clientside handling of errors on AddCommand page * Minor auth cleanup (#2758) * Changed EditPostModal to just close if you save without making any changes (#2759) * Renamed client -> Client in async_client.jsx and fixed eslint warnings (#2756) * Fixed url in channel info modal (#2755) * Fixing reported issues * Moving to version 3 of the apis * Fixing command unit tests (#2760) * Adding team admins * Fixing DM issue * Fixing eslint error * Properly set EditPostModal's originalText state in all cases (#2762) * Update client config check to assume features is defined if server is licensed (#2772) * Fixing url link * Fixing issue with websocket crashing when sending messages to different teams
* Only add Enterprise features to client config if enabled by license (#2768)Joram Wilander2016-04-211-0/+2
|
* Update client license etag to handle new features (#2716)Joram Wilander2016-04-151-0/+12
|
* Add custom branding functionality (#2667)Joram Wilander2016-04-111-0/+1
|
* Add MFA functionalityJoramWilander2016-03-301-0/+1
|
* PLT-2115 Adding compliance=Corey Hulen2016-03-151-0/+1
|
* Convering client to react-router.Christopher Speller2016-03-141-1/+1
|
* Show filename for license settings, add locJoramWilander2016-03-091-8/+7
|
* Move license storage to databaseJoramWilander2016-02-041-33/+4
|
* PLT-7: Refactoring manuatesting & utils to use translations (chunk 5)Elias Nahum2016-01-251-7/+7
| | | | | - Add spanish translations - Skip tests
* Add create_at back to profile fields to fix analyticsJoramWilander2016-01-221-1/+2
|
* Fix old l4g referencesJoramWilander2016-01-141-1/+1
|
* Final updatesJoramWilander2016-01-141-16/+21
|
* Added license validation and settingsJoramWilander2016-01-141-0/+152