Commit Graph

7946 Commits

Author SHA1 Message Date
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
George Goldberg
1f8a11469d PLT-5334: Show Create Team menu option to Sysadmins even when Team Creation is disabled. (#5481) 2017-02-20 19:07:04 -05:00
Joram Wilander
a5f8bdd3a0 Various APIv4 fixes (#5474) 2017-02-20 15:35:02 -05:00
Robin Naundorf
5272c0c170 Fix spacing between file uploads (#5333) 2017-02-20 15:29:55 -05:00
Corey Hulen
274b9b6032 Fixing file info caching issue with Aurora for master (#5477) 2017-02-20 13:40:32 -05:00
Joram Wilander
dd4d8440ea Implement a few channel member endpoints for APIv4 (#5444)
* Implement POST /channels/members/{user_id}/view endpoint for APIv4

* Implement PUT /channels/{channel_id}/members/{user_id}/roles endpoint for APIv4

* Implement DELETE /channels/{channel_id}/members/{user_id} endpoint for APIv4
2017-02-20 13:31:52 -03:00
Zaicon
becbe935c2 Corrected endpoint in email_to_oauth. (#5458) 2017-02-20 13:31:05 -03:00
joannekoong
bf10b27b26 Update System Console > Privacy help texts (#5470) 2017-02-20 13:28:31 -03:00
Saturnino Abril
623560481b Implementation endpoint for APIv4: GET /teams/name/{name} (#5473)
* APIv4: GET /teams/name/{name}

Signed-off-by: Saturnino Abril <saturnino.abril@gmail.com>

* reorganized test with SystemAdminClient

Signed-off-by: Saturnino Abril <saturnino.abril@gmail.com>
2017-02-20 13:27:57 -03:00
Asaad Mahmood
22118fafc8 PLT-5573 - Fixing emoticons (#5461) 2017-02-19 21:10:54 -05:00
Saturnino Abril
00d11e961f Implement GET teams/{team_id}/stats - apiv4 (#5453)
* api4 GET teams/{team_id}/stats

* api4 GET teams/{team_id}/stats

* moved TeamStats router to team.go
2017-02-17 15:50:17 -05:00
Joram Wilander
91fe8bb2c0 Implement upload and get file endpoints for APIv4 (#5396)
* Implement POST /files endpoint for APIv4

* Implement GET /files/{file_id} endpoint for APIv4
2017-02-17 10:31:21 -05:00
Ruzette Tanyag
4e7dbc3bb0 Implement user sessions endpoints for APIv4 (#5449)
* added get session and revoke session endpoints, unittests and drivers

* removed BasicUser2 and added teardown

* added badrequest unit test case for sessions

* added session loop to check if user id and session user id matches

* fixed indentation issues for user_test

* match indentation from spaces to tabs
2017-02-17 10:31:01 -05:00
enahum
2f96814a8b translations PR 20170213 (#5393) 2017-02-17 12:29:39 -03:00
Joram Wilander
96f01d8c6c Move channel permission check back to using cache (#5454) 2017-02-17 09:33:38 -05:00
laur89
210b510c87 config.json: remove duplicate "EnableUserTypingMessages" (#5445) 2017-02-17 14:09:57 +00:00
Josta Yee
c817c5d740 Simplify code (#5452)
https://github.com/mattermost/platform/blob/master/app/authentication.go#L149 has compared `user.AuthService` with `model.USER_AUTH_SERVICE_LDAP`, so this check is useless here.
2017-02-17 14:04:19 +00: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
Corey Hulen
26e44d9b32 Bumping base cache numbers for master (#5451) 2017-02-17 08:21:06 -05:00