Sheshagiri Rao Mallipedhi
be5c962913
Migrate Channel.GetMemberForPost to Sync by default ( #11244 )
...
* Migrate Channel.GetMemberForPost to Sync by default
* fix indentation
2019-06-20 09:37:26 +02:00
Rodrigo Villablanca Vásquez
327a1c92e8
Migrates Channel.GetChannels to sync by default ( #11204 )
...
* Migrates Channel.GetChannels to sync by default
* Some suggestions
* resolved undefined var
2019-06-20 09:31:40 +02:00
Kyle Reczek
3c13b0e4e7
[MM-16182] Migrate Team.GetTeamsForUserWithPagination to Sync by default #11117 ( #11235 )
...
* [MM-16182] Migrate Team.GetTeamsForUserWithPagination to Sync by default #11117
+ Team.GetTeamsForUserWithPagination returns ([]*model.TeamMember, *model.AppError) now instead of StoreChannel.
+ Updated mock.
+ Updated tests to use new explicit async.
* Fix Whitespace from go fmt
* Changed team_store.go to not use explicit async.
* Fixed up files from the review
+ Dont reassign var to ms.
+ Avoid nesting of the fetch calls.
+ Directly return fetch instead of nil, err and team, nil.
2019-06-20 08:42:09 +02:00
Shota Gvinepadze
33789a3523
[MM-11227] Migrate "Channel.GetMembers" to Sync by default ( #11228 )
...
* Migrate 'Channel.GetMembers' to Sync by default
* Add error tests to GetMembers
* Change error name
* Change error name
2019-06-19 15:24:02 -04:00
Shota Gvinepadze
aad50f7b2c
Migrate 'Channel.GetMembersByIds' to Sync by default ( #11287 )
2019-06-19 18:20:19 +02:00
krjn
a39ceadd58
[MM-16353] Migrate Channel.AnalyticsDeletedTypeCount to Sync by default ( #11289 )
...
* [MM-16353] Migrate AnalyticsDeletedTypeCount to Sync by default
* refactor: decrease branching
* test: use testify for assertion
2019-06-19 17:23:16 +02:00
Harrison Healey
73a1bb80f1
MM-16465 Only enable NPS plugin by default if diagnostics are enabled ( #11279 )
2019-06-19 09:06:59 -04:00
Rodrigo Villablanca Vásquez
c40017b39d
Migrates Channel.GetAllChannelsForExportAfter to sync by default ( #11273 )
2019-06-19 12:31:51 +01:00
piperRyan
2ce36c2eb1
Migrates "Channel.GetAll" to Sync by default ( #11281 )
2019-06-19 10:40:05 +01:00
Rodrigo Villablanca Vásquez
a02467698c
Migrates Channel.ClearAllCustomRoleAssignments to sync by default ( #11274 )
2019-06-19 11:10:58 +02:00
piperRyan
5c32f92413
[MM-16330] Migrate "Channel.GetForPost" to Sync by default ( #11199 )
2019-06-19 10:27:09 +02:00
krjn
209f70e80b
Migrate Channel.GetChannelMembersTimezones to Sync by default ( #11242 )
...
* Migrate Channel.GetChannelMembersTimezones to Sync by default
[MM-16334] Fixes #11226
* refactor: style fixup
2019-06-19 10:23:08 +02:00
Rodrigo Villablanca Vásquez
c8f334ab1c
Channel.GetPublicChannelsByIdsForTeam to sync by default ( #11209 )
2019-06-18 17:14:09 -04:00
Shobhit Gupta
e92ecf6696
Migrate Channel.RemoveAllDeactivatedMembers to Sync by default ( #11270 )
...
* Migrate Channel.RemoveAllDeactivatedMembers to Sync by default
* Indent query string
2019-06-18 23:09:15 +02:00
Shobhit Gupta
6555bea117
Migrate "Channel.RemoveMember" to Sync by default ( #11245 )
...
* Migrate Channel.RemoveMember to Sync by default
* Address comments
2019-06-18 15:28:46 -04:00
Rodrigo Villablanca Vásquez
3c8d772bf5
Migrates Channel.GetChannelMembersForExport to sync by default ( #11271 )
2019-06-18 21:08:36 +02:00
Shobhit Gupta
8853a71f0b
Migrate Channel.UserBelongsToChannels to Sync by default ( #11269 )
...
* Migrate Channel.UserBelongsToChannels to Sync by default
* Address comments
2019-06-18 21:02:09 +02:00
Jesús Espino
242c4f2c66
Migrate Channel.GetChannelsBatchForIndexing to Sync by default ( #11134 )
2019-06-18 18:55:03 +02:00
Rodrigo Villablanca Vásquez
d1569c48d2
Migrates Channel.PermanentDeleteMembersByChannel to sync by default ( #11238 )
2019-06-18 09:33:42 -07:00
Shota Gvinepadze
075eadb040
Migrate 'Channel.GetAllChannelMembersNotifyPropsForChannel' to Sync by default ( #11248 )
2019-06-18 15:56:29 +02:00
Miguel de la Cruz
406dcb1311
[MM-15811] Adds fallback mechanism for elasticsearch queries ( #11065 )
...
* [MM-15811] Adds fallback mechanism for elasticsearch queries
* Rename config helpers
2019-06-18 14:43:08 +01:00
Martin Kraft
4c075e45f4
MM-15788: Unmasks errors related to max team members and accounts. ( #11233 )
2019-06-18 07:56:18 -04:00
George Goldberg
663977d71a
MM-16115: Channel name max length in /rename to match UI. ( #11114 )
2019-06-18 10:44:29 +01:00
Carlos Tadeu Panato Junior
059eecc696
upgrade db to 5.13 and prepare upgrade to 5.14 ( #11198 )
...
* upgrade db to 5.13 and prepare upgrade to 5.14
2019-06-18 10:51:45 +02:00
Rodrigo Villablanca Vásquez
a7278169d2
Channel.GetTeamChannels to sync by default ( #11211 )
2019-06-18 07:22:37 +02:00
Sheshagiri Rao Mallipedhi
7d08efc335
Migrate Channel.GetChannelsByIds to Sync by default ( #11197 )
...
* Migrate Channel.GetChannelsByIds to Sync by default
* remove <-
2019-06-17 14:45:51 -04:00
Rodrigo Villablanca Vásquez
f97e6368c8
Migrates Channel.AutocompleteInTeam, Channel.SearchInTeam and Channel.SearchMore to sync by default ( #11229 )
2019-06-17 13:32:37 -05:00
Rodrigo Villablanca Vásquez
651c3196a0
Channel.GetDeleted to sync by default ( #11205 )
2019-06-17 13:46:37 -04:00
Micah Thompson
6bb147c380
[MM-16165] Migrate Team.GetAllPage to Sync by default ( #11201 )
...
* [MM-16165] Migrate Team.GetAllPage to Sync by default
* [MM-16165] Pull Request suggested changes: remove else
2019-06-17 13:45:52 -04:00
Martin Kraft
e15a75a2ec
MM-16224: Adds new API endpoint + (App & Client & Store) to retrieve the difference between the set of channel members and given group members. ( #11186 )
2019-06-17 11:04:27 -04:00
Rodrigo Villablanca Vásquez
4d223ba3a2
Migrate Channel.GetByNames to sync by default ( #11202 )
2019-06-17 08:03:04 -07:00
Rodrigo Villablanca Vásquez
27a88b7868
Channel.GetChannelCounts to sync by default ( #11210 )
2019-06-17 16:47:34 +02:00
Rodrigo Villablanca Vásquez
5a3fed4534
Channel.GetMoreChannels to sync by default ( #11207 )
...
* Channel.GetMoreChannels to sync by default
* var renamed data -> channels
2019-06-17 16:27:19 +02:00
Martin Kraft
9d41c7a583
MM-16258: Adds new API endpoint + (App & Client & Store) to retrieve … ( #11176 )
...
* MM-16258: Adds new API endpoint + (App & Client & Store) to retrieve Users who would be removed from a list of hypothetical group IDs representing the synced groups.
* MM-16258: Adds roles to JSON response.
* MM-16258: Updates GetByIDs to use Squirrel.
* MM-16258: Puts as much as possible into Squirrel.
* MM-16258: Changes names of methods, functions, and route.
* MM-16258: Updates some comments.
* MM-16258: Extra validation of group_ids parameter.
* MM-16258: Changes validation of group_ids query param.
* MM-16258: Rename a variable and a constant.
* MM-16258: Fix test.
2019-06-17 09:51:56 -04:00
Eli Yukelzon
5ee1f6e2e0
MM-15498 - removed redundant post_edited event on reaction change ( #10873 )
...
* removed redundant post_edited event
2019-06-17 15:39:14 +03:00
Rodrigo Villablanca Vásquez
6535010366
Migrate Team.GetTeamsForUser to Sync by default ( #11148 )
...
* Migrate Team.GetTeamsForUser to Sync by default
* Improvements
* Requested change
* Requested changes
2019-06-17 10:49:19 +02:00
Taufiq Rahman
9ffdb794b1
Migrate Team.PermanentDelete to Sync by default #11128 ( #11190 )
...
* Migrate Team.PermanentDelete to Sync by default #11128
* resolve merge
* fix jenkin errors in app/team.go
2019-06-17 10:37:46 +02:00
Marc Argent
1a57018adf
GH-11085 Migrate Team.GetAllTeamPageListing to Sync by default ( #11106 )
...
* GH-11085 Migrate Team.GetAllTeamPageListing to Sync by default
* GH-11085 review fixes
* GH-11085 rename data to teams
* GH-11085 revert i18n changes
2019-06-16 18:11:23 +02:00
Jesús Espino
f934502a56
Migrate Jobs store to sync by default ( #11183 )
...
* Migrate Jobs store to sync by default
* Fixing compilation
* Fixing compilation
* Fixing govet
2019-06-15 17:55:06 +02:00
Giorgos Christos Dimitriou
bbdd6927de
Ongoing changes to notification.go ( #11047 )
...
* Change the functions that are used only by `notification.go` from public
to private
* Split getExplicitMentions() into smaller functions.
- addMentionedUsers
- checkForMention
- isKeywordMultibyte
- processText
along with their tests.
* Merge with master
Fix wording on isKeywordMultibyte() function comment
2019-06-15 15:44:11 +02:00
Lev
544055bdb3
Bumped Jira to 2.0.6 ( #11191 )
2019-06-14 12:12:10 -07:00
Rodrigo Villablanca Vásquez
0f0ebbd9d1
Migrate Team.UpdateMember to Sync by default ( #11140 )
...
* 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
2019-06-14 20:32:24 +02:00
Jesús Espino
7c4cc21475
Migrate Channel.AnalyticsTypeCount to Sync by default ( #11097 )
...
* Migrate Channel.AnalyticsTypeCount to Sync by default
* Fixing tests
2019-06-14 19:06:30 +02:00
Rodrigo Villablanca Vásquez
b13c5eabff
Migrate Team.GetActiveMembersCount to Sync by default ( #11146 )
...
* 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
2019-06-14 18:18:45 +02:00
Rodrigo Villablanca Vásquez
bd8e047458
Migrate POST.AnalyticsPostCount to Sync by default ( #11179 )
...
* Migrate POST.AnalyticsPostCount to Sync by default
* Fix: Query identation
2019-06-14 17:52:17 +02:00
Eli Yukelzon
9ec99593eb
MM-14721 - Add an identifier for compliance exports when a message is posted by a bot account ( #11063 )
...
* check from_bot post property to override IsBot
2019-06-14 18:36:38 +03:00
Lev
e0197ebddf
Bumped Jira to 2.0.5 ( #11184 )
2019-06-14 08:29:03 -07:00
Jesús Espino
693017a317
Migrate Bots store to sync by default ( #11182 )
...
* Migrate Bots store to sync by default
* Fixing tests
* Fixing govet
* Fixing tests
2019-06-14 08:20:49 -07:00
Bolarinwa Balogun
1c63057095
[MM-16163] Migrate "Team.SearchPrivate" to Sync by default ( #11109 )
2019-06-14 15:40:15 +01:00
Rodrigo Villablanca Vásquez
8c56a5f202
Migrate Team.GetMember to Sync by default ( #11141 )
...
* Team.GetMember to Sync
* fix govet: declaration of err shadows declaration at line 250
* Requested change
* Requested change
2019-06-14 16:28:21 +02:00