summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* unpack prepacked plugins on plugins initialization (#9149)Jesse Hallam2018-07-265-6/+37
| | | | | | * unpack prepackaged plugins on plugins initialization * leverage utils.FindDir
* Fix plugin.ServeHTTP subpath (#9161)Jesse Hallam2018-07-262-2/+54
| | | | | | * test ServicePluginRequest with subpath * handle subpath when routing to plugin.ServeHTTP
* added the custom icon and username for the outgoing webhook and its response ↵Pradeep Murugesan2018-07-259-2/+236
| | | | | | | | | | | | (#9141) * 8272 added the username and icon as part of the model and persisted the same * 8272 added the custome icon and name when set to the web hook response * 8272 changed the infinte loop to timeout after 5 seconds * 8272 fixed review comments
* fix plugin example docs (#9148)Jesse Hallam2018-07-251-1/+3
|
* MM-10381: Change the file downloading API to stream file (#9144)Hyeseong Kim2018-07-242-11/+22
| | | | | | | | * Change the file downloading to stream file * Change file downloading to chunk only for preview * Remove unnecessary else case
* MM-11451 Added autolinking to Markdown parser (#9151)Harrison Healey2018-07-246-1/+1002
| | | | | | | | * MM-11451 Added autolinking to Markdown parser * Added missing headers * Added mailto and tel links
* Add idiomatic error handling in mattermost commands (#9147)Jesús Espino2018-07-243-13/+24
|
* Add ExperimentalSidebarPreference in the config (#9013)Chris Duarte2018-07-234-0/+15
| | | | | | | | | | | | * Add ExperimentalSidebarPreference in the config * Override Sidebar preference based on GroupUnread settings * Rename to ExperimentalChannelOrganization * Add Sidebar config in diagnostics * Fix diagnostics for experimental_channel_organization
* Remove unnecesary elses after return error (#9137)Jesús Espino2018-07-231-52/+72
|
* Updating dependencies (#9139)Christopher Speller2018-07-22131-2793/+2421
|
* Default Channel Functionality + Test Suite (#9068)Daniel Schalla2018-07-204-54/+91
| | | | | | | | | gofmt Make skipping for non public channels default Deduplication of Default Channels; Only post join to townsquare Post join channel message for all custom default channels
* Break HTML blocks to individual strings (#8903)Yusuke Nemoto2018-07-2015-73/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Modifying message and templates about mfa_change * Modifying message and templates about password_change * Modify message and template about password_reset * Modify message and template about singin_change * Modify message and template about email_info * Modify message and template about change_username * Modify message about change_email * Add missing props * Add argument * Modify message and template about token_added * Modify messages and template about notification_email * Modify message and template about deactivate_email * Fix style * Remove unused message * Remove br tags * Modify message and code about invite_mail * Add missing message
* make GetChannelByName take teamId first (#9134)Jesse Hallam2018-07-205-22/+84
| | | | | | | | | | | | | | * make GetChannelByName take teamId first I think it is more natural to accept `teamId`, then `channelName`, given the pattern followed by other Plugin API methods and even the SQL Store itself. The App layer seems unusual in accepting `channelName` first. This also re-generates the mocks fixing the parameter order for the recently added `UserStatus` APIs. * add GetChannelByNameForTeamName
* MM-11003: Global Relay Export Refactor (#9136)Jesús Espino2018-07-202-0/+54
|
* Using idiomatic error handling in channel store (#9130)Jesús Espino2018-07-201-247/+280
|
* Renamed translation in actiance export (#9132)Jesús Espino2018-07-201-1/+1
|
* Support attachments in post and replies - Bulk import (#9124)Pradeep Murugesan2018-07-203-9/+273
| | | | | | | | | | * 9006 - process the attachments of the post * 9006 enabling the import of attachments in the reply post * 9006 assert if the post and files are linked * 9006 fixed the typo
* Add missed plugin error translation (#9131)Jesús Espino2018-07-192-1/+5
|
* Temporarily comment out until MM-11108 to fix builds (#9133)Joram Wilander2018-07-191-1/+2
|
* MM-11389 Added diagnostics for FileSettings.Directory (#9125)Harrison Healey2018-07-192-1/+6
|
* Fix invalid markdown text ranges (#9126)Adrian2018-07-182-5/+10
| | | second Range value is the end pos, not the length... :see_no_evil:
* MM-11028 Adding some plugin tests. (#9103)Christopher Speller2018-07-185-1138/+453
| | | | | | | | * Rearranging plugin mocks and moving some common test code out. * Adding tests. * Fixing tests after GoDoc cleanup changes.
* Support `server`, deprecate `backend` in plugin manifest (#9127)Jesse Hallam2018-07-185-35/+197
| | | | | | | | | | | | | | * Support `server`, deprecate `backend` in plugin manifest This lets us converge on the use of the term `server` everywhere instead of sometimes `backend` and sometimes `server`. We're still using `webapp` and will eventually support `mobile` as well. The plan is actually to rip out these deprecations as part of releasing 5.2, but I want to coordinate the extra additional breakage at the same time, so for now this is a backwards compatible change. * fix failing tests
* Lock go-hclog and go-plugin dependencies to a revision (#9128)Joram Wilander2018-07-183-6/+15
|
* Support for Embeded chat (#9129)Chris Duarte2018-07-187-0/+167
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add ucLive support crazy testing lovely logs more cookie work arounds Added Access-Control-Expose-Headers to user login Add complete_saml_body template and revert loginWithSaml endpoint Set Access-Control-Allow-Credentials to true in user login Login via email instead of username Clean up code Add comment to give some context Move faml logic into saml function Communicate via chrome sendMessage api Remove unused code Add config to support multiple extensions Clean up embedded complete_saml template Fix indentation for templates Added license header to extension.go Add EnableExperimentalExtensions flag Extension validated for email auth Clean up api auth code Remove complete_saml_body.html * Add extension support in saml * Clean up code * Clean up extension validation
* translations PR 20180718 (#9123)Elias Nahum2018-07-1814-99/+359
|
* Update en.json (#9096)Jason Blais2018-07-181-1/+1
|
* MM-10699 Add channel renaming to CLI (#9094)Druhin Bala2018-07-185-1/+86
|
* Do not close the connection abruptly on too big file uploads (#9083)Jesús Espino2018-07-184-0/+15
|
* MM-11366: support a plugin bundle with multiple executables (#9121)Jesse Hallam2018-07-173-4/+218
| | | This avoids the need to distribute multiple plugins per architecture.
* Make plugin IDs case insensitive (#9117)Joram Wilander2018-07-164-0/+15
|
* MM-10254 Add plugin APIs for getting/updating user statuses (#9101)Joram Wilander2018-07-1620-18/+332
| | | | | | | | * Add plugin APIs for getting/updating user statuses * Add and update tests * Updates per feedback
* Merge consecutive text nodes when inspecting markdown (#9112)Adrian2018-07-163-23/+57
| | | | | | | | | | | | | * Fix assertion order expected/actual were in wrong order, resulting in misleading output in case of failing tests * Merge consesutive markdown text nodes This ensures that parser quirks such as "hello!" being parsed as two separate nodes ("hello" and "!") are not exposed to code inspecting a markdown strings.
* add pre-package plugins to the MM package (#9114)Carlos Tadeu Panato Junior2018-07-162-0/+25
|
* MM-11172: Don't allow reacting in read-only town square. (#9106)George Goldberg2018-07-163-0/+104
|
* Merge remote-tracking branch 'upstream/release-5.1' into ↵cpanato2018-07-161-3/+3
|\ | | | | | | release-5.1-daily-merge-20180716
| * Update privacy policy for v5.1 (#9102)Jason Blais2018-07-121-3/+3
| |
* | Add localized timestamp support for email notification (#8674)Chris Duarte2018-07-133-34/+209
| | | | | | | | | | | | * Add localized timestamp support for email notification * Move localTime logic over to getFormattedPostTime
* | MM-11292: clean up plugins GoDoc (#9109)Jesse Hallam2018-07-1320-544/+668
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * clean up plugins GoDoc: - eliminate plugin.NewBlankContext() as unnecessary - export ValidIdRegex as a string vs. the less readable var - add/update various documentation strings - hide everything by default, except where used by client plugins or the mattermost-server. The exception to this rule are the `*(Args|Returns)` structs which must be public for go-plugin, but are now prefixed with `Z_` with a warning not to use. - include a top-level example to get plugin authors started This is not a breaking change for existing plugins compiled against plugins-v2. * remove commented out ServeHTTPResponseWriter * update examples to match developer docs * add missing plugin/doc.go license header
* | Avoid using app function so bulk loading does not fail when custom emojis ↵Joram Wilander2018-07-121-6/+6
| | | | | | | | are disabled (#9064)
* | Merge remote-tracking branch 'upstream/release-5.1' into ↵cpanato2018-07-1224-335/+797
|\| | | | | | | release-5.1-daily-merge-20180712
| * translations PR 20180711 (#9099)Elias Nahum2018-07-1114-304/+616
| |
| * push notifications follow teammate name display user or server setting (#9049)Elias Nahum2018-07-112-23/+25
| | | | | | | | | | | | * push notifications follow teammate name display user or server setting * Feedback review
| * Restore config after finisht the test case (#9085)Carlos Tadeu Panato Junior2018-07-116-5/+152
| |
| * MM-11241: fix context site url header (#9079)Jesse Hallam2018-07-112-3/+4
| | | | | | | | | | | | | | | | | | * fix context's SiteURLHeader to use the subpath This fixes various commands such as /open and /groupmsg, as well as OAuth related redirects. * MM-11246: also leverage GetSiteHeader() in completeSaml
* | GH-6278 hasReactions flag is set to true only if the post contains reactions ↵Pradeep Murugesan2018-07-121-4/+9
| | | | | | | | (#9053)
* | Add telemetry for ServiceSettings.EnableEmailInvitations (#9105)Jason Blais2018-07-121-0/+1
| |
* | Enhance Log Output from Permanent Delete (#9044)Daniel Schalla2018-07-121-5/+17
| | | | | | | | | | | | | | use structured logging Missed Structured Log Using Err for Errors in Structured Logging
* | [MM-10117] Add support to add/delete and enable/disable plugins via CLI (#8745)Santos Solorzano2018-07-114-0/+642
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Testing caching for emojis * MM-10117 Add support to add/delete and activate/deactivate plugins via CLI * Removing old work * MM-10117 Moved files and addedd plugin test * MM-10117 Renamed commands to enable/disable and updated add test * MM-10117 Finished plugin test and improved error message for plugin commands * MM-10117 Fixing plugin directories for test * MM-10117 Renamed commands and updated commands to support multiple plugins * MM-10117 Updating removed to deleted textclear * MM-10117 Fixing nil pointer error for listing plugins * MM-10117 Removing fileReader close * MM-10117 Declaring error for GetPlugins * MM-10117 Removing unnecessary nil check
* | Expose range information for markdown text nodes [WIP] (#9067)Adrian2018-07-112-14/+147
| | | | | | | | | | | | * Track positions of markdown text * Add tests for markdown text ranges