summaryrefslogtreecommitdiffstats
path: root/store/sql_channel_store.go
Commit message (Collapse)AuthorAgeFilesLines
* Renaming repoChristopher Speller2017-09-061-3/+3
|
* Update IsUniqueConstraint to check error codes instead of message text (#7385)Joram Wilander2017-09-061-3/+3
|
* Add error codes to SqlChannelStore errors. (#7364)George Goldberg2017-09-041-59/+58
|
* set to default value with config is missing (#7320)Saturnino Abril2017-08-301-4/+4
|
* Fixing race in update channel (#7269)Corey Hulen2017-08-221-1/+1
| | | | | | * Fixing race in update channel * Switching to struct copy
* PLT-7092 Fixed creation of PostList with null Posts fields (#6924)Harrison Healey2017-07-131-1/+1
|
* Stage 1 of caching layer. Framework (#6693)Christopher Speller2017-06-271-2/+2
|
* PLT-6341/PLT-6342 Update gorp to mattermost fork and add connection timeout ↵Joram Wilander2017-05-291-1/+1
| | | | | | | | | | | | setting (#6410) * Update gorp to mattermost fork and add connection timeout setting * Add go dependency * Rename from connection timeout to query timeout * Properly add gorp dependency
* PLT-6019: Add APIv4 Endpoint for restoring Channels (#6263)Robin Naundorf2017-05-151-0/+4
|
* Add API Endpoint for deleted Channels (#5889)Robin Naundorf2017-05-091-0/+25
|
* 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
* Add store unit tests and add make target for testing store with postgres (#5925)Joram Wilander2017-04-031-52/+0
| | | | | | | | * Add store unit tests and add make target for testing store with postgres * Remove postgres target form test-server target * Fix audit test
* APIv4 post /channels/ids (#5845)Saturnino Abril2017-03-271-0/+50
| | | | | | * APIv4 post /channels/ids * updated enpoint as /teams/{team_id}/channels/ids
* Implement some channel endpoints for APIv4 (#5767)Joram Wilander2017-03-161-0/+35
|
* Implement GET and POST /hooks/outgoing endpoints for APIv4 (#5645)Joram Wilander2017-03-131-2/+2
|
* add update channel endpoint for APIv4 (#5624)Carlos Tadeu Panato Junior2017-03-131-2/+1
|
* Endpoint for APIv4: GET /team/{team_id}/channels (#5681)Saturnino Abril2017-03-131-0/+34
|
* Add pinned posts (#4217)Gabin Aureche2017-03-131-0/+26
|
* PLT-3077 Add group messaging (#5489)Joram Wilander2017-03-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implement server changes for group messaging * Majority of client-side implementation * Some server updates * Added new React multiselect component * Fix style issues * Add custom renderer for options * Fix model test * Update ENTER functionality for multiselect control * Remove buttons from multiselect UI control * Updating group messaging UI (#5524) * Move filter controls up a component level * Scroll with arrow keys * Updating mobile layout for multiselect (#5534) * Fix race condition when backspacing quickly * Hidden or new GMs show up for regular messages * Add overriding of number remaining text * Add UI filtering for team if config setting set * Add icon to channel switcher and class prop to status icon * Minor updates per feedback * Improving group messaging UI (#5563) * UX changes per feedback * Update email for group messages * UI fixes for group messaging (#5587) * Fix missing localization string * Add maximum users message when adding members to GM * Fix input clearing on Android * Updating group messaging UI (#5603) * Updating UI for group messaging (#5604)
* Revert "Adding caching to get channel member (#5518)"Christopher Speller2017-02-271-33/+1
| | | | This reverts commit ba028ed74b69bd1dd902344663fbf8ba4f1dfb87.
* PLT-5070: Server side component of Telemetry. (#5514)George Goldberg2017-02-241-0/+27
|
* Adding caching to get channel member (#5518)Christopher Speller2017-02-241-1/+33
|
* PLT-3193 Add channel notification preferences for push and email noti… (#5500)enahum2017-02-231-0/+68
| | | | | | | | | | | | | | | | * PLT-3193 Add channel notification preferences for push and email notifications * unit tests, model validation and localization * Feedback review * Adding back allowFromCache check * Setting push and email to use default settings * Move props as constants * address feedback
* Implement create and get incoming webhook endpoints for APIv4 (#5407)Joram Wilander2017-02-211-1/+1
| | | | | | | | * Implement POST /hooks/incoming endpoint for APIv4 * Implement GET /hooks/incoming endpoint for APIv4 * Updates per feedback
* Bumping base cache numbers for master (#5451)Corey Hulen2017-02-171-7/+6
|
* Implement a few channel member endpoints for APIv4 (#5304)Joram Wilander2017-02-071-5/+5
| | | | | | | | | | * Implement GET /channels/{channel_id}/members * Implement GET /channels/{channel_id}/members/{user_id} endpoint for APIv4 * Implement /users/{user_id}/teams/{team_id}/channels/members endpoint for APIv4 * Fix unit test
* Add tear down to APIv4 tests (#5250)Joram Wilander2017-02-021-0/+35
| | | | | | * Add tear down to APIv4 tests * Defer tear downs
* Implement POST /channels endpoint for APIv4 (#5241)Joram Wilander2017-02-021-2/+3
|
* Merge 3.6.2 into master (#5211)Joram Wilander2017-01-271-5/+29
| | | | | | | | | | * Add webhook cache * Add channel by name cache * Fxing profiles in channels cache * Fix merge
* PLT-4378 Slack import when channel name is deleted (#4649)George Goldberg2017-01-251-0/+25
| | | | | This fixes the issue where the channel fails to Import from Slack if there is already a channel with the same name on Mattermost that has been deleted.
* Migrate functions to app package (#5106)Joram Wilander2017-01-191-2/+2
| | | | | | | | | | | | | | | | | | * 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
* Fix error from quote in channel autocomplete (#5092)Joram Wilander2017-01-171-1/+1
|
* Fixing should send event removing extra go channel creation (#4942)Corey Hulen2017-01-031-0/+21
|
* Adding memcache to getchannel (#4928)Christopher Speller2017-01-031-5/+36
|
* PLT-5073 Improve performance of /channels/view endpoint (#4881)Joram Wilander2016-12-231-6/+19
| | | | | | * Improve performance of /channels/view endpoint * Fix store unit test
* API for getting channel members by IDs. (#4877)George Goldberg2016-12-221-0/+35
|
* Adding metrics for caching mechanisms (#4828)Christopher Speller2016-12-191-0/+33
|
* PLT-3736 Fixed duplicated create_direct api calls not returning the ↵Harrison Healey2016-12-091-1/+1
| | | | | | | | existing channel (#4745) * Fixed duplicated create_direct api calls not returning the existing channel * Added unit tests for duplicated create_direct api calls
* PLT-4853 Adding cache purging to the server (server) (#4735)Corey Hulen2016-12-081-0/+5
| | | | | | * PLT-4853 Adding caching invalidation to HA * PLT-4853 Adding cach purging to the server
* Improving command line interface (#4689)Christopher Speller2016-12-061-1/+16
|
* PLT-4822 fixing max channels per team (#4675)Corey Hulen2016-11-301-1/+1
|
* PLT-4403 Add server-based channel autocomplete, search and paging (#4585)Joram Wilander2016-11-241-3/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | * Add more channel paging API * Add channel paging support to client * Add DB channel search functions * Add API for searching more channels * Add more channel search functionality to client * Add API for autocompleting channels * Add channel autocomplete functionality to the client * Move to be deprecated APIs to their own file * Final clean-up * Fixes related to feedback * Localization changes * Add unit as suffix to timeout constants
* PLT-4429 disabling at_all at_channel metions mentions when channel has more ↵Corey Hulen2016-11-241-7/+29
| | | | | | | | | | | | than 1k users (#4627) * PLT-4429 disabling explicit mentions when channel has more than 1k users * Fixing test case * Adding setting to the admin console * Fixing bad translation
* PLT-4665 Fix Max Channels limit wrong count (#4512)enahum2016-11-101-0/+26
|
* Increase Channel Purpose length to 250, and add channel field length ↵Christopher Speller2016-11-041-1/+1
| | | | | | | | | | | | | | | | handling code to the slack importer (#4458) * Increase Channel Purpose length to 250. This commit increases the maxmimum length of the channel purpose field to 250, including the database migration necessary. It also adds a method to the Slack importer to check the lengths of channel properties before importing, and truncate them if necessary. Fixes #4168 * Fix database migration.
* Fix channel autocomplete and fix channel member query to ignore deleted ↵Joram Wilander2016-10-281-0/+1
| | | | channels (#4371)
* Fix members being loaded before channel members and DM headers (#4369)Joram Wilander2016-10-281-1/+1
|
* PLT-4430 improve slow channel switching (#4331)enahum2016-10-271-16/+39
| | | | | | | | | | * PLT-4430 improve slow channel switching * Update client side unit tests * Convert getChannelsUnread to getMyChannelMembers and address other feedback * Pull channel members on websocket reconnect
* Add database indexes to timestamp columns (#4314)enahum2016-10-241-0/+3
| | | | | | * Add database indexes to timestamp columns * add indexes to session table
* Merging performance branch into master (#4268)Joram Wilander2016-10-191-52/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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