Jesús Espino
9cc5089af8
Moving mlog to corelibs ( #16915 )
...
* Moving mlog to corelibs
* Regenerating app layers
* Fix golangci-lint problem
* Fixing golangci-lint errors
* Renaming from corelibs to shared
* Renaming from corelibs to shared
* Fixing import
* Fixing merge problems
* Fixing build
2021-03-05 09:18:37 +01:00
Jesús Espino
5dd2e75c10
Extracting i18n functionality to i18n core library ( #16914 )
...
* extracting i18n functionality to i18n core library
* Removing utils.T
* Adding documentation and changing one function name for better explanation
* Changing other missing utils.T
* Adding license string
* Renaming corelibs to pkg
* Renaming corelibs to pkg (moving directory)
* Renaming from pkg to shared
* Fixing bodyPage.Html casing
* Fixing merges
* Fixing merge problem
* Fixing tests
2021-02-26 08:12:49 +01:00
Madhav Hugar
94c24eea20
Fix empty string comparison issues in the codebase ( #16686 )
...
Automatic Merge
2021-01-25 11:15:17 +01:00
Agniva De Sarker
e89b26e8f3
goimports ( #16640 )
...
* format using `goimports -local github.com/mattermost/mattermost-server/v5 -w`
* added goimports lint check to .golangci.yml
* format using `goimports -local github.com/mattermost/mattermost-server/v5 -w` for a corner case
* make app-layers, *-mocks and store-layers for ci check
Co-authored-by: Mahmudul Haque <mahmudulhaque@protonmail.com >
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2021-01-07 22:42:43 +05:30
Agniva De Sarker
c1dd23a3c8
MM-31063: Change constants to use CamelCase ( #16608 )
...
* MM-31063: Change constants to use CamelCase
* store package
* change allcaps to camel case (#16615 )
* New tools.mod
Co-authored-by: Ibrahim Serdar Acikgoz <serdaracikgoz86@gmail.com >
2021-01-04 11:32:29 +05:30
Agniva De Sarker
1a131b54af
MM-31064: Simplify indentation ( #16565 )
...
* MM-31064: Simplify indentation
Reduce indentation where possible.
```release-note
NONE
```
Command ran to verify:
golangci-lint run --disable-all --enable golint --max-issues-per-linter=10000 --max-same-issues=100000 ./... | grep "block ends with a return state"
https://mattermost.atlassian.net/browse/MM-31064
* incorporate review comments
* enable golint for outdent rule
* fix remaining issues
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-12-21 18:50:47 +03:00
Deep Baldha
118b3be57c
MM-30821: Change to idiomatic receiver names for slashcommands.msgProvider ( #16346 )
...
Automatic Merge
2020-11-24 16:45:17 +01:00
Rodrigo Villablanca
96f1739f8f
UserStore migration ( #15563 )
...
* Migration completed
* Fix tests
* Fix tests
* Fix tests
* Suggestions
* Trigger CI
* Suggestions
* Merge with master
* Trigger CI
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
Co-authored-by: Agniva De Sarker <agnivade@yahoo.co.in >
2020-10-26 15:11:27 +05:30
Jesús Espino
1f09d86f42
Moving slash-commands out of app package ( #14979 )
...
* Moving slash-commands out of app package
* Fixing golint checks
* Fixing golangci-lint
* Fixing golangci-lint errors
2020-08-12 18:29:58 +02:00