summaryrefslogtreecommitdiffstats
path: root/api4/api.go
Commit message (Collapse)AuthorAgeFilesLines
* Add /v4/image api (#8230)Chris2018-02-091-0/+5
| | | | | | | | * add image api * i suppose i should add a test... * only redirect to image proxy
* Add GET /emojis/name/{emoji_name} API endpoint (#8142)Joram Wilander2018-01-241-2/+4
|
* ABC-90 Add POST /emoji/search and GET /emoji/autocomplete API endpoints (#8125)Joram Wilander2018-01-231-1/+1
| | | | | | * Add POST /emoji/search and GET /emoji/autocomplete API endpoints * Add constant to be clearer
* [PLT-6936] Translate AppError.Message automatically by default (#8063)Jesús Espino2018-01-081-1/+0
|
* refactor template code (#7860)Chris2017-11-201-2/+0
|
* Miscellaneous app cleanup (#7594)Chris2017-10-091-6/+0
| | | | | | | | | | | | * app cleanup * whoops, forgot a file * some minor cleanup * longer container deadline * defensive checks
* PLT-7705: API to get data retention policy. (#7539)George Goldberg2017-10-021-0/+4
| | | | | | * PLT-7705: API to get data retention policy. * Fix review comments.
* remove remaining Global() calls (outside of tests) (#7521)Chris2017-09-281-1/+1
|
* remove global refs from api/api4 (#7496)Chris2017-09-221-122/+111
|
* remove more global refs (#7480)Chris2017-09-211-2/+1
|
* Remove global app references (#7433)Chris2017-09-121-7/+8
| | | | | | | | * remove global app references * test fix * fix api4 test compilation
* PLT-7407: Back-end plugins (#7409)Chris2017-09-111-1/+1
| | | | | | | | | | | | * tie back-end plugins together * fix comment typo * add tests and a bit of polish * tests and polish * add test, don't let backend executable paths escape the plugin directory
* Renaming repoChristopher Speller2017-09-061-4/+4
|
* app type transition (#7167)Chris2017-09-061-5/+5
|
* Implement experimental REST API endpoints for plugins (#7279)Joram Wilander2017-09-011-0/+7
| | | | | | | | | | | | | | | | | | * 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()
* APIv4: NewLocAppError -> NewAppError (#7328)George Goldberg2017-08-311-2/+1
|
* PLT-1649: add response_url support for custom slash commands (#6739)Chris2017-08-161-4/+2
| | | | | | | | | | * add response_url support for custom slash commands * pr suggestions * pr update / suggestion * test fix
* PLT-6474: Server: Add elasticsearch/test endpoint to API. (#6792)George Goldberg2017-06-291-0/+4
|
* PLT-6408 Framework for job server (#6404)Harrison Healey2017-05-181-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* implement open graph metadata for apiV4 (#6343)Carlos Tadeu Panato Junior2017-05-101-0/+5
|
* fix reaction's name validation with + sign in it (#6221)Saturnino Abril2017-04-261-2/+2
|
* APIv4 DELETE /users/{user_id}/posts/{post_id}/reactions/name (#6117)Saturnino Abril2017-04-221-0/+6
| | | | | | | | | | * 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 v4 endpoints for OAuth (#6040)Joram Wilander2017-04-201-3/+9
| | | | | | | | | | | | | | | | | | * 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
* PLT-1384 Added websocket event when preferences are updated/deleted (#6107)Harrison Healey2017-04-201-1/+1
|
* APIv4 POST /reactions (#6092)Saturnino Abril2017-04-181-0/+3
| | | | | | * APIv4 POST /reactions * update corresponding V3 endpoint
* Implement GET /webrtc/token endpoint for APIv4 (#6046)Joram Wilander2017-04-161-0/+1
|
* 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
* APIv4 GET /posts/{post_id}/reactions (#6047)Saturnino Abril2017-04-111-0/+1
|
* implement POST /emoji for apiV4 (#5868)Carlos Tadeu Panato Junior2017-04-061-0/+1
|
* APIv4 GET /users/{user_id}/posts/flagged (#5984)Saturnino Abril2017-04-051-0/+2
| | | | | | * APIv4 GET /users/{user_id}/posts/flagged * change permission check
* Move WebSocket API to it's own package and add websocket v4 endpoint (#5881)Joram Wilander2017-03-281-1/+1
|
* Implement some team endpoints for APIv4 (#5870)Joram Wilander2017-03-251-7/+9
| | | | | | * Implement GET /users/{user_id}/teams/members endpoint for APIv4 * Implement DELETE /teams/{team_id}/members/{user_id} endpoint for APIv4
* [APIV4] GET /users/{user_id}/status - user status endpoint for apiV4 (#5824)Carlos Tadeu Panato Junior2017-03-241-0/+1
|
* implement POST /commands for apiv4 (#5849)Carlos Tadeu Panato Junior2017-03-231-0/+1
|
* Implement some channel endpoints for APIv4 (#5767)Joram Wilander2017-03-161-0/+2
|
* Implement brand image endpoints for APIv4 (#5733)Joram Wilander2017-03-141-0/+4
| | | | | | * Implement brand image endpoints for APIv4 * Fix unit test
* Implement admin LDAP endpoints for APIv4 (#5720)Joram Wilander2017-03-141-0/+4
|
* APIv4: GET /files/{file_id}/public (#5665)Saturnino Abril2017-03-131-0/+3
|
* Implement GET /cluster/status endpoint for APIv4 (#5732)Joram Wilander2017-03-131-6/+6
|
* Implement compliance endpoints for APIv4 (#5683)Joram Wilander2017-03-131-0/+4
| | | | | | * Implement compliance endpoints for APIv4 * Add paging to get reports endpoint
* Implement some team endpoints for APIv4 (#5745)Joram Wilander2017-03-131-0/+2
| | | | | | | | | | * Implement PUT /teams/{team_id} endpoint for APIv4 * Implement GET /users/{user_id}/teams/{team_id}/unread endpoint for APIv4 * Implement POST /teams/{team_id}/members/ids endpoint for APIv4 * Remove debug statement
* Implement GET /users/autocomplete endpoint for APIv4 (#5742)Joram Wilander2017-03-131-1/+1
|
* Implement SAML endpoints for APIv4 (#5671)Joram Wilander2017-03-131-0/+4
| | | | | | | | * Implement SAML endpoints for APIv4 * Fix unit test * Only disable encryption when removing puplic/private certs
* Implemented preferences endpoints for apiv4 (#5531)Ruzette Tanyag2017-02-281-1/+2
| | | | | | * implemented preferences endpoints for apiv4 * added user id in preferences endpoints
* Implement create and get incoming webhook endpoints for APIv4 (#5407)Joram Wilander2017-02-211-5/+6
| | | | | | | | * Implement POST /hooks/incoming endpoint for APIv4 * Implement GET /hooks/incoming endpoint for APIv4 * Updates per feedback
* Implement upload and get file endpoints for APIv4 (#5396)Joram Wilander2017-02-171-0/+1
| | | | | | * Implement POST /files endpoint for APIv4 * Implement GET /files/{file_id} endpoint for APIv4
* Add APIv4 /system/ping endpoint (#5443)Robin Naundorf2017-02-171-0/+1
|
* Implement GET channels endpoints for APIv4 (#5363)Ruzette Tanyag2017-02-141-8/+10
| | | | | | | | | | | | * 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-131-0/+1
| | | | | | | | | | | | * 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
* Implement GET `/users/username/{username}` endpoint for APIv4 (#5310)Ruzette Tanyag2017-02-081-1/+1
| | | | | | | | | | | | * 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