Граф коммитов

1236 Коммитов

Автор SHA1 Сообщение Дата
George Goldberg
ccf05bfdfe PLT-4280 Update Slack Import help text. (#4646)
* Update Slack Import help text.

It was quite inaccurate in light of all the recently added features.

* Update wording as per review.
2016-11-28 11:32:37 -08:00
enahum
7315d69474 Fix some react natives warning messages (#4653) 2016-11-28 10:38:33 -05:00
enahum
28b84dc1d1 translations PR 20161122 (#4625) 2016-11-26 12:32:32 -03:00
Hyeseong Kim
2abcc25173 PLT-2077 Support CJK hashtags (#4555)
* Add Korean character ranges to exist CJK pattern

* Add constant for CJK hashtags
Becuase most of keywords in CJK are two characters

* Add CJK ranges to hashtag pattern to handle it.

* Fixes hashtag pattern to apply numbers at last

* Remove a wrong test case
`test_` shouldn't be a hashtag

* Fix hashtag regex to support standard unicodes

* Remove wrong escapes from regex
2016-11-24 09:38:56 -05:00
Joram Wilander
981ea33b8e PLT-4403 Add server-based channel autocomplete, search and paging (#4585)
* Add more channel paging API

* Add channel paging support to client

* Add DB channel search functions

* Add API for searching more channels

* Add more channel search functionality to client

* Add API for autocompleting channels

* Add channel autocomplete functionality to the client

* Move to be deprecated APIs to their own file

* Final clean-up

* Fixes related to feedback

* Localization changes

* Add unit as suffix to timeout constants
2016-11-24 09:35:09 -05:00
Christopher Speller
c96ecae6da Merge branch 'release-3.5' 2016-11-24 09:08:46 -05:00
Corey Hulen
b212acf312 PLT-4429 disabling at_all at_channel metions mentions when channel has more than 1k users (#4627)
* PLT-4429 disabling explicit mentions when channel has more than 1k users

* Fixing test case

* Adding setting to the admin console

* Fixing bad translation
2016-11-24 08:26:45 -05:00
Harrison Healey
48533aa483 Fixed json and xml file rendering in code preview (#4642) 2016-11-23 11:12:37 -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
Corey Hulen
7961599b2e PLT-4357 adding performance monitoring (#4622)
* WIP

* WIP

* Adding metrics collection

* updating vendor packages

* Adding metrics to config

* Adding admin console page for perf monitoring

* Updating glide

* switching to tylerb/graceful
2016-11-22 14:05:54 -05:00
Harrison Healey
e033dcce8e PLT-4300 Switched emoji to use a background-image (#4631) 2016-11-22 14:31:37 -03:00
Harrison Healey
a12581cb9e Cleared at mention suggestions when something invalid is typed (#4633) 2016-11-22 14:21:51 -03:00
Asaad Mahmood
84e5425a20 Multiple UI improvements (#4628) 2016-11-22 08:24:22 -08:00
enahum
1a134efc65 PLT-4635 Fix Cannot read property 'body' of undefined (#4629)
* Fix Cannot read property 'body' of undefined

* return if an error was found
2016-11-22 08:23:48 -08:00
Joram Wilander
3c65a20f45 Deleted posts now update in search results and flagged posts (#4618) 2016-11-22 09:13:14 -05:00
Iraquitan Cordeiro Filho
48d64f3f68 PLT-4277: Allow larger custom emojis by resizing (#4447)
Add function to resize image using resize.Thumbnail. Add function to
resize gif using previous function. Add function to convert image.Image
to image.Palleted. Add logic to identify image type and resize them if
they are larger than MaxEmojiHeight or MaxEmojiWidth. Also increase
MaxEmojiFileSize.

* fix: Add github.com/nfnt to vendor

* fix: Fix max file size and if logic in resizeEmoji

* test: Fix and add new tests for new resize feature

* fix: Fix and update translations to fit new feature

* fix: Add requested changes
2016-11-21 23:00:13 -03:00
Christopher Speller
9b7e2e50e3 Fxing source maps for production (#4621) 2016-11-21 22:56:36 -03:00
Carlos Tadeu Panato Junior
d57ab7a81e PLT-3762 - Add API call to get a user by their username (#4611)
* PLT-3762 - Add API call to get a user by their username

* fix lint

* update rote

* update per code review

* update per code review

* remove first/last name is not used in this test
2016-11-21 18:50:57 -05:00
Harrison Healey
fd019eefbb Fixed error logged when joining a team from another tab (#4620) 2016-11-21 16:48:27 -05:00
Harrison Healey
3c0f8c29db Fixed error being thrown by ChannelHeader when switching teams (#4619)
* Fixed error being thrown by ChannelHeader when switching teams

* Close SidebarHeaderDropdown after switching teams
2016-11-21 16:08:29 -05:00
Harrison Healey
43c703e216 PLT-4787 Fixed not being able to join a channel through a link after opening the More Channels modal (#4616) 2016-11-21 13:03:54 -05:00
Joram Wilander
29cfa2e64f Clear context error on post creation when create_at is set (#4615) 2016-11-21 12:19:21 -05:00
Christopher Speller
0ef77dff13 Fixing new messages indicator (#4614) 2016-11-21 12:17:58 -05:00
Harrison Healey
a9824a3653 Hotfix: PLT-4779 Fixing scrolling on loading a channel and missing DM channel headers (#4584)
* Added all parameters to call tracker ids when getting profiles

* Changed channel header rendering to not depend on knowing all users in a DM channel

* Added comment about a race condition in UserActions.populateDMChannelsWithProfiles

* Added a fixed-height placeholder for the ChannelHeader when its state isn't valid for rendering
2016-11-21 12:17:46 -05:00
Corey Hulen
477dc6c4b6 Hotfix: Fixing 'more' channel truncating purpose (#4581)
* Fixing more channel purpose

* Fixing to match master
2016-11-21 12:17:39 -05:00
Joram Wilander
3241b3abe4 Lower autocomplete timeout to 100ms (#4579) 2016-11-21 12:17:28 -05:00
Joram Wilander
50ab9626eb Properly load profile for new posts that have unloaded users (#4578) 2016-11-21 12:17:21 -05:00
enahum
f6f0b89a85 Remove terms and privacy from WebRTC (#4606) 2016-11-21 07:15:49 -08:00
enahum
20e931c047 Redirect to team when login with an invite (#4609) 2016-11-21 07:15:23 -08:00
enahum
ebb8c93baa Fix webclient this.setTeamId (#4603) 2016-11-21 10:36:39 -03:00
Yusuke Nemoto
fee3339217 add missing messages to webapp/i18n/en.json (#4588) 2016-11-21 08:15:32 -05:00
Carlos Tadeu Panato Junior
34c3e9e50d Move instances of Client.updateTeam() in components to an action (#4574)
* Move instances of Client.updateTeam() in components to an action

* remove client from missing ones

* update code per review

* update per code review
2016-11-18 17:21:32 -05:00
Asaad Mahmood
7d68434e8c Multiple UI fixes and improvements (#4572)
Reverting switch teams code

Fixing change css function
2016-11-17 12:27:39 -08:00
Pepijn
6d2882f6e7 Don't show desktop notifications for messages entering the channel th… (#4216)
* Don't show desktop notifications for messages entering the channel the user is currently on

Coding style fixes

Allow notifications if browser tab is not focussed

* Don't show desktop notifications for messages entering the channel the user is currently on

Coding style fixes

Allow notifications if browser tab is not focussed

* Mute sound when a user doesn't get a desktop notification

* Also play sound on desktop notifications

* Fixed reviewer's remarks:
 * Removed double notification check
 * Removed direct links to browser store, created separate actions
2016-11-17 13:46:07 -05:00
Christopher Speller
a798714958 Updating eslint (#4573) 2016-11-17 12:02:16 -05:00
Nick Frazier
b1db1463f6 replaced localizeMessage calls with FormattedMessage components (#4570)
* replaced localizeMessage calls with FormattedMessage components

localized file updates

* updated localization files

* updated localization files
2016-11-17 10:17:27 -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
Pepijn
11b0f64c60 Change theming function to something more efficient (#4487)
Remove indexes from changeCss function calls.
Not necessary when injecting style tags in the <head> directly
2016-11-17 09:14:47 -05:00
Joram Wilander
dc1e653d01 Fix XML previews (#4560) 2016-11-17 09:07:44 -05:00
Carlos Tadeu Panato Junior
3d2249edfc PLT-4524 Update password reset page (#4522)
* Implement PLT-4524 Update password reset page

* fix lints

* changes based on review

* update per request/review

* update tests

* add css for alert-success

* change per request
2016-11-17 09:07:16 -05:00
Christopher Speller
6dde2d268a Updating client dependancies (excpet eslint) (#4567) 2016-11-17 09:02:33 -05:00
Joshua Borton
0b296dd8c2 Add Add onExit hook to new_channel_modal (#4344)
This delays updating the url with the new channel until after the modal
is exited which bypasses a state where the center textarea is focused
and then focus is removed due to how react-overlays handles restoring
focus to the last element focused before the modal was shown.
2016-11-15 14:23:26 -05:00
Brian Olecki
6297922ab9 Add support for editing slash commands (#4335) 2016-11-15 12:43:16 -03:00
Joram Wilander
1f241af48a Don't show current user in direct message modal (#4548) 2016-11-15 12:39:45 -03:00
Christopher Speller
e4f46124b0 Merge branch 'release-3.5' 2016-11-15 08:06:58 -05:00
enahum
3f19ccf1b1 PLT-4754 Fix RHS options menu (#4552) 2016-11-14 19:35:34 -05:00
Harrison Healey
814d2fc88d Fixed websocket to properly logout when logged out from another tab (#4546) 2016-11-14 13:48:28 -05:00
Joram Wilander
db0314053e Move channel click dispatch outside of promise (#4545) 2016-11-14 13:48:22 -05:00
Corey Hulen
11de77f63f Adding debugging for body errors (#4542) 2016-11-14 08:39:48 -05:00
Carlos Tadeu Panato Junior
7df8eaf29a Update introduction message at top of channel/private groups (#4508)
* Update introduction message at top of channel/private groups

* fix grammar
2016-11-14 09:40:37 -03:00