summaryrefslogtreecommitdiffstats
path: root/model/client4.go
Commit message (Collapse)AuthorAgeFilesLines
...
* [PLT-7396] Add the ability to revoke user sessions in System Console > Users ↵Rick Batka2017-10-161-0/+10
| | | | | | | | #7493 (#7623) * add endpoint and tests for revoking all sessions for a user * fix failing test build
* PLT-7785: Slash commands can be issued to a channel in a team without it (#7567)Jonathan2017-10-041-1/+4
| | | | | | * Ensured that specified channel is a part of specified team * Simplified approach to just infer team id from specified channel id to eliminate the attack vector entirely
* PLT-7705: API to get data retention policy. (#7539)George Goldberg2017-10-021-0/+16
| | | | | | * PLT-7705: API to get data retention policy. * Fix review comments.
* PLT-7404 Return viewed at times in view channel API response (#7428)Joram Wilander2017-09-291-3/+3
| | | | | | | | * Return viewed at times in view channel API response * Updated transaction to read and write once * Remove transaction and only update if new value greater than older
* Implement update OAuthApp endpoint for APIv4, add test (#7413)n1aba2017-09-181-0/+10
|
* PLT-7622 Improvements to server handling of webapp plugins (#7445)Joram Wilander2017-09-151-0/+11
| | | | | | | | * Improvements to server handling of webapp plugins * Fix newline * Update manifest function names
* Model: NewLocAppError -> NewAppError (#7450)George Goldberg2017-09-151-5/+5
|
* Fix elasticsearch purge index url in client4. (#7368)George Goldberg2017-09-051-1/+1
|
* Implement experimental REST API endpoints for plugins (#7279)Joram Wilander2017-09-011-0/+69
| | | | | | | | | | | | | | | | | | * Implement experimental REST API endpoints for plugins * Updates per feedback and rebase * Update tests * Further updates * Update extraction of plugins * Use OS temp dir for plugins instead of search path * Fail extraction on paths that attempt to traverse upward * Update pluginenv ActivePlugins()
* PLT-6403: Interactive messages (#7274)Chris2017-08-291-0/+10
| | | | | | | | | | * wip * finish first pass * requested changes * add DoPostAction to Client4
* Added unit tests for getFile headers (#7045)Harrison Healey2017-08-081-49/+153
| | | | | | | | | | | | * Added unit tests for getFile headers * Fixed exe type test to run correctly on multiple platforms * Make sure we close the body on all Client4 calls * Changed Response.Response field to Response.Header * Clarified type of Response.Header
* PLT-6763 Implement user access tokens and new roles (server-side) (#6972)Joram Wilander2017-07-311-0/+58
| | | | | | | | | | | | | | | | * Implement user access tokens and new roles * Update config.json * Add public post permission to apiv3 * Remove old comment * Fix model unit test * Updates to store per feedback * Updates per feedback from CS
* PLT-6595-Server: Job Management APIs. (#6931)George Goldberg2017-07-201-3/+33
| | | | | | | | * PLT-6595-Server: Job Management APIs. * MANAGE_JOBS Permission * Fix test.
* PLT-6595: API to purge Elasticsearch indexes. (#6971)George Goldberg2017-07-191-0/+10
|
* Merge branch 'release-4.0'Christopher Speller2017-07-181-7/+5
|\
| * PLT-7025: Fix Slack Import API. (#6905)George Goldberg2017-07-121-5/+3
| |
| * Fixing error in apiv4 flagged posts route (#6880)Christopher Speller2017-07-091-2/+2
| |
* | Fixing client4 ping (#6915)Christopher Speller2017-07-121-1/+1
| |
* | PLT-6916: Redesign the jobs package and Jobserver. (#6733)George Goldberg2017-07-071-6/+6
|/ | | | | | | | | | | | | | This commit redesigns the jobserver to be based around an architecture of "workers", which carry out jobs of a particular type, and "jobs" which are a unit of work carried by a particular worker. It also introduces "schedulers" which are responsible for scheduling jobs of a particular type automatically (jobs can also be scheduled manually when apropriate). Workers may be run many times, either in instances of the platform binary, or the standalone jobserver binary. In any mattermost cluster, only one instance of platform OR jobserver must run the schedulers. At the moment this is controlled by a config variable, but in future will be controlled through the cluster leader election process.
* Add paging to the GET /emojis endpoint (#6802)Joram Wilander2017-07-031-3/+4
|
* Add some basic sorting support for GET /users endpoint (#6801)Joram Wilander2017-06-301-0/+22
|
* PLT-6474: Server: Add elasticsearch/test endpoint to API. (#6792)George Goldberg2017-06-291-0/+17
|
* PLT-6931 Properly parse request body in post search (#6768)Joram Wilander2017-06-281-2/+2
| | | | | | * Properly parse request body in post search * Update driver to use correct body
* Move remaining actions over to use redux and v4 endpoints (#6720)Joram Wilander2017-06-261-3/+14
|
* Fix panic in v4 client (#6704)Joram Wilander2017-06-211-197/+205
|
* Add GET /teams/invite/{invite_id} endpoint for v4 (#6685)Joram Wilander2017-06-201-0/+10
|
* Add GET /analytics/old endpoint for v4 (#6666)Joram Wilander2017-06-191-0/+18
|
* Add POST and DELETE /license endpoints for v4 (#6665)Joram Wilander2017-06-191-1/+45
| | | | | | * Add POST and DELETE /license endpoints for v4 * Fix comment text
* Add APIv4 endpoint to permanently delete teams (#6604)Zeger-Jan van de Weg2017-06-151-0/+11
| | | | | Tests are added, however, it only tests the property if its soft deleted. In the background it will be hard deleted, but that is untestable through a integration test.
* [PLT-5465/APIV4] GET /system/health - Improve ping health check to have ↵Carlos Tadeu Panato Junior2017-05-301-7/+10
| | | | | | | | | | limits (#6331) * implement PLT-5465 - Improve ping health check to have limits * update /ping and delete /health * remove permission check
* PLT-6408 Framework for job server (#6404)Harrison Healey2017-05-181-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added initial job server * Added job server to be ran as part of platform * Added test job to the enterprise repo * Fixed job server not loading license * Renamed job package to jobs * Fixed TE not being buildable * Added JobStatus table to database * Changed fields used by JobStatus * Added APIs to query job status * Added config change listener to server * Added option to run job server from Makefile * Added ability to enable/disable jobs from config * Commented out placeholder for search indexing job * Fixed govet * Removed debug messages and fixed job api init message
* PLT-6019: Add APIv4 Endpoint for restoring Channels (#6263)Robin Naundorf2017-05-151-0/+10
|
* Removing channel list alias from apiv4 client (#6383)Christopher Speller2017-05-101-10/+10
|
* Add tests for CreateUserWithInviteId and CreateUserWithHash (#6363)Carlos Tadeu Panato Junior2017-05-101-0/+34
|
* implement open graph metadata for apiV4 (#6343)Carlos Tadeu Panato Junior2017-05-101-0/+19
|
* Add API Endpoint for deleted Channels (#5889)Robin Naundorf2017-05-091-0/+11
|
* Creating common token store and moving email invites and verification to it ↵Christopher Speller2017-04-271-5/+5
| | | | (#6213)
* APIv4 POST /commands/execute (#6205)Saturnino Abril2017-04-271-0/+11
|
* PLT-4457 Added API to get multiple users by their usernames (#6218)Harrison Healey2017-04-251-0/+10
| | | | | | | | | | * Allow getting profiles by username without a team * Changed UserStore.GetProfilesByUsernames to return an array * PLT-4457 Added API to get multiple users by their usernames * Changed users/names route to users/usernames
* APIv4 DELETE /users/{user_id}/posts/{post_id}/reactions/name (#6117)Saturnino Abril2017-04-221-0/+10
| | | | | | | | | | * APIv4 DELETE /users/{user_id}/posts/{post_id}/reactions/name * updated v3 deleteReaction endpoint * update parameter of app.DeleteReactionForPost() * update utils.IsValidAlphaNum, add utils.IsValidAlphaNumHyphenUnderscore, and add related tests
* implement POST /logs for apiV4 (#6143)Carlos Tadeu Panato Junior2017-04-211-0/+12
|
* [APIV4] GET /emoji/{emoji_id}/image for apiV4 (#6141)Carlos Tadeu Panato Junior2017-04-201-0/+11
| | | | | | * implement GET /emoji/{emoji_id}/image for apiV4 * update per request
* APIv4 POST /channels/group (#6166)Saturnino Abril2017-04-201-0/+10
|
* Implement v4 endpoints for OAuth (#6040)Joram Wilander2017-04-201-5/+108
| | | | | | | | | | | | | | | | | | * Implement POST /oauth/apps endpoint for APIv4 * Implement GET /oauth/apps endpoint for APIv4 * Implement GET /oauth/apps/{app_id} and /oauth/apps/{app_id}/info endpoints for APIv4 * Refactor API version independent oauth endpoints * Implement DELETE /oauth/apps/{app_id} endpoint for APIv4 * Implement /oauth/apps/{app_id}/regen_secret endpoint for APIv4 * Implement GET /user/{user_id}/oauth/apps/authorized endpoint for APIv4 * Implement POST /oauth/deauthorize endpoint
* APIv4 POST /reactions (#6092)Saturnino Abril2017-04-181-0/+14
| | | | | | * APIv4 POST /reactions * update corresponding V3 endpoint
* APIv4 PUT /users/{user_id}/active (#6118)Saturnino Abril2017-04-171-0/+13
|
* implement DELETE /emoji/{emoji_id} fro apiV4 (#6021)Carlos Tadeu Panato Junior2017-04-171-0/+24
| | | implement GET /emoji/{emoji_id} for apiv4
* Implement GET /webrtc/token endpoint for APIv4 (#6046)Joram Wilander2017-04-161-0/+13
|
* [APIV4] POST /commands/{command_id}/regen_token for apiV4 (#6052)Carlos Tadeu Panato Junior2017-04-161-0/+10
| | | | | | * implement POST /commands/{command_id}/regen_token for apiV4 * update comment
* PLT-5860 Updated copyright date (#6058)Harrison Healey2017-04-121-1/+1
| | | | | | | | | | | | * PLT-5860 Updated copyright date in about modal * PLT-5860 Updated copyright notice in JSX files * PLT-5860 Updated copyright notice in go files * Fixed misc copyright dates * Fixed component snapshots