summaryrefslogtreecommitdiffstats
path: root/model
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Fix channel_deleted post type (#4841)enahum2016-12-201-1/+3
|
* Prevent accidental removal of user from town square (#4842)Joram Wilander2016-12-201-1/+1
|
* GH-4685 Post a System Message when channel is renamed (#4762)Nick Frazier2016-12-201-1/+2
| | | | | | | | | | * test changes * added system message when displayname changed * added test * gofmt
* PLT-4167 Team Sidebar (#4569)enahum2016-12-194-0/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PLT-4167 Team Sidebar * Address feedback from PM * change route from my_members to members * bug fixes * Updating styles for teams sidebar (#4681) * Added PM changes * Fix corner cases * Addressing feedback * use two different endpoints * Bug fixes * Rename model and client functions, using preferences to store last team and channel viewed * Fix mobile notification count and closing the team sidebar * unit test, fixed bad merge and retrieve from cached when available * bug fixes * use id for last channel in preferences, query optimization * Updating multi team css (#4830)
* PLT-4332 Position field for Users (#4632)George Goldberg2016-12-143-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add User.Position field to store & model. * GOFMT * Add Position to user settings. * Unit tests. * Add position to profile popup. * i18n * Fix log message for invalid position. * Add Position field attribute to LDAP config. * Add Position field attribute to SAML config. * Reword empty position message. * Change Position Max Length to 35. * Better invalid position error message. * Add new fields to config.json. * Ensure position is never longer than max when displayed. * Hard limit of 64 chars with soft limit still 35 * Put field with other attributes.
* PLT-4767 Implement MFA Enforcement (#4662)Joram Wilander2016-12-121-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Create MFA setup page and remove MFA setup from account settings modal * Add enforce MFA to system console and force redirect * Lockdown mfa required API routes, add localization, other changes * Minor fixes * Fix typo * Fix some unit tests * Fix more unit tests * Minor fix * Updating UI for MFA screen (#4670) * Updating UI for MFA screen * Updating styles for MFA page * Add the ability to switch between email/sso with MFA enabled * Added mfa change email * Minor UI updates for MFA enforcement * Fix unit test * Fix client unit test * Allow switching email to ldap and back when MFA is enabled * Fix unit test * Revert config.json
* Add API call to get a channel by its name (#4700)Carlos Tadeu Panato Junior2016-12-111-0/+10
| | | | | | | | | | | | * add api for getByChannelName * add tests * fix test * rename and tests * check for permissions and test
* PLT-1598 Slash command works in RHS (#4367)Yusuke Nemoto2016-12-092-6/+39
| | | | | | | | | | | | | | | | | | | | | * PLT-1598 Slash command works in RHS * fix UserProfile in the reply for Slash Command * fix some problem about the system messages in RHS * system message in RHS isn't displayed as comment for root message * remove status indicator for system message in RHS * system message in RHS is colored to grey * system messages don't count as commented post * fix bug about cleaning draft in RHS * remove unnecessary function * implement new model for executing command
* Adding block profiling to metrics (#4741)Christopher Speller2016-12-091-2/+8
|
* Add API call to get a team by its name (#4690)Carlos Tadeu Panato Junior2016-12-081-0/+12
| | | | | | | | | | * Add API call to get a team by its name * add tests for client side and update route regex * remove action * add check for permissions and create tests