Chris
eff65aa05c
ABC-132: sign error page parameters ( #8197 )
...
* sign error page parameters
* add comments
2018-02-07 12:05:46 -05:00
Saturnino Abril
4acc2238e9
redirect error uri when OAuth SSO is setup but account creation is disabled ( #8086 )
2018-01-11 19:18:16 -05:00
Chris
91bfc72a99
Reduce logging data races, fix MySQL test race condition ( #7994 )
...
* fix races
* revert unintentional change
* fix test as intended
2017-12-22 12:09:33 +00:00
Joram Wilander
239e8df3f4
Fix oauth app update ( #7913 )
2017-12-01 08:21:44 -05:00
Christopher Speller
4491b5ecdf
Performance improvements for 40M posts ( #7708 )
...
* 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
2017-10-25 11:48:15 -07:00
Chris
8e19ba029f
Reduce utils.Cfg references ( #7650 )
...
* app.UpdateConfig method
* test fix
* another test fix
* the config override option as-was is just error prone, remove it for now
* derp
2017-10-18 15:36:43 -07:00
Chris
dcf9e96a0b
remove global refs from api/api4 ( #7496 )
2017-09-22 13:54:27 -04:00
Chris
2d322a4174
fix error message escaping ( #7467 )
2017-09-20 09:34:30 -04:00
n1aba
5a855e1ca1
Implement update OAuthApp endpoint for APIv4, add test ( #7413 )
2017-09-18 07:40:41 -04:00
Christopher Speller
29fca51821
Renaming repo
2017-09-06 23:11:59 -07:00
Christopher Speller
77709ccdda
Merge release-4.2
2017-09-06 20:43:18 -07:00
Chris
1adfd0e9be
app type transition ( #7167 )
2017-09-06 17:12:54 -05:00
JoramWilander
d38328976e
Various patches
2017-09-06 16:24:34 -04:00
Harrison Healey
e30e4cfe3d
PLT-7468 Moved more error pages to use predefined error types ( #7378 )
...
* 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
2017-09-05 17:40:35 -04:00
Joram Wilander
a12cf549cf
Set charset for OAuth2 authorize page ( #7304 )
2017-08-28 10:04:52 -04:00
enahum
fa3dd6a84b
If login is using mobile respond with JSON object ( #7030 )
2017-08-03 02:39:14 +08:00
Joram Wilander
f3acd34128
Redirect OAuth SSO errors to error page ( #6898 )
2017-07-11 02:52:59 +08:00
JoramWilander
15ad24d160
Minor fix
2017-07-06 17:28:38 -04:00
Harrison Healey
5c1049054e
PLT-6471 Properly panic when translations can't be loaded ( #6414 )
...
* 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
2017-05-23 11:06:25 -04:00
enahum
5f9a28ed6f
Ability to use OAuth login from mobile ( #6432 )
2017-05-17 17:33:44 -04:00
Joram Wilander
8d1a132eda
Fix OAuth SSO first account creation, add mobile support, and fix refresh tokens ( #6181 )
2017-04-25 09:38:33 -07:00
Joram Wilander
be9624e2ad
Implement v4 endpoints for OAuth ( #6040 )
...
* 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
2017-04-20 09:55:02 -04:00