summaryrefslogtreecommitdiffstats
path: root/app
Commit message (Collapse)AuthorAgeFilesLines
* Implement create and get incoming webhook endpoints for APIv4 (#5407)Joram Wilander2017-02-211-0/+39
| | | | | | | | * Implement POST /hooks/incoming endpoint for APIv4 * Implement GET /hooks/incoming endpoint for APIv4 * Updates per feedback
* Implement posts endpoints for APIv4 (#5480)Ruzette Tanyag2017-02-211-0/+1
| | | | | | | | | | * Implement delete post endpoint for apiv4 * Implement POST search post endpoint for APIv4 * removed delete post quotes * rearrange formatting
* Implement endpoint for APIv4: GET /users/{user_id}/audits (#5472)Saturnino Abril2017-02-211-1/+9
|
* Fixing file info caching issue with Aurora for master (#5477)Corey Hulen2017-02-203-6/+10
|
* Implement a few channel member endpoints for APIv4 (#5444)Joram Wilander2017-02-201-3/+19
| | | | | | | | * 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
* Implementation endpoint for APIv4: GET /teams/name/{name} (#5473)Saturnino Abril2017-02-201-0/+1
| | | | | | | | | | * 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>
* Implement upload and get file endpoints for APIv4 (#5396)Joram Wilander2017-02-171-0/+57
| | | | | | * Implement POST /files endpoint for APIv4 * Implement GET /files/{file_id} endpoint for APIv4
* Implement user sessions endpoints for APIv4 (#5449)Ruzette Tanyag2017-02-171-0/+2
| | | | | | | | | | | | | | * 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
* Move channel permission check back to using cache (#5454)Joram Wilander2017-02-171-7/+13
|
* Simplify code (#5452)Josta Yee2017-02-171-1/+1
| | | 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.
* Fix issue with Aurora read replica (#5448)Corey Hulen2017-02-171-0/+30
|
* Added NewPostList constructor to set fields to be non-null (#5440)Harrison Healey2017-02-161-1/+1
|
* PLT-5521: Mandatory version in line 1 of bulk import. (#5400)George Goldberg2017-02-162-3/+58
|
* Implement PUT /users/{user_id}/patch endpoint for APIv4 (#5418)Joram Wilander2017-02-161-4/+28
|
* Adding caching to profile images to master (#5428)Corey Hulen2017-02-151-5/+8
| | | | | | | | | | | | * Adding caching to profile images * Fixing break * Adding back in failed read * Fixing build break * Fixing break
* Remove MakeDirectChannelVisible and add client handling for showing DMs (#5430)Joram Wilander2017-02-152-63/+0
|
* Fixing websocket auth then sending challenge (#5406)Corey Hulen2017-02-141-0/+2
|
* Implement GET channels endpoints for APIv4 (#5363)Ruzette Tanyag2017-02-141-2/+31
| | | | | | | | | | | | * 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
* Fix here notifications (#5377)Joram Wilander2017-02-141-14/+10
|
* PLT-5398 Bulk loading of user display preferences. (#5382)George Goldberg2017-02-142-0/+204
|
* Fixing push notificaiton (#5394)Corey Hulen2017-02-131-1/+2
|
* Fix unread error (#5390)Joram Wilander2017-02-131-1/+1
|
* Implement some post endpoints for APIv4 (#5353)Joram Wilander2017-02-131-8/+24
| | | | | | | | | | | | * 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
* Increase performance when receiving messages (#5375)Joram Wilander2017-02-131-5/+13
|
* Fix copy/paste error for getting users (#5373)Joram Wilander2017-02-121-4/+4
|
* Adding webhook metrics (#5348)Christopher Speller2017-02-101-0/+5
|
* Adding websocket event metrics (#5342)Christopher Speller2017-02-101-0/+4
|
* Adding go vet from hack-a-thon (#5328)Corey Hulen2017-02-096-29/+27
| | | | | | | | | | | | | | | | | | | | | | * Adding go vet to the api package * Adding go vet to app package * Adding go vet to manualtesting package * Adding go vet to the model package * Adding go vet to the store dir * Adding go vet to utils package * Adding missing dirs with go files * Fixing up makefile * Fixing up makefile * Removing root dir
* PLT-5427: Import ChannelMember Notify Props. (#5329)George Goldberg2017-02-082-35/+96
|
* Implement GET `/users/username/{username}` endpoint for APIv4 (#5310)Ruzette Tanyag2017-02-081-1/+2
| | | | | | | | | | | | * added get user by username endpoint * added get user by username unit test and driver * changed username length to 22 characters max * changed Params to UserName to Username * reorganized get user by username and get user by email formatting in model/client4
* Implement a few channel member endpoints for APIv4 (#5304)Joram Wilander2017-02-071-3/+11
| | | | | | | | | | * Implement GET /channels/{channel_id}/members * Implement GET /channels/{channel_id}/members/{user_id} endpoint for APIv4 * Implement /users/{user_id}/teams/{team_id}/channels/members endpoint for APIv4 * Fix unit test
* Add caching for file infos (#5330)Joram Wilander2017-02-073-4/+5
|
* Implement password reset endpoints for APIv4 (#5256)Joram Wilander2017-02-071-4/+4
|
* Implement PUT /users/{user_id}/password endpoint for APIv4 (#5243)Joram Wilander2017-02-072-10/+7
|
* Implement GET `/users/email/{email}` endpoint for APIv4 (#5309)Ruzette Tanyag2017-02-071-1/+6
| | | | | | | | | | * added get user by email endpoint for APIv4 * added get user by email endpoint unit test and driver * removed the appended return of user ids on logout * Added RequireEmail to validate user email. Also updated the get user by email endpoint and unit test
* PLT-5379 Fix the error occuring while fetching OG metadata for links which ↵Debanshu Kundu2017-02-071-1/+1
| | | | don't exist. (#5308)
* Implement GET /users endpoint for APIv4 (#5277)Joram Wilander2017-02-033-16/+130
|
* Implement POST /channels/direct endpoint for APIv4 (#5283)Joram Wilander2017-02-031-3/+8
|
* Implement POST /users/ids endpoint for APIv4 (#5274)Joram Wilander2017-02-031-2/+8
|
* Add tear down to APIv4 tests (#5250)Joram Wilander2017-02-022-1/+22
| | | | | | * Add tear down to APIv4 tests * Defer tear downs
* PLT-5407: Bulk importing of User memberships. (#5273)George Goldberg2017-02-024-14/+565
|
* PLT-495 Improves slack markup conversion (#4914)Diep Pham2017-02-022-10/+150
| | | | | | | | | | | | | | * improves slack markup conversion * bold * strikethrough * blockquotes * handles blockquotes in slack_import * removes unnecessary formatting * fixes various format problems
* Implement POST /channels endpoint for APIv4 (#5241)Joram Wilander2017-02-021-0/+33
|
* PLT-5365 Import of basic user properties. (#5231)George Goldberg2017-01-314-28/+508
|
* Fix small bug in webhub. (#5229)Christopher Speller2017-01-301-1/+3
|
* Changing map to array for web_hub connections. (#5226)Christopher Speller2017-01-301-17/+30
|
* Add initial tests for app/team.go (#5208)Carlos Tadeu Panato Junior2017-01-301-0/+114
| | | | | | * . * add initial tests for app/team.go
* Implement APIv4 infrastructure (#5191)Joram Wilander2017-01-304-3/+424
| | | | | | * Implement APIv4 infrastructure * Update parameter requirement functions per feedback
* PLT-5225 Added separate post types for certain system messages (#5193)Harrison Healey2017-01-272-37/+106
| | | | | | | | | | | | * Added separate post types for system_join_leave and system_add_remove posts * Added username prop to channel deleted posts * Changed slack import to properly generate the new join/leave messages * Added username prop to channel update posts * Moved Post(AddTo/RemoveFrom)ChanneMessage into app package
* Merge 3.6.2 into master (#5211)Joram Wilander2017-01-278-25/+50
| | | | | | | | | | * Add webhook cache * Add channel by name cache * Fxing profiles in channels cache * Fix merge