-
Notifications
You must be signed in to change notification settings - Fork 22
feat: show toast when scanning starts #51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
fmartingr
wants to merge
21
commits into
master
Choose a base branch
from
feat/toasts
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
ac5eed2
deps: update dependencies
fmartingr 3078e99
feat: show a toast when scanning starts
fmartingr 74cc109
ci: use latest workflows
fmartingr c26de34
chore: lint and test
fmartingr 7a0ba64
ci: fixes go version in ci
fmartingr 4dac872
ci: typo
fmartingr 31caafb
deps: point to commit
fmartingr 50594ca
chore: update to latest starter template configuration
fmartingr 93f89cd
ci: updated golang version
fmartingr f537a27
deps: updated to latest branch commit
fmartingr f53e632
chore: session tracking
fmartingr fff4d38
feat: configurable toast messages
fmartingr 37f4d09
fix: force configuration to be stored in lowercase
fmartingr 350c387
Update server/plugin.go
fmartingr 068645d
chore: spelling
fmartingr 01e72ba
chore: make check-style
fmartingr 9dbb84f
chore: go mod tidy
fmartingr bb7de16
deps: update public to latest
fmartingr d006f2a
chore: remove unused code
fmartingr 18f5b91
chore: removed unused workflow variable
fmartingr 2afcc19
chore: go mod tidy
fmartingr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| root = true | ||
|
|
||
| [*] | ||
| end_of_line = lf | ||
| insert_final_newline = true | ||
| charset = utf-8 | ||
| trim_trailing_whitespace = true | ||
|
|
||
| [*.go] | ||
| indent_style = tab | ||
|
|
||
| [{*.js,*.jsx,*.ts,*.tsx,*.json,*.html}] | ||
| indent_style = space | ||
| indent_size = 4 | ||
|
|
||
| [Makefile] | ||
| indent_style = tab | ||
|
|
||
| [*.md] | ||
| indent_style = space | ||
| indent_size = 4 | ||
| trim_trailing_whitespace = false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,3 @@ | ||
| dist | ||
| build/bin | ||
| bin/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,56 +1,74 @@ | ||
| version: "2" | ||
|
|
||
| run: | ||
| timeout: 5m | ||
| modules-download-mode: readonly | ||
|
|
||
| linters-settings: | ||
| goconst: | ||
| min-len: 2 | ||
| min-occurrences: 2 | ||
| gofmt: | ||
| simplify: true | ||
| goimports: | ||
| local-prefixes: github.com/mattermost/mattermost-plugin-antivirus | ||
| govet: | ||
| check-shadowing: true | ||
| enable-all: true | ||
| disable: | ||
| - fieldalignment | ||
| misspell: | ||
| locale: US | ||
|
|
||
| linters: | ||
| disable-all: true | ||
| default: none | ||
| enable: | ||
| - bidichk | ||
| - bodyclose | ||
| - errcheck | ||
| - goconst | ||
| - gocritic | ||
| - gofmt | ||
| - goimports | ||
| - gosec | ||
| - gosimple | ||
| - govet | ||
| - ineffassign | ||
| - makezero | ||
| - misspell | ||
| - modernize | ||
| - nakedret | ||
| - revive | ||
| - staticcheck | ||
| - stylecheck | ||
| - typecheck | ||
| - unconvert | ||
| - unqueryvet | ||
| - unused | ||
| - whitespace | ||
| settings: | ||
| govet: | ||
| enable-all: true | ||
| disable: | ||
| - fieldalignment | ||
| misspell: | ||
| locale: US | ||
| revive: | ||
| rules: | ||
| - name: exported | ||
| disabled: true | ||
| - name: unused-parameter | ||
| disabled: true | ||
| unqueryvet: | ||
| check-sql-builders: true | ||
| exclusions: | ||
| rules: | ||
| - path: server/manifest.go | ||
| linters: | ||
| - unused | ||
| - path: server/configuration.go | ||
| linters: | ||
| - unused | ||
| - path: _test\.go | ||
| linters: | ||
| - bodyclose | ||
| - path: build/ | ||
| linters: | ||
| - errcheck | ||
| - gosec | ||
| - staticcheck | ||
|
|
||
| issues: | ||
| exclude-rules: | ||
| - path: server/manifest.go | ||
| linters: | ||
| - unused | ||
| - path: server/configuration.go | ||
| linters: | ||
| - unused | ||
| - path: _test\.go | ||
| linters: | ||
| - bodyclose | ||
| - goconst | ||
| - scopelint # https://github.com/kyoh86/scopelint/issues/4 | ||
| formatters: | ||
| enable: | ||
| - gofmt | ||
| - gofumpt | ||
| - goimports | ||
| settings: | ||
| gofmt: | ||
| simplify: true | ||
| rewrite-rules: | ||
| - pattern: interface{} | ||
| replacement: any | ||
| gofumpt: | ||
| extra-rules: true | ||
| goimports: | ||
| local-prefixes: | ||
| - github.com/mattermost/mattermost-plugin-antivirus |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| 14.21.1 | ||
| 20.11 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| { | ||
| "go.lintTool": "golangci-lint", | ||
| "go.lintFlags": [ | ||
| "--fast" | ||
| ], | ||
| "editor.formatOnSave": true, | ||
| "editor.codeActionsOnSave": { | ||
| "source.organizeImports": true | ||
| }, | ||
| "[go]": { | ||
| "editor.defaultFormatter": "golang.go" | ||
| }, | ||
| "go.useLanguageServer": true, | ||
| "gopls": { | ||
| "ui.semanticTokens": true, | ||
| "formatting.gofumpt": true | ||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unrelated file?