forked from graphistry/pygraphistry
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: Add org_name for logging in and corresponding Dataset upload with org_name intact * fix: org_name global value retrieving bug found by test script * refactor : clean up debugging code * unittest: Add test scenarios for login with org_name * fix: send org_name when create_file, privacy setting with mode_action * fix: Remove debugging code, fix backward incompatibility * fix: request json error * fix: only pass org_name in json if org_name is not None, which failed in old server * fix: arrow_uploader login handling for org_name * fix (security): Adjust default mode_action to READ when share as public, set to WRITE only when share as private * fix (test): Fix test scripts and add more test cases * documetation on org-name parameter * documentation: Update README.md * documentation: Add detail * fix: rearrange the sequence of exception thrown when new pygraphistry login with org on old server * doc: Add documentation for sharing tutorial notebook on sharing within organization, minor correction for other documentation * docs(readme.md): orgs * docs(readme.md): org mode privacy * feat (sso login): Add initial code to call API to get SSO login page and use state to retrieve token * fix (sso): Login with SSO to obtain jwt token * fix (cleanup): Clean up code for SSO login * feat : Use timeout=None to replace flag for blocking mode * refactor (sso): Handle cases for ipython console or jupyter notebook * doc (register function for SSO): Added docstring doc for register function for SSO login * doc (other SSO related function): Add docstring documentation * fix (sso login): to allow blocking mode for running in notebook * fix (register function): do not throw exception if register function does not pass in username/pwd or org_name * fix (typecheck): type check failure fix * fix (org_name): json object conversion problem for org_name if using property instead of calling function directly. Add some debug code * refactor (print -> logger.debug): change print to logger.debug * fix (org_name should only pass if org_name has value) * fix (type imcompatible) test failure * fix (org_name to cope with old and new server) * fix (mypy): fix mypy issue * fix (login): allow login with token * wip (login with personal key): added personal key id and personal key for the login/register * feat (personal key): Add personal key login capability initial code * wip (sso login): SSO login fix for site wide * Update README.md * wip (site wide sso login): when no org slug and idp_name passed in register, try with site wide SSO * fix (sso): Display SSO timeout exception in better and understandable * fix (register): adjust register logic to check the missing username, password, missing personal key id & personal key. Add pytest for testing the scenario * feat (sso enhancement): Add is_sso_login parameter to handle whether to do sso login when register * feat (test scripts): add test script for the register function * fix (arrow_uploader): bug in register with sso_login * feat (organization): Add switch_org function to allow switching of organization * fix (switch org): Fix switch org API * fix (typecheck and lint) * feat (add test script): add test script for switch org * refactor (personal key to personal key secret): refactor variable and fix test scripts * fix: docstring/typecheck Optional fix * fix: typecheck docstring * fix (raise exception instead of print): use a messages.py to keep the message as constant * docs(readme): login * fix : raise Exception instead of printing * fix (debug info): remove debugging info * fix(docs): personal key * wip (switch org): fix after switch org with org_name('xxx'), plotting does not take the updated org_name. Fix done, pending to remove debugging code * fix (clean up): Clean up debugging code for switch org * fix (mypy newer version issues): Optional[xxx] = None, instead of xxx = None * fix (mypy): fix the default value of layer to None * fix (test scripts): add ipython in dev_extra(stubs), fix unauthenticated issue in test_ipython * fix (personal key): fix personal key login does not switch org_name * fix(logging): print to logger * fix(types) Co-authored-by: lmeyerov <leo@graphistry.com>
- Loading branch information
Showing
18 changed files
with
791 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
protocol, | ||
server, | ||
register, | ||
sso_get_token, | ||
privacy, | ||
login, | ||
refresh, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.