summaryrefslogtreecommitdiffstats
path: root/api/command_test.go
Commit message (Collapse)AuthorAgeFilesLines
* Reduce utils.Cfg references (#7650)Chris2017-10-181-25/+26
| | | | | | | | | | | | * app.UpdateConfig method * test fix * another test fix * the config override option as-was is just error prone, remove it for now * derp
* parallel tests (#7629)Chris2017-10-161-2/+3
|
* Don't use global app for api / api4 tests (#7528)Chris2017-10-021-0/+14
| | | | | | | | | | | | | | * 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
* Renaming repoChristopher Speller2017-09-061-2/+2
|
* [PLT-5170] Add join the channel system message for the person who created ↵Saturnino Abril2017-08-301-5/+19
| | | | | | | | 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
* 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
* Implement APIv4 infrastructure (#5191)Joram Wilander2017-01-301-2/+2
| | | | | | * Implement APIv4 infrastructure * Update parameter requirement functions per feedback
* PLT-1598 Slash command works in RHS (#4367)Yusuke Nemoto2016-12-091-2/+2
| | | | | | | | | | | | | | | | | | | | | * PLT-1598 Slash command works in RHS * fix UserProfile in the reply for Slash Command * fix some problem about the system messages in RHS * system message in RHS isn't displayed as comment for root message * remove status indicator for system message in RHS * system message in RHS is colored to grey * system messages don't count as commented post * fix bug about cleaning draft in RHS * remove unnecessary function * implement new model for executing command
* Add support for editing slash commands (#4335)Brian Olecki2016-11-151-0/+39
|
* Fixing permissions issue when deleting slash commands (#4414)Christopher Speller2016-11-011-2/+19
|
* Added duplicated trigger validation (#3124)David Lu2016-05-271-13/+28
|
* PLT-2057 User as a first class object (#2648)Corey Hulen2016-04-211-92/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Adding TeamMember to system * Fixing all unit tests on the backend * Fixing merge conflicts * Fixing merge conflict * Adding javascript unit tests * Adding TeamMember to system * Fixing all unit tests on the backend * Fixing merge conflicts * Fixing merge conflict * Adding javascript unit tests * Adding client side unit test * Cleaning up the clint side tests * Fixing msg * Adding more client side unit tests * Adding more using tests * Adding last bit of client side unit tests and adding make cmd * Fixing bad merge * Fixing libraries * Updating to new client side API * Fixing borken unit test * Fixing unit tests * ugg...trying to beat gofmt * ugg...trying to beat gofmt * Cleaning up remainder of the server side routes * Adding inital load api * Increased coverage of webhook unit tests (#2660) * Adding loading ... to root html * Fixing bad merge * Removing explicit content type so superagent will guess corectly (#2685) * Fixing merge and unit tests * Adding create team UI * Fixing signup flows * Adding LDAP unit tests and enterprise unit test helper (#2702) * Add the ability to reset MFA from the commandline (#2706) * Fixing compliance unit tests * Fixing client side tests * Adding open server to system console * Moving websocket connection * Fixing unit test * Fixing unit tests * Fixing unit tests * Adding nickname and more LDAP unit tests (#2717) * Adding join open teams * Cleaning up all TODOs in the code * Fixing web sockets * Removing unused webockets file * PLT-2533 Add the ability to reset a user's MFA from the system console (#2715) * Add the ability to reset a user's MFA from the system console * Add client side unit test for adminResetMfa * Reorganizing authentication to fix LDAP error message (#2723) * Fixing failing unit test * Initial upgrade db code * Adding upgrade script * Fixing upgrade script after running on core * Update OAuth and Claim routes to work with user model changes (#2739) * Fixing perminant deletion. Adding ability to delete all user and the entire database (#2740) * Fixing team invite ldap login call (#2741) * Fixing bluebar and some img stuff * Fix all the different file upload web utils (#2743) * Fixing invalid session redirect (#2744) * Redirect on bad channel name (#2746) * Fixing a bunch of issue and removing dead code * Patch to fix error message on leave channel (#2747) * Setting EnableOpenServer to false by default * Fixing config * Fixing upgrade * Fixing reported bugs * Bug fixes for PLT-2057 * PLT-2563 Redo password recovery to use a database table (#2745) * Redo password recovery to use a database table * Update reset password audits * Split out admin and user reset password APIs to be separate * Delete password recovery when user is permanently deleted * Consolidate password resetting into a single function * Removed private channels as an option for outgoing webhooks (#2752) * PLT-2577/PLT-2552 Fixes for backstage (#2753) * Added URL to incoming webhook list * Fixed client functions for adding/removing integrations * Disallowed slash commands without trigger words * Fixed clientside handling of errors on AddCommand page * Minor auth cleanup (#2758) * Changed EditPostModal to just close if you save without making any changes (#2759) * Renamed client -> Client in async_client.jsx and fixed eslint warnings (#2756) * Fixed url in channel info modal (#2755) * Fixing reported issues * Moving to version 3 of the apis * Fixing command unit tests (#2760) * Adding team admins * Fixing DM issue * Fixing eslint error * Properly set EditPostModal's originalText state in all cases (#2762) * Update client config check to assume features is defined if server is licensed (#2772) * Fixing url link * Fixing issue with websocket crashing when sending messages to different teams
* Revert "PLT-2183 Slash command auto-complete"Christopher Speller2016-03-181-4/+1
|
* fix TestListCommandsNicolas Clerc2016-03-171-1/+4
|
* Fixing merge=Corey Hulen2016-02-011-4/+4
|\
| * Fixing email unit tests=Corey Hulen2016-02-011-6/+6
| |
| * Revert " PLT-7 adding loc for db calls"Corey Hulen2016-01-201-6/+6
| |
| * PLT-7 adding loc db calls for users table=Corey Hulen2016-01-201-6/+6
| |
| * PLT-7 Adding translation function to context=Corey Hulen2016-01-191-4/+4
| |
* | Adding test command=Corey Hulen2016-01-151-0/+66
| |
* | Switching to enable integrations for testing=Corey Hulen2016-01-111-8/+17
| |
* | Adding loading testing commands=Corey Hulen2016-01-101-55/+0
| |
* | adding different commands=Corey Hulen2016-01-091-173/+0
| |
* | Adding web service methods=Corey Hulen2016-01-081-1/+74
| |
* | partial fix for UI=Corey Hulen2016-01-081-9/+121
| |
* | PLT-1429 adding sql storage for slash commands=Corey Hulen2016-01-061-200/+200
|/
* Updated emails in unit tests to include '+'Reed Garmsen2015-12-131-6/+6
|
* Added /loadtest url command to load arbitrary files as postshmhealey2015-11-231-0/+56
|
* Changing SpinPunch to Mattermost in copyrightChristopher Speller2015-10-081-1/+1
|
* Added slight delay to TestEchoCommand to account for race conditionhmhealey2015-09-301-0/+3
|
* Update the /join command to use the correct redirect URL, and update the ↵Justyn Shull2015-09-291-2/+3
| | | | test to match
* Added unit testsnickago2015-08-261-1/+36
|
* Changing the way we mattermost handles URLs. team.domain.com becomes ↵Christopher Speller2015-07-201-6/+6
| | | | | | | domain.com/team. Renaming team.Name to team.DisplayName and team.Domain to team.Name. So: team.Name -> url safe name. team.DisplayName -> nice name for users
* Renamed FullName column in database to Nickname. Renamed all serverside ↵hmhealey2015-07-171-4/+4
| | | | references from FullName to Nickname.
* Fixing unit tests=Corey Hulen2015-07-061-4/+5
|
* fixing race condition in unit tests=Corey Hulen2015-07-051-4/+4
|
* update unit tests for default channelsJoramWilander2015-06-291-1/+1
|
* first commit=Corey Hulen2015-06-141-0/+146