summaryrefslogtreecommitdiffstats
path: root/store/storetest/channel_store.go
Commit message (Collapse)AuthorAgeFilesLines
* MM-8796: Full implementation of "Schemes" in Store/Model/App layers. (#8357)George Goldberg2018-04-201-0/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add Scheme model and stub store. * Port ChannelStore to be Scheme aware. * Make almost all the API/APP layer work with ChannelSchemes. Only thing still hacky is UpdateChannelMemberRoles(). * Add basic SchemeStore implementation. * Migrate UpdateChannelMemberRoles properly and fix tests. * Update store tests and mocks so they work. * Include creating default roles in Scheme create store function. * Implement role deletion and start scheme deletion. * Only use non-deleted roles for authorization. * Add GetByScheme method to Team store. * Add GetChannelsByScheme. * Update store mocks. * Implement scheme deletion in the store. * Rename is valid function. * Add offset and limit to queries to fetch teams and channels by scheme. * Fix queries. * Implement scheme awareness in Team store and add a migration. * Tidy up ChannelStore mapping functions and add exhaustive unit tests. * Add all missing i18n. * Proper tests for TeamStore internal functions and fix them. * Make additional TeamMember fields nullable. * Make new ChannelMember fields nullable. * Create new nullable columns without defaults. * Make new fields in large tables nullalble. * Fix empty list of TeamMembers. * Deduplicate SQL queries. * Fix spelling. * Fix review comment. * More review fixes. * More review fixes.
* Fixing misspell errors (#8544)Jesús Espino2018-03-291-2/+2
|
* Remove query to update channel extra_update_at field on user ↵Joram Wilander2018-03-091-49/+0
| | | | activation/deactivation (#8415)
* ABC-79: Optimize channel autocomplete query (#8163)Chris2018-01-311-102/+95
| | | | | | * optimize channel autocomplete query * move to new autocomplete endpoint
* PLT-8312: Use combined LIKE/Full Text search for channels. (#8029)George Goldberg2018-01-051-13/+64
| | | | | | | | | | * 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/+54
| | | | | | | | | | | | to, it doesn't render properly (#7833) * add channel link hints to post props * optimization * update regex, add unit test * fix rebase issue
* PLT-6071/PLT-8004 Fixed not being able to autocomplete 'Town Square' (#7746)Harrison Healey2017-10-311-0/+20
|
* [PLT-7364] Ability to Direct Message yourself (#7696)Carlos Tadeu Panato Junior2017-10-261-0/+15
| | | | | | * [PLT-7364] Ability to Direct Message yourself * [PLT-7364] add tests
* refactor max users per team (#7691)Chris2017-10-201-17/+17
|
* refactor max channels per team enforcement (#7690)Chris2017-10-201-75/+92
|
* [PLT-7764] Fix in:channel search when channel name/displayname includes `-` ↵Saturnino Abril2017-10-111-0/+120
| | | | | | | | | | (#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/storetest package (#7588)Chris2017-10-061-0/+1967
* prerequisites * storetest package