Skip to content

v11.35.1+pp release based on v11.35.0 #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

bityob
Copy link

@bityob bityob commented Oct 20, 2022

No description provided.

Aaron Staley and others added 30 commits January 8, 2018 13:23
Dropbox uses some six methods such as `six.ensure_str` which have been only added in 1.12.0, see https://github.com/benjaminp/six/blob/master/CHANGES.
bump six requirement to >=1.12.0
Add Support for Short-Lived Tokens

Add token_access_type to oauth flow
	- Legacy - default - the current long lived token flow
	- Online - requests only a short-lived access token
	- Offline - requests both a short-lived access token and a refresh token
Add refresh check to each API call
Add refresh check on client creation

NOTE: Non-Legacy token_access_types currently require beta access, please reach out to Dropbox support if this is something you are interested in
Add Support for Scopes

- Add option for requesting specific scopes and including already granted scopes in pauth flow
- Add support for default scope list in Dropbox client
- Add support for requesting specific scopes on token refresh
- Update oauth command line documentation to work with python3
- Update tox.ini to run pytest instead of outdated python setup.py test
- Add venv to .gitignore
Create PyPi Upload Action

- Add action to upload to PyPi
- Publish python2 and python3 builds
- Publish python3 source
Add Support for PKCE

* Add PKCE support in oauth flow
* Change assertion to badInputExceptions
* Add command line oauth example
Fix conditional for generating source for pypi update
* Update Readme
* Add Contributing and License
* Fix commandline oauth examples
Change Notes:
Stone configuration

- added a new route property is_cloud_doc_auth indicating whether the endpoint is a Dropbox cloud docs endpoint which takes cloud docs auth token.

Files namespace

- lock_file_batch, unlock_file_batch and get_file_lock_batch are no longer preview routes
- Update query description on SearchArg Struct, SearchV2Arg Struct
- Update move:2 and move_batch:2 route descirption

Team namespace

- Deleted deprecated routes legal_holds/export_policy and legal_holds/export_policy_job_status/check

Team_log namespace:

- Added AccountState union
- Added AccountLockOrUnlockedType struct
- Added AccountLockOrUnlockedDetails struct
- Added MemberSendInvitePolicy union
- Added MemberSendInvitePolicyChangedType struct
- Added MemberSendInvitePolicyChangedDetails struct
- Added a new tag first_party_token_exchange to LoginMethod union
- Added new tags account_lock_or_unlocked_details and member_send_invite_policy_changed_details to EventDetails union
- Added new tags account_lock_or_unlocked and member_send_invite_policy_changed to EventType union
- Added a new field file_size to FileOrFolderLogInfo and FileLogInfo struct
- Added a new field file_count to FolderLogInfo struct
- Add NoExpirationLinkGenCreateReportDetails, NoExpirationLinkGenReportFailedDetails, NoPasswordLinkGenCreateReportDetails, NoPasswordLinkGenReportFailedDetails, NoPasswordLinkViewCreateReportDetails, NoPasswordLinkViewReportFailedDetails, OutdatedLinkViewCreateReportDetails, OutdatedLnkViewReportFailedDetails structs to the EventDetails union
- Add NoExpirationLinkGenCreateReportType, NoExpirationLinkGenReportFailedType, NoPasswordLinkGenCreateReportType, NoPasswordLinkGenReportFailedType, NoPasswordLinkViewCreateReportType, NoPasswordLinkViewReportFailedType, OutdatedLinkViewCreateReportType, OutdatedLinkViewReportFailedType structs to the EventType union

Cloud Docs Namespace

- Add get_content, get_metadata, rename, unlock, and lock routes
- Add corresponding args, results, and errors

File Properties Namespace

- Update AddPropertiesArg description
- Add duplicate_property_groups to InvalidPropertyGroupError Union
- Update property_groups description on AddPropertiesError Union

Shared Links Namespace

- Update SharedLinkSettings example

Stone CFG Namespace

- Update auth type string patterns
- Update host string patterns
- Update style string patterns
- Update select_admin_mode string patterns

Team Legal Holds Namespace

- Add team_exceeded_legal_hold_quota to LegalHoldsPolicyCreateError union
- Change LegalHoldsListHeldRevisionsError and LegalHoldsPolicyReleaseError to extend LegalHoldsError

Team Secondary Mails Namespace:

- Remove is_preview from route add, resend_verification_emails, and delete
* Fix expires_in vs expiration parameter name bug

* Remove examples from comments, fix expires_in/expiration naming mismatch
Change Notes:

Team Legal Holds Namespace:

- Added comments to legalHoldPolicy struct
- Add more detailed comments to LegalHoldsListHeldRevisionResult
- Fix misc typos in comments

Team Log Namespace:

- Add optional EventTypeArg event_type to GetTeamEventsArg struct
- Add invalid_filters to GetTeamEventsError union

Team Log Generated Namespace:

- Add deprecated tag to was_linked_apps_truncated, was_linked_devices_truncated, was_link_shared_folders_truncated parameters in JoinTeamDetails struct
- Added the EventTypeArg union

Team Members Namespace:

- Update comment for retain_team_shares arg of MembersRemoveArg
…hem (dropbox#206)

Co-authored-by: Karandeep Johar <kjohar@dropbox.com>
…ces (dropbox#207)

* Add Close() method to _DropboxTransport to cleanup any network resources

* Added contextManager

* lint fixes

Co-authored-by: Karandeep Johar <kjohar@dropbox.com>
* Add default timeout to oauth flow finish calls

* lint fixes

Co-authored-by: Karandeep Johar <kjohar@dropbox.com>
Append dropbox#202 as .html at the end throws a 404
* Remove Stone Submodule

- Remove Stone as submodule and pin in requirements.txt
- Pin Stone to major version 1.* until work can be done to upgrade to 2.*
- Update Spec

Files Namespace

Add internal_error to SearchError union.
Add locked to LookupError union.
Add cant_move_into_vault to RelocationError union.
Add MoveIntoVaultError union.
Add SearchMatchFieldOptions struct.
Add optional match_field_options to SearchV2Arg struct.
Doc/example changes.
Sharing Namespace

Add is_vault to SharePathError union.
Add invalid_shared_folder to AddFolderMemberError union.
Team Namespace

Make members field of LegalHoldsPolicyUpdateArg struct optional.
Add app_folder_removal_not_supported to RevokeLinkedAppError union.
Doc/example changes.
Team Log Namespace

Add auto_approve to InviteMethod union.
Add moved_from_another_team to InviteMethod union.
Add moved_from_another_team to MemberStatus union.
Add no_one to SharedLinkVisibility union.
Add optional new_team to MemberChangeStatusDetails struct.
Add optional previous_team to MemberChangeStatusDetails struct.
Add external_sharing_create_report_details to EventDetails union.
Add external_sharing_report_failed to EventDetails union.
Add content_administration_policy_changed_details to EventDetails
Add external_sharing_create_report to EventType.
Add external_sharing_report_failed to EventType.
Add content_administration_policy_changed to EventType.
union.
Add send_for_signature_policy_changed_details to EventDetails union.
Add external_sharing_create_report to EventTypeArgs union.
Add external_sharing_report_failed to EventTypeArgs union.
Add content_administration_policy_changed to EventTypeArgs union.
Add send_for_signature_policy_changed to EventTypeArgs union.
Add SendForSignaturePolicy union.
Add ExternalSharingCreateReportDetails struct.
Add ExternalSharingReportFailedDetails struct.
Add ContentAdministrationPolicyChangedDetails struct.
Add SendForSignaturePolicyChangedDetails struct.
Add ExternalSharingCreateReportType struct.
Add ExternalSharingReportFailedType struct.
Add ContentAdministrationPolicyChangedType struct.
Add SendForSignaturePolicyChangedType struct.

* Remove stone folder
DropboxBot and others added 28 commits September 22, 2021 15:30
2026d2d9a589c1679f82507e4699252a2c3764ba

 Change Notes:

team_log Namespace:
- Update Comments

common:
- Update EmailAddress regex

Co-authored-by: Scott Erickson <serickson@dropbox.com>

Co-authored-by: DropboxBot <DropboxBot@users.noreply.github.com>
Co-authored-by: Scott Erickson <serickson@dropbox.com>
65585e4d2e93fd84087b48bbaf1bbf396a4b1126

 Change Notes:

files Namespace
- Add upload_session/finish_batch:2 route

Co-authored-by: DropboxBot <DropboxBot@users.noreply.github.com>
Co-authored-by: Brent Bumann <bbumann@dropbox.com>
72d0718154d13756b31b5a0e0948abcae35dab84

 Change Notes:

files Namespace
- Remove upload_session/finish_batch

team_log_generated Namespace
- Update SharedContentUnshareDetails struct example

Co-authored-by: Eugene Che <eugeneyche@dropbox.com>

 956339f6ff8113095999e38a17bcb7927475ab7b

 Change Notes:

team_log_generated Namespace
- Update SharingLinkPolicy union to include default_no_one

team_policies Namespace
- Update SharedLinkCreatePolicy union to include default_no_one

Co-authored-by: DropboxBot <DropboxBot@users.noreply.github.com>
6e0a08f15d3f28359208e079656780789361a95f

 Change Notes:

files Namespace
- Update list_folder route to include app auth
- Update list_folder/continue route to include app auth
- Update Examples

Add file_tagging Namespace

Co-authored-by: DropboxBot <DropboxBot@users.noreply.github.com>
28dfbe46c05026fdd867e4fea67cd0ea9acfbca9

 Change Notes:

file_tagging Namespace
- Add BaseTagError unions
- Remove BaseError, BaseTagError extends BaseError unions
- Update RemoveTagError extends BaseTagError union to remove tag_not_exists_for_this_path
- Update RemoveTagError extends BaseTagError union to include tag_not_present
- Update Comments

Co-authored-by: DropboxBot <DropboxBot@users.noreply.github.com>
Co-authored-by: Brent Bumann <bbumann@dropbox.com>
bca5f1448ac6f65a17c9df95a5175cf7b878ad90

 Change Notes:

check_api_v2_service Namespace

check_api_v2_types Namespace

sharing_folders Namespace

team_log_generated Namespace
- Add UndoNamingConventionDetails, UndoOrganizeFolderWithTidyDetails, UndoNamingConventionType, UndoOrganizeFolderWithTidyType structs
Ensure Dropbox error is thrown in refresh access token
Adds the "scope" attribute to the exported clients, so that they appear in the docstrings of routes that have a scope defined.

After running:

```
python generate_base_client.py
tox -e docs
```

I checked the html build files and scopes are showing up as expected.
Change Notes:

files Namespace
- Add MoveIntoFamilyError unions
- Add payload_too_large and cant_move_into_family errors

sharing_files Namespace
- doc update

team_log_generated Namespace

- Add DataResidencyMigrationRequestSuccessfulDetails, DataResidencyMigrationRequestUnsuccessfulDetails, DataResidencyMigrationRequestSuccessfulType, DataResidencyMigrationRequestUnsuccessfulType structs
- Update ExtendedVersionHistoryPolicy union to include default
- Update Examples

Team Policies Namespace:

- Update ExternalDriveBackupPolicyState union to include default
* Remove npm install, package lock which don't seem to be for anything

* Try using python 3 instead

Co-authored-by: Scott Erickson <serickson@dropbox.com>
Co-authored-by: Brad Rogers <brad12rogers@gmail.com>
9daf01c5b7ac6936956f085792c573c06fb3c905

 Change Notes:

files Namespace
- Update UploadArg - content_hash doc string
- Add UploadArg extends CommitInfo structs
- Add UploadSessionAppendError extends UploadSessionLookupError unions
- Remove CommitInfoWithProperties extends CommitInfo structs
- Remove UploadErrorWithProperties extends UploadError unions

sharing_folders Namespace
- Add traverse to AccessLevel

team_log_generated Namespace
- Example and docstring updates

common Namespace
- Update comments

Co-authored-by: DropboxBot <DropboxBot@users.noreply.github.com>
Co-authored-by: Brent Bumann <bbumann@dropbox.com>
Co-authored-by: Scott Erickson <sderickson@gmail.com>
eec4b43685b7af842d320efaaa86db27232cb465

 Change Notes:

file_properties Namespace
- Update Comments

file_tagging Namespace
- Update Comments

files Namespace
- Update Metadata struct to include preview_url
- Update Comments

team_log_generated Namespace
- Add DropboxPasswordsPolicyChangedDetails, DropboxPasswordsPolicyChangedType structs
- Add DropboxPasswordsPolicy unions

Co-authored-by: DropboxBot <DropboxBot@users.noreply.github.com>
ef6b1680d9a05ec7475f503149d771e44db913a2

 Change Notes:

files Namespace
- Add upload_session/start_batch  routes
- Add UploadSessionStartBatchArg, UploadSessionStartBatchResult structs

team_log_generated Namespace
- Add ExternalDriveBackupEligibilityStatusCheckedDetails, ExternalDriveBackupStatusChangedDetails, ExternalDriveBackupEligibilityStatusCheckedType, ExternalDriveBackupStatusChangedType structs
- Add ExternalDriveBackupEligibilityStatus, ExternalDriveBackupStatus unions

Co-authored-by: DropboxBot <DropboxBot@users.noreply.github.com>
Co-authored-by: Brent Bumann <bbumann@dropbox.com>
69f7bb2ea7702db5564f12549efb23956c5d6329

 Change Notes:

files Namespace
- Update examples

shared_links Namespace
- Update get_shared_link_metadata route to include app and user auth

team_folders Namespace
- Update team_folder/create, team_folder/rename, team_folder/list, team_folder/list/continue, team_folder/get_info, team_folder/activate, team_folder/archive, team_folder/archive/check, team_folder/permanently_delete, team_folder/update_sync_settings routes to include updated scopes

team_legal_holds Namespace
- Update legal_holds/create_policy, legal_holds/get_policy, legal_holds/list_policies, legal_holds/list_held_revisions, legal_holds/list_held_revisions_continue, legal_holds/update_policy, legal_holds/release_policy routes to include updated scopes
team_log_generated Namespace
- Update AdminAlertingAlertConfiguration to include text and excluded_file_extensions
- Update PlacementRestriction to include us_s3_only
- Update examples

Co-authored-by: DropboxBot <DropboxBot@users.noreply.github.com>
Co-authored-by: Brent Bumann <bbumann@dropbox.com>
c26b11df5170dcc03a86046b162c284ed24f7487

 Change Notes:

files Namespace
- Update upload_session/start_batch  route to include account_id

Co-authored-by: DropboxBot <DropboxBot@users.noreply.github.com>
Co-authored-by: Brent Bumann <bbumann@dropbox.com>
* Add ca_certs argument for oauth and dropbox client

* Replace FileNotFoundError with AttributeError

New error better represents actual problem (CA not set)
And also compatible with python2.7

Co-authored-by: Stanislau Arkhipenka <stas@stanislau.arkhipenka@gmail.com>
Co-authored-by: Brent Bumann <brent.bumann@aol.com>
f91238c7508770245030a449d86bd698d30ebfc3

 Change Notes:

check_api_v2_types Namespace
- Update EchoArg struct to include max_length in query arg

sharing_files Namespace
- Update FileMemberActionResult to include sckey_sha1, invitation_signature

team_log_generated Namespace
- Add AdminEmailRemindersChangedDetails, AdminEmailRemindersChangedType structs
- Add AdminEmailRemindersPolicy unions

team_policies Namespace
- Add AdminEmailRemindersChangedType struct
- Add FileProviderMigrationPolicyState unions

Co-authored-by: DropboxBot <DropboxBot@users.noreply.github.com>
Co-authored-by: Brent Bumann <bbumann@dropbox.com>
…(broke in SDK v11.33) (dropbox#440)

* Added _ca_certs property to _SSLAdapter to properly support pickling

* Added unittest to test session pickling
18963b8a29fe125f6495d36c38eda5db2710d0dd

 Change Notes:

openid_openid_types Namespace
- Add OpenIdError, UserInfoError unions
- Remove UserInfoError structs
- Remove AuthError unions
- Update UserInfoArgs struct to include documentation

team_policies Namespace
- Add examples

Co-authored-by: Brent Bumann <bbumann@dropbox.com>

 c36ba27d8d56648555d3068bb3826e1d3a44d92b

 Co-authored-by: Bruce Zhang <brucez@dropbox.com>

Co-authored-by: DropboxBot <DropboxBot@users.noreply.github.com>
@bityob bityob changed the title v11.35.0 release v11.35.1+pp release based on v11.35.0 Oct 20, 2022
@bityob bityob merged commit 6d5c90b into master Oct 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.