summaryrefslogtreecommitdiffstats
path: root/api4/context.go
Commit message (Collapse)AuthorAgeFilesLines
* Reduce utils.Cfg references (#7650)Chris2017-10-181-3/+3
| | | | | | | | | | | | * app.UpdateConfig method * test fix * another test fix * the config override option as-was is just error prone, remove it for now * derp
* Only update session activity on specific endpoints (#7549)Joram Wilander2017-10-031-1/+0
|
* PLT-7633 (E20) Add session idle timeout config setting (#7524)Joram Wilander2017-09-281-0/+1
| | | | | | | | | | * Add session idle timeout config setting * Modify config setting name to SessionIdleTimeoutInMinutes * Small re-org of if statement * Merge with latest master
* remove global refs from api/api4 (#7496)Chris2017-09-221-10/+36
|
* remove einterface gets (#7455)Chris2017-09-191-6/+5
|
* Renaming repoChristopher Speller2017-09-061-4/+4
|
* app type transition (#7167)Chris2017-09-061-4/+6
|
* Implement experimental REST API endpoints for plugins (#7279)Joram Wilander2017-09-011-0/+12
| | | | | | | | | | | | | | | | | | * 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-13/+7
|
* PLT-6403: Interactive messages (#7274)Chris2017-08-291-0/+11
| | | | | | | | | | * wip * finish first pass * requested changes * add DoPostAction to Client4
* PLT-6226 Fixing races with licensing (#7213)Corey Hulen2017-08-161-2/+2
| | | | | | | | | | * PLT-6226 Fixing races with licensing * Fixing build issue * Fixing licensing issue * removing commented code
* PLT-6763 Implement user access tokens and new roles (server-side) (#6972)Joram Wilander2017-07-311-0/+16
| | | | | | | | | | | | | | | | * 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-6983 Allowed team invite IDs of arbitrary lengths to match API v3 (#6944)Harrison Healey2017-07-151-1/+1
|
* Fixing mean request time (#6760)Corey Hulen2017-06-261-1/+1
|
* Add GET /teams/invite/{invite_id} endpoint for v4 (#6685)Joram Wilander2017-06-201-0/+11
|
* PLT-6080 moving clustering to memberlist (#6499)Corey Hulen2017-06-191-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PLT-6080 adding cluster discovery service * Adding memberlist lib * Adding memberlist lib * WIP * WIP * WIP * WIP * Rolling back config changes * Fixing make file * Fixing config for cluster * WIP * Fixing system console for clustering * Fixing default config * Fixing config * Fixing system console for clustering * Tweaking hub setting * Bumping up time * merging vendor dir * Updating vendor dir * Fixing unit test * Fixing bad merge * Remove some testing code * Moving comment * PLT-6868 adding db ping retry * Removing unused loc strings * Adding defer to cancel
* PLT-6408 Framework for job server (#6404)Harrison Healey2017-05-181-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Fix MFA enforcement on login and page load (#6356)Joram Wilander2017-05-091-2/+6
|
* PLT-6322 log error messages in english (#6234)Corey Hulen2017-04-281-4/+4
|
* fix reaction's name validation with + sign in it (#6221)Saturnino Abril2017-04-261-1/+4
|
* APIv4 DELETE /users/{user_id}/posts/{post_id}/reactions/name (#6117)Saturnino Abril2017-04-221-2/+14
| | | | | | | | | | * 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-0/+23
| | | | | | | | | | | | | | | | | | * 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
* Merge branch 'release-3.8'Christopher Speller2017-04-171-1/+1
|\
| * PLT-5977: Only reload clients when client config changes. (#5989)George Goldberg2017-04-051-1/+1
| |
* | implement DELETE /emoji/{emoji_id} fro apiV4 (#6021)Carlos Tadeu Panato Junior2017-04-171-0/+11
| | | | | | implement GET /emoji/{emoji_id} for apiv4
* | 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
* | Refactor switching login type code into app layer and add v4 endpoint (#6000)Joram Wilander2017-04-101-2/+1
| | | | | | | | | | | | * Refactor switching login type code into app layer and add v4 endpoint * Fix unit test
* | APIv4 PUT /commands/{command_id} (#5999)Saturnino Abril2017-04-071-0/+11
|/ | | | | | * APIv4 PUT /commands/{command_id} * update client parameter and api4 test
* PLT-5900 Removed automatic configuration of SiteURL (#5952)Harrison Healey2017-04-041-18/+13
| | | | | | | | | | | | | | | | * Revert "PLT-5765 Passed SiteURL to SendNotifications (#5705)" This reverts commit a8e68bd8905972ae59de90fa33d5b3e3c274dc47. * Removed automatic configuration of SiteURL * Reverted unintentional config changes * Updated help text * Added link to docs in Site URL warning * Fixed merge conflict
* Merge branch 'release-3.7'George Goldberg2017-03-231-1/+1
|\
| * Fix policy application in team edition. (#5771)George Goldberg2017-03-151-1/+1
| |
* | Add ability to use 'me' in place of user id for APIv4 (#5826)Joram Wilander2017-03-211-0/+4
| |
* | Implement compliance endpoints for APIv4 (#5683)Joram Wilander2017-03-131-0/+11
| | | | | | | | | | | | * Implement compliance endpoints for APIv4 * Add paging to get reports endpoint
* | Adding functionality to get & delete incoming webhooks (#5648)Poornima2017-03-111-0/+12
|/
* Implemented preferences endpoints for apiv4 (#5531)Ruzette Tanyag2017-02-281-0/+24
| | | | | | * implemented preferences endpoints for apiv4 * added user id in preferences endpoints
* Various APIv4 fixes (#5474)Joram Wilander2017-02-201-0/+2
|
* Implement upload and get file endpoints for APIv4 (#5396)Joram Wilander2017-02-171-4/+14
| | | | | | * Implement POST /files endpoint for APIv4 * Implement GET /files/{file_id} endpoint for APIv4
* Implement GET channels endpoints for APIv4 (#5363)Ruzette Tanyag2017-02-141-8/+28
| | | | | | | | | | | | * 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/+11
| | | | | | | | | | | | * 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-0/+17
| | | | | | | | | | | | * 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 `/users/email/{email}` endpoint for APIv4 (#5309)Ruzette Tanyag2017-02-071-0/+13
| | | | | | | | | | * 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 APIv4 infrastructure (#5191)Joram Wilander2017-01-301-0/+360
* Implement APIv4 infrastructure * Update parameter requirement functions per feedback