summaryrefslogtreecommitdiffstats
path: root/api/oauth.go
Commit message (Collapse)AuthorAgeFilesLines
* remove global refs from api/api4 (#7496)Chris2017-09-221-11/+11
|
* Renaming repoChristopher Speller2017-09-061-3/+3
|
* Merge release-4.2Christopher Speller2017-09-061-0/+4
|\
| * Various patchesJoramWilander2017-09-061-0/+4
| |
* | app type transition (#7167)Chris2017-09-061-15/+15
|/
* Minor fixJoramWilander2017-07-061-2/+2
|
* Ability to use OAuth login from mobile (#6432)enahum2017-05-171-1/+1
|
* Implement v4 endpoints for OAuth (#6040)Joram Wilander2017-04-201-173/+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
* Refactor OAuth 2.0 code into app layer (#6037)Joram Wilander2017-04-121-574/+102
|
* 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-111/+3
| | | | | | * Refactor switching login type code into app layer and add v4 endpoint * Fix unit test
* PLT-5900 Removed automatic configuration of SiteURL (#5952)Harrison Healey2017-04-041-8/+8
| | | | | | | | | | | | | | | | * 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
* Add more OAuth unit tests (#5946)enahum2017-04-031-10/+0
|
* PLT-5765 Passed SiteURL to SendNotifications (#5705)Harrison Healey2017-03-101-2/+2
|
* Implement APIv4 infrastructure (#5191)Joram Wilander2017-01-301-5/+5
| | | | | | * Implement APIv4 infrastructure * Update parameter requirement functions per feedback
* Move permissions code into app package (#5146)Joram Wilander2017-01-231-7/+7
| | | | | | * Move permissions code into app package * Revert getPosts permission
* Migrate functions to app package (#5106)Joram Wilander2017-01-191-3/+8
| | | | | | | | | | | | | | | | | | * Refactor and move session logic into app package * Refactor email functions into the app package * Refactor password update into app package * Migrate user functions to app package * Move team functions into app package * Migrate channel functions into app package * Pass SiteURL through to app functions * Update based on feedback
* Refactor and migrate more functions out of api into app package (#5063)Joram Wilander2017-01-131-28/+6
|
* PLT-4938 Add app package and move logic over from api package (#4931)Joram Wilander2017-01-131-67/+68
| | | | | | | | | | * Add app package and move logic over from api package * Change app package functions to return errors * Move non-api tests into app package * Fix merge
* PLT-4767 Implement MFA Enforcement (#4662)Joram Wilander2016-12-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Create MFA setup page and remove MFA setup from account settings modal * Add enforce MFA to system console and force redirect * Lockdown mfa required API routes, add localization, other changes * Minor fixes * Fix typo * Fix some unit tests * Fix more unit tests * Minor fix * Updating UI for MFA screen (#4670) * Updating UI for MFA screen * Updating styles for MFA page * Add the ability to switch between email/sso with MFA enabled * Added mfa change email * Minor UI updates for MFA enforcement * Fix unit test * Fix client unit test * Allow switching email to ldap and back when MFA is enabled * Fix unit test * Revert config.json
* PLT-4853 Adding cache purging to the server (server) (#4735)Corey Hulen2016-12-081-1/+5
| | | | | | * PLT-4853 Adding caching invalidation to HA * PLT-4853 Adding cach purging to the server
* PLT-4202 fix javascript error manage OAuth2 apps (#4039)enahum2016-09-201-0/+1
| | | | | | * PLT-4202 fix javascript error manage OAuth2 apps * Fix unit tests
* Modifying permissions system. (#3897)Christopher Speller2016-09-131-37/+17
|
* PLT-3875 Update error page to use Markdown and add error for missing OAuth ↵Joram Wilander2016-09-061-9/+6
| | | | | | | | | | | | code (#3934) * Update error page to use Markdown and add error for missing OAuth code * Add line breaks to error messages This is to make the error message easier to read. * Update en.json
* Add debug logging when receiving an oauth redirect (#3916)Joram Wilander2016-08-311-0/+2
|
* PLT-3984 Add the ability to regenerate OAuth Client Secret (#3899)enahum2016-08-301-1/+51
|
* PLT-3994 Fix OAuth2: Properly handle allowing an app fails (#3888)enahum2016-08-301-2/+4
| | | | | | * PLT-3994 Fix OAuth2: Properly handle allowing an app fails * Remove Content-Type from allowOAuth
* PLT-4026 Use client dir constant for OAuth Authorization page (#3895)enahum2016-08-301-1/+1
|
* Temporarily add response body logging for access token request to help ↵Joram Wilander2016-08-241-2/+9
| | | | debugging (#3872)
* PLT-3745 - Deauthorize OAuth Apps (#3852)enahum2016-08-231-0/+69
| | | | | | | | | | | | * Deauthorize OAuth APIs * Deautorize OAuth Apps Account Settings * Fix typo in client method * Fix issues found by PM * Show help text only when there is at least one authorized app
* PLT-3879 Fix OAuth provider routes (#3780)enahum2016-08-101-4/+2
|
* PLT-3865 Fix OAuth provider routes (#3768)enahum2016-08-091-3/+3
|
* PLT-3484 OAuth2 Service Provider (#3632)enahum2016-08-031-116/+373
| | | | | | | | | | | | | | * PLT-3484 OAuth2 Service Provider * PM text review for OAuth 2.0 Service Provider * PLT-3484 OAuth2 Service Provider UI tweaks (#3668) * Tweaks to help text * Pushing OAuth improvements (#3680) * Re-arrange System Console for OAuth 2.0 Provider
* PLT-3633 EE: Add Google and Office365 SSO through OAuth2 (#3660)Joram Wilander2016-07-291-7/+7
| | | | | | | | | | | | | | | | * EE: Add Google and Office365 SSO through OAuth2 * Add localization strings * Text tweaks for PLT-3633 * Added sign-up button for Office 365 * Updated some error messages and a bit of licensing * Updated sign-in method section in user settings to include Google and Office365 * Added more localization strings
* Fix connection leaks in push notifications, diagnostics and oauth (#3469)Joram Wilander2016-07-061-0/+10
|
* Auto join teams if coming from team sign-up page to login for GitLab (#3284)Joram Wilander2016-06-071-23/+41
|
* Move away from the "andForget" style of function (#3043)Thomas Balthazar2016-05-181-1/+1
| | | | As suggested by @crspeller here: https://github.com/mattermost/platform/pull/3022#issuecomment-220004020
* PLT-2905 fixing upgrade of SSO accounts (#2962)Corey Hulen2016-05-111-2/+5
| | | | | | * PLT-2905 fixing upgrade of SSO accounts * Fixing multiple Auths mapped to different emails
* PLT-2057 User as a first class object (#2648)Corey Hulen2016-04-211-63/+193
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Adding TeamMember to system * Fixing all unit tests on the backend * Fixing merge conflicts * Fixing merge conflict * Adding javascript unit tests * Adding TeamMember to system * Fixing all unit tests on the backend * Fixing merge conflicts * Fixing merge conflict * Adding javascript unit tests * Adding client side unit test * Cleaning up the clint side tests * Fixing msg * Adding more client side unit tests * Adding more using tests * Adding last bit of client side unit tests and adding make cmd * Fixing bad merge * Fixing libraries * Updating to new client side API * Fixing borken unit test * Fixing unit tests * ugg...trying to beat gofmt * ugg...trying to beat gofmt * Cleaning up remainder of the server side routes * Adding inital load api * Increased coverage of webhook unit tests (#2660) * Adding loading ... to root html * Fixing bad merge * Removing explicit content type so superagent will guess corectly (#2685) * Fixing merge and unit tests * Adding create team UI * Fixing signup flows * Adding LDAP unit tests and enterprise unit test helper (#2702) * Add the ability to reset MFA from the commandline (#2706) * Fixing compliance unit tests * Fixing client side tests * Adding open server to system console * Moving websocket connection * Fixing unit test * Fixing unit tests * Fixing unit tests * Adding nickname and more LDAP unit tests (#2717) * Adding join open teams * Cleaning up all TODOs in the code * Fixing web sockets * Removing unused webockets file * PLT-2533 Add the ability to reset a user's MFA from the system console (#2715) * Add the ability to reset a user's MFA from the system console * Add client side unit test for adminResetMfa * Reorganizing authentication to fix LDAP error message (#2723) * Fixing failing unit test * Initial upgrade db code * Adding upgrade script * Fixing upgrade script after running on core * Update OAuth and Claim routes to work with user model changes (#2739) * Fixing perminant deletion. Adding ability to delete all user and the entire database (#2740) * Fixing team invite ldap login call (#2741) * Fixing bluebar and some img stuff * Fix all the different file upload web utils (#2743) * Fixing invalid session redirect (#2744) * Redirect on bad channel name (#2746) * Fixing a bunch of issue and removing dead code * Patch to fix error message on leave channel (#2747) * Setting EnableOpenServer to false by default * Fixing config * Fixing upgrade * Fixing reported bugs * Bug fixes for PLT-2057 * PLT-2563 Redo password recovery to use a database table (#2745) * Redo password recovery to use a database table * Update reset password audits * Split out admin and user reset password APIs to be separate * Delete password recovery when user is permanently deleted * Consolidate password resetting into a single function * Removed private channels as an option for outgoing webhooks (#2752) * PLT-2577/PLT-2552 Fixes for backstage (#2753) * Added URL to incoming webhook list * Fixed client functions for adding/removing integrations * Disallowed slash commands without trigger words * Fixed clientside handling of errors on AddCommand page * Minor auth cleanup (#2758) * Changed EditPostModal to just close if you save without making any changes (#2759) * Renamed client -> Client in async_client.jsx and fixed eslint warnings (#2756) * Fixed url in channel info modal (#2755) * Fixing reported issues * Moving to version 3 of the apis * Fixing command unit tests (#2760) * Adding team admins * Fixing DM issue * Fixing eslint error * Properly set EditPostModal's originalText state in all cases (#2762) * Update client config check to assume features is defined if server is licensed (#2772) * Fixing url link * Fixing issue with websocket crashing when sending messages to different teams
* Fix oauth routes and link issuesJoramWilander2016-03-241-2/+5
|
* Convering client to react-router.Christopher Speller2016-03-141-2/+341
|
* Refactoring api to use translations (chunk 2)Elias Nahum2016-01-221-13/+13
| | | | | | - Add spanish translations - Does not include tests - Add func to get the translations for a user locale
* Revert " PLT-7 adding loc for db calls"Corey Hulen2016-01-201-14/+12
|
* PLT-7 adding loc db calls for session table=Corey Hulen2016-01-201-1/+1
|
* PLT-7 adding loc db calls for oauth table=Corey Hulen2016-01-201-11/+13
|
* Upgrade logging package=Corey Hulen2016-01-111-1/+1
|
* Changing SpinPunch to Mattermost in copyrightChristopher Speller2015-10-081-1/+1
|
* Implement OAuth2 service provider functionality.JoramWilander2015-09-161-0/+165