shotgunsoftware/tk-core — pull request #87 by kporangehat (2014-07-10 05:43:53+00:00)
Title: for #25443 update embedded Shotgun API to v3.0.17

This adds support for authenticating as a HumanUser as well as being able to sudo as a user. Both are instrumental in future development of Toolkit as we allow expand how users are authenticated via Toolkit.

Includes a fix for a bug in the mimetypes library in Python 2.7. There are certain installers on Windows that will (incorrectly) add non-Latin characters to the registry. This usually only happens if you are located in an area where unicode characters are more widely required. The mimetypes library in Python 2.7 ​chokes on these non-Latin characters causing a UnicodeDecodeError. To work around this error, we have bundled a patched version of the mimetypes library and fall back on that if we encounter this issue during runtime. (see http://bugs.python.org/issue9291 for more info)

Other updates from last bundled version (v3.0.14):

**v3.0.17 - 2014 Jul 10**

+ Add ability to update last_accessed_by_current_user on Project.
+ Add workaround for bug in Python 2.7 mimetypes library on Windows (http://bugs.python.org/issue9291)
+ Add platform and Python version to user-agent (eg. "shotgun-json (3.0.17); Python 2.7 (Mac)")

**v3.0.16 - 2014 May 23**

+ Add flag to ignore entities from archived projects.
+ Add support for differentiating between zero and None for number fields.
+ Add ability to act as a different user.

**v3.0.15 - 2014 Mar 6**

+ Fixed bug which allowed a value of None for password parameter in authenticate_human_user
+ Add follow, unfollow and followers methods
+ Added ability to login as human user
+ Ensure that webm/mp4 mime types are always available
+ Updated link to video tour in README
+ Fixes and updates to various tests