* GH-11085 Migrate Team.GetAllTeamPageListing to Sync by default
* GH-11085 review fixes
* GH-11085 rename data to teams
* GH-11085 revert i18n changes
* Team.UpdateMember is sync by default
* Fix go vet: declaration of err shadows declaration at line 261
* Fix shadowing variables
* fix undefined err
* fix shadowing variables
* Migrate Team.GetActiveMembersCount to Sync by default
* Requested change
* Requested change
* Fix merge
* Added a new key to i18n: store.sql_team.get_active_member_count.app_error
* [MM-16173] Migrate Team.AnalyticsTeamCount to Sync by default #11126
+ Modified team_store.AnalyticsTeamCount to return (int64, *model.AppError) instead of store.StoreChannel.
+ Updated the mock store to reflect new return value.
+ Updated referencing code to handle new sync return value.
* Fix shadowing of the err
* Fix the empty line between related code
* Fix team count call to be an explicit async.
* Added error logging to diagnostics.go
* Fix gofmt in file
* Migrate "Post.GetPostsSince" to Sync by default #10976
* Update GetPostsSince to Sync by default #10976
* Update GetPostsSince to Sync by default #10976
* Update GetPostsSince to Sync by default #10976
* MM-15841: migrate post save to sync by default #10987
* MM-15841: remove variable shadowing #10987
* MM-15841: log error on post save #10987
* MM-15841: nil check post save errors #10987
* MM-15841: update error message on post save #10987
* MM-15841: add nil check on post save in user store test #10987
* [MM-15797] Migrate Session.Remove to Sync by default
* Remove unnecessary channel logic and simplify
* Refactor code to be more consistent with code base
* Rename variable to avoid shadow declaration
* Add missing checks in tests
* Regenerate the mocks
* Run gofmt over code
+ GetTotalMemberCount returns (int64, *model.AppError) now instead of StoreChannel.
+ Updated store mock.
+ Updated code that referenced GetTotalMemberCount to handle the sync result.
* MM-15302: Migrate `Preference.Delete` to Sync by default #10715
* MM-15302: Migrate `Preference.Delete` to Sync by default #10715
* regenerate store mocks
* fix shadow var
Adds an exported const string that can be used by plugins to signal a client that the incoming post should be dismissed, instead of the current behavior which just leaves it pending.
* Change the implementation of GetAll() in `preference_store.go` to return an
object from `model` and a *model.AppError.
Change the Interface in `store.go` to accomodate for the change
Change the test that called the GetAll() function
* Rename the result variable to preferences so it makes more sense.
Use assertions to keep the test consistent
* Generate the correct mocks after the code changes
* Remove redundant conditions
* Address govet errors
* Resolve conflicts with master's new changes
* Fix Save() function according to the new changes in master (Got
overwritten with the previous commit)
* Change the assertions to have the same format as commit 2d97f01