summaryrefslogtreecommitdiffstats
path: root/webapp/components/suggestion
Commit message (Collapse)AuthorAgeFilesLines
...
* Updating shift UI changes (#4326)Asaad Mahmood2016-10-271-1/+1
| | | | | | | | * Updating shift UI changes * Adding border to last account settings item * Fixing modals
* Fixed autocomplete to work with TextareaAutosize (#4325)Harrison Healey2016-10-251-2/+2
|
* PLT-4404 Replace calls to onInput with onChange to better support IE11 (#4315)Harrison Healey2016-10-251-12/+12
| | | | | | * Replace calls to onInput with onChange to better support IE11 * Replaced react-textarea-autosize with react-autosize-textarea
* Save profiles for channel switcher autocomplete to fix switching to new DMs ↵Joram Wilander2016-10-241-0/+14
| | | | (#4313)
* Clear emoji suggestion list if there no matches (#4290)Joram Wilander2016-10-211-1/+1
|
* Fix autocomplete for old mechanisms and add partial fix for channel switcher ↵Joram Wilander2016-10-204-39/+69
| | | | (#4279)
* Merging performance branch into master (#4268)Joram Wilander2016-10-194-102/+118
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * improve performance on sendNotifications * Fix SQL queries * Remove get direct profiles, not needed anymore * Add raw data to error details if AppError fails to decode * men * Fix decode (#4052) * Fixing json decode * Adding unit test * Initial work for client scaling (#4051) * Begin adding paging to profiles API * Added more paging functionality * Finish hooking up admin console user lists * Add API for searching users and add searching to all user lists * Add lazy loading of profiles * Revert config.json * Fix unit tests and some style issues * Add GetProfilesFromList to Go driver and fix web unit test * Update etag for GetProfiles * Updating ui for filters and pagination (#4044) * Updating UI for pagination * Adjusting margins for filter row * Adjusting margin for specific modals * Adding relative padding to system console * Adjusting responsive view * Update client user tests * Minor fixes for direct messages modal (#4056) * Remove some unneeded initial load calls (#4057) * UX updates to user lists, added smart counts and bug fixes (#4059) * Improved getExplicitMentions and unit tests (#4064) * Refactor getting posts to lazy load profiles correctly (#4062) * Comment out SetActiveChannel test (#4066) * Profiler cpu, block, and memory profiler. (#4081) * Fix TestSetActiveChannel unit test (#4071) * Fixing build failure caused by dependancies updating (#4076) * Adding profiler * Fix admin_team_member_dropdown eslint errors * Bumping session cache size (#4077) * Bumping session cache size * Bumping status cache * Refactor how the client handles channel members to be large team friendly (#4106) * Refactor how the client handles channel members to be large team friendly * Change Id to ChannelId in ChannelStats model * Updated getChannelMember and getProfilesByIds routes to match proposal * Performance improvements (#4100) * Performance improvements * Fixing re-connect issue * Fixing error message * Some other minor perf tweaks * Some other minor perf tweaks * Fixing config file * Fixing buffer size * Fixing web socket send message * adding some error logging * fix getMe to be user required * Fix websocket event for new user * Fixing shutting down * Reverting web socket changes * Fixing logging lvl * Adding caching to GetMember * Adding some logging * Fixing caching * Fixing caching invalidate * Fixing direct message caching * Fixing caching * Fixing caching * Remove GetDirectProfiles from initial load * Adding logging and fixing websocket client * Adding back caching from bad merge. * Explicitly close go driver requests (#4162) * Refactored how the client handles team members to be more large team friendly (#4159) * Refactor getProfilesForDirectMessageList API into getAllProfiles API * Refactored how the client handles team members to be more large team friendly * Fix js error when receiving a notification * Fix JS error caused by current user being overwritten with sanitized version (#4165) * Adding error message to status failure (#4167) * Fix a few bugs caused by client scaling refactoring (#4170) * When there is no read replica, don't open a second set of connections to the master database (#4173) * Adding connection tacking to stats (#4174) * Reduce DB writes for statuses and other status related changes (#4175) * Fix bug preventing opening of DM channels from more modal (#4181) * Fixing socket timing error (#4183) * Fixing ping/pong handler * Fixing socket timing error * Commenting out status broadcasting * Removing user status changes * Removing user status changes * Removing user status changes * Removing user status changes * Adding DoPreComputeJson() * Performance improvements (#4194) * * Fix System Console Analytics queries * Add db.SetConnMaxLifetime to 15 minutes * Add "net/http/pprof" for profiling * Add FreeOSMemory() to manually release memory on reload config * Add flag to enable http profiler * Fix memory leak (#4197) * Fix memory leak * removed unneeded nil assignment * Fixing go routine leak (#4208) * Merge fixes * Merge fix * Refactored statuses to be queried by the client rather than broadcast by the server (#4212) * Refactored server code to reduce status broadcasts and to allow getting statuses by IDs * Refactor client code to periodically fetch statuses * Add store unit test for getting statuses by ids * Fix status unit test * Add getStatusesByIds REST API and move the client over to use that instead of the WebSocket * Adding multiple threads to websocket hub (#4230) * Adding multiple threads to websocket hub * Fixing unit tests * Fixing so websocket connections from the same user end up in the same… (#4240) * Fixing so websocket connections from the same user end up in the same list * Removing old comment * Refactor user autocomplete to query the server (#4239) * Add API for autocompleting users * Converted at mention autocomplete to query server * Converted user search autocomplete to query server * Switch autocomplete API naming to use term instead of username * Split autocomplete API into two, one for channels and for teams * Fix copy/paste error * Some final client scaling fixes (#4246) * Add lazy loading of profiles to integration pages * Add lazy loading of profiles to emoji page * Fix JS error when receiving post in select team menu and also clean up channel store
* Made SuggestionBox take back keyboard focus after the user clicks on a ↵Harrison Healey2016-09-281-0/+2
| | | | suggestion (#4112)
* Updating ESLint (#4085)Christopher Speller2016-09-234-7/+7
|
* PLT-4182 Fix incorrect listing for at-mention in comment (#4031)Yi EungJun2016-09-191-7/+13
| | | | | | | | | | * Add missing eol * PLT-4182 Fix incorrect listing for at-mention in comment Suggestion box for at-mention listed users for the center channel even if the current textbox is for reply for a post which belongs to a different channel.
* PLT-1759 - Auto-complete for !channels when posting messages. (#3890)George Goldberg2016-09-191-0/+130
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Auto-complete for !channels when posting messages. This is part 1 of the fix for PLT-1759 to make channels linkable. Still to do: - Make the !channels clickable when they appear in messages. This is blocked until PR #3865 is resolved as it looks like that refactors some of the code that would be touched by making this change. - Unit tests. Again, I think the above referenced PR should be merged before tackling this. * Fix style problems. * Highlighting of !channel-names in messages. This only identifies the !channel-name (not the display name). The implementation of the auto-complete on channel names now needs to be modified to convert to the channel handle before sending the message. * Display !channel-name as !Display Name. When we encounter !channel-name in a message, display it as a link using the channel's actual name rather than it's handle (name). * Match on names and display name, and use name. * Autocomplete channels matching on both the name and the the display name. * Use the name as the text we fill in instead of the display name. It's potentially a bit ugly, but it minimises complexity for now as otherwise we'd have to do complicated things to the message box. * Fix style issues. * Load more channels everywhere. Whenever we load the list of channels, we should also load the list of more channels. This is to enable auto-completing and auto-linking of all channels whether or not the user is in them currently. * Include more channels in the map for linking. * Listen for channel list updates for autolinking. * Remove accidental console.log. * Autocomplete on more channels too. * i18n for channel autocomplete. * Link directly to channels in !channel mentions. This currently does not work if you aren't a member of that channel. Need to decide what the correct behaviour is in that case. * Fix style issues. * Show channel name and handle in suggestion. * Match channels only at start or after space. * Better matching in text-formatting. Only match channels after a space-type character or at the start in the posts list too. * Move the route construction to make tests work. Moves route-construction out of text_formatting.jsx and into utils.jsx so that the unit tests work once again.
* Made search autocomplete for channels and users case insensitive (#3965)Harrison Healey2016-09-122-2/+2
|
* PLT-4100 Made SuggestionList dividers optional (#3990)Harrison Healey2016-09-083-17/+15
| | | | | | * Made SuggestionList dividers optional * Stopped mutating the User object in the AtMentionProvider
* Slash command in uppercase shows autocomplete (#3840)Ryan Wang2016-08-221-1/+1
|
* Change ordering of at-mention suggestions (#3698)Yi EungJun2016-08-112-39/+92
| | | List members in the current channel first.
* Added icons next to channels in channel switcher (#3663)David Lu2016-07-251-3/+22
|
* PLT-2408 Adds here mention for online users (#3619)Joram Wilander2016-07-211-0/+12
| | | | | | | | | | * Added @here mention that notifies online users * Fixed existing race condition that would sometime cause clients to miss mention count changes * Added missing localization strings * Prevent @here from mentioning the user who posted it
* Moving javascript driver back to platform (#3613)Christopher Speller2016-07-192-2/+2
|
* Added a space before all entries in @mention autocomplete (#3605)Harrison Healey2016-07-181-3/+4
|
* Fixed input handlers used by Textbox and SuggestionBox components to ↵Harrison Healey2016-07-151-24/+27
| | | | properly update when typing quickly (#3598)
* Updating ESLint (#3597)Christopher Speller2016-07-151-1/+1
|
* PLT-3366 Holding down the ALT key and clicking on a message adds a new ↵samogot2016-07-141-0/+1
| | | | messages indicator (squashed) (#3374)
* sorted channel switcher by handle (#3547)David Lu2016-07-111-1/+7
|
* PLT-3145 Custom Emojis (#3381)Harrison Healey2016-07-051-11/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Reorganized Backstage code to use a view controller and separated it from integrations code * Renamed InstalledIntegrations component to BackstageList * Added EmojiList page * Added AddEmoji page * Added custom emoji to autocomplete and text formatter * Moved system emoji to EmojiStore * Stopped trying to get emoji before logging in * Rerender posts when emojis change * Fixed submit handler on backstage pages to properly support enter * Removed debugging code * Updated javascript driver * Fixed unit tests * Fixed backstage routes * Added clientside validation to prevent users from creating an emoji with the same name as a system one * Fixed AddEmoji page to properly redirect when an emoji is created successfully * Fixed updating emoji list when an emoji is deleted * Added type prop to BackstageList to properly support using a table for the list * Added help text to EmojiList * Fixed backstage on smaller screen sizes * Disable custom emoji by default * Improved restrictions on creating emojis * Fixed non-admin users seeing the option to delete each other's emojis * Fixing gofmt * Fixed emoji unit tests * Fixed trying to get emoji from the server when it's disabled
* PLT-2640 Added searching users by additional field when autocompleting ↵Harrison Healey2016-07-041-13/+41
| | | | | | | | @mentions (#3412) * Added the ability to search users by their first/last name or nickname when using @mentions * Changed @mention autocomplete to display a user's nickname
* Added text emoticons to autocomplete (#3312)Harrison Healey2016-06-151-4/+23
|
* PLT-3094 - Fixing autocomplete and image modal scrolling on mobile (#3279)Asaad Mahmood2016-06-092-2/+8
|
* PLT-3056 Fix Unable to type quickly in post textbox in IE11 (#3249)enahum2016-06-061-3/+2
|
* PLT-3185 Added support for DMs in Channel Switcher (#3260)David Lu2016-06-061-1/+16
| | | | | | * Added support for DMs * Checked username beginning characters
* PLT-2994 Added @all (#3233)David Lu2016-06-041-2/+9
| | | | | | * Added @all * Uncomment @all server side
* PLT-2962 Added channel switcher modal (#3216)David Lu2016-06-023-5/+65
| | | | | | | | * Added channel switcher modal * Fixed typos * Added handling for duplicate channels
* Fixed click handlers for autocomplete (#3213)Harrison Healey2016-06-024-7/+7
|
* PLT-2643 Fixed asynchronous autocomplete incorrectly replacing text (#3167)Harrison Healey2016-05-319-86/+117
| | | | | | * Allowed different suggestions to match different text. Added a Suggestion base component. Improved text replacement used when filling in suggestions * Fixed formatting
* Refactor login, claim and create_team into views and add actions (#3110)Joram Wilander2016-05-262-2/+2
|
* Prevented scrolling through suggestion list when there's no suggestions (#3111)Harrison Healey2016-05-261-0/+4
|
* PLT-2816 Fixed handling of Unicode 8 emojis (#2924)Harrison Healey2016-05-091-1/+1
| | | | | | | | | | | | * Updated twemoji to properly recognize Unicode 8.0 emojis * Updated unicode emoji parser to only render emojis we support as images * Corrected filename for South African flag emoji * Added Mattermost emoticons! * Added additional emoticons to test files
* Made SuggestionBox clear suggestions on escape (#2909)Harrison Healey2016-05-061-0/+2
|
* Removed @all mention suggestion (#2845)Harrison Healey2016-05-021-6/+1
|
* PLT-2057 User as a first class object (#2648)Corey Hulen2016-04-212-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Merge pull request #2320 from mozilla/msg-commandJoram Wilander2016-04-041-6/+9
|\ | | | | PLT-2231 /msg command and tests
| * msg commandAlan Mooiman2016-03-241-6/+9
| |
* | Imported React into SearchSuggestionListHarrison Healey2016-03-241-0/+1
|/
* Merge pull request #2523 from hmhealey/plt2351Joram Wilander2016-03-241-14/+14
|\ | | | | PLT-2351 Switch to Apple emoji set
| * Change emoticon rendering code to use image files with unicode namesHarrison Healey2016-03-231-14/+14
| |
* | Multiple UI ImprovementsAsaad Mahmood2016-03-241-1/+9
| |
* | Switched Textbox to use a TextareaAutosize and removed custom resizing codeHarrison Healey2016-03-211-3/+14
|/
* Revert "PLT-2183 Slash command auto-complete"Christopher Speller2016-03-182-4/+3
|
* eslint error: validate suggestion_box channelId propNicolas Clerc2016-03-171-0/+1
|
* add external slashcommands managementNicolas Clerc2016-03-172-3/+3
|
* Converting to Webpack. Stage 1.Christopher Speller2016-03-168-0/+784