sharepy icon indicating copy to clipboard operation
sharepy copied to clipboard

Testers wanted for SharePy v2

Open JonathanHolvey opened this issue 3 years ago • 4 comments

A release of SharePy v2 has been in the works for quite a while, but has been held up due to a lack of testing. This release introduces support for federated authentication, with the SharePointADFS auth class, however, I don't have access to an ADFS-enabled site to test it throughly.

If you want to help out with testing, please install it using pip:

pip install --pre sharepy

If you find a bug, please create an issue with v2 in the title. Be sure to include as much detail as possible in your bug report, including:

  • The version of SharePy you installed
  • The authentication type your site is using (run sharepy.auth.detect('[email protected]') if you're not sure)
  • Any errors and tracebacks you see

Changelog

A major refactor of SharePy to provide a standard Requests auth interface.

  • Converted the existing SharePoint Online authentication to a Requests auth class
  • Added ADFS auth to compliment the default SharePoint Online authentication. Thanks to @joemeneses
  • Added automatic authentication method detection for sharepy.connect()
  • Added version checking for saved session objects. Major version number changes invalidate a session
  • Removed auth_tld argument from sharepy.connect() and replaced with an login_url property in auth classes
  • Removed connection status messages and added Python exceptions when errors are encountered
  • Fixed session files not being closed when reading and writing
  • Fixed missing dependencies in PyPI package
  • Added setup.py script to repository

JonathanHolvey avatar Jan 02 '21 06:01 JonathanHolvey

Hey Jonathan. How's testing going? Happy to join in testing if still helpful.

karimabuseer avatar Feb 21 '22 16:02 karimabuseer

Hi @karimabuseer. I ended up releasing to production without having much input from users, and as a result there are some bugs that have been raised. Perhaps you could try to reproduce the issues described in #49 and #59?

JonathanHolvey avatar Mar 07 '22 22:03 JonathanHolvey

Sure thing. I'll ping off some requests with the the different headers this weekend to identify when each should be used

karimabuseer avatar Mar 10 '22 20:03 karimabuseer

@karimabuseer did you get anywhere with your testing in the end?

JonathanHolvey avatar Jun 09 '22 08:06 JonathanHolvey