| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
| |
* Implement POST /hooks/incoming endpoint for APIv4
* Implement GET /hooks/incoming endpoint for APIv4
* Updates per feedback
|
|
|
|
|
|
|
|
|
|
| |
* Implement delete post endpoint for apiv4
* Implement POST search post endpoint for APIv4
* removed delete post quotes
* rearrange formatting
|
|
|
|
| |
(#5471)
|
| |
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
| |
* api4 GET teams/{team_id}/stats
* api4 GET teams/{team_id}/stats
* moved TeamStats router to team.go
|
|
|
|
|
|
| |
* Implement POST /files endpoint for APIv4
* Implement GET /files/{file_id} endpoint for APIv4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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 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
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* Implement GET /teams/{team_id} endpoint for APIv4
* Implement GET /users/{user_id}/teams endpoint for APIv4
* Implement GET /teams/{team_id}/members/{user_id} endpoint for APIv4
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
| |
* added delete user endpoint
* added unit test for delete user endpoint
* added delete user driver
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* Implement APIv4 infrastructure
* Update parameter requirement functions per feedback
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
| |
This commit provides the first part of the bulk import system.
The CLI command is provided, complete with validation & apply modes. All
the basic properties of Teams and Channels can be imported. Users &
Posts will follow separately in a future commit.
|
|
|
|
|
|
|
|
| |
* Migrate admin functions into app package
* More user function refactoring
* Move post functions into app package
|
|
|
|
|
|
| |
* Move permissions code into app package
* Revert getPosts permission
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Refactor and move session logic into app package
* Refactor email functions into the app package
* Refactor password update into app package
* Migrate user functions to app package
* Move team functions into app package
* Migrate channel functions into app package
* Pass SiteURL through to app functions
* Update based on feedback
|
| |
|
|
|
| |
Completes original patch by David Lu.
|
|
|
|
|
|
|
|
|
|
| |
* Add app package and move logic over from api package
* Change app package functions to return errors
* Move non-api tests into app package
* Fix merge
|
|
|
| |
Implements API reference proposal mattermost-api-reference:#66.
|
|\ |
|
| | |
|