8064 Commits

Author SHA1 Message Date
Joram Wilander
5e9adddb6f Reload license from DB for all cluster app servers (#5525)
* Reload license from DB for all cluster app servers

* Increase test timeout
2017-02-28 16:39:25 -05:00
George Goldberg
5a3bc43668 PLT-5188: Reinstate delete option on system messages. (#5113)
* PLT-5188: Reinstate delete option on system messages.

* Fix styling.

* Fix empty hover box.
2017-02-28 16:28:37 -05:00
Andrei Stanciu
25b9b7d26b ApiV4: GET /users/{user_id}/teams/unread (#5539) 2017-02-28 15:47:30 +00:00
Joram Wilander
b0410615b8 Update channel notifications default properly when changing account settings (#5559) 2017-02-28 15:31:35 +00:00
Joram Wilander
0cd34227cc Fix JS error from some link previews (#5556) 2017-02-28 12:24:16 -03:00
Saturnino Abril
66c5f7a31c Implementation of APIv4: POST users/{user_id}/image (#5537)
* APIv4: POST users/{user_id}/image

* removed 'return' and rebased to master
2017-02-28 08:11:55 -05:00
Carlos Tadeu Panato Junior
da902ef8ba Slash command: goto_location not working as expected (#5507) 2017-02-28 09:36:45 +00:00
Andrei Stanciu
6ff350380b ApiV4: PUT /posts/{post_id} (#5521) 2017-02-28 09:34:32 +00:00
Joram Wilander
76fa840b52 Move webhook logic from api layer to app layer (#5527)
* Move webhook logic from api layer to app layer

* Consolidate error messages

* Fix permission check and unit test
2017-02-28 09:31:53 +00:00
Ruzette Tanyag
cef5028cbe Implemented preferences endpoints for apiv4 (#5531)
* implemented preferences endpoints for apiv4

* added user id in preferences endpoints
2017-02-28 09:14:16 +00:00
enahum
758402311a PLT-5548 Prevent server start if defaultLocate is not available (#5532)
* PLT-5548 Prevent server start if defaultLocate is not available

* Add validation for supported locales
2017-02-28 09:07:02 +00:00
Andrei Stanciu
45edfbe719 Get all teams api4 (#5542) 2017-02-28 08:41:38 +00:00
Christopher Speller
83c113595a Revert "Adding caching to get channel member (#5518)"
This reverts commit ba028ed74b.
2017-02-27 17:43:23 -05:00
enahum
55752fb359 Fix channel created WS event (#5552) 2017-02-27 18:50:30 -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
Christopher Speller
72de977c52 Adding recovery to web hub (#5546) 2017-02-27 14:27:15 -05:00
enahum
4429e2f58c PLT-5396 Fix team mention badge persistance (#5543) 2017-02-27 14:26:38 -05:00
Harrison Healey
b5ffdf5c54 Made reactions re-render when custom emojis change (#5545) 2017-02-27 11:10:02 -05:00
Saturnino Abril
71d010b7af APIv4: GET /users/{user_id}/image (#5526) 2017-02-27 09:25:28 -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
Poornima
c0bb6f99f8 Updating user attributes on oauth login (#5324)
Moving update function to app package
Fixing duplicate userID on create user test
2017-02-26 13:48:01 -05:00
Mika Andrianarijaona
04f4545bbd PLT-5140: Display loading screen when switching team (#5475)
* fix: clear channel list on team change

* fix committed config

* fix: no need to use anothe var

* fix: better channel list clearing

* remove unused function

* fix: display loading screen when switching team

* fix: display loading screen when switching team

* fix: clear channel list on team change

* fix committed config

* fix: no need to use anothe var

* fix: better channel list clearing

* remove unused function

* remove duplicate EnableUserTypingMessages
2017-02-26 12:13:07 -03:00
George Goldberg
97cc0a0d73 PLT-5071: Client side component of Telemetry. (#5516) 2017-02-24 17:34:21 +00:00
George Goldberg
f182d196ff PLT-5070: Server side component of Telemetry. (#5514) 2017-02-24 17:33:59 +00:00
Christopher Speller
ba028ed74b Adding caching to get channel member (#5518) 2017-02-24 09:15:36 -05:00
Carlos Tadeu Panato Junior
7fc5dc236a add implementation for verify email for apiv4 (#5502) 2017-02-24 08:27:47 -05:00
Joram Wilander
ace228c4e5 Implement GET /posts/{post_id}/files/info endpoint for APIv4 (#5519) 2017-02-24 11:15:13 +00:00
Corey Hulen
80273d0234 Adding ability to remove push ids when reported as removed from google or apple (#5513)
* Adding ability to remove push device Ids when reported as removed from google or apple

* Fixing log string

* Removing unneeded nil check
2017-02-23 20:27:24 -05: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
Corey Hulen
bc9f3dfa24 PLT-5394 fixing javascript when replying to a perma link. (#5515) 2017-02-23 12:59:16 -03:00
enahum
748a416961 PLT-3193 Add channel notification preferences for push and email noti… (#5500)
* PLT-3193 Add channel notification preferences for push and email notifications

* unit tests, model validation and localization

* Feedback review

* Adding back allowFromCache check

* Setting push and email to use default settings

* Move props as constants

* address feedback
2017-02-23 11:08:48 -03:00
Corey Hulen
ca7d3b6e7b Adding device Id for version 2 of native apps (#5505)
* Adding device Id for version 2

* Changing ids
2017-02-23 08:53:43 -05:00
enahum
3b0f7163ab translations PR 20170220 (#5482) 2017-02-23 10:21:34 -03:00
Saturnino Abril
f6d22ee4f0 [PLT-5445] Mobile view: Set focus back to message box after uploading a file (#5360) 2017-02-23 08:57:41 +00:00
Joram Wilander
9220254f05 Block OAuth account creation when disabled in config (#5506) 2017-02-23 08:53:33 +00:00
George Goldberg
7883a515e7 Fix Utils importing in ChannelStore. (#5503)
This fixes a whole load of bugs around Channel Members Modals, and
elsewhere where the Channel Members are used. Most of those bugs have
been alreay closed as "Cannot Reproduce" becaues the issue was a really
nasty race condition in the javascript!
2017-02-22 21:33:13 -05:00
Joram Wilander
9f65284ba1 Fix response for malformed command execute request (#5498) 2017-02-22 21:32:39 -05:00
Joram Wilander
ad61a63ad2 Fix system admin loading members for teams not on (#5496) 2017-02-22 21:32:23 -05:00
Saturnino Abril
fff0b2bd86 APIv4: GET /teams/{team_id}/members (#5460)
* APIv4: GET /teams/{team_id}/members

* removed unecessary comment

* changed route to session required, and logout test to unauthorized

Signed-off-by: Saturnino Abril <saturnino.abril@gmail.com>
2017-02-22 18:55:31 -05:00
Corey Hulen
c7bf42218e Fixing emoji reactions and Aurora read replica issue for master (#5499) 2017-02-22 10:48:47 -05:00
Corey Hulen
4a0aba719b Fixing double send of websocket hello message (#5490) 2017-02-22 14:22:00 +00:00
Joram Wilander
d1f1109e59 Fix unreads appearing after some system messages posted (#5491) 2017-02-22 09:16:17 -05:00
Joram Wilander
69cac604e0 Implement create and get incoming webhook endpoints for APIv4 (#5407)
* Implement POST /hooks/incoming endpoint for APIv4

* Implement GET /hooks/incoming endpoint for APIv4

* Updates per feedback
2017-02-21 19:42:34 -05:00
Jason Blais
b61115df55 Update RHS --> right-hand sidebar (#5483) 2017-02-21 18:52:43 -05:00
George Goldberg
8bbe5dfb2f Fix permission grants for channel management. (#5478)
When selecting the Channel, Team & System level for channel permissions,
they must be explicitly granted to the Channel *and* the Team admins.
2017-02-21 10:47:28 -05:00
Ruzette Tanyag
9646bddd21 Implement posts endpoints for APIv4 (#5480)
* Implement delete post endpoint for apiv4

* Implement POST search post endpoint for APIv4

* removed delete post quotes

* rearrange formatting
2017-02-21 07:36:52 -05:00
Saturnino Abril
a14e44b4ec Implement endpoint for APIv4: PUT /teams/{team_id}/members/{user_id}/roles (#5471) 2017-02-21 12:13:26 +00:00
Saturnino Abril
5c19d9be7f Implement endpoint for APIv4: GET /users/{user_id}/audits (#5472) 2017-02-21 12:07:57 +00:00
joannekoong
7068307a1c Add help text for 'Words that trigger mentions' (#5459) 2017-02-20 19:07:50 -05:00