Skip to content

1.3.0: Two Men Enter, One Man Leaves

Compare
Choose a tag to compare
@sheagcraig sheagcraig released this 20 Aug 18:24
· 574 commits to master since this release

Added

  • Added the subset feature to object queries that support it. For example Computers allow you to do jss_connection.Computer(None, "basic") for extended list information orjss_connection.Computer("computer-name", "general&purchasing")orjss_connection.Computer("computer-name", ["general", "purchasing"])for subsection retrieval. This should allow you to speed up bigretrieve_all` runs significantly.
  • Added Cloud Distribution Point support. Thanks to @beckf for packet analysis help, and @homebysix for testing. (#22)
  • Added JSSObject.pretty_find. Pretty prints sub-elements of a JSSObject for use in interactive exploration of the JSS.
  • Added option verify to JSSPrefs and the com.github.sheagcraig.python-jss preference domain. If not specified in the preferences, it will assume True.
  • Added property to JSSGroupObject and subclasses for is_smart. Now you can have a regular boolean property and setter for groups.
  • Added method is_member to JSSGroupObject. This allows you to test whether a Computer or MobileDevice object is a member of a group.

Changed

  • New mount technique uses PyObjC rather than subprocess to mount. Thanks to @pudquick for this slick implementation!
    • Solves some Kerberos issues some users were experiencing.
    • For OS X users who are not using the Apple Python, continue to use subprocess to mount.
    • The nobrowse argument to mount is now deprecated, and will do nothing. It will be removed entirely in the future.
    • Verbose prints mount arguments.
  • When viewing object data interactively, the __repr__ now displays simply *data* instead of the full binary data for things like icons and app binaries.

Fixed

  • Encode data arguments to JSS object's get method.
  • Quote data arguments to JSS object's get method, since apparently requests doesn't do this for us.

Removed

  • Removed JSSGroupObject.set_is_smart. (Replaced with @property)