| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
* Adding caching to profile images
* Fixing break
* Adding back in failed read
* Fixing build break
* Fixing break
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
don't exist. (#5308)
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* Add tear down to APIv4 tests
* Defer tear downs
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* improves slack markup conversion
* bold
* strikethrough
* blockquotes
* handles blockquotes in slack_import
* removes unnecessary formatting
* fixes various format problems
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* .
* add initial tests for app/team.go
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
| |
* Add webhook cache
* Add channel by name cache
* Fxing profiles in channels cache
* Fix merge
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* Add tests for app/email.go
* fix issue related with inbucket
* applied go fmt
|
|
|
|
|
| |
This fixes the issue where the channel fails to Import from Slack if
there is already a channel with the same name on Mattermost that has
been deleted.
|
|
|
|
|
|
|
|
| |
* Migrate admin functions into app package
* More user function refactoring
* Move post functions into app package
|
|
|
|
|
|
|
| |
The app-package refactor means that the check for a Channel Member
object before allowing to delete the channel is now redundant, as the
check is already carried out by using HasPermissionToChannel() on the
user requesting it. As a result, System Admins can now delete channels
through the API even if they aren't members.
|
|
|
|
|
|
| |
* Move permissions code into app package
* Revert getPosts permission
|
| |
|
|
|
|
|
|
| |
* Fix webhook notifications for channel creator is not in
* Fix unit test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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 docker container for inbucket
* Add way to get the emails using inbucket and add a test for reset password
* add config setting to send emails
* update TestEmailTest
update
* add another test and fix wrong assert
* update per review
fix lint
change senders email
* Revert config.json to default values for EmailSettings section
* update test
* add setup to make the test run
|
| |
|