summaryrefslogtreecommitdiffstats
path: root/store/sqlstore/channel_store.go
Commit message (Collapse)AuthorAgeFilesLines
* Structured logging (#8673)Christopher Speller2018-04-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Fixing misspell errors (#8544)Jesús Espino2018-03-291-2/+2
|
* Remove the index on Channels.DisplayName. (#8530)Jesse Hallam2018-03-281-1/+0
| | | | | | | As outlined in [this discussion](https://pre-release.mattermost.com/core/pl/uw5bwmkb6irkbkn6pk9rkzpytr), this index causes issues with MySQL's query planner, leading to full table scans in a case where it would have made more sense to leverage a filesort.
* Remove query to update channel extra_update_at field on user ↵Joram Wilander2018-03-091-13/+0
| | | | activation/deactivation (#8415)
* MM-9664 Add invalidation metrics for store caches (#8340)Joram Wilander2018-03-051-12/+35
| | | | | | | | * Add invalidation metrics for store caches * Increment session invalidation metric * Fix tests
* Simplification of a Channel Members query. (#8345)George Goldberg2018-02-281-3/+3
|
* make channel autocomplete sort case-insensitive (#8176)Chris2018-01-311-1/+1
|
* ABC-79: Optimize channel autocomplete query (#8163)Chris2018-01-311-47/+105
| | | | | | * optimize channel autocomplete query * move to new autocomplete endpoint
* PLT-8312: Use combined LIKE/Full Text search for channels. (#8029)George Goldberg2018-01-051-7/+57
| | | | | | | | | | * PLT-8312: Use combined LIKE/Full Text search for channels. * Code tidyup * Get it working consistently and update unit tests. * Fix code style.
* PLT-5458: If someone posts a channel link to channel_A that you don't belong ↵Chris2017-11-281-0/+59
| | | | | | | | | | | | to, it doesn't render properly (#7833) * add channel link hints to post props * optimization * update regex, add unit test * fix rebase issue
* Role refactor (#7867)Chris2017-11-211-2/+2
| | | | | | | | * role refactor * add missing file * fix web test
* PLT-6071/PLT-8004 Fixed not being able to autocomplete 'Town Square' (#7746)Harrison Healey2017-10-311-1/+1
|
* Remove unused variables / code (#7736)Chris2017-10-301-5/+0
| | | | | | * remove unused variables / code * fix bug in testPostStoreGetOldest
* [PLT-7364] Ability to Direct Message yourself (#7696)Carlos Tadeu Panato Junior2017-10-261-1/+4
| | | | | | * [PLT-7364] Ability to Direct Message yourself * [PLT-7364] add tests
* refactor max channels per team enforcement (#7690)Chris2017-10-201-6/+6
|
* [PLT-7764] Fix in:channel search when channel name/displayname includes `-` ↵Saturnino Abril2017-10-111-28/+15
| | | | | | | | | | (#7603) * fix in:channel search when channel name/displayname includes `-` * fix failing test in PostgreSQL * add lowercase indexes of channel's name and displayname to postgresql, and add unit tests
* store/sqlstore cleanup and postgres tests (#7595)Chris2017-10-091-4/+4
| | | | | | | | | | * sqlstore cleanup / postgres tests * remove stopped containers * cmd/platform compile fix * remove test-postgres target from makefile
* reduce store boiler plate (#7585)Chris2017-10-061-462/+87
|
* PLT-7404 Return viewed at times in view channel API response (#7428)Joram Wilander2017-09-291-25/+55
| | | | | | | | * Return viewed at times in view channel API response * Updated transaction to read and write once * Remove transaction and only update if new value greater than older
* PLT-7207: Change from fulltext to LIKE search for user filtering (#7343)George Goldberg2017-09-271-1/+1
| | | | | | | | | | | | * PLT-7202: Switch user search to LIKE queries to avoid fulltext pitfalls. * Add 2 char name unit test. * Escape underscores properly. * Add more tests and fix * handling. * Make search/indexes case insensitive for postgres.
* Move sql store code into store/sqlstore package (#7502)Chris2017-09-251-0/+1664
* move sql store code into store/sqlstore package * move non-sql constants back up to store * fix api test * derp