summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Feature/search after before on (#9219)Dmitry Samuylov2018-08-2811-36/+401
| | | | | | | | | | | | | | | | | | | | | | | | | | * initial implementation of after, before, on search flags allowing to restrict the search to a specific day or a date range * missed setting beforeDate in SearchParams in one place * fixed condition when only flags are used for search without any plain terms * changed date format used for after/before/on flags to be in ISO8601 format as suggested in PR comments, added a helper function to pad month and day with zeroes allowing the user user either format, with or without leading zeroes * corrected expected compare to date setting for the TestParseDateFilterToTimeISO8601 test * fixed a bug for the scenario when you only have the date flags without any terms, added a couple of tests for that scenario * updated the date filter logic to use parameters to construct the query instead of simply appending strings together, as suggested in the pull request comments * added search unit test using date flags * added a helper function to create a test post with a createat date manually set, updated the test for search using date flags to create test posts with different createat dates to be able to better test the functionality * MM-11817 Add support for after/before/on search flags with Elasticsearch * add support to search posts to perform the search in context of the client's timezone when filtering by createat date using on: after: before: flags * updated tests to match the new signature
* Updating dependancies. (#9303)Christopher Speller2018-08-28255-5111/+11042
|
* MM-11327: Restrict Teams by Email (#9142)Gabe Van Engel2018-08-285-113/+273
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Check a team's AllowedDomains setting before adding users to the team. * Updated AddUser tests to validate AllowedDomains restriction. * Updated variable name to match convention. * Removed AllowedDomains from team sanitization. * Update AppError's Where to match the calling function. * Added tests for user matching allowedDomains, and multi domain values of allowedDomains. * Added test to make sure we block users who have a subdomain of a whitelisted domain. * Revert "Removed AllowedDomains from team sanitization." This reverts commit 17c2afea584da40c7d769787ae86408e9700510c. * Update sanitization tests to include dockerhost, now that we enforce AllowedDomains. * Added tests to verify the interplay between the global and per team domain restrictions. * Validate AllowedDomains property against RestrictCreationToDomains before updating a team. * Remove team.AllowedDomains from sanitization. * Add i18n string for the team allowed domains restriction app error.
* Adding IdAttribute setting for SAML (#9291)Jesús Espino2018-08-283-0/+8
| | | | | | | | * Adding IdAttribute setting for SAML * Adding Saml Id Attribute to the diagnostics information * Adding entry to default.json
* Update en.json typo (#9312)Cosmin M2018-08-271-1/+1
| | | "id": "plugin.api.update_user_status.bad_status",Unable to set the user statys. Unknown user status.
* Add debug-server task to make file to run mattermost using delve (#9290)Jesús Espino2018-08-271-0/+10
|
* Moving magic number to constant in team import (#9298)Jesús Espino2018-08-271-2/+3
|
* MM-11786: Adds API endpoint to retrieve redirect locations. (#9284)Martin Kraft2018-08-243-0/+81
|
* Fix sampledata reset LastPostAt when the channels are empty (#9295)Jesús Espino2018-08-241-1/+8
|
* translations PR 20180820 (#9277)Elias Nahum2018-08-241-12/+12
|
* Support for interactive menus in message attachments (#9285)Joram Wilander2018-08-244-8/+89
|
* If no origin header is set for WebSocket, do not fail upgrade (#9287)Joram Wilander2018-08-241-0/+4
|
* Merge release-5.2Carlos Tadeu Panato Junior2018-08-247-9/+29
|\
| * MM-11782: Make archived channels experimental and off-by-default. (#9281)George Goldberg2018-08-227-9/+29
| | | | | | | | | | | | * MM-11782: Make archived channels experimental and off-by-default. * Fix test.
* | MM-11572: Force correct order on messages generated in the bulk (#9244)Jesús Espino2018-08-246-7/+66
| |
* | MM-11348: Add telemetry for advanced permissions. (#9249)George Goldberg2018-08-236-32/+226
| |
* | Add/Remove translations (#9280)Jesús Espino2018-08-221-18/+42
| |
* | [MM-11593] Prevent user to remove from a direct channel (#9251)Saturnino Abril2018-08-213-0/+33
| | | | | | | | | | | | * prevent user to remove from a direct channel * only allow removing of a member in private or public channel
* | Adding Permissions check and reactions function to plugins API (#9273)Jesús Espino2018-08-204-0/+325
| | | | | | | | | | | | * Adding reactions functions * Adding permissions checking in the plugins api
* | Add ToJson() to PostActionIntegrationResponse (#9247)Hanzei2018-08-202-6/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add ToJson() to PostActionIntegrationResponse This commits adds a ToJson() methode to PostActionIntegrationResponse. It also adds tests for other ToJson() methods * Add PostActionIntegrationResponseFromJson function * Add PostActionIntegrationRequesteFromJson() function * Fix test names * Add testcase
* | Add FileInfo and get file []byte in plugin api (#9269)Elias Nahum2018-08-204-0/+122
| | | | | | | | | | | | | | | | * Add FileInfo and get file []byte in plugin api * Regenerated plugin mocks * Rename ReadFileAtPath to ReadFile
* | Add PostId to PostActionIntegrationRequest (#9270)Hanzei2018-08-182-0/+2
| |
* | Update default.json (#9256)Jason Blais2018-08-161-1/+2
| |
* | Merge release-5.2Carlos Tadeu Panato Junior2018-08-1617-314/+320
|\|
| * translations PR 20180813 (#9252)Elias Nahum2018-08-1515-307/+307
| | | | | | | | | | | | * translations PR 20180813 * Fix french translation
| * MM-11678: Split the cache for includeDeleted and not includeDeleted ↵Jesús Espino2018-08-141-2/+7
| | | | | | | | | | | | | | | | memberships requests (#9254) * MM-11678: Split the cache for includeDeleted and not includeDeleted memberships requests * Updating properly the cache on sucess
| * clarify CopyFileInfos godocs (#9243)Jesse Hallam2018-08-101-5/+6
| |
* | Add link to developer docs in readme/contributing.md (#9248)Jason Blais2018-08-142-1/+2
| | | | | | | | | | | | * Update README.md * Update CONTRIBUTING.md
* | Update mockery before generate mocks (#9250)Jesús Espino2018-08-141-3/+3
| |
* | Merge remote-tracking branch 'upstream/release-5.2' into ↵cpanato2018-08-104-14/+79
|\| | | | | | | release-5.2-daily-merge-20180810
| * MM-11382 Remove special handling of PluginSettings when loading config (#9234)Harrison Healey2018-08-102-6/+73
| | | | | | | | | | | | | | | | * MM-11382 Only override PluginSettings from environment when necessary * MM-11382 Remove special handling of PluginSettings when loading config * Add extra unit test
| * MM-11637: avoid stopping unstarted jobs (#9240)Jesse Hallam2018-08-092-8/+6
| | | | | | | | | | The new locking primitives in 5.2 around jobs assume the worker/scheduler was actually started, so don't try to stop if not started.
* | avoid t.Fatal() in tests (#9189)Jesse Hallam2018-08-0918-362/+153
| | | | | | | | | | | | I've been burned a few times by tests that simply fatal, requiring me to run another build to learn more about what the mismatch was. Avoid this. This is part of a long running goal of mine to make testing "better".
* | Ignore link-local addresses in cluster advertisement (#9223)Daniel Malon2018-08-081-1/+1
| |
* | Merge remote-tracking branch 'upstream/release-5.2' into ↵cpanato2018-08-0845-103/+335
|\| | | | | | | release-5.2-daily-merge-20180808
| * MM-9747: Small fixes for attachments import (#9225)Jesús Espino2018-08-083-3/+60
| | | | | | | | | | | | * MM-9747: Small fixes for attachments import * Adding unit test RootId check in replies
| * fix plugintest example and docs (#9213)Jesse Hallam2018-08-083-48/+66
| |
| * MM-11384: Add system install date information to the client config (#9218)Jesús Espino2018-08-0837-38/+203
| | | | | | | | | | | | | | | | * MM-11384: Add system install date information to the client config * Fixing translation text * Fixes from Peer Review
| * Remove global-relay export command from the cli (#9226)Jesús Espino2018-08-081-10/+0
| |
| * try to fix the flaky test (#9231)Carlos Tadeu Panato Junior2018-08-071-4/+6
| |
* | Update serverside markdown parser to respect unicode and capitalized links ↵Harrison Healey2018-08-085-78/+173
| | | | | | | | (#9235)
* | Add preparatory upgrade code for 5.3.0 (#9224)Carlos Tadeu Panato Junior2018-08-081-0/+10
|/
* translations PR 20180802 (Adds Romanian) (#9210)Elias Nahum2018-08-068-53/+6418
| | | | | | * translations PR 20180802 * Fix romanian translation
* Uncomment upgrade for 5.2.0 (#9216)Carlos Tadeu Panato Junior2018-08-062-6/+6
|
* MM-11510: Adds delete at value to delete channel websocket event. (#9217)Martin Kraft2018-08-041-1/+4
|
* MM-11575: change plugin nil semantics (#9212)Jesse Hallam2018-08-035-165/+466
| | | | | | | | * change MessageWillBePosted nil return semantics * change FileWillBeUploaded nil return semantics * use LogDebug to verify plugin inputs vs. the confusing Delete(User|Team)
* Idiomatic error handling on team sql store (#9201)Jesús Espino2018-08-032-83/+121
|
* MM-11576: Allow to join and add members to archived channels (#9214)Jesús Espino2018-08-033-18/+0
|
* MM-11529: Allow to Leave an archived channel from the API (#9204)Jesús Espino2018-08-034-10/+22
| | | | | | * MM-11529: Allow to Leave an archived channel from the API * Remove the restriction to remove user from archive channel to yourself
* Feature/fileinfo create copy (#9198)dmitrysamuylovpharo2018-08-026-0/+127
| | | | | | | | * Initial implementation of a CopyFileInfos function that creates new FileInfo objects copied from provided FileIds with the provided user as the creator and not linked to a post yet. This can subsequently be used to copy existing attachments from another post to attach to a new post without having to re-upload the actual files * added a unit test for the CopyFileInfos function * resolving pull request suggestions