summaryrefslogtreecommitdiffstats
path: root/api4/oauth.go
Commit message (Collapse)AuthorAgeFilesLines
* Fix oauth app update (#7913)Joram Wilander2017-12-011-1/+1
|
* Performance improvements for 40M posts (#7708)Christopher Speller2017-10-251-14/+14
| | | | | | | | | | | | | | | | | | | | | | * Optimizing get root posts SQL query * Setting session invalidation to be reliable * Adding app reciever to SessionHasPermissionToUser * Adding app reciever to SessionHasPermissionToTeam * Adding app reciever to SessionHasPermissionTo * Clear session cache if permission was denied * Fixing rebase issues * Revert "Optimizing get root posts SQL query" This reverts commit f364757e7015cfb4ec673d0a4fc3d57cd25d8dd7. * Fixing build
* Reduce utils.Cfg references (#7650)Chris2017-10-181-2/+2
| | | | | | | | | | | | * app.UpdateConfig method * test fix * another test fix * the config override option as-was is just error prone, remove it for now * derp
* remove global refs from api/api4 (#7496)Chris2017-09-221-20/+20
|
* fix error message escaping (#7467)Chris2017-09-201-2/+2
|
* Implement update OAuthApp endpoint for APIv4, add test (#7413)n1aba2017-09-181-0/+42
|
* Renaming repoChristopher Speller2017-09-061-3/+3
|
* Merge release-4.2Christopher Speller2017-09-061-0/+9
|\
| * Various patchesJoramWilander2017-09-061-0/+9
| |
* | app type transition (#7167)Chris2017-09-061-25/+25
|/
* PLT-7468 Moved more error pages to use predefined error types (#7378)Harrison Healey2017-09-051-3/+1
| | | | | | | | * PLT-7468 Moved more errors to use error types * PLT-7468 Moved 404 error page to use error types * Made helper function for rendering external links on error page
* Set charset for OAuth2 authorize page (#7304)Joram Wilander2017-08-281-1/+1
|
* If login is using mobile respond with JSON object (#7030)enahum2017-08-031-4/+20
|
* Redirect OAuth SSO errors to error page (#6898)Joram Wilander2017-07-111-3/+9
|
* Minor fixJoramWilander2017-07-061-4/+4
|
* PLT-6471 Properly panic when translations can't be loaded (#6414)Harrison Healey2017-05-231-1/+3
| | | | | | | | | | * PLT-6471 Properly panic when translations can't be loaded * Print usage messages when errors occur during CLI initialization * Reverted behaviour of FindDir and added second return value to it * Fixed merge conflict
* Ability to use OAuth login from mobile (#6432)enahum2017-05-171-5/+28
|
* Fix OAuth SSO first account creation, add mobile support, and fix refresh ↵Joram Wilander2017-04-251-0/+3
| | | | tokens (#6181)
* Implement v4 endpoints for OAuth (#6040)Joram Wilander2017-04-201-0/+481
* 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