summaryrefslogtreecommitdiffstats
path: root/webapp/tests
Commit message (Collapse)AuthorAgeFilesLines
* PLT-6595 (Client): Elasticsearch indexing system console UI (#6991)George Goldberg2017-08-011-5/+5
| | | | | | | | | | | | | | | | | | | | * PLT-6595: System Console for Elasticsearch Job Management. * Fixing UI issues * Fixing colors * ESLint Fixes. * Update test snapshots. * Fixing cancel button * Fix review comments. * Config capitalisation. * Review fixes.
* GH-6448 Migrate edit_command.jsx to be pure and use Redux (#6858)94117nl2017-07-312-0/+460
| | | | | | | | | | * Migrate edit_command.jsx to be pure and use Redux, add basic test * Update newCommand to reference modified command * Fix typo * Remove unnecessary re-renders
* Migrate add and edit incoming webhook components to redux (#6885)Carlos Tadeu Panato Junior2017-07-274-0/+92
| | | | | | | | * Migrate add incoming webhook components to redux * Migrate edit incoming webhook components to redux * Add tests
* Refresh the emoji library (#7001)Chris2017-07-251-2/+2
| | | | | | | | | | | | | | * refresh the emoji library * fix img_trans.gif * compress sprite sheet * remove note on compression - webpack seems to handle compression decently * better emoji sheet preloading * requested changes
* Migrate add and edit outgoing webhook components to redux (#6818)Joram Wilander2017-07-104-0/+94
|
* PLT-6445 Migrate add_command.jsx to be pure and use Redux (#6804)94117nl2017-07-042-0/+426
| | | | | | * Migrate add_command.jsx to be pure and use redux * Add basic test for AddCommand component
* Refactor system console buttons into RequestButton component. (#6808)George Goldberg2017-07-042-0/+711
| | | | | Since I was going to make yet another button for the ElasticSearch test config button, I refactored all of them to use a single common component and tidied that component up and gave it some unit tests.
* Added MarkdownImage component (#6774)Harrison Healey2017-06-281-5/+5
| | | | | | * Added MarkdownImage component * Fixed unit tests
* PLT-6799 Removed <wbr> tags from markdown links (#6766)Harrison Healey2017-06-282-4/+4
| | | | | | * PLT-6799 Removed <wbr> tags from markdown links * Fixed unit tests
* Move remaining actions over to use redux and v4 endpoints (#6720)Joram Wilander2017-06-2614-2936/+0
|
* add more Ids for UI automation (#6673)Saturnino Abril2017-06-201-0/+9
|
* PLT-4457 Added AtMention component to better render at mentions (#6563)Harrison Healey2017-06-202-40/+17
| | | | | | | | | | | | | | * Moved Utils.searchForTerm into an action * Added easier importing of index.jsx files * PLT-4457 Added AtMention component to better render at mentions * Fixed client unit tests * Fixed merge conflict * Fixed merge conflicts
* Merge release-3.10 into master (#6654)Joram Wilander2017-06-151-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-4257 Add pop-up asking if user wants to reset status (#6526)Joram Wilander2017-06-062-0/+83
| | | | | | | | | | | | * Add pop-up asking if user wants to reset status * Update test snapshot * Update prop name for old uses of confirm modal * Updating checkbox (#6586) * Updating style for checkbox (#6596)
* PLT-3466 E10: Add announcement bar feature (#6509)Joram Wilander2017-06-052-0/+150
| | | | | | | | | | | | | | | | | | | | | | | | | | * E10 - Add announcement bar feature * Updates per feedback * Add component tests and snapshots * Update snapshots * Updating color picker UI (#6543) * Add class to body tag when banner is not dismissable and clean up localstorage items when banner changes * Fixing links (#6544) * Updating UI for fixed error bar (#6552) * Truncating text on fixed banner (#6561) * Plt 3466 - Error bar link states (#6577) * Updating error bar hover state * Updating error bar link states
* Updating client dependencies. Switching to yarn. (#6433)Christopher Speller2017-05-182-5/+20
| | | | | | | | | | | | | | | | | | | | | | | | * Updating client dependancies. Switching to using yarn. * Updating React * Moving pure components to using function syntax (performance gains with newer react version) * Updating client dependancies. * Ignore .yarninstall * Enabling pre-lockfile because it's the entire point of using yarn. * Removing old webpack config * Moving to new prop-types * Fixing ESLint Errors * Updating jest snapshots. * Cleaning up package.json
* PLT-6406 Migrate new channel modal to be pure and use redux (#6416)Joram Wilander2017-05-172-0/+812
| | | | | | * Migrate new channel modal to be pure and use redux * Add component tests
* [PLT-1444] Created latinise function and updated cleanUpUrlable function to ↵chrismatteson2017-05-151-0/+23
| | | | utilize (#6273)
* Revert "[GH-5915] Clicking on @mention of a user in a post shows the profile ↵Harrison Healey2017-05-012-20/+12
| | | | | popover (#6129)" (#6289) This reverts commit 83f819451a80a767170b927eb2f0d5ed63f03239.
* [GH-5915] Clicking on @mention of a user in a post shows the profile popover ↵Saturnino Abril2017-05-012-12/+20
| | | | | | | | | | | | | | | | (#6129) * post message at-mention profile pop-over * remove hover effect to special mentions * make non-clickable the non-existing at-mention username * fix "video call" position * use usernameMap instead of initially defined liteUsernameMap * update per comments
* Creating common token store and moving email invites and verification to it ↵Christopher Speller2017-04-271-2/+1
| | | | (#6213)
* Refactor OAuth 2.0 code into app layer (#6037)Joram Wilander2017-04-121-2/+2
|
* PLT-5860 Updated copyright date (#6058)Harrison Healey2017-04-1226-29/+37
| | | | | | | | | | | | * 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
* Remove API endpoints being deprecated in 3.8 (#5880)Joram Wilander2017-03-282-48/+0
|
* PLT-5755: Infrastructure for Component Testing. (#5814)George Goldberg2017-03-2333-792/+1334
| | | | | | | | | | This migrates the existing webapp tests to using Jest and Enzyme. The infrastructure is put in place for React component testing, and a few simple example component tests are implemented. This also adds snapshot testing of components, coverage checking for the webapp (although that is not yet integrated to Coveralls), and the ability to run npm run test:watch to automatically re-run affected tests when working on the webapp codebase.
* PLT-5913: Remove id from heading markdown compilation (#5782)VeraLyu2017-03-231-1/+1
| | | | | Id for heading markdown is unnecessary as we didn't attach any style/effect on that id, and it also introduce duplicate id. So remove it from heading markdown generatiing.
* Revert "PLT-3181 Added crossorigin='anonymous' to all external images ↵Harrison Healey2017-03-201-5/+5
| | | | | (#5774)" (#5815) This reverts commit 24848f9d6a92eb1e09189c358636fd1ba32fa6d6.
* PLT-3181 Added crossorigin='anonymous' to all external images (#5774)Harrison Healey2017-03-161-5/+5
| | | | | | | | * PLT-3181 Added crossorigin='anonymous' to all external images * Fixed image unit tests * Added crossorigin='anonymous' to a few more places
* PLT-5321: Add markdown unit tests for images (#5770)VeraLyu2017-03-151-0/+55
|
* PLT-3077 Add group messaging (#5489)Joram Wilander2017-03-021-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implement server changes for group messaging * Majority of client-side implementation * Some server updates * Added new React multiselect component * Fix style issues * Add custom renderer for options * Fix model test * Update ENTER functionality for multiselect control * Remove buttons from multiselect UI control * Updating group messaging UI (#5524) * Move filter controls up a component level * Scroll with arrow keys * Updating mobile layout for multiselect (#5534) * Fix race condition when backspacing quickly * Hidden or new GMs show up for regular messages * Add overriding of number remaining text * Add UI filtering for team if config setting set * Add icon to channel switcher and class prop to status icon * Minor updates per feedback * Improving group messaging UI (#5563) * UX changes per feedback * Update email for group messages * UI fixes for group messaging (#5587) * Fix missing localization string * Add maximum users message when adding members to GM * Fix input clearing on Android * Updating group messaging UI (#5603) * Updating UI for group messaging (#5604)
* PLT-5380 Moved link preview image to top right corner of preview area (#5212)Debanshu Kundu2017-03-021-5/+3
| | | | | | | | * PLT-5380 Moved link preview image to top right corner of preview area for smaller images, larger and wide images are still shown below the text. Also added logic to hide image area if image loading fails. * Updating link previews css
* Added unit tests for mentions inside of hashtags (#5577)Harrison Healey2017-03-021-0/+45
|
* Added a unique prefix to text formatting entities (#5549)Harrison Healey2017-02-282-13/+13
|
* Move webhook logic from api layer to app layer (#5527)Joram Wilander2017-02-281-9/+9
| | | | | | | | * Move webhook logic from api layer to app layer * Consolidate error messages * Fix permission check and unit test
* Adding edit of incoming webhook (#5272)Poornima2017-02-261-2/+46
| | | | | | | Adding edit of outgoing webhook Fixing spelling of error Fixing style Changing from PUT to POST for updates Fixing test failures due to merge
* Final fixes for moving unread handling to client (#5392)Joram Wilander2017-02-131-0/+15
|
* Move permissions code into app package (#5146)Joram Wilander2017-01-231-12/+13
| | | | | | * Move permissions code into app package * Revert getPosts permission
* #4257 Added functionality to create previews for post links using open ↵Debanshu Kundu2017-01-201-0/+35
| | | | graph data from those links. (#4890)
* Removing old signup team API (#4950)Christopher Speller2017-01-041-16/+0
|
* PLT-5109/PLT-5112 Fixed commented out unit tests (#4951)Harrison Healey2017-01-042-34/+16
| | | | | | | | * Removed note about unconfirmed race condition * Fixed unit tests in client_channel.test.jsx * Fixed updateActive unit test on client
* Removing old createTeamFromSignup api (#4945)Christopher Speller2017-01-032-88/+40
|
* Removing unit test that we'll probably never run (#4944)Corey Hulen2017-01-031-17/+0
|
* Add API call to get a user by their email address (#4884)Carlos Tadeu Panato Junior2016-12-281-0/+15
| | | | | | * Add API call to get a user by their email address * update per review
* PLT-5012 Combine updateLastViewedAt, setLastViewedAt and setActiveChannel ↵Joram Wilander2016-12-211-0/+17
| | | | | | | | into a single API (#4840) * Combine updateLastViewedAt, setLastViewedAt and setActiveChannel into a single API * Remove preference DB writes
* PLT-4167 Team Sidebar (#4569)enahum2016-12-191-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PLT-4167 Team Sidebar * Address feedback from PM * change route from my_members to members * bug fixes * Updating styles for teams sidebar (#4681) * Added PM changes * Fix corner cases * Addressing feedback * use two different endpoints * Bug fixes * Rename model and client functions, using preferences to store last team and channel viewed * Fix mobile notification count and closing the team sidebar * unit test, fixed bad merge and retrieve from cached when available * bug fixes * use id for last channel in preferences, query optimization * Updating multi team css (#4830)
* PLT-4767 Implement MFA Enforcement (#4662)Joram Wilander2016-12-121-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Create MFA setup page and remove MFA setup from account settings modal * Add enforce MFA to system console and force redirect * Lockdown mfa required API routes, add localization, other changes * Minor fixes * Fix typo * Fix some unit tests * Fix more unit tests * Minor fix * Updating UI for MFA screen (#4670) * Updating UI for MFA screen * Updating styles for MFA page * Add the ability to switch between email/sso with MFA enabled * Added mfa change email * Minor UI updates for MFA enforcement * Fix unit test * Fix client unit test * Allow switching email to ldap and back when MFA is enabled * Fix unit test * Revert config.json
* Add API call to get a channel by its name (#4700)Carlos Tadeu Panato Junior2016-12-111-0/+15
| | | | | | | | | | | | * add api for getByChannelName * add tests * fix test * rename and tests * check for permissions and test
* PLT-1598 Slash command works in RHS (#4367)Yusuke Nemoto2016-12-091-2/+3
| | | | | | | | | | | | | | | | | | | | | * 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 API call to get a team by its name (#4690)Carlos Tadeu Panato Junior2016-12-081-0/+16
| | | | | | | | | | * Add API call to get a team by its name * add tests for client side and update route regex * remove action * add check for permissions and create tests
* Add Team Description to the Team Settings (#4652)Carlos Tadeu Panato Junior2016-12-011-0/+18
| | | | | | | | | | | | | | * draft * Add Team Description to the Team Settings * add tooltips for team description * made changes per PM review * add message when there is no description set in the team * squash