Commit Graph

169 Commits

Author SHA1 Message Date
Harrison Healey
1c8fdb4cdd PLT-6277 Moved profile image cropping to server (#6269)
* PLT-6277 Moved profile image cropping to server

* Cosmetic refactoring of SettingPicture component
2017-05-03 09:08:00 -04:00
Harrison Healey
84977e002e PLT-6278 Fixed not being able to open custom theme sections on iOS (#6259) 2017-04-27 17:11:04 -04:00
Ryan Wang
66f538783b Create seperate field for current email (#6197) 2017-04-27 09:40:11 -04:00
Joram Wilander
6c4c706313 Start moving webapp to Redux (#6140)
* Start moving webapp to Redux

* Fix localforage import

* Updates per feedback

* Feedback udpates and a few fixes

* Minor updates

* Fix statuses, config not loading properly, getMe sanitizing too much

* Fix preferences

* Fix user autocomplete

* Fix sessions and audits

* Fix error handling for all redux actions

* Use new directory structure for components and containers

* Refresh immediately on logout instead of after timeout

* Add fetch polyfill
2017-04-25 11:46:02 -04:00
Harrison Healey
fb6f2a123c PLT-5860 Updated copyright date (#6058)
* 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
2017-04-12 08:27:57 -04:00
Jason Blais
d5f56e678a Update UI text for emoji picker setting (#5963)
* Update user_settings_advanced.jsx

* Update en.json
2017-04-03 21:27:45 -04:00
Asaad Mahmood
4ebc85e05c Ui improvements (#5948)
* PLT-5849 - Code block wrap on IOS

* PLT-5972 - Comment has first line indented

* PLT-6048 - Adjusting UI for link previews

* PLT-5733 - Adding error text theme option
2017-04-03 10:38:15 -07:00
George Goldberg
22715a31ed PLT-5879: User email notification settings disabling. (#5837)
When Email Notifications are turned off server wide, don't allow the
user to configure their email notification preferences.
2017-03-24 13:43:09 -07:00
bonespiked
28ad645153 Ticket 4665 - Emoji Picker (#5157)
*  #4665  Added EmojiPicker

Work primarily by @broernr-de and @harrison on pre-release.mattermost.com

* Final fixes to handle custom emojis from internal review and single merge error

* ESLint fixes

* CSS changes and other code to support emoji picker in reply window

* Fix for file upload and emoji picker icon positions on post and comment.

RHS emoji picker appearing see-through at this time.

* Fix for two ESLint issues.

* covered most of feedback:
RHS emoji picker looks correct color-wise
RHS emoji picker dynamically positions against height of thread size (post + reply messages)
escape closes emoji window
search box focused on open

ESLint fixes against other files
oversized emoji preview fixes

* Adding in 'outside click' eventing to dismiss the emoji window

* Changing some formatting to fix mismatch between my local eslant rules and jenkins.

* adding alternative import method due to downstream testing errors

* yet another attempt to retain functionality and pass tests - skipping import of browser store

* fix for feedback items 5 and 7:
* move search to float on top with stylistic changes
* whitespace in the header (+1 squashed commit)
Squashed commits:
[6a26d32] changes that address items
1, 2, 6, 8, and 9 of latest feedback

* Fix for attachment preview location on mobile

* Fix for latest rounds of feedback

* fixing eslint issue

* making emojipicker sprite based, fixing alignments

* Fix for emoji quality, fixing some behavior (hover background and cursor settings)
undoing config changes

* Preview feature for emojis

* Adjustments to config file, and changing layout/design of attachment and emoji icon.

* manual revert from master branch for config.json

* reverting paperclip and fixing alignments.  Additionally fixing inadvertent display of picker on mobile.

* CSS changes to try to fix the hover behavior - currently working for emoji picker (when enabled), but hover for attachment isn't working

* Made suggested changes by jwilander except for jQuery removal

* Adding hover for both icons

* removal of some usages of jQuery

* Fix for two layout issues on IE11/Edge

* UI improvements for emoji picker

* Fix for many minor display issues

* fix for additional appearance items

* fix to two minor UI items

* A little extra padding for IE11

* fix for IE11 scroll issue, and removing align attribute on img tag which was throwing js error

* fixes some display issues on firefox

* fix for uneven sides of emojis

* fix for eslint issues that I didn't introduce

* fix for missing bottom edge of RHS emojipicker.  also fixing text overlapping icons on text area (including RHS)

* Update "emoji selector" to "emoji picker"

* changes for code review
- removal of ..getDOMNode
- use sprite imagery for emoji preview
- remove lastBlurAt from state as it wasn't used

* fixes for:
- fake custom emoji preview in picker
- RHS scrollbar on preview

* fix for minor alignment of preview emoji
2017-03-24 09:09:51 -04:00
Eric Sethna
25517aae56 Add IDs to Team Settings, Channel Settings, Account Settings (Display & Advanced) (#5823)
* Add IDs to Channel Notification Preferences

* Add IDs to Display Settings

* Add ID to language dropdown

* Add Ids

* Add ids

* Add Ids

* Add Ids

* Add Ids

* Add Id

* Add Ids

* Add Ids

* Fix duplicate Id
2017-03-21 19:16:48 -04:00
Ryan Wang
6f87438cbb 'Other words' for mentions no longer includes '@username' (#5746) 2017-03-17 08:19:10 -04:00
Eric Sethna
05e3dc9f2a Add IDs for Account Settings > Notifications (#5788)
* Add IDs for desktop notification settings

* Add IDs for email notifications

* Add IDs to user notification settings

* Add close button ID
2017-03-16 16:37:28 -04:00
lindalumitchell
91355f0e7d Add IDs to Security > password fields (#5777) 2017-03-16 09:28:35 -07:00
Eric Sethna
6b208c5f3c Add IDs to Account Settings > General (#5763)
* Add IDs

* Add ID for cancel button

* Update ID on cancel button
2017-03-14 12:54:39 -07:00
Tudor Gergely
5ec49c0db0 [PLT-4790] Crop profile picture in middle (#5653) 2017-03-13 09:26:48 -04:00
Corey Hulen
e753d3dc3c Adding id examples for UI automation (#5508)
* Adding id examples

* Adding id examples
2017-03-07 13:58:41 -05:00
Joram Wilander
e87f5c6cf9 Add system console switch for enabling link previews (#5663) 2017-03-06 21:13:12 -05:00
Joram Wilander
f39681596e Don't allow name-value pairs in theme vector be localized (#5623) 2017-03-04 17:53:26 +00:00
Jason Blais
ea10b63ae4 Update UI text for shortcuts to follow text formatting guidelines (#5533)
* Update en.json

* Update user_settings_advanced.jsx

* Update messaging.jsx

* Update composing.jsx

* Fix formatting error with double quotes
2017-03-02 08:38:56 -05:00
enahum
f07571d79d PLT-3193 Add channel notification preferences for push notifications (#5512)
* PLT-3193 Add channel notification preferences for push and email notifications

* Fixing UI

* Removing email as preferences from the UI for now

* move to action

* fix client test
2017-02-27 17:55:12 -03:00
George Goldberg
97cc0a0d73 PLT-5071: Client side component of Telemetry. (#5516) 2017-02-24 17:34:21 +00:00
joannekoong
7068307a1c Add help text for 'Words that trigger mentions' (#5459) 2017-02-20 19:07:50 -05:00
Asaad Mahmood
c6ffb73999 Multiple Ui improvements (#5398)
* PLT-5475 - Adjusting tutorials on mobile

* PLT-5475 - Adjusting tutorials on mobile

* PLT-5457 - Adjusting save button

* PLT-5443 - Updating highllight on status compact

* PLT-5413 - Team sidebar not scrolling

* PLT-5358 - Maintaing aspect ratio for emojis

* PLT-5411 - Removing help text from LDAP signin

* PLT-5420 - Updating emoticon for headings

* Updating emoji size

* Updating emoji size

* Removing emoticon tag

* Updating emoticon sizes

* Updating emoji size
2017-02-16 09:54:30 -05:00
fengpan
452a7c29a2 Switch list of hex values to theme name value pairs (#5301)
* use theme name value pairs

* format

* Beautify view

* handle split
2017-02-13 22:08:52 -05:00
Asaad Mahmood
bce2eb6ceb Multiple bug fixes (#5275)
* PLT-5319 - Fixing text and line separator

* PLT-5227 - Shrinking webrtc hides video

* PLT-4066 - Fixing scroll for notifications modal

* PLT-5106 - Adding status indicators (compact view)

* Reverting scrolling change
2017-02-02 13:23:12 -05:00
Asaad Mahmood
8a0db428bb Bug fixes (#5218)
* PLT-5319 - Fixing text alignment security modal

* PLT-5280 - Fixing add comment button in RHS mobile

* PLT-5397 - Fixing Floating timestamp on mobile

* PLT-5129 - Hiding formatting help text

* PLT-5242 - Adjusting team sidebar border on IE!!

* PLT-5226 - Placing settings toggle over header

* PLT-5222 - Placed team description tooltip on top

* PLT-5201 - Account settings overlap on mobile

* PLT-5138 - Adding bg to pending post actions

* PLT-5286 - Adjusting play button on youtube videos

* PLT-5313 - Adjusting space between emoji reactions

* PLT-5187 - Adjusting text in channel switcher

* PLT-5399 - Reverting button alignment in modal
2017-01-30 09:39:43 -05:00
Carlos Tadeu Panato Junior
d72547433a Move remaining client functions in components to actions (#5171) 2017-01-27 10:39:13 +00:00
Saturnino Abril
efbaa1eb03 Move instances of Client.updateUserNotifyProps() in components to an action (#5156) 2017-01-23 09:03:57 +00:00
Jason Blais
66dddbdb78 Account settings text updates (#5143)
* Update en.json

* Update user_settings_display.jsx

* Update en.json

* Update user_settings_advanced.jsx
2017-01-20 17:23:45 -03:00
Joram Wilander
99493bc5fa PLT-5212 Add password setting text for google and office365 (#5029) 2017-01-10 15:05:58 +00:00
AymaneKhouaji
0cba48d155 Move instances of Client.updatePassword() in components to an action (#4908) (#5021) 2017-01-10 10:48:37 +00:00
Yang Chen
87d84dfc30 Update Position help text in Account Settings (#4885) 2016-12-23 17:18:44 -03:00
George Goldberg
8406e854aa PLT-4332 Position field for Users (#4632)
* Add User.Position field to store & model.

* GOFMT

* Add Position to user settings.

* Unit tests.

* Add position to profile popup.

* i18n

* Fix log message for invalid position.

* Add Position field attribute to LDAP config.

* Add Position field attribute to SAML config.

* Reword empty position message.

* Change Position Max Length to 35.

* Better invalid position error message.

* Add new fields to config.json.

* Ensure position is never longer than max when displayed.

* Hard limit of 64 chars with soft limit still 35

* Put field with other attributes.
2016-12-14 08:11:51 -03:00
Joram Wilander
30a10d35a8 PLT-4767 Implement MFA Enforcement (#4662)
* Create MFA setup page and remove MFA setup from account settings modal

* Add enforce MFA to system console and force redirect

* Lockdown mfa required API routes, add localization, other changes

* Minor fixes

* Fix typo

* Fix some unit tests

* Fix more unit tests

* Minor fix

* Updating UI for MFA screen (#4670)

* Updating UI for MFA screen

* Updating styles for MFA page

* Add the ability to switch between email/sso with MFA enabled

* Added mfa change email

* Minor UI updates for MFA enforcement

* Fix unit test

* Fix client unit test

* Allow switching email to ldap and back when MFA is enabled

* Fix unit test

* Revert config.json
2016-12-12 10:16:10 -03:00
enahum
3ea49822b3 PLT-4762 Prevent turn off of (at)mentions (webapp) (#4715) 2016-12-06 18:42:49 -05:00
Asaad Mahmood
08c2d28942 Multiple UI Improvements (#4712)
* Multiple UI Improvements

* Reverting modal animation
2016-12-06 10:51:31 -05:00
enahum
4df1ad2b28 PLT-4859 Email notifications sent when email notifications set to never (#4711) 2016-12-06 10:22:19 -05:00
enahum
145876681f Fix react warnings and part of backstage (#4706) 2016-12-05 08:19:12 -05:00
Eric Sethna
30dbc412ca Update desktop notification help text (#4684)
* Update desktop_notification_settings.jsx

* desktop notification help text
2016-12-01 09:19:40 -03:00
enahum
702c4cb121 Fix more react warnings & fix saving theme (#4667) 2016-11-29 10:15:46 -05:00
enahum
7315d69474 Fix some react natives warning messages (#4653) 2016-11-28 10:38:33 -05:00
Eric Sethna
0f07a2d288 PLT-4776: Fix typo in MFA help text (#4635)
* fix typo

* fix mfa typo
2016-11-22 13:27:11 -08:00
Asaad Mahmood
84e5425a20 Multiple UI improvements (#4628) 2016-11-22 08:24:22 -08:00
Christopher Speller
a798714958 Updating eslint (#4573) 2016-11-17 12:02:16 -05:00
Carlos Tadeu Panato Junior
091e5b8e03 PLT-4572 - Move instances of Client.updateUser() in components to an action (#4571)
* Move instances of Client.updateUser() in components to an action
2016-11-17 11:25:11 -03:00
enahum
6e7555a575 PLT-4502 Fix SAML user settings password help text (#4484) 2016-11-14 07:40:12 -05:00
Joram Wilander
b46ced78de If email accounts are disabled, allow email users to switch account type to one of the available types (#4517) 2016-11-10 09:25:00 -05:00
enahum
772b57386f PLT-4550 move webrtc to TE (#4440)
* PLT-4550 move webrtc to TE

* remove webrtc from makefile enterprise tests
2016-11-04 12:05:32 -04:00
Joram Wilander
0234f793f2 EE: PLT-4512 Show secret in addition to QR code when activating MFA (#4427)
* EE: Update MFA to display secret for manual entry

* Width adjustments for secret (#4423)

* Add unit test
2016-11-03 10:41:11 -04:00
Yang Chen
11bf05813a Changed “Apply New Theme to All Teams” to “Apply new theme to all my teams” (#4260) 2016-10-18 20:55:17 -03:00