summaryrefslogtreecommitdiffstats
path: root/mattermost.go
Commit message (Collapse)AuthorAgeFilesLines
* Prevent system_admin role mistake (#4405)Christopher Speller2016-11-011-2/+11
|
* Flush log and exit after CLI Slack Import. (#4286)George Goldberg2016-10-201-0/+2
| | | | | Some log messages were previously being lost at the very end of the Slack import via CLI process, due to not flushing the logs after completing.
* Merging performance branch into master (#4268)Joram Wilander2016-10-191-1/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * improve performance on sendNotifications * Fix SQL queries * Remove get direct profiles, not needed anymore * Add raw data to error details if AppError fails to decode * men * Fix decode (#4052) * Fixing json decode * Adding unit test * Initial work for client scaling (#4051) * Begin adding paging to profiles API * Added more paging functionality * Finish hooking up admin console user lists * Add API for searching users and add searching to all user lists * Add lazy loading of profiles * Revert config.json * Fix unit tests and some style issues * Add GetProfilesFromList to Go driver and fix web unit test * Update etag for GetProfiles * Updating ui for filters and pagination (#4044) * Updating UI for pagination * Adjusting margins for filter row * Adjusting margin for specific modals * Adding relative padding to system console * Adjusting responsive view * Update client user tests * Minor fixes for direct messages modal (#4056) * Remove some unneeded initial load calls (#4057) * UX updates to user lists, added smart counts and bug fixes (#4059) * Improved getExplicitMentions and unit tests (#4064) * Refactor getting posts to lazy load profiles correctly (#4062) * Comment out SetActiveChannel test (#4066) * Profiler cpu, block, and memory profiler. (#4081) * Fix TestSetActiveChannel unit test (#4071) * Fixing build failure caused by dependancies updating (#4076) * Adding profiler * Fix admin_team_member_dropdown eslint errors * Bumping session cache size (#4077) * Bumping session cache size * Bumping status cache * Refactor how the client handles channel members to be large team friendly (#4106) * Refactor how the client handles channel members to be large team friendly * Change Id to ChannelId in ChannelStats model * Updated getChannelMember and getProfilesByIds routes to match proposal * Performance improvements (#4100) * Performance improvements * Fixing re-connect issue * Fixing error message * Some other minor perf tweaks * Some other minor perf tweaks * Fixing config file * Fixing buffer size * Fixing web socket send message * adding some error logging * fix getMe to be user required * Fix websocket event for new user * Fixing shutting down * Reverting web socket changes * Fixing logging lvl * Adding caching to GetMember * Adding some logging * Fixing caching * Fixing caching invalidate * Fixing direct message caching * Fixing caching * Fixing caching * Remove GetDirectProfiles from initial load * Adding logging and fixing websocket client * Adding back caching from bad merge. * Explicitly close go driver requests (#4162) * Refactored how the client handles team members to be more large team friendly (#4159) * Refactor getProfilesForDirectMessageList API into getAllProfiles API * Refactored how the client handles team members to be more large team friendly * Fix js error when receiving a notification * Fix JS error caused by current user being overwritten with sanitized version (#4165) * Adding error message to status failure (#4167) * Fix a few bugs caused by client scaling refactoring (#4170) * When there is no read replica, don't open a second set of connections to the master database (#4173) * Adding connection tacking to stats (#4174) * Reduce DB writes for statuses and other status related changes (#4175) * Fix bug preventing opening of DM channels from more modal (#4181) * Fixing socket timing error (#4183) * Fixing ping/pong handler * Fixing socket timing error * Commenting out status broadcasting * Removing user status changes * Removing user status changes * Removing user status changes * Removing user status changes * Adding DoPreComputeJson() * Performance improvements (#4194) * * Fix System Console Analytics queries * Add db.SetConnMaxLifetime to 15 minutes * Add "net/http/pprof" for profiling * Add FreeOSMemory() to manually release memory on reload config * Add flag to enable http profiler * Fix memory leak (#4197) * Fix memory leak * removed unneeded nil assignment * Fixing go routine leak (#4208) * Merge fixes * Merge fix * Refactored statuses to be queried by the client rather than broadcast by the server (#4212) * Refactored server code to reduce status broadcasts and to allow getting statuses by IDs * Refactor client code to periodically fetch statuses * Add store unit test for getting statuses by ids * Fix status unit test * Add getStatusesByIds REST API and move the client over to use that instead of the WebSocket * Adding multiple threads to websocket hub (#4230) * Adding multiple threads to websocket hub * Fixing unit tests * Fixing so websocket connections from the same user end up in the same… (#4240) * Fixing so websocket connections from the same user end up in the same list * Removing old comment * Refactor user autocomplete to query the server (#4239) * Add API for autocompleting users * Converted at mention autocomplete to query server * Converted user search autocomplete to query server * Switch autocomplete API naming to use term instead of username * Split autocomplete API into two, one for channels and for teams * Fix copy/paste error * Some final client scaling fixes (#4246) * Add lazy loading of profiles to integration pages * Add lazy loading of profiles to emoji page * Fix JS error when receiving post in select team menu and also clean up channel store
* changed user diagnostic naming (#4086)David Lu2016-09-261-3/+3
|
* Add Slack Import functionality to CLI. (#4080)George Goldberg2016-09-231-2/+58
| | | | | | * Add Slack Import functionality to CLI. * Remove pointless line.
* PLT-4157 CLI to make a user active or inactive (#4025)enahum2016-09-151-1/+42
|
* Modifying permissions system. (#3897)Christopher Speller2016-09-131-0/+1
|
* PLT-3753 Added Segment analytics (#3972)David Lu2016-09-061-0/+41
|
* PLT-3766 Change LDAP references to AD/LDAP in the UI (#3925)Jason Blais2016-09-061-2/+2
|
* PLT-3695 refactoring to use sql_upgrader (#3788)Corey Hulen2016-08-241-337/+1
| | | | | | | | | | | | | | | | | | | | * PLT-3695 unitying upgrade support * PLT-3695 refactoring to use sql_upgrader * Fixing unit test * Adding 3.3 to 3.4 * Fixing upgrading * Seperating DB schema from version.go * Fixing upgrade cmd * Moving to const for exit codes * remving old unused code
* EE: PLT-3747 Add create_channel to command line (#3760)enahum2016-08-121-6/+103
| | | | | | | | * PLT-3747 Add create_channel command line * Added tests * Set as EE feature
* PLT-2899 adding clustering of app servers (#3682)Corey Hulen2016-08-041-0/+8
| | | | | | | | | | | | | | | | | | * 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-17/+4
| | | | | | | | * 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
* Adding migration support to LDAP from other account types (#3655)Christopher Speller2016-07-261-0/+53
|
* Restricting visibility of detailed_error message (#3629)Christopher Speller2016-07-191-0/+5
|
* Moving javascript driver back to platform (#3613)Christopher Speller2016-07-191-14/+6
|
* PLT-2241 Refactored statuses into a more real-time system (#3573)Joram Wilander2016-07-181-1/+9
| | | | | | | | | | * Refactored statuses into a more real-time system * Updated package.json with correct commit and fixed minor bug * Minor updates to statuses based on feedback * When setting status online, update only LastActivityAt if status already exists
* PLT-2863 adding remove user from team (#3429)Corey Hulen2016-07-061-1/+51
| | | | | | | | | | | | | | * PLT-2863 adding remove user from team * PLT-2863 adding the client side UI * Fixing trailing space * Fixing reported issues * Adding documentatino * Switching to final javascript driver
* PLT-3512 adding join/leave channel to the CLI (#3498)Corey Hulen2016-07-061-2/+268
| | | | | | | | | | | | | | * 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
* Fix connection leaks in push notifications, diagnostics and oauth (#3469)Joram Wilander2016-07-061-0/+2
|
* PLT-3456 Fix Errors while starting the server (#3445)enahum2016-07-041-1/+1
| | | | | | * PLT-3456 AppErrors that are triggered before translations are loaded crash server or produce bad error messages. * Fixing tests
* Syncronization interval now set on config save. (#3421)Christopher Speller2016-06-281-4/+0
|
* Adding validation for LDAP settings to configuration (#3425)Christopher Speller2016-06-281-2/+2
|
* PLT-3364 Fix panic when load config failes (#3361)enahum2016-06-201-2/+3
|
* Merge branch 'release-3.1'JoramWilander2016-06-131-0/+1
|\ | | | | | | | | Conflicts: webapp/components/create_comment.jsx
| * Adding DB schema version to CLI (#3315)Corey Hulen2016-06-131-0/+1
| |
* | CLI: invite user by email - missing siteURL in email (#3297)Thomas Balthazar2016-06-101-9/+25
|/
* Add invite_user command to CLI help text (#3229)Joram Wilander2016-06-051-6/+11
|
* PLT-3019 adding headless upgrade params (#3222)Corey Hulen2016-06-031-27/+42
| | | | | | * PLT-3019 adding headless upgrade params * removing WIP
* Adding LDAP Syncronization (#3219)Christopher Speller2016-06-031-74/+98
|
* PLT-1800 Load server side locale from the config.json (#3202)enahum2016-06-021-1/+1
| | | | | | | | | | | | * 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-011-1/+1
|
* PLT-1800 Load server side locale from the config.json (#3135)enahum2016-06-011-1/+1
| | | | | | | | | | * 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
* PLT-2063: Add CLI option to invite user by email (#3148)Khoa Lê2016-05-311-0/+44
| | | | | | * PLT-2063: Add CLI option to invite user by email * fixed problem about gofmt
* Merge branch 'release-3.0'JoramWilander2016-05-271-1/+21
|\
| * PLT-3063 fix upgrade when user is a team admin (#3127)Corey Hulen2016-05-271-1/+21
| |
* | Fixing javascript tests on build server (#3138)Christopher Speller2016-05-271-2/+2
| |
* | Revert "PLT-1800 Load server side locale from the config.json" (#3133)Christopher Speller2016-05-271-1/+1
| |
* | PLT-1800 Load server side locale from the config.json (#3092)enahum2016-05-271-1/+1
| | | | | | | | | | | | | | | | * 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
* | Moving tests to javascript client (#3108)Christopher Speller2016-05-261-8/+28
| |
* | fixed type speical -> special (#3052)rompic2016-05-251-4/+4
| |
* | Revert "PLT-1800 Load server side locale from the config.json (#3076)"Christopher Speller2016-05-241-1/+1
| | | | | | | | This reverts commit 34beaa569bfb32f1607375f1d5a22859322060d2.
* | PLT-1800 Load server side locale from the config.json (#3076)enahum2016-05-241-1/+1
| | | | | | | | | | | | * 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-1/+1
| |
* | Move away from the "andForget" style of function (#3046)Thomas Balthazar2016-05-181-75/+73
| | | | | | | | | | This is the second and last part of the refactoring. First part is documented here: https://github.com/mattermost/platform/pull/3043
* | Cleaning up make test-client. Adding to build. (#2984)Christopher Speller2016-05-131-0/+41
|/
* PLT-2905 fixing upgrade of SSO accounts (#2962)Corey Hulen2016-05-111-5/+30
| | | | | | * PLT-2905 fixing upgrade of SSO accounts * Fixing multiple Auths mapped to different emails
* PLT-2697 Fixing team admins (#2900)Corey Hulen2016-05-061-1/+1
| | | | | | | | | | | | * PLT-2697 Fixing team admins * Fixing eslint error * Fixing loc issues * Fixing func * Fixing func
* Removing panics on config and license loading errors. Nice error messages ↵Christopher Speller2016-05-021-3/+15
| | | | instead. (#2829)
* PLT-2687 sending email on upgrade and moving profile pic to new location (#2808)Corey Hulen2016-04-281-5/+58
| | | | | | | | | | | | | | | | | | | | | | * Fixing CLI and adding unit tests * Adding the upgrade_db_30 to the help text * Adding the upgrade_db_30 to the help text * Adding the upgrade_db_30 to the help text * Fixing CLI tests * PLT-2687 sending email on upgrade and moving profile pic to new location * Fixing img move * Fixing moving of profile image * making upgrade email localizable * Fixing email template