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

7414 Коммитов

Автор 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
Corey Hulen
0383c58d01 PLT-4357 Adding stats to HA (#4638)
* PLT-4357 adding stats to HA

* PLT-4357 adding stats to HA

* Fixing getting stats from the current server
2016-11-28 10:40:02 -05:00
George Goldberg
be0ae36422 Fix failure to import same Slack archive to 2 teams. (#4650)
This fixes the issue where you can't import 2 Slack exports with any
users who's emails appear in both exports onto different teams of the
same server.

Fixes #4126
2016-11-28 10:39:06 -05:00
enahum
7315d69474 Fix some react natives warning messages (#4653) 2016-11-28 10:38:33 -05:00
MARUYAMA Takayuki
8d9768dad3 Change Flag Posts ordering to show posts from newest to oldest (#4656) 2016-11-28 10:26:23 -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
enahum
36f62c9e82 return posted message without waiting for email and push notifications to be sent (#4645) 2016-11-23 12:20:28 -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
George Goldberg
e1fca412fc PLT-4442 Generate preview images sequentially in Slack importer (#4617)
* Break out image preparation to its own function.

This is preparatory work to make it easier to handle the thumbnail image
generation in a non-racy way in the Slack command line importer.

* Build preview images sequentially in Slack import.

This removes the use of goroutines from the image preview generation
code run when importing Slack attachments. This slows things down, but
it has important benefits:

1) Avoids a race condition with the goroutines and the command line
   exiting.

2) Avoids the problem of massive memory consumption when importing a
   Slack channel with a lot of large images attached in quick succession.

Fixes PLT-4442.

* Use mutliple return values instead of struct.
2016-11-22 10:14:25 -05: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
Corey Hulen
bc0c52fb77 PLT-4598 add team id to push notification (#4623) 2016-11-21 22:55:43 -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
Leo Arias
82352e6363 Fix the version help (#4582)
It was missing one word.
2016-11-21 13:16:15 -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
Joram Wilander
062f758e47 Fix user search when using an asterisk (#4586) 2016-11-21 12:17:53 -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
5cf0405411 Fix DM panic when user hasn't joined any team (#4604) 2016-11-21 07:18:05 -08:00
enahum
6e8647aaf1 Fix CLI join team site url (#4605) 2016-11-21 07:16:17 -08: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
Rachel Willmer
a25afb1134 Fix SystemAdmin use of CreateAt in CreatePost API (#4349) (#4408) 2016-11-17 14:05:53 -05: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
Yusuke Nemoto
be74ec2241 plt-2610 allow slash command to override username/icon_url (#4378) 2016-11-17 09:19:11 -05: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