Commit Graph

4 Commits

Author SHA1 Message Date
dantepippi
d22dd262ee [MM-24665] refactor team store to use squirrel (#14549)
* Refactor team store to use squirrel

* Fixing or expression

* Refactor team store to use squirrel

* Refactor team store to use squirrel

* Refactor team store to use squirrel

* Refactor team store to use squirrel

* Removing shadow declaration

* Fix error messages

* Improving Update() and Delete() calls

* Update store/sqlstore/team_store.go

Using squirrel to build 'in' clause

Co-authored-by: Miguel de la Cruz <mgdelacroix@gmail.com>

* Add missing translation

Co-authored-by: Dante Pippi <dantepippi@gmai.com>
Co-authored-by: Miguel de la Cruz <mgdelacroix@gmail.com>
Co-authored-by: mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Claudio Costa <cstcld91@gmail.com>
2020-08-03 14:24:26 +02:00
Agniva De Sarker
29c8b58fc7 MM-25478: Migrate compliancestore to plain error (#15074)
* ComplianceStore migration

* Fix imports

* Added one string

* fix go.tools.mod

Co-authored-by: Rodrigo Villablanca <villa061004@gmail.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2020-07-27 15:23:02 +05:30
Jesús Espino
5be023aa70 Upgrading go.tools.mod (#15081)
* Upgrading to the last mattermost-utilities/mmgotool

* Remove unneeded file

* Fixing mmgotools usage
2020-07-21 14:07:27 +02:00
Agniva De Sarker
932d6c2cbf Migrate tool dependencies to go.tools.mod (#14646)
Go 1.14 introduces usage of alternate go.mod files to track
other dependencies which are not related to the main app.
We use this to track all tool dependencies so that everybody uses
the same version of all tools, including CI.

This will prevent version conflicts due to everybody using different
versions of the tools.
And it will not try to upgrade the tool version, every single time,
one runs the tool command.

While here, we also re-generate some filestore mocks which weren't up to date.

Fixes #13088

Co-authored-by: mattermod <mattermod@users.noreply.github.com>
2020-05-25 23:20:44 +05:30