summaryrefslogtreecommitdiffstats
path: root/model
Commit message (Collapse)AuthorAgeFilesLines
...
* (at)-mention preceded by ^, $, # or & to trigger a mention (#5419)enahum2017-02-161-1/+1
|
* Handle matching updateats for post list etag (#5435)Joram Wilander2017-02-151-0/+3
|
* Implement GET channels endpoints for APIv4 (#5363)Ruzette Tanyag2017-02-145-7/+49
| | | | | | | | | | | | * 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 some post endpoints for APIv4 (#5353)Joram Wilander2017-02-132-1/+57
| | | | | | | | | | | | * 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-1/+0
|
* Add cluster request time logging for master (#5347)Joram Wilander2017-02-101-0/+6
|
* Adding go vet from hack-a-thon (#5328)Corey Hulen2017-02-094-15/+15
| | | | | | | | | | | | | | | | | | | | | | * 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
* Implement GET `/users/username/{username}` endpoint for APIv4 (#5310)Ruzette Tanyag2017-02-081-0/+14
| | | | | | | | | | | | * 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-0/+39
| | | | | | | | | | * 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 password reset endpoints for APIv4 (#5256)Joram Wilander2017-02-071-0/+23
|
* Implement PUT /users/{user_id}/password endpoint for APIv4 (#5243)Joram Wilander2017-02-071-0/+11
|
* Implement a few team endpoints for APIv4 (#5296)Joram Wilander2017-02-072-4/+59
| | | | | | | | * 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
* Implement GET `/users/email/{email}` endpoint for APIv4 (#5309)Ruzette Tanyag2017-02-071-0/+14
| | | | | | | | | | * 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
* Implement DELETE /users/{user_id endpoint for APIv4 - rebase cleanup (#5307)Ruzette Tanyag2017-02-051-0/+10
| | | | | | | | * added delete user endpoint * added unit test for delete user endpoint * added delete user driver
* Implement GET /users endpoint for APIv4 (#5277)Joram Wilander2017-02-032-0/+51
|
* Implement POST /channels/direct endpoint for APIv4 (#5283)Joram Wilander2017-02-031-0/+12
|
* Implement POST /users/ids endpoint for APIv4 (#5274)Joram Wilander2017-02-031-0/+10
|
* Fix defaults in code to match config.json (#5269)Amit Yadav2017-02-021-1/+1
|
* Implement POST /channels endpoint for APIv4 (#5241)Joram Wilander2017-02-021-1/+18
|
* Implement PUT /users/{user_id}/roles endpoint for APIv4 (#5238)Joram Wilander2017-02-011-0/+11
|
* PLT-5365 Import of basic user properties. (#5231)George Goldberg2017-01-311-6/+13
|
* Implement POST /teams endpoint (#5220)Joram Wilander2017-01-312-14/+24
|
* Improvments to typing messages (#5230)Christopher Speller2017-01-301-39/+55
|
* Implement APIv4 infrastructure (#5191)Joram Wilander2017-01-305-16/+252
| | | | | | * Implement APIv4 infrastructure * Update parameter requirement functions per feedback
* PLT-5225 Added separate post types for certain system messages (#5193)Harrison Healey2017-01-271-2/+8
| | | | | | | | | | | | * 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
* PLT-5366, PLT-5364, PLT-5363: Bulk Import Part 1. (#5204)George Goldberg2017-01-271-8/+14
| | | | | | | 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.
* More app code migration (#5170)Joram Wilander2017-01-251-0/+7
| | | | | | | | * Migrate admin functions into app package * More user function refactoring * Move post functions into app package
* Move permissions code into app package (#5146)Joram Wilander2017-01-232-1/+23
| | | | | | * Move permissions code into app package * Revert getPosts permission
* Migrate functions to app package (#5106)Joram Wilander2017-01-191-0/+4
| | | | | | | | | | | | | | | | | | * 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
* Message Editing and Deleting permissions (#4692)Amit Yadav2017-01-182-0/+40
|
* PLT-2978: Add channel purpose change system message. (#5094)George Goldberg2017-01-171-1/+2
| | | Completes original patch by David Lu.
* PLT-4938 Add app package and move logic over from api package (#4931)Joram Wilander2017-01-131-0/+4
| | | | | | | | | | * 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
* PLT-5050 (Server). API to update channel member roles. (#5043)George Goldberg2017-01-132-1/+33
| | | Implements API reference proposal mattermost-api-reference:#66.
* Merge branch 'release-3.6'Christopher Speller2017-01-121-0/+11
|\
| * Use status cache for checking @here notifications (#5035)Joram Wilander2017-01-101-0/+11
| |
* | PLT-135 Showing "(Edited)" indicator if a message has been edited. (#4923)Debanshu Kundu2017-01-121-0/+1
| |
* | inital draft (#4883)Carlos Tadeu Panato Junior2017-01-061-0/+15
|/
* Update schema for version 3.6 (#4972)Harrison Healey2017-01-041-0/+1
| | | | | | * Update schema for version 3.6 * Update version for version 3.6
* Removing old signup team API (#4950)Christopher Speller2017-01-043-76/+0
|
* Removing old createTeamFromSignup api (#4945)Christopher Speller2017-01-031-13/+2
|
* Add initial unit test for post.getPostById() (#4910)Carlos Tadeu Panato Junior2016-12-301-0/+15
| | | | | | | | | | * add itinial tests for GetPostById update per review fix lint * add missing comment
* Add API call to get a user by their email address (#4884)Carlos Tadeu Panato Junior2016-12-281-0/+15
| | | | | | * Add API call to get a user by their email address * update per review
* PLT-5073 Improve performance of /channels/view endpoint (#4881)Joram Wilander2016-12-233-5/+3
| | | | | | * Improve performance of /channels/view endpoint * Fix store unit test
* PLT-5080 (Server): Channel-Admin level permissions (#4874)George Goldberg2016-12-221-3/+4
| | | | Adds permissions for manage/delete public/private channels at the Channel Admin level.
* Skip intensive stat DB queries when more than a set number of users on the ↵Joram Wilander2016-12-221-0/+10
| | | | system (#4876)
* fix GH-4857 | Add a default value for the FileSettings.InitialFont (#4878)Carlos Tadeu Panato Junior2016-12-221-0/+9
|
* API for getting channel members by IDs. (#4877)George Goldberg2016-12-221-0/+12
|
* PLT-5012 Combine updateLastViewedAt, setLastViewedAt and setActiveChannel ↵Joram Wilander2016-12-212-0/+62
| | | | | | | | into a single API (#4840) * Combine updateLastViewedAt, setLastViewedAt and setActiveChannel into a single API * Remove preference DB writes
* Fix teams unread count (#4848)enahum2016-12-211-0/+8
| | | | | | | | * Fix teams unread * Moving logic out of the store * fix unit test
* PLT-4990 - Server: Split out channel permissions to Create/Manage/Delete (#4864)George Goldberg2016-12-211-0/+28
| | | | | | * Server side changes. * Fix unit tests and default config.