Marc Argent
3bce32bbcf
GH-11385 Migrate User.AnalyticsGetInactiveUsersCount to Sync by default ( #11432 )
...
* GH-11385 Migrate User.AnalyticsGetInactiveUsersCount to Sync by default
* GH-11385 fix TestGetAnalyticsOld
2019-06-28 07:39:52 -07:00
Nafis Faysal
ac4019afe5
[MM-11157] Migrate "Channel.UpdateMember" to Sync by default ( #11328 )
...
* Migrate Channel.UpdateMember to Sync by default
* Migrate Channel.UpdateMember to Sync by default
* generate store-mocks
* fix signature mismatch error
* fix shadow err
2019-06-28 14:41:50 +02:00
Martin Kraft
ab4eaf898b
Changes method name, removes error case. ( #11427 )
...
* Changes method name, removes previous error case.
* Fixes test now that the method is idempotent.
2019-06-28 07:31:32 -04:00
Claudio Costa
22fb7d9116
Migrate User.GetAllAfter to Sync by default ( #11446 )
2019-06-28 12:40:09 +02:00
Marc Argent
591c73310c
GH-11298 Migrate UserAccessToken.UpdateTokenEnable to Sync by default ( #11418 )
2019-06-28 11:02:51 +01:00
SezalAgrawal
a86b204105
[MM-16520] Migrate "Status.ResetAll" to Sync by default ( #11424 )
...
* Updated ResetAll function to return object
* Modified the defined interface
* Changed the data type where ResetAll was referrenced
* Refactored code
Changed user's email
* Fixed indentation
2019-06-28 10:32:57 +01:00
Kévin Etienne
ea8d441345
MM 16523 Migrate "LinkMetadata.Save" to Sync by default ( #11416 )
...
* Update LinkMetadata.Save store and interface
* Update mocks with make store-mocks
* Update tests and implementation
2019-06-28 10:28:08 +01:00
Adzim Zul Fahmi
73e47567bc
[MM-16339] Migrate "Channel.GetPinnedPosts" to Sync by default ( #11280 )
...
* Migrate "Channel.GetPinnedPosts" to Sync by default
* remove unnecessary error checking
* fixing shadowed err variable
* fixing shadowed err variable
* fixing gofmt
2019-06-28 08:53:47 +02:00
Jesper Hansen
86e0c8567c
[MM-16183] Store: Migrate TeamStore.GetChannelUnreadsForAllTeams to sync as default #11116 ( #11400 )
2019-06-27 22:12:54 +02:00
Harrison Healey
4b96437370
MM-16477 Add api to get users modified since a given time ( #11406 )
...
* MM-16477 Add api to get users modified since a given time
* Address feedback
2019-06-27 09:37:03 -04:00
Maxim Zaks
89a41dc381
Migrate "User.SearchWithoutTeam" to Sync by default ( #11421 )
2019-06-27 13:44:53 +01:00
Deepak Sah
77ed6015fd
[MM-16513] Migrate Token.Delete to Sync by default ( #11365 )
...
* Made changes to TokenStore interface, Delete()
* Modified user.go
* Refactored app/user.go
2019-06-27 13:14:17 +02:00
Claudio Costa
eb8b475497
Migrate User.GetTeamGroupUsers to Sync by default ( #11414 )
2019-06-27 15:59:49 +08:00
lassimus
8841e3dab9
MM-16564 Migrate "User.GetRecentlyActiveUsersForTeam" to Sync by default #11392 ( #11399 )
2019-06-26 15:46:38 -04:00
Michael Kochell
8cdf5ffe67
[MM-16376] Allow server to download and install a plugin from… ( #11372 )
...
* Initial implementation of plugin remote source
* Implement API route
* Test API route
* Add i18n
* Handle different error cases in API route
* Include missing i18n translation
* Include AllowInsecureDownloadUrl in telemetry capture
* Updates from PR feedback
* Use HTTPService instead of http.Get
* Remove InstallPluginFromUrlForced from client4
* Use net/url library to inspect url scheme
* remove PluginDownloadUrl from web/params.go
* Allow plugin downloads from internal sources
2019-06-26 15:45:07 -04:00
Claudio Costa
44b9fe3110
MM-16579 Migrate User.GetChannelGroupUsers to Sync by default ( #11412 )
...
* Migrate User.GetChannelGroupUsers to Sync by default
* Directly return Store results
2019-06-26 18:42:21 +02:00
Alex Sahin
cb7c549c7b
migrated to sync ( #11407 )
2019-06-26 11:27:29 -04:00
Alex Sahin
6ff393527e
implemented migration to sync ( #11413 )
2019-06-26 16:51:02 +02:00
Jesper Hansen
2193e43aac
[MM-16561] Store: Migrate UserStore.GetUnreadCount to sync as default #11395 ( #11409 )
2019-06-26 15:48:20 +01:00
Sheshagiri Rao Mallipedhi
00bb39b2bd
Migrate Channel.GetAllChannelMembersForUser to Sync by default ( #11234 )
...
* Migrate Channel.GetAllChannelMembersForUser to Sync by default
* fix gofmt for sqlstore/channel_store.go
2019-06-26 16:20:02 +02:00
Kévin Etienne
df9af66a28
MM-16524 Migrate "LinkMetadata.Get" to Sync by default ( #11376 )
...
* Update LinkMetadata.Get store and interface
* Update mocks with make store-mocks
* Update tests and implementation
* Avoid casting LinkMetadata.Data
* Fix indent
* Make error more explicit
* Fix indent (was containing spaces)
* Test value returned by LinkMetadata().Get()
2019-06-26 09:36:29 -04:00
Alex Sahin
abaf0221b6
MM-16565 Migrate "User.GetNewUsersForTeam" to Sync by default ( #11405 )
...
* initial code
* rename result var to user
* rename var to users
2019-06-26 06:35:01 -07:00
Jesse Hallam
5acb0ad227
MM-16369: include potential subpath in emails ( #11311 )
...
* MM-16369: include potential subpath in emails
Various email templates were extracting the `Host` but not the `Path` from the SiteURL, excluding a potential subpath defined therein.
* improve coverage of condenseSiteURL
2019-06-26 09:13:09 -03:00
krjn
72d482de0e
[MM-16512] Migrate Token.Save to Sync by default ( #11353 )
...
* [MM-16512] Migrate Token.Save to Sync by default
* refactor: formatting
* test: add checks for errors while saving tokens
* test: fixup
2019-06-26 16:06:41 +05:30
KimSeungHyeon
2327ab8854
[MM-16162] migrate Team.SearchOpen to Sync by default ( #11398 )
...
* [MM-16162] migrate Team.SearchOpen to Sync by default
* [MM-16162] fix error
* [MM-16162] update the mocked stores, fix slight error
2019-06-26 11:27:42 +01:00
Shota Gvinepadze
eea898c6e0
Migrate 'UserAccessToken.DeleteAllForUser' to Sync by default ( #11320 )
2019-06-26 12:15:29 +02:00
Shobhit Gupta
879883e9a3
Migrate "Channel.PermanentDeleteMembersByUser" to Sync by default ( #11243 )
...
* Change PermanentDeleteMembersByUser to sync by default
* Address comments
2019-06-26 12:09:29 +02:00
Rodrigo Villablanca Vásquez
4cf6ae6808
Migrates Channel.UpdateLastViewedAt to sync by default ( #11240 )
2019-06-26 11:52:43 +02:00
Jesús Espino
6df57d7a83
Migrate User Store methods related to enterprise to sync by default ( #11332 )
2019-06-26 10:41:45 +02:00
Shota Gvinepadze
7e918e38bc
Migrate 'Channel.AutocompleteInTeamForSearch' to Sync by default ( #11285 )
2019-06-26 09:44:23 +02:00
Jesús Espino
8f0216c57f
Migrate ChannelMemberHistory store to Sync by default ( #11331 )
2019-06-26 09:39:43 +02:00
Rodrigo Villablanca Vásquez
d17bdc6764
Migrates Channel.GetMembersForUser to sync by default ( #11236 )
2019-06-26 09:19:48 +02:00
Sheshagiri Rao Mallipedhi
1f6aedcdf3
Migrate "Status.GetByIds" to Sync by default ( #11364 )
...
* Migrate Status.GetByIds to Sync by default
* gofmt the files
2019-06-26 01:49:57 -04:00
Michael Kochell
b68194e035
[MM-15831] Improve system for storing status of available plug… ( #11185 )
...
* Move State property from activePlugin to PluginHealthStatus. env.activePlugins is now reserved for healthy running plugins.
* Add comments for function declarations
* Combine activePlugins and pluginHealthStatuses into a common structure, registeredPlugins
* Add check to see if plugin is active before deactivating it
* Make `Deactivate` set plugin status
* Add comment explaining the `registeredPlugins` map
* Give responsibility to set plugin disabled status upon deactivation back to `env.Deactivate`
* check if plugin needs to be deactivated before setting status
2019-06-25 17:44:08 -04:00
Michael Kochell
4e5f6fcfbc
Remove enable plugin health check config option ( #11369 )
2019-06-25 09:56:31 -07:00
Alex Sahin
30d572000a
MM-16521 Migrate "Status.GetTotalActiveUsersCount" to Sync by default ( #11401 )
...
* initial code
* remove repeated var declaration
2019-06-25 12:34:28 -04:00
Shota Gvinepadze
e9cb343ba7
Migrate to Sync by default ( #11286 )
2019-06-25 15:14:01 +02:00
Martin Kraft
d1b1b319cf
MM-16499: Adds ability to retrieve channels with total count f… ( #11375 )
...
* MM-16499: Adds ability to retrieve channels with total count for pagination.
* MM-16499: Switches to custom package name for squirrel.
2019-06-25 15:18:48 +03:00
Rodrigo Villablanca Vásquez
54d62dbadf
Migrates Channel.IncrementMentionCount to sync by default ( #11237 )
...
* Migrates Channel.IncrementMentionCount to sync by default
* Calls to Channel.IncrementMentionCount are concurrent now
2019-06-25 11:13:39 +01:00
Micah Thompson
eb9415a668
MM-16482 Migrate UserAccessToken.Delete to Sync by default ( #11356 )
...
* MM-16482 Migrate UserAccessToken.Delete to Sync by default
* err mistake
* [Requested Change] Removed else block
* gofmt change
* gofmt change
2019-06-24 23:25:19 +02:00
Martin Kraft
c07b7046ca
MM-16500: Adds ability to retrieve the total count of teams via the API. ( #11325 )
2019-06-24 22:05:34 +01:00
Harrison Healey
49d5037a89
MM-16654 Fix default value for EnableSurvey in diagnostics ( #11373 )
2019-06-24 15:58:45 -04:00
Shobhit Gupta
a4262373e5
Migrate Emoji.GetList to Sync by default ( #11314 )
2019-06-24 19:25:29 +02:00
Shobhit Gupta
331ded2421
Migrate UserAccessToken.Search to Sync by default ( #11330 )
2019-06-24 16:12:23 +02:00
Sheshagiri Rao Mallipedhi
cca41427a4
Migrate Status.SaveOrUpdate to Sync by default ( #11359 )
...
* Migrate Status.SaveOrUpdate to Sync by default
* address pr comments
2019-06-24 12:03:29 +02:00
Miguel de la Cruz
162a2a9903
[MM-16244] Add Elasticsearch SkipTLSVerification parameter to the config ( #11189 )
...
* [MM-16244] Add Elasticsearch SkipTLSVerification parameter to the config
* Add SkipTLSVerification config parameter to the diagnostics
* Update diagnostics key for consistency
Co-Authored-By: George Goldberg <george@gberg.me >
2019-06-23 12:03:55 +01:00
Shobhit Gupta
c4b9b3cfd3
Migrate Emoji.Search to Sync by default ( #11308 )
...
* Migrate Emoji.Search to Sync by default
* Fix indentation
2019-06-22 09:41:47 +02:00
Miguel de la Cruz
9e9b008f3d
[MM-13500] Adds channel /search_group endpoint ( #10805 )
...
* [MM-13500] Adds channel /search_group endpoint
* Add LIMIT to the queries
* Fix i18n extract
* Fix tests
* Add a new endpoint to get profiles by group channel ids
* Rebase fix
2019-06-22 00:14:21 +01:00
krjn
604e247135
[MM-16514] Migrate Token.GetByName to Sync by Default ( #11355 )
...
* [MM-16514] Migrate Token.GetByToken to Sync by default
* test: use testify
* fix: shadowing
2019-06-22 00:20:27 +02:00
Jesús Espino
e3504398c7
Migrate OAuth store to sync by default ( #11319 )
...
* Migrate OAuth store to sync by default
* Removing unnecesary return oldValue for updateApp in Oauth Store
2019-06-21 18:21:18 +02:00