summaryrefslogtreecommitdiffstats
path: root/webapp/utils
Commit message (Collapse)AuthorAgeFilesLines
* Removing webappChristopher Speller2017-09-0620-5635/+0
|
* PLT-7300: Add use_user_icon prop to allow bots to just use their user icon ↵Chris2017-09-051-1/+1
| | | | | | | | (#7381) * add use_user_icon prop to allow bots to just use their user icon * revert unintentional change
* PLT-7468 Moved more error pages to use predefined error types (#7378)Harrison Healey2017-09-051-1/+4
| | | | | | | | * PLT-7468 Moved more errors to use error types * PLT-7468 Moved 404 error page to use error types * Made helper function for rendering external links on error page
* PLT-7474 Stopped requiring confirmation for mentions in code blocks (#7375)Harrison Healey2017-09-061-1/+11
| | | | | | * PLT-7474 Stopped requiring confirmation for mentions in code blocks * Stopped mentioning people from code blocks using ~~~
* fix email notifications settings appearing save despite cancel (#7359)Saturnino Abril2017-09-051-0/+38
|
* PLT-7518 Added unit tests for channel linking (#7352)Harrison Healey2017-09-042-7/+16
| | | | | | * PLT-7518 Added unit tests for channel linking * Removed unused escaping function
* Minor bug fixes (#7305)Asaad Mahmood2017-08-301-3/+3
| | | | | | | | | | | | * PLT-7063 - Changing search bar bg and color * PLT-7064 - Adjusting info popover styling * PLT-7124 - Fixing sidebar with webrtc call ongoing * PLT-7400 - Fixing semi transparent options list * PLT-7491 - Showing send button on mobile
* PLT-7379: Timestamp on deleted, ephemeral, or pending post is a permalink ↵Jonathan2017-08-301-10/+9
| | | | | | | | | | | | | | | | (#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
* PLT-6403: Interactive messages (#7274)Chris2017-08-291-2/+4
| | | | | | | | | | * wip * finish first pass * requested changes * add DoPostAction to Client4
* Experimental implementation for webapp plugins (#7185)Joram Wilander2017-08-291-1/+3
| | | | | | | | | | * Start of experimental implementation for webapp plugins * Updates to webapp plugin architecture * Update pluggable test * Remove debug code
* PLT-7318 fixing focus issue with IPad (#7287)Corey Hulen2017-08-251-1/+1
| | | | | | * PLT-7318 fixing focus issue with IPad * Fixing for RHS
* PLT-7224 - Updating post textbox UI (#7153)Asaad Mahmood2017-08-252-4/+5
| | | | | | | | * PLT-7224 - Updating post textbox UI * Updating post textbox spacing * Updating emoji icon
* Fixing logging errors for Franz (#7273)Corey Hulen2017-08-221-24/+26
|
* PLT-5747: Fixed inconsistent on-hover, tooltip, and active states for ↵Sudheer2017-08-211-2/+4
| | | | | | | | | | | buttons. (#7174) * Fixed LHS Team Sidebar on hover highlight. * Fixed LHS Main Menu on hover tooltip to show "Main menu". * Added On-hover highlight for Favorite button in channel heading. * Added active state for channel members icon. * Added active class based on internal react state with new changeCss rule. * Changed cursor to pointer on hovering a theme. * Fixed Invite New Member Add Button to have text-underline on hover.
* PLT-7256: Fix email rate selection when batching is disabled (#7202)atp2017-08-211-1/+2
|
* PLT-7397 Added loadImage function instead of Image.prototype.load (#7184)Harrison Healey2017-08-181-23/+13
|
* [PLT-3377] Open up a shortcuts dialog instead of printing help text (#7064)Saturnino Abril2017-08-182-3/+4
| | | | | | | | | | | | | | | | | | * open up a shortcuts dialog instead of printing help text * Updating UI for keyboard shortcuts modal * update PR per PLT-7284 * fix typo error * fix mixed up shortcut keys * move to client side * fix shortcuts list, remove unused function and revert server side code for autocompletion * remove quick team switcher
* Merge branch 'release-4.1'Christopher Speller2017-08-174-7/+33
|\
| * [PLT-7342] Add function and tests to specifically determine @all & @channel ↵Saturnino Abril2017-08-121-0/+9
| | | | | | | | | | | | | | | | (#7181) * add function and tests to specifically determine @all & @channel * uodate per comments - regex and tests
| * PLT-6609: Fix hashtag highlighting of search results (#7175)George Goldberg2017-08-112-6/+23
| | | | | | | | | | | | * PLT-6609: Don't highlight #hashtag.dot when searching for #hashtag * Fix bug that broke pre-release.
| * PLT-7323/PLT-7334 CSS fixes (#7155)Asaad Mahmood2017-08-111-1/+1
| | | | | | | | | | | | | | | | | | | | * PLT-7334 - Channel header cuts off list * PLT-7323 - Fixing alignment for attachments * PLT-7323 - Fixing close button for attachments * Changed header description to use margin instead of padding
* | Minor UI improvements (#7137)Asaad Mahmood2017-08-172-9/+11
| | | | | | | | | | | | | | | | | | | | | | | | * PLT-7303 - Fixing manage members button * Revert "PLT-7303 - Fixing manage members button" This reverts commit 7dcb68a8e333a2c95444d417ed9a244c9c30aa99. * PLT-7303 - Redesigning channel members popover * Updating font size and positioning
* | PLT-7206: Remove the "Delete Channel" option for private channels if you're ↵Jonathan2017-08-092-34/+34
|/ | | | | | | | | | | | | | | | | | | | | | | | 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-7317] Fix emoji picker preview (#7136)Saturnino Abril2017-08-081-1/+1
| | | | | | * fix emoji picker preview * make use of sprite-sheet CSS for all system emojis
* Revert "PLT-6609: Don't highlight #hashtag.dot when searching for #hashtag ↵George Goldberg2017-08-082-24/+7
| | | | | (#7109)" (#7147) This reverts commit f4638aecec2933f20efb4b95c2e0a90c22b47b43.
* PLT-6609: Don't highlight #hashtag.dot when searching for #hashtag (#7109)George Goldberg2017-08-072-7/+24
|
* PLT-6924 Added ability to disable file uploads/downloads on old mobile apps ↵Harrison Healey2017-08-041-0/+24
| | | | (#7117)
* PLT-7267 Refactored tracking of recent emojis to hide deleted emojis (#7102)Harrison Healey2017-08-041-1/+3
| | | | | | * Fixed local ESLint error * PLT-7267 Refactored tracking of recent emojis to hide deleted emojis
* [PLT-2407] Improve ordering of uploaded attachments (#7022)Saturnino Abril2017-08-041-0/+5
| | | | | | * improve ordering of uploaded attachments * use LocalizationStore.getLocale() when comparing file names
* PLT-6823 Removes option to set notification sound in Edge (#6883)Alex White2017-08-031-1/+5
| | | | | | | | | | | | | | | | | | | | | | * Remove sound notification support for Edge * Move the sound test to utils and also stop the dings for Edge along with firefox * Fix some styling issues * Remove sound notification support for Edge Move the sound test to utils and also stop the dings for Edge along with firefox Fix some styling issues * Reversing soundOptions util method. Fixing some string IDs for clarity * Fixing a syntax error * Restructure HasSoundOptions blocks to not begin with negative statement * Fixing paranthesis
* PLT-6484 Add /leave command to leave a channel (#6402)David Meza2017-08-031-0/+1
| | | | | | | | | | | | | | | | | | * PLT-6484 Add /leave command to leave a channel * Text changes requeted on review. * PLT-6484 Display the right error message when trying to /leave town-square * PLT-6484 Be able to execute /leave command in direct and group message channels with the same effect as clicking x * PLT-6484 Refactor to create new leave_private_channel_modal.jsx * PLT-6484 Remove previous leave private channel logic to use new leave_private_channel_modal.jsx * Remove dot in command description. Change localized error when leaving Town square. * disable /leave command in reply threads on the right-hand sidebar, since it is not obvious which channel you should leave
* [PLT-1249] Add close button 'x' to the right of a link preview (#7017)Saturnino Abril2017-08-032-1/+4
| | | | | | | | | | | | | | | | | | | | * add close button 'x' to the right of a link preview * Updating webhook UI * UI improvements for close button * Adding hover state * Making the close button visible on mobile * previews are permanently disabled/closed for that link * make post as required props * fix JS error of undefined * fix update issue both at center and RHS view
* Fixed error thrown when viewing a channel containing an invalid emoji ↵Harrison Healey2017-08-011-2/+2
| | | | | | | | reaction (#7080) * Added better error handling for when reacting with a non-existant emoji * Re-added emoji aliases ca, za, and pk
* add POST_UPDATED constant for socket events (#7074)Saturnino Abril2017-08-011-0/+3
|
* PLT-6987 User access token UI (#7007)Joram Wilander2017-08-011-2/+2
| | | | | | | | | | * Add user access token UI * Fix enter press and update mattermost-redux * Updating UI for access token stuff (#7066) * Revert segment key
* Use Constants.MAX_CHANNELNAME_LENGTH where a fixed number like 22 or 64 is ↵David Meza2017-08-011-0/+2
| | | | used for max length of channel names. (#7041)
* PLT-6595 (Client): Elasticsearch indexing system console UI (#6991)George Goldberg2017-08-011-0/+14
| | | | | | | | | | | | | | | | | | | | * 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.
* [PLT-6710] /rename [text] slash command: Rename the channel (#6570)Carlos Tadeu Panato Junior2017-07-311-0/+1
| | | | | | * /rename [text] slash command: Rename the channel * update strings per review
* PLT-6486 Add an `@username` button to the profile popover, that puts the ↵David Meza2017-07-311-0/+2
| | | | | | | | | | | | username in the post when clicked (#6349) * PLT-6486 Add an `@username` button to the profile popover, that puts the username in the post when clicked * PLT-6486 Display `@username` mention on the right text area on center or RHS. * Disable @mentions from profile popover on searches, mentions and pinned posts. Fix js errors. * Control undefined post in SearchStore that causes an exception.
* Multiple Ui improvements (#7029)Asaad Mahmood2017-07-312-2/+4
| | | | | | | | | | | | | | | | * PLT-7119 - Updating headings on compact view * PLT-7103 - Removing line below channel intro * PLT-7112 - Fixing system console banner * PLT-7144 - Adding ellipsis to system console boxes * PLT-7181 - Changing channel header opacity * PLT-6899 - Updating unread bar * Updating margin for new messages indicator
* Added websocket event and webapp handler for updating user roles (#6953)Nick Frazier2017-07-271-0/+1
|
* Refresh the emoji library (#7001)Chris2017-07-251-10/+7
| | | | | | | | | | | | | | * 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
* PLT-3470: Changed all instances of user list to show full name, username, ↵Jonathan2017-07-241-0/+35
| | | | and nickname (#6994)
* Add [...] menu to search results list (#6663)Saturnino Abril2017-07-211-1/+2
| | | | | | | | * Add [...] menu to search results list * fix updates on search results when post is pinned or edited * remove app dispatcher from component
* [PLT-6708] /purpose [text] slash command: Edit the channel purpose (#6569)Carlos Tadeu Panato Junior2017-07-211-0/+1
| | | | | | | | | | | | | | | | * /purpose [text] slash command: Edit the channel purpose * update command on server side to check for direct or group channels * update stings and block the dialog when is DM or GM * update per review * remove duplicate websocker event and apply the same for /header command * update per review * update
* PLT-6689: fix user image requests (#6946)Chris2017-07-193-7/+21
| | | | | | * fix user image requests * fix eslint errors and a few more cache busters
* Merge branch 'release-4.0'Christopher Speller2017-07-182-9/+6
|\
| * PLT-7025: Fix Slack Import API. (#6905)George Goldberg2017-07-121-1/+1
| |
| * [PLT-7021] Add missing borders of emoji picker (#6897)Saturnino Abril2017-07-121-5/+2
| | | | | | | | | | | | * add missing borders of emoji picker * set input class `emoji-picker__search` border-width to zero
| * Minor UI fixes for 4.0 (#6899)Asaad Mahmood2017-07-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | * PLT-7056 - Fixing profile popover position * PLT-7082 - Removing extra space below header * PLT-7074 - Channel header fix * PLT-7054 - Fixing scroll inside members popover * Updating mention highlight color for default theme