Corey Hulen
7829c24e92
Removing typing check for master ( #5583 )
...
* Removing typing check for master
* Removing typing check for master
2017-03-01 12:49:46 -05:00
Corey Hulen
71e6a423e8
Optimizing weh_hub.Start() for master ( #5576 )
...
* Optimizing weh_hub.Start()
* Optimizing weh_hub.Start()
* Optimizing weh_hub.Start()
* Adding to IsAuthenticated
* Fixing problem with IsAuthenticated
2017-03-01 11:03:21 -05:00
Carlos Tadeu Panato Junior
e5065cf757
Make all emails with the same pattern on subject ( #5198 )
...
* make all email subject standard
* move SendPasswordReset to app/email.go
update per review
* update email subjects per review
update error
fix expected subject
* Update email_test.go
* Update en.json
* fix missing quotes
2017-03-01 09:28:38 -05:00
Corey Hulen
fc9e5d8510
Fixing removing push tokens and logging error messages ( #5551 )
2017-02-28 22:19:19 -03:00
George Goldberg
f7682ad11a
PLT-5367: Basic post bulk importing. ( #5562 )
2017-02-28 20:55:21 -03:00
Josta Yee
23be0167f4
Set timeout to http client ( #5540 )
...
Update client
2017-02-28 17:59:53 -05:00
Corey Hulen
838bb8cee2
Optimzing the user typing event in ShouldSendEvent() ( #5560 )
2017-02-28 17:49:25 -05:00
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
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
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
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
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
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
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
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
Joram Wilander
9220254f05
Block OAuth account creation when disabled in config ( #5506 )
2017-02-23 08:53:33 +00:00
Corey Hulen
4a0aba719b
Fixing double send of websocket hello message ( #5490 )
2017-02-22 14:22:00 +00: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
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
5c19d9be7f
Implement endpoint for APIv4: GET /users/{user_id}/audits ( #5472 )
2017-02-21 12:07:57 +00: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
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
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
Joram Wilander
96f01d8c6c
Move channel permission check back to using cache ( #5454 )
2017-02-17 09:33:38 -05: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
Corey Hulen
da448cedc8
Fix issue with Aurora read replica ( #5448 )
2017-02-17 08:20:29 -05:00
Harrison Healey
eadf37ad7a
Added NewPostList constructor to set fields to be non-null ( #5440 )
2017-02-16 15:53:04 -05:00
George Goldberg
d60d05f2d8
PLT-5521: Mandatory version in line 1 of bulk import. ( #5400 )
2017-02-16 09:49:01 -05:00
Joram Wilander
f87d42916f
Implement PUT /users/{user_id}/patch endpoint for APIv4 ( #5418 )
2017-02-16 09:46:55 -05:00
Corey Hulen
1d6ea40022
Adding caching to profile images to master ( #5428 )
...
* Adding caching to profile images
* Fixing break
* Adding back in failed read
* Fixing build break
* Fixing break
2017-02-15 18:54:41 -05:00
Joram Wilander
db2966b7cb
Remove MakeDirectChannelVisible and add client handling for showing DMs ( #5430 )
2017-02-15 18:54:24 -05:00
Corey Hulen
2e0cf56e86
Fixing websocket auth then sending challenge ( #5406 )
2017-02-14 17:25:40 -05:00
Ruzette Tanyag
28aa7cdbf2
Implement GET channels endpoints for APIv4 ( #5363 )
...
* implement get channels endpoints and updated drivers and unittests
* removed channel deletion on tear down, removed manage permission on get channels endpoints, and updated utils to add constant channel length
* added constants for user, team and channel length, updated context to use the model functions
* make sure team name length should be less than the minimum length and revert underscore to team name validity
* changed post test condition from notfound to unauthorized
2017-02-14 10:28:08 -05:00
Joram Wilander
4149e82455
Fix here notifications ( #5377 )
2017-02-14 10:27:34 -05:00
George Goldberg
6251e836b0
PLT-5398 Bulk loading of user display preferences. ( #5382 )
2017-02-14 08:38:48 -05:00
Corey Hulen
62e20e98f9
Fixing push notificaiton ( #5394 )
2017-02-13 22:20:37 -05:00
Joram Wilander
67dd6c1ec6
Fix unread error ( #5390 )
2017-02-13 13:23:39 -05:00
Joram Wilander
e4effd0c15
Implement some post endpoints for APIv4 ( #5353 )
...
* Implement POST /posts endpoint for APIv4
* Implement GET /channels/{channel_id}/posts endpoint for APIv4
* Implement GET /posts/{post_id} endpoint for APIv4
* Implement GET /posts/{post_id}/thread endpoint for APIv4
* Skip team get if it's a DM channel in handlePostEvents
2017-02-13 10:52:50 -05:00
Joram Wilander
ff741740ee
Increase performance when receiving messages ( #5375 )
2017-02-13 09:27:28 -05:00
Joram Wilander
d05525e216
Fix copy/paste error for getting users ( #5373 )
2017-02-12 15:17:34 -05:00
Christopher Speller
2a9c1afd44
Adding webhook metrics ( #5348 )
2017-02-10 07:05:12 -08:00