summaryrefslogtreecommitdiffstats
path: root/webapp/tests
Commit message (Collapse)AuthorAgeFilesLines
* slight modifications to keyboards dialog and also fix error with non-Mac (#7367)Saturnino Abril2017-09-062-0/+262
|
* PLT-7474 Stopped requiring confirmation for mentions in code blocks (#7375)Harrison Healey2017-09-061-2/+52
| | | | | | * PLT-7474 Stopped requiring confirmation for mentions in code blocks * Stopped mentioning people from code blocks using ~~~
* PLT-7518 Added unit tests for channel linking (#7352)Harrison Healey2017-09-041-0/+49
| | | | | | * PLT-7518 Added unit tests for channel linking * Removed unused escaping function
* [PLT-6996] On "About Mattermost", add notes with links to notice.txt which ↵Saturnino Abril2017-09-041-2/+24
| | | | | | | | | | has list of copyrights of open source components used (#7315) * on "About Mattermost", add notes with links to notice.txt which has list of copyrights of open source components used * remove apps from link * Minor UI update
* PLT-7379: Timestamp on deleted, ephemeral, or pending post is a permalink ↵Jonathan2017-08-301-0/+7
| | | | | | | | | | | | | | | | (#7295) * Removed permalink from system messages, general cleanup * Removed permalink from deleted messages * Removed permalink from pending messages * Fixed post_info tests * Changed permalink logic to remove permalinks from ephemeral messages, but leave them in place for system messages. * Fixed check style
* Experimental implementation for webapp plugins (#7185)Joram Wilander2017-08-292-0/+161
| | | | | | | | | | * Start of experimental implementation for webapp plugins * Updates to webapp plugin architecture * Update pluggable test * Remove debug code
* update test snapshot for post_info (#7297)Saturnino Abril2017-08-251-8/+28
|
* PLT-6451 Migrate installed_oauth_app.jsx to be pure and use Redux (#7190)n1aba2017-08-184-1/+233
| | | | | | * Migrate installed_oauth_app.jsx to be pure and use Redux, add test * Fix behavior for the error case
* PLT-6443 Migrate add_oauth_app.jsx to be pure and use Redux (#7232)n1aba2017-08-182-0/+694
| | | | | | * Migrate add_oauth_app.jsx to be pure and use Redux, add tests * Remove unused flux code for OAuthApps
* Merge branch 'release-4.1'Christopher Speller2017-08-171-0/+97
|\
| * [PLT-7342] Add function and tests to specifically determine @all & @channel ↵Saturnino Abril2017-08-121-0/+97
| | | | | | | | | | | | | | | | (#7181) * add function and tests to specifically determine @all & @channel * uodate per comments - regex and tests
* | set ephemeral message ("message deleted") without ("Only visible to you") ↵Saturnino Abril2017-08-172-0/+713
| | | | | | | | visible to users other than the owner (#7201)
* | PLT-7206: Remove the "Delete Channel" option for private channels if you're ↵Jonathan2017-08-091-0/+782
|/ | | | | | | | | | | | | | | | | | | | | | | | the last channel member and policy setting restricts channel deletion (#7050) * PLT-7206: UI changes. Removed last user in channel loophole, refactored code to clean it up, added differentiated support for public and private channels, added unit tests. Still need to implement server-side checks * PLT-7206: All helper methods in channel_utils.jsx now accept the same three boolean variables in the same order and use the same boolean logic to check their values. * PLT-7206: Added unit tests for showManagementOptions(...) * PLT-7206: Fixed test case descriptions * Added unit tests for showCreateOption(...) * PLT-7206: Added unit tests for canManageMembers(...) * PLT-7206: Removed last person in channel loophole from server-side code * PLT-7206: Reverted config.json * PLT-7206: Fixed double negatives in unit test names * PLT-7206: PR feedback - Removed confusing comment and unused variable
* PLT-6455 Migrate installed_oauth_apps.jsx to be pure and use Redux (#7059)94117nl2017-08-032-0/+151
| | | | | | * Migrate installed_oauth_apps.jsx to be pure and use Redux * Props docs typo, add test, remove commands_container, bump yarn.lock
* GH-6452 Migrate installed_command.jsx to be pure and use Redux (#6903)94117nl2017-08-032-0/+186
| | | | | | | | | | | | | | * Migrate installed_command.jsx to be pure and use Redux * Add test for InstalledCommand component * Fix failing test and typo * Whoops. Revert back deleted filter * Add filter test * Remove commands related code from /stores/integration_store.jsx
* 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