summaryrefslogtreecommitdiffstats
path: root/webapp/utils
Commit message (Collapse)AuthorAgeFilesLines
* [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
| * UI changes (#6876)Asaad Mahmood2017-07-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | * PLT-7011 - Long channel name truncation * PLT-7013 - Fixing channel header mobile * PLT-7012 - Updating quick switch modal on mobile * PLT-7008 - Channel preferences mobile fix * PLT-7014 - Increasing tap area for channel desc
* | Minor fixes based on lgtm.com alerts (#6819)Alex Ford2017-07-071-2/+2
|/ | | | | | | | | | * Remove a couple of superfluous trailing arguments * Simplify assignment logic in a couple of places * Modify some potentially inconsistent setState calls to use the function form * Fix eslint errors
* PLT-6905 - Updating channel header design (#6789)Asaad Mahmood2017-07-062-27/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PLT-6905 - Updating channel header design * Updating border-radius * Updating radius for wide icons * Updating trigger for overlay * Updating UI for channel header * Updating channel header sizing * Updating channel header css * Updating sidebar css * Updating status icons * Adjusting border * Updating comment * Removing type from status icon * Fixing UI issues for the channel header/sidebar * make "Add a channel description" open the channel header modal * Updating status and opacity * Updating stauts icon positioning * Updating description and heading size * Updating UI changes * Updating UI changes * add a focused class to the parent div .search__form and then remove when hover away * Fix active state for pinned posts icon * Updating UI changes * Update channel header text
* [PLT-6969] System console setting for the emoji picker (#6809)Saturnino Abril2017-07-061-4/+0
| | | | | | | | * system console setting for the emoji picker * remove state.emojiPickerEnable * update url to /admin_console/customization/emoji
* Minor UI Updates (#6842)Asaad Mahmood2017-07-051-26/+26
| | | | | | * PLT-6964 - Updating new theme * PLT-6827 - Fixing error bar link color issue
* [PLT-6838] Restrict channel delete option per permission policy even for ↵Saturnino Abril2017-07-051-1/+8
| | | | | | | | | | last channel member (#6706) * channel delete option is hidden from the menu unless there is appropriate permissions as set in the policy page * apply to public channel only and add restriction to API layer * updated channel deletion
* fix collapsed image preview that doesn't stay collapsed after posting a ↵Saturnino Abril2017-07-031-1/+1
| | | | message in the channel (#6833)
* Fixing JS error (#6813)Corey Hulen2017-06-302-2/+2
| | | | | | * Fixing JS error * Fixing js error and storing issue
* remove font setting and default to Open Sans (#6643)Saturnino Abril2017-06-302-30/+0
|
* [PLT-5864] Move teammate name display setting to the System Console (#6681)Saturnino Abril2017-06-302-14/+15
| | | | | | | | | | * move teammate name display setting to the system console * update all the likes of TeammateNameDisplay names * fix gofmt error * rebase and fix conflict
* update theme constants to have 6 hex format in lowercase (#6805)Saturnino Abril2017-06-291-46/+46
|
* [PLT-6496] Remove System Console and config settings for image height and ↵Saturnino Abril2017-06-291-0/+2
| | | | | | | | | | width (#6688) * remove System Console and config settings for image height and width * add constants and update config.json * updated as per review
* [PLT-6655] Remove 1024 character limit with text settings at system console, ↵Saturnino Abril2017-06-291-1/+0
| | | | | | | | except sitename of custom branding (#6597) * remove 1024 character limit with text settings at system console, except sitename of custom branding * add ability to set textarea of TextSetting
* [PLT-6707] /header [text] slash command: Edit the channel header (#6566)Carlos Tadeu Panato Junior2017-06-291-0/+1
| | | | | | | | * add /header slash command * update websocket * updater per review
* Added MarkdownImage component (#6774)Harrison Healey2017-06-281-21/+1
| | | | | | * Added MarkdownImage component * Fixed unit tests
* PLT-6796 - Regression: Code tag is empty for html code blocks (#6779)Carlos Tadeu Panato Junior2017-06-281-1/+1
|
* PLT-6799 Removed <wbr> tags from markdown links (#6766)Harrison Healey2017-06-281-12/+0
| | | | | | * PLT-6799 Removed <wbr> tags from markdown links * Fixed unit tests
* PLT-6900: Hide DotMenu container when DotMenu empty. (#6770)George Goldberg2017-06-281-0/+20
|
* [PLT-6599] Add link to check Websocket port error message (#6743)Carlos Tadeu Panato Junior2017-06-281-1/+2
|
* Move remaining actions over to use redux and v4 endpoints (#6720)Joram Wilander2017-06-264-901/+8
|
* PLT-3711: Add websocket event for emoji addition (#6211)VeraLyu2017-06-231-1/+2
| | | | | | | | | | | | * PLT-3711: Add websocket event for emoji addition * (SA) updated as per review This PR is edited directly to merge into master. * (SA) updated as per review This PR is edited directly to merge into master.
* PLT-6714: add /settings command (#6716)Chris2017-06-231-0/+1
| | | | | | * add /settings command * update receiver name
* PLT-6890 Fix various scrolling issues (#6727)Joram Wilander2017-06-234-4/+40
| | | | | | | | | | * Fix various scrolling issues * Move reaction scrolling to reaction list * Handle scrolling when RHS opens * Only run scroll update code when posts change