summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* add translation strings and add test case (#9294)Carlos Tadeu Panato Junior2018-09-242-0/+13
|
* MM-11707: Change the default setting for EDIT_OTHERS_POSTS (#9447)Jesús Espino2018-09-245-12/+15
| | | | | | | | | | | | * MM-11707: Removes edit_others_posts permission from the team_admin role in MakeDefaultRoles(). * MM-11707: Tests fix. * MM-11707: Update test store. * MM-11707: Allow to change the permission for edit the others posts on TE * Fixing tests
* Include webhook ID in debug log (#9439)Joram Wilander2018-09-241-1/+1
|
* Idiomatic error handling for app/c*.go (#9423)Jesús Espino2018-09-243-18/+20
|
* Idiomatic error handling for app/e*.go (#9426)Jesús Espino2018-09-244-98/+109
|
* Do not force downloading of shared public files (#9412)Vasily Naumkin2018-09-211-1/+1
| | | | | I believe we don't need to force downloading of shared public files, because `writeFileResponse` method will compare its MIME type with `MEDIA_CONTENT_TYPES` and output it inline or as attachment automatically. Usually we are share images and it is much more convenient to see them without downloading.
* Fail plugin activation if no web app and server component (#9438)Joram Wilander2018-09-211-1/+11
|
* Move file backend to its own service (#9435)Jesús Espino2018-09-2018-43/+273
| | | | | | * Move file backend to its own service * Moving utils/inbucket to mailservice package
* translations PR 20180917 (#9428)Elias Nahum2018-09-2015-119/+1239
|
* Improving token lookup. (#9436)Christopher Speller2018-09-201-5/+7
|
* Add ChannelId and TeamId to PostActionIntegrationRequest (#9384)Hanzei2018-09-193-8/+21
| | | | | | * Add ChannelId and TeamId to PostActionIntegrationRequest * Add tests
* Revert "disable EnablePublicChannelsMaterialization by default (#9418)" (#9427)Jesse Hallam2018-09-182-2/+2
| | | | This reverts commit 5786b0d6d57b90bbb0c262235dd9d19b497b5fae, now that the feature is safe to enable by default.
* Migrate to idiomatic error handling the first half to the app/channel.go (#9413)Jesús Espino2018-09-171-232/+243
|
* materialize PublicChannels without triggers (#9424)Jesse Hallam2018-09-174-346/+524
| | | | Creating triggers requires SUPERUSER privileges, and is especially painful on RDS. Pivot to maintaining this denormalized table in code.
* MM-11700 Clean up handling of user display names for notifications (#9343)Harrison Healey2018-09-187-72/+269
| | | | * MM-11700 Clean up handling of user display names for notifications
* 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