summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MM-11781: Basic Data Export Command Line. (#9296)George Goldberg2018-09-1724-46/+1106
| | | | | | | | | | | | | | | | * MM-11781: Basic Data Export Command Line. * ChannelStore new unit tests. * TeamStore new unit tests. * Unit test for new UserStore function. * Unit tests for post store new methods. * Review fixes. * Fix duplicate command name.
* disable EnablePublicChannelsMaterialization by default (#9418)Jesse Hallam2018-09-172-2/+2
| | | | | | | | | * disable EnablePublicChannelsMaterialization by default Creating triggers on Amazon RDS seems to reqiure extra privileges. More investigation is required. * update model/config.go too
* [MM-11860]: Expose slack attachment parsing functions in the model package ↵Charles Birk2018-09-175-30/+30
| | | | | | (#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-12045: Fix MFA for ldap accounts (#9420)Jesús Espino2018-09-171-2/+5
|
* MM-11424 Extend bulk import to support themes across teams(#9305) (#9419)FurmanovD2018-09-177-14/+113
| | | | | | | | | | | | | | | | | * MM-11424 Extend bulk import to support themes across teams(#9305) Also added: Advanced Settings: +'feature_enabled_markdown_preview' +'formatting' Sidebar Settings: +'show_unread_section' * MM-11424 (PR review) user teams' theme validator test updated * MM-11424 (PR review) added test with valid JSON of invalid theme(by structure) JSON string contains numeric and JSON object fields, not just a correct "string":"string" map
* fixing log messages (#9341)Carlos Tadeu Panato Junior2018-09-174-6/+6
| | | | | | | | | | | | * fixing log messages * update per review * Update notification.go * Update server.go * Update notification.go
* Migrate to idiomatic error handling the second half to the app/channel.go ↵Jesús Espino2018-09-171-225/+242
| | | | (#9414)
* MM-11520: Make entity ID checks consistent across api4. (#9395)George Goldberg2018-09-148-20/+68
| | | | | | * MM-11520: Make entity ID checks consistent across api4. * Update tests.
* Merge release-5.3Carlos Tadeu Panato Junior2018-09-140-0/+0
|\
| * MM-12007 Add max dimensions to emoji images (5.3) (#9407)Harrison Healey2018-09-133-7/+29
| |
* | MM-10573 Add error page if user doesn't authorize Mattermost for OAuth (#9402)Harrison Healey2018-09-142-0/+35
| |
* | MM-11734: better plugin `error` handling (#9405)Jesse Hallam2018-09-134-83/+241
| | | | | | | | | | | | | | | | * MM-11734: encode unregistered error implementations as an ErrorString * MM-11734: test error string handling * more idiomatic error handling
* | MM-11886: materialize channel search (#9349)Jesse Hallam2018-09-1315-633/+1799
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * materialize PublicChannels table Introduce triggers for each supported database that automatically maintain a subset of the Channels table corresponding to only public channels. This improves corresponding queries that no longer need to filter out 99% DM channels. This initial commit modifies the channel store directly for easier code reviewing, but the next wraps an experimental version around it to enable a kill switch in case there are unforeseen performance regressions. This addresses [MM-11886](https://mattermost.atlassian.net/browse/MM-11886) and [MM-11945](https://mattermost.atlassian.net/browse/MM-11945). * extract the experimental public channels materialization Wrap the original channel store with an experimental version that leverages the materialized public channels, but can be disabled to fallback to the original implementation. This addresses MM-11947. * s/ExperimentalPublicChannelsMaterialization/EnablePublicChannelsMaterialization/ * simplify error handling * move experimental config listener until after store is initialized
* | MM-11230: Make permissions checks in commands failsafe. (#9392)George Goldberg2018-09-1212-128/+577
| | | | | | | | Also add additional unit tests to make sure the permissions tests are completely solid.
* | Merge release-5.3Carlos Tadeu Panato Junior2018-09-1215-144/+430
|\|
| * translations PR 20180911 (#9397)Elias Nahum2018-09-1114-143/+423
| |
| * fix s3 memory usage (#9373)Jesse Haka2018-09-101-1/+7
| |
* | MM-11725: Add specific autocomplete endpoint for search autocomplete (#9337)Jesús Espino2018-09-117-0/+197
| |
* | MM-11895: Don't crush user-provided GET parameters on slash command URLs (#9372)alezakos2018-09-112-2/+7
| |
* | Minor grammar & spelling fixes (#9325)der-test2018-09-111-199/+199
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Minor grammar & spelling fixes Minor grammar & spelling fixes * Harmonizing error messages First step to harmonize the error messges by using three formulations that basically mean the same. * Changed string after feedback. * Change after feedback * Removed typo Head hit keyboard or something... * Updated second occurence of an already changed string Changed ssecond occurence of "Unable to know if the file exists. An error ocurred when trying to check file existence."
* | Merge release-5.3Carlos Tadeu Panato Junior2018-09-106-10/+19
|\|
| * Speed up search results post selection. (#9380)Christopher Speller2018-09-103-5/+7
| |
| * Changing comparison method. (#9383)Christopher Speller2018-09-101-1/+2
| |
| * MM-11649: Fix caching issue in channel API endpoints. (#9345)George Goldberg2018-09-062-4/+10
| | | | | | | | This fixes an issue where the cached Channel objects would contain data from a failed update when the update to the database failed.
* | Stop re-wrapping password reset email error in another error (#9382)Harrison Healey2018-09-101-5/+1
| |
* | MM-11882: Remove all users from a channel via CLI. (#9381)George Goldberg2018-09-101-10/+29
| |
* | MM-12007 Add max dimensions to emoji images (#9379)Harrison Healey2018-09-103-7/+29
| |
* | MM-11855 Add App.HTTPService to allow mocking of HTTP client (#9359)Harrison Healey2018-09-0710-49/+179
| | | | | | | | | | | | * MM-11855 Add App.HTTPService to allow mocking of HTTP client * Initialize HTTPService earlier
* | Fix typo (#9347)Chetanya Kandhari2018-09-051-1/+1
| |
* | Add preparatory upgrade code for 5.4.0 (#9355)Carlos Tadeu Panato Junior2018-09-051-0/+11
| | | | | | | | | | | | * Add preparatory upgrade code for 5.4.0 * add migration from bad merge
* | Merge remote-tracking branch 'upstream/release-5.3' into ↵cpanato2018-09-047-28/+153
|\| | | | | | | release-5.3-daily-merge-20180904
| * Uncomment upgrade for 5.3.0 (#9354)Carlos Tadeu Panato Junior2018-09-042-5/+4
| | | | | | | | | | | | * Uncomment upgrade for 5.3.0 * add missing version
| * MM-11720: disable loading plugin specific config from the environment (#9334)Jesse Hallam2018-09-032-22/+133
| | | | | | There are numerous issues here, including some non-determinism in the viper library (fixable) and some annoying behaviour regarding periods in keys, often used by plugin ids (fix unknown). Let's defer the handling of same until we can get our config loading library to do what we need it to do vs. having to hack around viper all the time.
| * MM-11728: Avoid Archived channels editions throught Patch (#9335)Jesús Espino2018-09-033-0/+15
| |
* | MM-11703: Update incoming and outgoing webhook description to 500 characters ↵n1aba2018-09-046-10/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#9265) * MM-11703: Update incoming and outgoing webhook description to 500 characters * MM-11703: Add upgrade code * MM-11703: Remove MAX_DESCRIPTION_LENGTH constants * MM-11703: GOFMT * MM-11703: Move upgrade code to version 5.3 * MM-11703: Comment back upgrade to 5.3.0 * MM-11703: Add API errors back * MM-11703: Copy-Paste
* | Merge remote-tracking branch 'upstream/merge-release-5.3-20180903124813'cpanato2018-09-033-3/+144
|\ \
| * | Merge release-5.3Carlos Tadeu Panato Junior2018-09-033-3/+144
|/| | | |/
| * MM-11693 Allow connections to /plugins for interactive message buttons. (#9333)Christopher Speller2018-09-023-3/+144
| | | | | | | | | | | | | | | | * Allow connetions to /plugins for interactive message buttons. * Adding siteurl to exclusions for AllowedUntrustedInternalConnections * Adding subpath support for allowing interactive message buttons plugin connections.
* | add megacheck as makefile target (#9288)Daniel Schalla2018-09-0350-213/+182
|/ | | | | | | | | | | | | | | | | | | | | | | | | Fix code issues in channel_test.go Fix Channel Test Issues detected by Megacheck Fix API Emoji Test Issues detected by Megacheck Fixed API Issues Reported by Megacheck Fixed App issues reported by megacheck Remaining fixes removed test added by mistake from old HEAD gofmt Store Fixes simplified returns Fix test for multi member channel delete revert to delete unused function
* Fix store cache invalidation for reactions (#9331)Harrison Healey2018-08-301-2/+2
|
* Invalidate store cache after making changes (#9211)Harrison Healey2018-08-303-10/+15
| | | | | | | | * Invalidate store cache after making changes * Address feedback * Make cache invalidation in stores always use defer
* MM-11710 Add a check to webhook messages to populate username from DM ↵Sudheer2018-08-301-1/+1
| | | | channel for email subject (#9314)
* bug fix: after and before search flags should not be inclusive of the ↵Dmitry Samuylov2018-08-292-5/+17
| | | | | | | | selected date (#9327) * fix for date based flag support to make the after and before flags not inclusive of the selected date * updated search posts tests using date flags to take into account new non inclusive of the selected date behavior of those flags
* Remove testing imports from non-test code. (#9324)George Goldberg2018-08-292-59/+58
|
* Add GetLDAPUserAttributes method to the plugin API (#9326)Joram Wilander2018-08-294-0/+77
|
* add --username in the example for the commands (#9320)Carlos Tadeu Panato Junior2018-08-291-6/+6
| | | | | | * add --username in the example for the commands * update per review
* MM-11270: Forbid react/de-react in archived channels (#9323)Jesús Espino2018-08-293-43/+109
|
* 9304 added the attachments import to direct post (#9308)Pradeep Murugesan2018-08-293-3/+64
|
* translations PR 20180827 (#9317)Elias Nahum2018-08-2815-258/+762
|
* MM-10532: Add EnableSyncWithLdapIncludeAuth config (#9319)Jesús Espino2018-08-283-4/+11
|