- 19 Aug, 2016 3 commits
-
-
Jordan Moldow authored
Prepare for alpha release of 2.0.0 Bump version to 2.0.0a1. Add @kelseymorris95 to AUTHORS. Fix up docstrings for Sphinx, and update docs sources. Clean up release notes.
-
Jordan Moldow authored
Bump version to 2.0.0a1. Add @kelseymorris95 to AUTHORS. Fix up docstrings for Sphinx, and update docs sources. Clean up release notes.
-
kelseymorris95 authored
Update HISTORY and README for new release.
-
- 18 Aug, 2016 2 commits
-
-
kelseymorris95 authored
-
kelseymorris95 authored
Add `NetworkResponse` to `BoxAPIException`.
-
- 17 Aug, 2016 1 commit
-
-
kelseymorris95 authored
New `@api_call` decorator can be used to allow methods that make an API call to accept an extra parameter `extra_network_parameters`, to be used for sending low level request parameters to Requests or whatever network layer is being used. When `extra_network_parameters` is provided, the underlying `BoxSession` is cloned, and the `extra_network_parameters` are attached to the new one. Decorate all existing API call methods with `@api_call`.
-
- 15 Aug, 2016 2 commits
-
-
Jordan Moldow authored
For consistency with other objects, can use `client.collaboration('box_id').do_something(...)` the same way we do with `Folder`, `File`, etc. -
Kelsey Morris authored
-
- 01 Aug, 2016 5 commits
-
-
kelseymorris95 authored
Register subclasses
-
Kelsey Morris authored
-
Kelsey Morris authored
-
Kelsey Morris authored
-
Kelsey Morris authored
-
- 08 Jul, 2016 1 commit
-
-
kelseymorris95 authored
Enable `Translator` registered subclasses of smart objects to be returned from smart object methods. Remove all hard coded smart object return types in favor of a lookup in `Translator` or returning an instance of `self.__class__`.
-
- 21 Jun, 2016 1 commit
-
-
kelseymorris95 authored
Added an `Event` class, edited `Events.get_event()` to return a list of them. This creates a new branch in the object class hierarchy, with a distinction between REST objects (instances of `BaseObject` and its subclasses) and non-REST (objects that are not addressable / queryable in the API) objects (instances of `APIJSONObject` and its subclasses). `BaseObject` and `APIJSONObject` inherit from a common baseclass, `BaseAPIJSONObject`, which is now the base for translation. To maintain backwards-compatibility with methods that used to return `dict`, `APIJSONObject` implements the `Mapping` interface. Fixes #15.
-
- 26 May, 2016 2 commits
-
-
Jordan Moldow authored
Fixes to JWTAuth
-
Jordan Moldow authored
Open the PEM private key file in 'rb' mode so that `.read()` returns `bytes` in Python 3. Otherwise, the default openssl backend of cryptography fails to use the key. Set the `_user_id` attribute to `None` when authenticating an enterprise instance. Fixes #136.
-
- 19 May, 2016 1 commit
-
-
Jordan Moldow authored
Always update `OAuth2` object with new tokens
-
- 18 May, 2016 1 commit
-
-
Jordan Moldow authored
If the protected method `_get_tokens()` returns new tokens, refresh is skipped, and those tokens are used. Previously, we would return the new tokens without updating the object state. Subsequent uses of the `OAuth2` object would use the old tokens. Now we will correctly update the object state. Fixes #128. Also make some minor test fixes and upgrade the version of mock that we use. Prepare for bump to version 1.5.2.
-
- 23 Mar, 2016 4 commits
-
-
Jeff Meadows authored
Add revoke() method to OAuth2 class.
-
Jeffrey Meadows authored
-
Jeffrey Meadows authored
-
Jeffrey Meadows authored
-
- 21 Mar, 2016 2 commits
-
-
Jeffrey Meadows authored
Fixes #124 The Box API includes a /revoke endpoint to de-auth tokens. This commit makes it easy to use this endpoint with the SDK.
-
Jeff Meadows authored
Docs
-
- 17 Mar, 2016 1 commit
-
-
Jeffrey Meadows authored
-
- 07 Mar, 2016 2 commits
-
-
Jeffrey Meadows authored
-
Jeffrey Meadows authored
Box objects will now be repr'd including the object type and either the object's name or its Box id. Also, add support for dir() and vars() being called on Box objects. Those builtin functions will now include API response fields as attributes of the object.
-
- 02 Mar, 2016 3 commits
-
-
Jeffrey Meadows authored
-
Jeffrey Meadows authored
Add note in CONTRIBUTING.rst about updating HISTORY and AUTHORS.
-
Jeffrey Meadows authored
-
- 26 Feb, 2016 1 commit
-
-
Jeffrey Meadows authored
* Use custom user agent for requests to Box. * Add LoggingClient and DevelopmentClient classes.
-
- 23 Feb, 2016 8 commits
-
-
Jordan Moldow authored
Additional changes for 1.4.2 release
-
Jeff Meadows authored
-
Jeff Meadows authored
Update references to new API doc site.
-
Jeff Meadows authored
-
Jordan Moldow authored
Create wheel with correct conditional dependencies and license file. Change the ``license`` meta-data from the full license text, to just a short string, as specified in [1][2]. Include entire test/ directory in source distribution. test/__init__.py was previously missing. Update documentation. Fixes #112. Use utf-8 encoding to open README in setup.py. Run pep8 and pylint on setup.py. Update pylint directives. [1] <https://docs.python.org/3.5/distutils/setupscript.html#additional-meta-data> [2] <https://www.python.org/dev/peps/pep-0459/#license>
-
Jordan Moldow authored
Bump to version 1.4.2.
-
Jeffrey Meadows authored
Update README with info about ``make_request``.
-
Nitya Sundareswaran authored
Change format of sub-module names in the object module to str
-