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

7552 Коммитов

Автор SHA1 Сообщение Дата
George Goldberg
ca61b4bed9 PLT-5080 (Server): Channel-Admin level permissions (#4874)
Adds permissions for manage/delete public/private channels at the
Channel Admin level.
2016-12-22 15:44:37 -05:00
Nick Frazier
03e1d0aac3 create_post fixes (#4867) 2016-12-22 15:30:37 -05:00
Brendan Bowidas
bd67c1f227 GH-4658 Show profile popover when clicking on username or profile picture in DMs (#4705)
* GH-4658 Show profile popover when clicking on username or profile picture at top of Direct Message channel

* enable popover on username
2016-12-22 17:02:23 -03:00
Joram Wilander
a793eb8651 Skip intensive stat DB queries when more than a set number of users on the system (#4876) 2016-12-22 17:00:05 -03:00
Carlos Tadeu Panato Junior
768fe6bec3 fix GH-4857 | Add a default value for the FileSettings.InitialFont (#4878) 2016-12-22 16:59:04 -03:00
Joram Wilander
15638d7405 Return 400 bad request codes for webhooks when attachment or text is too long (#4879) 2016-12-22 16:58:21 -03:00
George Goldberg
53847af2c4 API for getting channel members by IDs. (#4877) 2016-12-22 10:21:05 -08:00
enahum
b79b2b2a53 Fix team switch (#4851)
* Fix team switch

* Fix channel switching by using BrowserStore

* Fixes plt-5076 and plt-5068

* Updating styles for Teams sidebar (#4875)
2016-12-22 10:20:36 -08:00
khawerrind
c9eb23a3d4 PLT-3782 Do not move the "@" sign and flag icon to the left of search bar when opening the right hand sidebar (#4850)
* do not move the mention & flag button to the left of the search box when in search mode

* fixed the margin & padding issues of the search box

* fixed the member icon positioning issue and the expanded sidebar toggle issue

* fixed remaining bugs when sidebar is in expanded mode

* changed propTypes from func to bool
2016-12-22 14:21:16 -03:00
George Goldberg
a857cf18f4 PLT-4860 Make ProfilePopover into it's own component and use it consistently everywhere (#4701)
* PLT-4860 - Use same User Popover everywhere.

Refactor out the ProfilePopover into it's own component and give it the
union of all the features of the previous two implementations, and make
sure all the necessary data for it to work consistently everywhere is
provided through the props wherever it is used.

* Don't show popover for webhook posts in main view.

* No popover on RHS when it's a webhook post.

* Fix style.

* Don't send in user when it's a system message.

* Fix some duplication of code.
2016-12-22 14:19:19 -03:00
Joram Wilander
52c4538817 Remove new user event handling on client (#4822) 2016-12-22 10:35:55 -05:00
Björn Roland
8a92908dad #4697 Move Client.createChannel() in components to an action (#4855)
* #4697 Move instances of Client.createChannel() in components to an action
2016-12-22 11:46:34 -03:00
enahum
257a2234c4 translations PR 20161219 (#4838) 2016-12-22 10:52:20 -03:00
Björn Roland
84c6e376fa #4695 Move instances of Client.updateTeamMemberRoles() in components to an action (#4870) 2016-12-22 10:46:13 -03:00
Chris Duarte
670234dc66 Fix Cannot read property "window" of undefined (#4872)
I have no good way of testing this without enterprise code to build, but with SAML enabled on our build we get an error on line 1 of a js bundle.

```
Cannot read property 'window' of undefined
```

Looking through the bundles that are being loaded, I noticed that this controller looked interesting. And I noticed there was one call to window that did not reference `global` and it was only when SAML was enabled. So it seems to match like a good puzzle piece. 

Happy to get some help debugging this if I'm totally wrong in this.
2016-12-22 08:45:56 -05:00
Christopher Speller
c434e84114 Adding session cache directly to web-conn (#4861) 2016-12-22 07:52:02 -05:00
Corey Hulen
64a86bd32f PLT-4853 adding purge cache button to the UI. (#4811)
* PLT_4853 adding purge cache button to the UI.

* Fixing loc stuff
2016-12-21 19:31:24 -03:00
Pierre Rudloff
56dc863de1 Fix some typos in the English locale (fixes #4663) (#4793) 2016-12-21 19:29:38 -03:00
Joram Wilander
25d40bc98c PLT-4431 Add post queuing to the webapp (#4800)
* Add post queuing to the webapp

* Add more abstraction
2016-12-21 16:41:05 -05:00
Joram Wilander
ba6e370ca7 PLT-5012 Combine updateLastViewedAt, setLastViewedAt and setActiveChannel into a single API (#4840)
* Combine updateLastViewedAt, setLastViewedAt and setActiveChannel into a single API

* Remove preference DB writes
2016-12-21 16:35:01 -05:00
enahum
139cb52c99 Fix teams unread count (#4848)
* Fix teams unread

* Moving logic out of the store

* fix unit test
2016-12-21 11:20:11 -08:00
George Goldberg
dce4205699 PLT-4990 - Server: Split out channel permissions to Create/Manage/Delete (#4864)
* Server side changes.

* Fix unit tests and default config.
2016-12-21 11:18:41 -08:00
Björn Roland
f0f5326098 #4698 Move Client.updateActive() in components to an action (#4858)
* #4698 Move instances of Client.updateActive() in components to an action

* Use null for empty success function
2016-12-21 12:48:06 -05:00
Joram Wilander
cadc9e11e4 Remove race between multiple autocomplete requests (#4860) 2016-12-21 12:45:21 -05:00
Nick Frazier
26e43c671c PLT-4943: Warn when editing a message > 4000 chars (#4789)
* added basic functionality

* css fixes

* css fixes part II: electric boogaloo

* removed css interference with theme changes, for this and post length error
2016-12-21 11:37:07 -03:00
Björn Roland
f0b74e78dd #4699 Move instances of Client.updateChannelNotifyProps() in components to an action (#4862) 2016-12-21 11:27:42 -03:00
Corey Hulen
2c09582d89 Fixing image profiles (#4863)
* Fixing image profiles

* Fixing break
2016-12-21 08:33:04 -05:00
Christopher Speller
8c5744492f Revert "PLT-135 Showing "(Edited)" indicator if a message has been edited." (#4854) 2016-12-20 19:38:11 -05:00
enahum
8b26573494 Fix channel_deleted post type (#4841) 2016-12-20 11:51:59 -05:00
Carlos Tadeu Panato Junior
b9092ca2f5 Fix API Get channels for a user returns users' dm channels with blank teamid (#4748)
* fix API Get channels for a user returns users' dm channels with blank team ID

add check in the context.go

add suggestion

made adjustment per review and support from @joram

* update tests

* add check if needd user or admin permissions

* update per review
2016-12-20 07:55:22 -08:00
Björn Roland
92b2810d84 PLT-4855 (#4708) Fix overlapping emoji reactions + UI improvements (#4783)
* PLT-4855 (#4708) Fix overlapping emoji reactions

* PLT-4855 (#4708) Add UI improvements

* Fix merge fail
2016-12-20 11:46:10 -03:00
Christopher Speller
148fd01b54 Modifying post etag cache to apply to getPostsSince (#4837) 2016-12-20 11:41:04 -03:00
enahum
927eb65978 PLT-5038 Add Join another team in sidebar_right_menu (#4844) 2016-12-20 09:33:52 -05:00
Joram Wilander
2da388d297 Fixes for the /echo command (#4843) 2016-12-20 09:28:00 -05:00
Joram Wilander
1f67c91fce Prevent accidental removal of user from town square (#4842) 2016-12-20 09:27:29 -05:00
Joram Wilander
bf3fec604f Remove autocomplete delay (#4819) 2016-12-20 09:08:58 -05:00
Harrison Healey
d4b890fff1 Copied fbjs keymirror into utils (#4807)
* Removed react-addons-pure-render-mixin from NOTICE

* Copied FBJS keymirror into non_npm_dependencies
2016-12-20 09:05:56 -05:00
Nick Frazier
e9a1a8d3d9 GH-4685 Post a System Message when channel is renamed (#4762)
* test changes

* added system message when displayname changed

* added test

* gofmt
2016-12-20 08:56:45 -05:00
Asaad Mahmood
fad14e6624 Fixing unreads on mobile (#4845) 2016-12-20 08:17:15 -05:00
Nick Frazier
2c15094368 GH-4558 Mobile View: Don't close the Left Hand Sidebar after removing an open Direct Message Channel (#4776)
* added fix

* use class var instead of state var

* removed onUpdate
2016-12-19 16:46:52 -05:00
Debanshu Kundu
c8cd3d22ad PLT-4977 Sorting teams by display name on team list at system console's menue and select team modal. (#4797) 2016-12-19 16:46:13 -05:00
Asaad Mahmood
58e8da11b1 Multiple UI improvements (#4835)
* Updating sizes for teams sidebar

* PLT-4641 - Rearranging notification option

* PLT-4504 - Updating styles for Oauth apps

* PLT-4852 - Updating font size for lists

* Fix for the unread indicator with teams sidebar
2016-12-19 16:44:13 -05:00
enahum
a55e7a97ee PLT-5044 Fix unread team messages for deleted channels (#4836) 2016-12-19 10:26:52 -08:00
Harrison Healey
629d38e256 Removed usage of removed TeamStore method (#4785) 2016-12-19 15:58:13 +00:00
enahum
98d96f5457 PLT-5021 Order System Console Teams section by Display Name (#4831) 2016-12-19 10:47:43 -05:00
Christopher Speller
f96173528f Adding metrics for caching mechanisms (#4828) 2016-12-19 10:16:22 -05:00
Debanshu Kundu
6a5cdd5cdf PLT-135 Showing "(Edited)" indicator if a message has been edited. (#4764) 2016-12-19 09:05:39 -05:00
enahum
999d1553e1 PLT-4167 Team Sidebar (#4569)
* PLT-4167 Team Sidebar

* Address feedback from PM

* change route from my_members to members

* bug fixes

* Updating styles for teams sidebar (#4681)

* Added PM changes

* Fix corner cases

* Addressing feedback

* use two different endpoints

* Bug fixes

* Rename model and client functions, using preferences to store last team and channel viewed

* Fix mobile notification count and closing the team sidebar

* unit test, fixed bad merge and retrieve from cached when available

* bug fixes

* use id for last channel in preferences, query optimization

* Updating multi team css (#4830)
2016-12-19 08:05:46 -05:00
Asaad Mahmood
3ce2ce9dc8 Ui improvements (#4815)
* PLT-4369 - Fixing scroll on mobile in the RHS

* PLT-4924 - Fixing file thumbnail UX
2016-12-19 07:40:48 -05:00
enahum
7da4b402df translations PR 20161212 (#4774) 2016-12-16 17:40:22 -03:00