Commit Graph

378 Commits

Author SHA1 Message Date
Ryan Wang
c7f26bb110 Update error message when password is too long (#6001) 2017-04-16 17:08:37 -04:00
Yusuke Nemoto
0aa84799fd svg preview (#6045) 2017-04-12 14:26:02 -07:00
VeraLyu
03502cf73b PLT-6155: Keep pin badges in RHS consistent with that in center (#6018)
Sync search store when recieving pin/unpin event to keep pin
badges in RHS consistent with that in center channel.
2017-04-12 16:23:33 -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
Joram Wilander
5d6cf3ace5 Remove unnecessary uses of getMoreChannels (#5982) 2017-04-04 21:07:51 -03:00
Harrison Healey
f7a4c75a21 PLT-5702 Added special error page for private browsing error message (#5985) 2017-04-04 19:21:31 -04:00
George Goldberg
1fa3f2351c PLT-6023: Add Users to Team in WebApp. (#5956)
* PLT-6198: Use added to channel system message on default channels.

Use a different sytem message when a user was added to a default channel
by someone else than when they joined themselves.

* PLT-6023: Add Users to Team in WebApp.

* Fix string text.

* Handle added_to_team websocket message.

* Fix unread flag on new channel.
2017-04-04 15:17:15 -04:00
George Goldberg
6bb65ef420 PLT-6139 (WebApp): Manage Private Channel Members (#5947)
Honour the policy setting for add/remove members from private channels
in the WebApp UI.
2017-04-04 14:43:22 -04:00
Ryan Wang
169c490892 Save recently used emojis after logout (#5926) 2017-04-03 21:27:14 -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
Harrison Healey
36c74d7b47 PLT-5873 Renamed private groups to private channels (#5924)
* PLT-5873 Renamed private groups to private channels in web app

* PLT-5873 Renamed private groups to private channels in server
2017-04-03 13:42:05 +01:00
bonespiked
c3d095b465 Add reaction picker (#5904) 2017-04-01 17:00:30 -04:00
Harrison Healey
689cac535e PLT-2713/PLT-6028 Added System Users list to System Console (#5882)
* PLT-2713 Added ability for admins to list users not in any team

* Updated style of unit test

* Split SearchableUserList to give better control over its properties

* Added users without any teams to the user store

* Added ManageUsers page

* Renamed ManageUsers to SystemUsers

* Added ability to search by user id in SystemUsers page

* Added SystemUsersDropdown

* Removed unnecessary injectIntl

* Created TeamUtils

* Reduced scope of system console heading CSS

* Added team filter to TeamAnalytics page

* Updated admin console sidebar

* Removed unnecessary TODO

* Removed unused reference to deleted modal

* Fixed system console sidebar not scrolling on first load

* Fixed TeamAnalytics page not rendering on first load

* Fixed chart.js throwing an error when switching between teams

* Changed TeamAnalytics header to show the team's display name

* Fixed appearance of TeamAnalytics and SystemUsers on small screen widths

* Fixed placement of 'No users found' message

* Fixed teams not appearing in SystemUsers on first load

* Updated user count text for SystemUsers

* Changed search by id fallback to trigger less often

* Fixed SystemUsers list items not updating when searching

* Fixed localization strings for SystemUsers page
2017-03-30 09:46:47 -07:00
Asaad Mahmood
6d6b813446 Ui ifxes (#5890)
* PLT-5975 - Back arrow in flag list cutting off

* PLT-6049 - Fixing pin icon color, and hover state

* PLT-5989 - Channel member and pin icon issue

* PLT-6067 - Pinned icon misaligned in firefox

* PLT-5885 - Adjusting icon spacing in modal
2017-03-29 21:07:39 -04:00
Corey Hulen
ca8b8d1245 Fixing cancel ids for selenium (#5896)
* Fixing ids for selenium

* Fixing ids

* Fixing prop
2017-03-27 18:12:24 -07:00
Corey Hulen
7460302dec Fixing ids for selenium (#5874) 2017-03-24 19:28:35 -07:00
Joram Wilander
a2f78d01bd Fix LHS group message sorting (#5812) 2017-03-24 13:41:45 -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
Corey Hulen
98baf1536e Fixing issue with ids for selenium (#5859)
* Fixing issue with ids for selenium

* removing comment
2017-03-23 19:41:08 -07:00
VeraLyu
94b4aa082c PLT-5913: Remove id from heading markdown compilation (#5782)
Id for heading markdown is unnecessary as we didn't
attach any style/effect on that id, and it also introduce
duplicate id. So remove it from heading markdown generatiing.
2017-03-23 08:19:22 -04:00
Harrison Healey
8866218243 Revert "PLT-3181 Added crossorigin='anonymous' to all external images (#5774)" (#5815)
This reverts commit 24848f9d6a.
2017-03-20 16:58:09 -04:00
Christopher Speller
efd6c86066 Fxing build 2017-03-17 13:36:18 -04:00
George Goldberg
7f266c1951 Merge branch 'release-3.7' into master. 2017-03-17 16:29:26 +00:00
Harrison Healey
24848f9d6a PLT-3181 Added crossorigin='anonymous' to all external images (#5774)
* PLT-3181 Added crossorigin='anonymous' to all external images

* Fixed image unit tests

* Added crossorigin='anonymous' to a few more places
2017-03-16 11:59:00 -07:00
Ruzette Tanyag
dc2e733058 PLT-5764 Fixed channel name minimum length (#5693)
* make sure that we use constants for channel name min length

* changed channel name error to match channel URL error

* changed constant max channel name length to 22 and reapply in modal

* reverted dutch translation
2017-03-14 12:06:31 -04:00
Christopher Speller
3b081bda08 Update eslint (#5752)
* Updating eslint

* Updating eslint-plugin-react
2017-03-13 16:42:25 -04:00
Gabin Aureche
fe38d6d5bb Add pinned posts (#4217) 2017-03-13 12:25:08 +00:00
Joram Wilander
270ac11365 Fix posts from your own webhook not showing as unread until refresh (#5703) 2017-03-09 19:41:23 +00:00
Asaad Mahmood
f3a266ee5d Ui improvements and bug fixes (#5677)
* PLT-5565 - Fixing theme colors not updating

* PLT-4721 - Removing status ind for system messages

* PLT-5735 - Fixing ellipsis in firefox

* PLT-5010 - Removing extra space in channel modal

* PLT-5584 - Inline image overrning edit textarea

* PLT-5475  - Fixing tutorials on mobile

* PLT-5142 - Disabling poitner events for status

* PLT-5728 - Fixing emoji highlight on hover
2017-03-08 09:13:50 +00:00
Joram Wilander
db7540b111 Add sync logic for DMs/GMs when network reconnects (#5676) 2017-03-08 09:13:16 +00:00
Lauris BH
fa75e0e7c4 Fix keyboard shortcuts not to trigger on AltGr key (#5566)
On Windows when pressing AltGr it will trigger event with same properties as left Ctrl key. Check explicitly that altKey is false otherwise on some keyboard layouts input of special characters is blocked.
2017-03-07 19:28:23 -05:00
Harrison Healey
579ad305e1 PLT-5722 Fix formatText to fail gracefully when input is not text (#5670)
* Updated marked to remove incorrect error message

* Fix formatText to fail gracefully when input is not text
2017-03-06 21:20:29 -05:00
Joram Wilander
f8aaf312c1 PLT-5703 Update license expiry timing and text (#5602)
* Update license expiry timing and text

* Updating error bar (#5632)
2017-03-06 20:36:20 -05:00
Joram Wilander
615d116c45 Fix desktop notification click handler for existing/new GMs (#5633) 2017-03-04 17:58:37 +00:00
Joram Wilander
3a91d4e5e4 PLT-3077 Add group messaging (#5489)
* Implement server changes for group messaging

* Majority of client-side implementation

* Some server updates

* Added new React multiselect component

* Fix style issues

* Add custom renderer for options

* Fix model test

* Update ENTER functionality for multiselect control

* Remove buttons from multiselect UI control

* Updating group messaging UI (#5524)

* Move filter controls up a component level

* Scroll with arrow keys

* Updating mobile layout for multiselect (#5534)

* Fix race condition when backspacing quickly

* Hidden or new GMs show up for regular messages

* Add overriding of number remaining text

* Add UI filtering for team if config setting set

* Add icon to channel switcher and class prop to status icon

* Minor updates per feedback

* Improving group messaging UI (#5563)

* UX changes per feedback

* Update email for group messages

* UI fixes for group messaging (#5587)

* Fix missing localization string

* Add maximum users message when adding members to GM

* Fix input clearing on Android

* Updating group messaging UI (#5603)

* Updating UI for group messaging (#5604)
2017-03-02 17:48:56 -05:00
Debanshu Kundu
47114a18e3 PLT-5380 Moved link preview image to top right corner of preview area (#5212)
* PLT-5380 Moved link preview image to top right corner of preview area for smaller images, larger and wide images are still shown below the text.

Also added logic to hide image area if image loading fails.

* Updating link previews css
2017-03-02 14:47:27 -03:00
Asaad Mahmood
1bd3917e3e Ui improvements (#5588)
* PLT-5354 - Making statistics flow on page

* PLT-5262 - Updating icon on join team page

* PLT-5218 - Making menu colors consistent on mobile

* PLT-5377 - Adding bg to current posts in the RHS

* PLT-5645 - Adjusting spacing after/before ul/ol
2017-03-02 09:10:20 -05:00
Harrison Healey
daef8d8384 Added a unique prefix to text formatting entities (#5549) 2017-02-28 22:21:10 -03: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
enahum
48f97a5a2a PLT-5653 Fix Create channel does not show in another device (#5548) 2017-02-27 15:41:12 -05:00
Poornima
19b753467d Adding edit of incoming webhook (#5272)
Adding edit of outgoing webhook
Fixing spelling of error
Fixing style
Changing from PUT to POST for updates
Fixing test failures due to merge
2017-02-26 13:48:20 -05:00
George Goldberg
97cc0a0d73 PLT-5071: Client side component of Telemetry. (#5516) 2017-02-24 17:34:21 +00:00
George Goldberg
8509c2f0b0 PLT-5080 (WebApp): Channel Admin permission level. (#5047)
* PLT-5080 (WebApp): Channel Admin permission level.

For channel management and channel deletion.

* Fix some incorrect showing/hiding of options.

* Remove incorrect client calls that was overwriting my channel members.
2017-02-23 20:15:10 -05:00
Joram Wilander
d1f1109e59 Fix unreads appearing after some system messages posted (#5491) 2017-02-22 09:16:17 -05:00
fengpan
b3afe9fb16 Rename channel (#5322)
* fix react proptypes

* Replace the handle field and label with url

* Update rename channel url correctly

* fix merge

* fix after test-1

* update i18n
2017-02-17 08:58:39 -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
Joram Wilander
a2e6553b7f Prevent CSS stacking when changing themes (#5378) 2017-02-14 10:27:08 -05:00
Joram Wilander
06f89cea30 Final fixes for moving unread handling to client (#5392) 2017-02-13 15:19:41 -05:00
Andrei Stanciu
1bbed1cb2b Add permalink to timestamp (#5206)
* Add permalink to timestamp

* Add permalink to timestamp

* Add permalink to timestamp

* Add permalink to timestamp

* fix error with duplicated import

* underline permalink on hover
2017-02-10 06:56:48 -08:00
Akihiko Odaki
68a05653ea Add webapp/utils/url.jsx (#5285)
webapp/utils/utils.jsx got big and that caused a potential circular
dependency with webapp/stores/team_store.jsx. This change solves the
issue by introducing webapp/utils/url.jsx and moving URL-related
functions, which is not likely to depend on actions and stores, from
webapp/utils/utils.jsx.
2017-02-07 07:20:01 -08:00