summaryrefslogtreecommitdiffstats
path: root/api4/command_test.go
Commit message (Collapse)AuthorAgeFilesLines
* MM-11895: Don't crush user-provided GET parameters on slash command URLs (#9372)alezakos2018-09-111-1/+2
|
* [MM-10754] Remove unnecessary command_test route (#9050)Saturnino Abril2018-07-061-15/+81
| | | | | | * remove unnecessary command_test route * replaced localhost with ts.URL
* MM-10201: querystring for get slash commands (#8779)Jesse Hallam2018-05-141-57/+130
| | | | | | | | | | | | | | * 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
* Fixing unit tests for Go 1.10 (#8568)Christopher Speller2018-04-031-0/+11
|
* Reduce utils.Cfg references (#7650)Chris2017-10-181-44/+53
| | | | | | | | | | | | * app.UpdateConfig method * test fix * another test fix * the config override option as-was is just error prone, remove it for now * derp
* PLT-7193: Regression - Custom slash commands don't work in direct or group ↵Jonathan2017-10-171-2/+129
| | | | | | | | message channels (#7635) * No longer overriding specified team id for DMs/GMs, as these types of channels don't belong to a team, and doing so breaks slash commands for them * Ensured user is on specified team in case of GM/DM, extended test suite
* parallel tests (#7629)Chris2017-10-161-3/+4
|
* PLT-7785: Slash commands can be issued to a channel in a team without it (#7567)Jonathan2017-10-041-0/+35
| | | | | | * Ensured that specified channel is a part of specified team * Simplified approach to just infer team id from specified channel id to eliminate the attack vector entirely
* Don't use global app for api / api4 tests (#7528)Chris2017-10-021-7/+7
| | | | | | | | | | | | | | * don't use global app for api / api4 tests * put sleep back. we're gonna have to do some goroutine wrangling * fix oauth test config assumptions * jobs package, i'm comin' for you next * app test fix * try increasing sleep a little
* PLT-7684 Add support to outgoing webhooks and slash commands to set post ↵Joram Wilander2017-09-281-0/+8
| | | | | | | | type and props (#7531) * Add support to outgoing webhooks and slash commands to set post type and props * Fix nil access
* Model: NewLocAppError -> NewAppError (#7450)George Goldberg2017-09-151-1/+1
|
* Renaming repoChristopher Speller2017-09-061-2/+2
|
* app type transition (#7167)Chris2017-09-061-9/+8
|
* [PLT-5170] Add join the channel system message for the person who created ↵Saturnino Abril2017-08-301-2/+15
| | | | | | | | the channel (#7299) * add join the channel system message for the person who created the channel * update test
* set to default value with config is missing (#7320)Saturnino Abril2017-08-301-2/+2
|
* PLT-6358: Server HTTP client improvements (#6980)Chris2017-08-091-0/+3
| | | | | | | | | | | | | | | | * restrict untrusted, internal http connections by default * command test fix * more test fixes * change setting from toggle to whitelist * requested ui changes * add isdefault diagnostic * fix tests
* Merge release-3.10 into master (#6654)Joram Wilander2017-06-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PLT-6787 Fixed being able to send a post before files finished uploading (#6617) * Fix quick switcher for channels/users not stored locally (#6610) * Fix button text on confirm mention modal (#6609) * fix post delete permission of channel admin (#6608) * open comment thread for the most recent reply-able message (#6605) * Use mutex flag with yarn to prevent concurrent builds interfering (#6619) * Use mutex flag with yarn to prevent concurrent builds interfering * Remove yarn mutex file with clean * Minor bug fixes (#6615) * PLT-6774 - Fixing color for offline icon * PLT-6784 - Fixing status icon * Fixing icon margin * Updating caret position * PLT-6070 Have ChannelMentionProvider stop searching after a term returns no results (#6620) * Fixing JS error (#6623) * Minor bug fixes (#6622) * PLT-6808 - Updating channel switcher on mobile * PLT-6743 - Updating scrollbar styling * Login instead of failing if user exists in OAuth sign-up flow (#6627) * PLT-6802 Disable team switcher (#6626) * Disable team switcher * Fix ESLint errors * PLT-6807 Ensured select teams page can scroll on iOS (#6630) * Do not redirect from account switch pages on 401 (#6631) * Fixing loadtest command and renaming to /test (#6624) * PLT-6820 Update mattermost-redux dependency (#6632) * translations PR 20170612 (#6629) * Bump HTTP client timeout to 30 seconds (#6633) * For team unreads return empty array instead of null (#6636) * PLT-6831 Fix status modal localization IDs (#6637) * Fix status modal localization IDs * Update test snapshot
* APIv4 POST /commands/execute (#6205)Saturnino Abril2017-04-271-0/+86
|
* [APIV4] POST /commands/{command_id}/regen_token for apiV4 (#6052)Carlos Tadeu Panato Junior2017-04-161-0/+36
| | | | | | * implement POST /commands/{command_id}/regen_token for apiV4 * update comment
* PLT-5860 Updated copyright date (#6058)Harrison Healey2017-04-121-1/+1
| | | | | | | | | | | | * PLT-5860 Updated copyright date in about modal * PLT-5860 Updated copyright notice in JSX files * PLT-5860 Updated copyright notice in go files * Fixed misc copyright dates * Fixed component snapshots
* APIv4 DELETE /commands/{command_id} (#6012)Saturnino Abril2017-04-101-0/+63
|
* APIv4 PUT /commands/{command_id} (#5999)Saturnino Abril2017-04-071-1/+87
| | | | | | * APIv4 PUT /commands/{command_id} * update client parameter and api4 test
* implement GET /teams/{team_id}/commands/autocomplete (#5951)Carlos Tadeu Panato Junior2017-04-031-0/+60
|
* implement GET /commands (#5865)Carlos Tadeu Panato Junior2017-04-031-0/+77
|
* Use 201 status code where appropriate for APIv4 (#5903)Joram Wilander2017-03-311-0/+1
|
* implement POST /commands for apiv4 (#5849)Carlos Tadeu Panato Junior2017-03-231-0/+60