| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
(#9351)
Refactored parseSlackAttachment functions from https://github.com/mattermost/mattermost-server/blob/master/app/post.go#L312
into model/slack_attachments.go so that plugins have access to them.
|
| |
|
|
|
|
|
|
| |
* MM-11855 Add App.HTTPService to allow mocking of HTTP client
* Initialize HTTPService earlier
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* pass GET slash command payloads through query string
Previously, both GET and POST requests received the payload via the
body, but this was incorrect for GET requests. Now, the payloads for GET
requests is sent via the query string.
* reorder tests for clarity
* switch command tests to use httptest servers
* restore original test command endpoints
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Implementing structured logging
* Changes to en.json to allow refactor to run.
* Fixing global logger
* Structured logger initalization.
* Add caller.
* Do some log redirection.
* Auto refactor
* Cleaning up l4g reference and removing dependancy.
* Removing junk.
* Copyright headers.
* Fixing tests
* Revert "Changes to en.json to allow refactor to run."
This reverts commit fd8249e99bcad0231e6ea65cd77c32aae9a54026.
* Fixing some auto refactor strangeness and typo.
* Making keys more human readable.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* MM-10232: improve error handling from malformed slash command responses
Switch to json.Unmarshal, which doesn't obscure JSON parse failures like
json.Decode. The latter is primarily designed for streams of JSON, not
necessarily unmarshalling just a single object.
* rework HumanizedJsonError to expose Line and Character discretely
* MM-10259: pinpoint line and character where json config error occurs
* tweak HumanizeJsonError to accept err first
|
| |
|
|
|
|
|
|
|
|
| |
* add plugin slash command support
* remove unused string
* rebase
|
|
|
|
|
|
| |
* add token to header for commands
* Change Header value to Authorization: Token thecommandtoken
|
|
|
|
|
|
| |
* http client refactor
* simplification
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* app.UpdateConfig method
* test fix
* another test fix
* the config override option as-was is just error prone, remove it for now
* derp
|
|
|
|
|
|
| |
* Updates to post type
* Update tests
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
type and props (#7531)
* Add support to outgoing webhooks and slash commands to set post type and props
* Fix nil access
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* wip
* finish first pass
* requested changes
* add DoPostAction to Client4
|
|
|
|
|
|
|
|
| |
* PLT-5745 Cleaning up duplicate calls
* Fixing missing calls
* Fixing broken test
|
|
|
|
|
|
|
|
|
|
| |
* add response_url support for custom slash commands
* pr suggestions
* pr update / suggestion
* test fix
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* restrict untrusted, internal http connections by default
* command test fix
* more test fixes
* change setting from toggle to whitelist
* requested ui changes
* add isdefault diagnostic
* fix tests
|
|
|
|
| |
proxy support, reasonable timeouts and optional insecure connections (#6503)
|
|
|
|
|
|
|
|
|
|
|
|
| |
* PLT-5860 Updated copyright date in about modal
* PLT-5860 Updated copyright notice in JSX files
* PLT-5860 Updated copyright notice in go files
* Fixed misc copyright dates
* Fixed component snapshots
|
|
|
|
|
|
| |
* APIv4 PUT /commands/{command_id}
* update client parameter and api4 test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Revert "PLT-5765 Passed SiteURL to SendNotifications (#5705)"
This reverts commit a8e68bd8905972ae59de90fa33d5b3e3c274dc47.
* Removed automatic configuration of SiteURL
* Reverted unintentional config changes
* Updated help text
* Added link to docs in Site URL warning
* Fixed merge conflict
|
| |
|
|\ |
|
| | |
|
|/ |
|
|
* Add app package and move logic over from api package
* Change app package functions to return errors
* Move non-api tests into app package
* Fix merge
|