summaryrefslogtreecommitdiffstats
path: root/webapp/utils/constants.jsx
Commit message (Collapse)AuthorAgeFilesLines
* PLT-1759 - Auto-complete for !channels when posting messages. (#3890)George Goldberg2016-09-191-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Webrtc client side (#4026)enahum2016-09-161-25/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * WebRTC Server side * WebRTC client side * Bug fixes and improvements * Pushing UI improvements for webrtc (#3728) * Pushing UI improvements for webrtc * Updating webrtc css * PLT-3943 WebRTC P1: bug fixes and improvements * Video resolution set to std, reduce volume of ringtone and flip video horizontally * Fix calling a user B while WebRTC RHS is still opened * Leave RHS opened when call ends, Fix isBusy on popover and channel_header * Fix pre-release feature, RHS & System Console * PLT-3945 - Updating UI for webrtc (#3908) * PLT-3943 Webrtc p1 * Add ongoing call indicator when RHS is opened * UI updates to to webrtc notifcation (#3959)
* Send hello event containing server version on WebSocket connect (#3936)Joram Wilander2016-09-041-1/+2
|
* PLT-2074 Refactor desktop notification settings UI and add setting for ↵Joram Wilander2016-08-291-1/+2
| | | | | | | | | | duration (#3883) * Refactor desktop notification settings UI and add setting for duration * Update en.json * Update desktop_notification_settings.jsx
* PLT-3942 Add real-time updates for center channel profile picture popover ↵enahum2016-08-241-0/+1
| | | | | | | | | | (#3871) * PLT-3942 Add real-time updates for center channel profile picture pop-over * Send user data with the websocket event to prevent further requests * Add helper for profile sanitation
* PLT-3647 Email Batching (#3718)Harrison Healey2016-08-161-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PLT-3647 Added config settings for email batching * PLT-3647 Refactored generation of email notification * PLT-3647 Added serverside code for email batching * PLT-3647 Updated settings UI to enable email batching * PLT-3647 Removed debug code * PLT-3647 Fixed 0-padding of minutes in batched notification * PLT-3647 Updated clientside UI for when email batching is disabled * Go fmt * PLT-3647 Changed email batching to be disabled by default * Updated batched email message * Added email batching toggle to system console * Changed Email Notifications > Immediate setting to a 30 second batch interval * Go fmt * Fixed link to Mattermost icon in batched email notification * Updated users to use 30 second email batching by default * Fully disabled email batching when clustering is enabled * Fixed email batching setting in the system console * Fixed casing of 'Send Email notifications' -> 'Send email notifications' * Updating UI Improvements for email batching (#3736) * Updated text for notification settings and SiteURL. * Prevented enabling email batching when SiteURL isn't set in the system console * Re-added a couple debug messages * Added warning text when clustering is enabled
* PLT-3005 Added confirmation screen to integrations (#3747)David Lu2016-08-151-0/+6
|
* Change ordering of at-mention suggestions (#3698)Yi EungJun2016-08-111-1/+4
| | | List members in the current channel first.
* PLT-3506 Added flagged posts functionality (#3679)Joram Wilander2016-08-041-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added flagged posts functionality * UI Improvements to flags (#3697) * Added flag functionality for mobile * Updating flagged text (#3699) * Add back button to RHS thread when coming from flagged posts * Updating position of flags (#3708) * Plt 3506 - Reverting flag position (#3724) * Revert "Updating position of flags (#3708)" This reverts commit aaa05632c5d9eda35a048300a5bd7e99584c5b58. * Fixing the icon in search * Help text and white space improvements (#3730) * Updatng help text and some white spacing. * Updating help text
* PLT-3484 OAuth2 Service Provider (#3632)enahum2016-08-031-1/+3
| | | | | | | | | | | | | | * PLT-3484 OAuth2 Service Provider * PM text review for OAuth 2.0 Service Provider * PLT-3484 OAuth2 Service Provider UI tweaks (#3668) * Tweaks to help text * Pushing OAuth improvements (#3680) * Re-arrange System Console for OAuth 2.0 Provider
* PLT-3633 EE: Add Google and Office365 SSO through OAuth2 (#3660)Joram Wilander2016-07-291-0/+1
| | | | | | | | | | | | | | | | * EE: Add Google and Office365 SSO through OAuth2 * Add localization strings * Text tweaks for PLT-3633 * Added sign-up button for Office 365 * Updated some error messages and a bit of licensing * Updated sign-in method section in user settings to include Google and Office365 * Added more localization strings
* PLT-3687 Restrict the name "matterbot" from usernames (#3686)enahum2016-07-281-1/+2
|
* PLT-2408 Adds here mention for online users (#3619)Joram Wilander2016-07-211-1/+1
| | | | | | | | | | * 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
* PLT-3644 - Updating link previews behaviour (#3620)Asaad Mahmood2016-07-191-1/+1
|
* Added default to max users per team (#3602)David Lu2016-07-181-0/+1
|
* PLT-2241 Refactored statuses into a more real-time system (#3573)Joram Wilander2016-07-181-1/+8
| | | | | | | | | | * Refactored statuses into a more real-time system * Updated package.json with correct commit and fixed minor bug * Minor updates to statuses based on feedback * When setting status online, update only LastActivityAt if status already exists
* PLT-2992 Added the ability to use different themes for each team (#3411)Harrison Healey2016-07-141-114/+121
| | | | | | | | | | | | | | | | | | | | | | * Cleaned up user_settings_theme.jsx and import_theme_modal.jsx * Made ImportThemeModal use a callback to return the theme to the user settings modal instead of saving it directly * Moved user theme from model to preferences * Added serverside API to delete preferences TODO update package with client stuff * Changed constants.jsx so that Preferences and ActionTypes can be imported on their own * Updated ThemeProps migration code to properly rename solarized code themes * Fixed warnings thrown by AppDispatcher * Added clientside UI to support team-specific themes * Removed debugging code from test * Fixed setting a user's theme when they haven't set their theme before
* PLT-3192 EE: Restricted site name to 30 characters (#3560)David Lu2016-07-141-0/+2
| | | | | | * Restricted site name to 30 characters * Added maxlength to TextSetting
* PLT-1465 Added password requirements (#3489)David Lu2016-07-061-1/+1
| | | | | | | | | | * Added password requirements * added tweaks * fixed error code * removed http.StatusNotAcceptable
* PLT-2863 adding remove user from team (#3429)Corey Hulen2016-07-061-0/+2
| | | | | | | | | | | | | | * PLT-2863 adding remove user from team * PLT-2863 adding the client side UI * Fixing trailing space * Fixing reported issues * Adding documentatino * Switching to final javascript driver
* Added new segment analytics (#3511)David Lu2016-07-061-0/+9
|
* PLT-3346/PLT-3342/PLT-3360 EE: Add the ability to restrict channel ↵Joram Wilander2016-07-061-3/+3
| | | | | | | | management permissions (#3453) * EE: Add the ability to restrict channel management permissions * Always allow last user in a channel to delete that channel
* SAML support (#3494)enahum2016-07-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PLT-3073: Implement SAML/Okta Server side (EE) (#3422) * PLT-3137 Support for SAML configuration * PLT-3410 SAML Database Store * PLT-3411 CLI to add Identity Provider Certificate and Service Provider Private Key * PLT-3409 SAML Interface for EE * PLT-3139 Handle SAML authentication server side * Add localization messages * PLT-3443 SAML Obtain SP metadata * PLT-3142 Login & Switch to/from SAML * Remove Certs for Database & Clean SAML Request * Make required Username, FirstName and LastName * PLT-3140 Add SAML to System Console (#3476) * PLT-3140 Add SAML to System Console * Move web_client functions to client.jsx * Fix issues found by PM * update package.json mattermost driver * Fix text messages for SAML
* PLT-3418, PLT-2950, PLT-3375, PLT-3382, PLT-3446, PLT-3465: Multiple UI ↵Asaad Mahmood2016-07-051-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improvements (#3449) Improving help text margins Updating changes for get link and create post files Fixing icon for select team screen Fixing styles for select team button Adding improvements to posts UI Adding improvement to post layout Updating changes for post controls Updating z-index for sidebar--right Updating help text position Fixing code for posts Fixing css for post view Pushing improvements for posts view Updating changes for post view Updating post layout Fixing system time css Updating header for system posts Updating post css Removing opacity and changing color for system messages Simplifying root post and system post behaviour Removing images from compact view Updating help text for display Updating embed preview text for advanced option PLT-3490 - Fixing RHS issue on Edge
* PLT-1316/PLT-3280 Change client-side max file size limit (#3354)Thomas Balthazar2016-07-051-1/+0
| | | | | | | | | * Change client-side max file size limit It now relies on the value set in config.json. Re-enable and tweak the max file size setting in system console. * Update file upload error message
* PLT-3145 Custom Emojis (#3381)Harrison Healey2016-07-051-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* EE: Add the ability to restrict the user roles that can send team invites ↵Joram Wilander2016-06-291-1/+4
| | | | (#3442)
* Fixed @all not working as intended (#3335)David Lu2016-06-151-2/+1
|
* PLT-3202 Re-render timestamps when display settings switch between 12h and ↵Harrison Healey2016-06-151-1/+2
| | | | | | | | 24h (#3337) * Made post timestamp switch from 12h to 24h without refreshing * Made RHS post timestamps switch from 12h to 24h without refreshing
* Distinguish between static embeds and toggleable embeds (#3333)Joram Wilander2016-06-151-0/+1
|
* PLT-3221 Remove async call to get posts when creating a comment and editing ↵enahum2016-06-091-0/+1
| | | | | a post (#3300) PLT-3203 Commenting on the RHS while in permalink view makes the message not show up in the RHS
* PLT-3114 Moved preview collapse out of pre-release features (#3206)Joram Wilander2016-06-061-5/+3
| | | | | | | | | | * Added user setting to auto collapse image previews * Added slash commands for collapsing/expanding image previews * Added translation strings for collapse setting * Add default props for preview collapse setting
* PLT-3101 Added message history (#3205)David Lu2016-06-061-0/+1
| | | | | | | | | | | | * Added message history * Minor logical changes * Fixed indexes resetting * Fixed double messages * Fixed resetting main history when RHS opened
* PLT-3177 - Fixing ordering for custom themes (#3226)Asaad Mahmood2016-06-031-5/+5
| | | | | | | | | Fix for bot tag and webhook attachments Adding theme styling for webhooks Removing embed styling Improving margins on compcat view for line breaks
* Added scrolling, move out of navbar (#3163)David Lu2016-06-011-0/+1
| | | Added magic number, removed jqueryi
* Added maxlength for nicknames (#3186)David Lu2016-05-311-0/+1
|
* Add license expiry messages (#3153)Joram Wilander2016-05-301-1/+3
|
* PLT-2672 Refactored posts view with caching (#3054)Joram Wilander2016-05-271-1/+13
| | | | | | | | | | * Refactored posts view to use view controller design * Add post view caching * Required updates after rebase * Fixed bug where current channel not set yet was causing breakage
* Added BOT in RHS (#3136)David Lu2016-05-271-1/+2
| | | Changed BOT to constant
* Refactor login, claim and create_team into views and add actions (#3110)Joram Wilander2016-05-261-0/+3
|
* Added all keycodes (#3079)David Lu2016-05-231-7/+90
|
* Added validation for command triggers (#3068)David Lu2016-05-201-0/+2
|
* Multiple UI Improvements (#3038)Asaad Mahmood2016-05-191-2/+2
|
* Adding compact layout (#2991)Asaad Mahmood2016-05-161-1/+5
| | | | | | * Adding compact layout * Fixing ESLint error
* PLT-2786 Open Account Settings/Recent Mentions Shortcuts (#2957)David Lu2016-05-121-1/+3
| | | | | | | | * Account settings shortcut added * Added constants * Added recent mentions shortcut
* Added 'here' to list of reserved usernames (#2933)David Lu2016-05-101-1/+2
|
* DM and Modal changes (#2927)Asaad Mahmood2016-05-091-1/+1
| | | | | | * DM and Modal changes * Fixing image previews
* PLT-2765 Limit username UI to 22 characters (#2918)David Lu2016-05-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | * Shortened username length to 22 characters * Update user_settings_general.jsx * Added username requirements to account settings page * Switched to double quotes to escape ' in JSX, must use double quotes * Update en.json * Update user_settings_general.jsx * Update es.json * Update fr.json * Update ja.json * Update pt.json * Added missing {
* Add separator between DMs on your team and not (#2910)Joram Wilander2016-05-061-0/+1
|
* PLT-2600/PLT-2770 Added Get Public Link modal and added new API for public ↵Harrison Healey2016-05-051-0/+1
| | | | | | | | file links (#2892) * Switched public file links to use a GetLinkModal * Separated getFile and the new getPublicFile api calls