* migrating get posts to sync by default
* flow control and style changes
* style changes, error checking
* pulling master down
* counting missed cache, not hit
* fixing bad conflict resolution
* forcing rebuild
* MM-15354: Migrate Channel.Save() to sync by default
* MM-15354: fix unchanged Channel().Save() methods
* fix typo
* fix nil reference bug and update tests for channels
* fix err shadowing bug
* MM-15354 fix support for sync version of Save
* response format changes
* Generated mocks
Fixed all references of Preferences.Save
* Remove old code from store.go (incorrect merge)
* Review change - Add validations on count and error
* Review change - return from root level
* Review change - return 0 as nil value for int
* fix initialisation of err in preference_store
* MM-15422: Adds new parameters for retrieving pages of channels and searching channels.
* MM-15422: Appends excluded channel names with defaults. Adds separate struct for data-tier option parameter.
* GH-10761: Migrate Post.Get to sync by default
* instantiate storeChannel with make
* fix go vet issue
* fix go vet issue
* use select for checking channel for value
* fix go vet shadow variable issue
* addressing review comments
* call post.Get() in goroutine
* refactor minor values to fix tests
* fix: remove err error type, it should be *model.AppErr
* Migrate Overwrite and GetMaxPostSize() in PostStore to sync by default
* GH-10762: fix return type for mock func
* GH-10762: fix tests for MaxPostSize() mocks
* fix imports
* MM-15162: Changes for LDAP groups removals phase.
* MM-14897: Changes to be able to add and remove groups from channels.
* Update model/client4.go
* MM-14897: PR-requested change to string interpolation.
* modify Get method in preference_store
* modify interface to match changes on preference store Get method
* modify variable initialization
* fix behavior on GetPreferenceByCategoryAndNameForUser
* Remove NotificationRegistry table and use structured logging
* Fix ackId for notification sent
* Notification logger at server level
* Remove unused i18n strings
* MM-14289 Add Push notification acknowledge identifier and store tracing logs
* MM-14884 include SenderName property in Push Notifications
* Remove @ sign from channel Name in push notifications
* Fix i18n
* Fix push notification model
* fix TestPostNotificationGetChannelName
* Remove colon from model constant
* Fix Notification Registry tests
* Make postId optional for clear notifications
* Update http status when service is not available
Co-Authored-By: enahum <nahumhbl@gmail.com>
* MM-14138: Adding new "VIEW_MEMBERS" permissions restrict the scope of users visibility
* Fixing gofmt
* Fixing broken tests
* Addressing PR review comments from Miguel de la Cruz
* Removed hack
* A bit nicer and cleaner code in the UserBelongsToChannels function
* Adding cluster cache invalidation for user team ids
* Checking in the correct order permissions to not leek existency information
* Adding restrictions to TeamMembers and User status requests
* Fixing tests
* Fixing status endpoint permissions checks
* Adding more tests
* Fixing tests
* More tests and making the restrictions query based only on joins
* Adding more tests
* Adding more tests
* fixing merge problems
* Reverting status changes to avoid performance issues
* Adding more tests
* Fixing test
* i18n extract
* Adding extra method for get restrictions for a team
* Add the new elasticsearch functions to search users with restrictions
* Add missing translation string
* Rename restrictedChannelIds to restrictedToChannels
* Remove ToDo
* Adding the permission to the SystemAdmin role during permissions migrations