| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
* Revert "MM-9983 Requiring SiteURL to be set. (#8769)"
This reverts commit 0432f995ec27de9ee6cc2f5847d4a17fcc095a26.
* Add log message for SiteURL not being set.
|
|
|
| |
This reverts commit d3cf110620033f8831a55a3fd911d7864b6aab4a.
|
|
|
|
|
|
|
|
|
|
| |
* MM-6839: searching for paths relative to executable
In addition to searching relative to the current working directory, also
search relative to the location of the binary. This helps locate config
and i18n files when invoking an absolute path to the mattermost binary.
* MM-6839: find mattermost/ binary using utils.FindFile
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(public|private) (#8798)
* send websocket event whenever the channel has changed it's type (public|private)
* updated per comment
Signed-off-by: Saturnino Abril <saturnino.abril@gmail.com>
* add channel_converted websocket event
Signed-off-by: Saturnino Abril <saturnino.abril@gmail.com>
* only send channel_id via websocket message for "channel_converted" event
Signed-off-by: Saturnino Abril <saturnino.abril@gmail.com>
|
| |
|
| |
|
|
|
|
|
|
| |
* Update CONTRIBUTING.md
* Fix typo
|
|
|
|
|
|
|
|
|
|
| |
* remove desktop duration notify props
Signed-off-by: Saturnino Abril <saturnino.abril@gmail.com>
* fix test
Signed-off-by: Saturnino Abril <saturnino.abril@gmail.com>
|
| |
|
|
|
|
|
|
| |
* translations PR 20180522
* Fix italian translation
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* allow `Wait()`ing on the supervisor
In the event the plugin supervisor shuts down a plugin for crashing too
many times, the new `Wait()` interface allows the `ActivatePlugin` to
accept a callback function to trigger when `supervisor.Wait()` returns.
If the supervisor shuts down normally, this callback is invoked with
a nil error, otherwise any error reported by the supervisor is passed
along.
* improve plugin activation/deactivation logic
Avoid triggering activation of previously failed-to-start plugins just
becase something in the configuration changed. Now, intelligently
compare the global enable bit as well as the each individual plugin's
enabled bit.
* expose store to manipulate PluginStatuses
* expose API to fetch plugin statuses
* keep track of whether or not plugin sandboxing is supported
* transition plugin statuses
* restore error on plugin activation if already active
* don't initialize test plugins until successfully loaded
* emit websocket events when plugin statuses change
* skip pruning if already initialized
* MM-8622: maintain plugin statuses in memory
Switch away from persisting plugin statuses to the database, and
maintain in memory instead. This will be followed by a cluster interface
to query the in-memory status of plugin statuses from all cluster nodes.
At the same time, rename `cluster_discovery_id` on the `PluginStatus`
model object to `cluster_id`.
* MM-8622: aggregate plugin statuses across cluster
* fetch cluster plugin statuses when emitting websocket notification
* address unit test fixes after rebasing
* relax (poor) racey unit test re: supervisor.Wait()
* make store-mocks
|
|
|
|
|
|
| |
* allow tuning *IdleConn* for inter cluster messages
* default MaxIdleConnsPerHost to 128
|
|
|
|
|
|
|
|
| |
The previous complete removal of this field resulted in an
incompatibility with 4.x servers that could not handle the now null
column field.
Instead, ensure this field is at least always set to 0, with a plan to
remove it altogether in a future release.
|
|
|
| |
Signed-off-by: Saturnino Abril <saturnino.abril@gmail.com>
|
|
|
| |
Signed-off-by: Saturnino Abril <saturnino.abril@gmail.com>
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* Requiring SiteURL to be set.
* Modifying to make tests pass.
* Fixing test.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Set EnableUserCreation to true by default
* Fix argument type to FormatBool
* Convert EnableUserCreation instances to pointer
* Convert to boolean in tests also
* Set value of pointer to be false
* Convert remaining EnableUserCreation instances to pointer
|
| |
|
|
|
|
|
|
|
|
|
| |
* fix `make run-server`
The `PLATFORM_FILES` environment variable no longer gives `go run` the
necessary context to run the mattermost binary.
* clean up cmd/mattermost/cprofile*.out
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Remove api package
* Remove api dependency from cmd package
* Remove EnableAPIv3 setting
* Update web tests
* Add more websocket tests
* Move some ws and oauth tests to api4 package
* Move command tests into api4 package
* Test fixes
* Fix msg command test
* Add some app file tests
|
|
|
|
|
|
|
|
|
|
|
| |
Reordered notification strings
MM-10335 Changed uppercase CHANNEL to Lowercase Channel, added @ sign before username on notifications
Added @ sign in front of username in all email notifications.
Capitalized Direct Message and Group Message in email notifications.
Fixed the issue with long group message names.
Removed executable bit
|
|
|
|
|
|
|
|
| |
(#8791)
* Adding plugin ability to intercept posts before they reach the DB.
* s/envoked/invoked/
|
|\ |
|
|/| |
|
| |
| |
| |
| |
| |
| | |
* translations PR 20180511
* Fix bad translations
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Update NOTICE.txt
* Update NOTICE.txt
* Update NOTICE.txt
* Update NOTICE.txt
* Update NOTICE.txt
* Update NOTICE.txt
|
| | |
|
| |
| |
| |
| | |
number of parameters (#8772)
|
| |
| |
| |
| | |
end (#8760)
|
| |
| |
| |
| |
| |
| |
| | |
Dump mlog to STDOUT before initialized, to allow for logging failures
that occur due to config parsing, etc.
Fix file logging to honour logger.FileJson instead of copying the
logger.ConsoleJson setting.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
(#8738)
* [MM-10458] Change system response to "Could not find the channel" when trying to invite user to private channel you can't see
* add another check to check if user have permission to add another in pvt channel
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Refactor context out of API packages
* Update function names per feedback
* Move webhook handlers to web and fix web tests
* Move more webhook tests out of api package
* Fix static handler
|
| | |
|
|\ \ |
|
| | | |
|
|/| |
| |/ |
|
| | |
|
| | |
|