https://mattermost.atlassian.net/browse/MM-52532
- Replace golint with revive
- Add makezero linter
- Fix all the required linter failures
Some issues in enterprise and public modules
are yet to be fixed. We send this to expediate things.
It was a good decision in hindsight to keep the public module as 0.x
because this would have been a breaking change again.
https://mattermost.atlassian.net/browse/MM-53032
```release-note
Changed the Go module path from github.com/mattermost/mattermost-server/server/v8 to github.com/mattermost/mattermost/server/v8.
For the public facing module, it's path is also changed from github.com/mattermost/mattermost-server/server/public to github.com/mattermost/mattermost/server/public
```
* update import/export for attachments and new file paths
* add unit test
* update templates test
* temp checking
* cleanup
* cleanup
* more cleanup
* lint fixes
* cleanup some functions
* cleanup
* fix build breaks
* fix tests for changes
* move function to different file
* more cleanup, code movement
* unit test fixes
* add unit tests
* fix tests
* more unit test fixes
* test fix
* revert package-lock.json
* fixes from code review
* fix export image
* more fixes to remove attachmentId
* change from removed api
* update test
* lint fixes
* update for review comments
* fix tests
* test fix
* lint fix
* remove sprintf from logging, use mlog
* more lint fixes
* Update server/boards/app/files.go
Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
* remove code
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Doug Lauder <wiggin77@warpmail.net>