Skip to content

Releases: jssimporter/python-jss

1.0.1: Blink Dogs Ate My Homework

28 May 19:35
Compare
Choose a tag to compare

Fixed

  • Regression in AFP mount failing on OSX when nobrowse=False. (#38) Thanks for the heads up @galenrichards!

1.0.0: It's a Catapult

20 May 19:40
Compare
Choose a tag to compare

Added

  • Adds FileUploads defect number to comments.
  • Add jss.exceptions.JSSError, and all exceptions now subclass it.
  • Add jss.tools for misc. tools. (Right now, shorthand os detection functions).
  • Add Policy.add_object_to_limitations and Policy.add_object_to_exclusions. Thanks to @MScottBlake

Changed

  • Basic interface is in place; Calling this 1.0.0 now.
  • Begin working on Linux functionality.
    • Preferences plist on Linux should be: ~/.com.github.sheagcraig.python-jss.plist and should be a non-binary plist.
    • Mount on OS X has different output format than Linux. Thus, regex searches need to be os-specific.
    • Mounting a share is also different.
  • As this is largely stable code, set major version to 1.

Fixed

  • Copy methods now make use of the is_mounted method for dynamic mount point reconfiguration.
  • Typo in policy scope for building.
  • ComputerGroup.add_criterion fails with AttributeError with pre-existing computer groups. (#34)

0.5.9: (March 26, 2015) The Pricing is the Message

26 Mar 14:58
Compare
Choose a tag to compare

CHANGES:

  • Passes JSS error messages through when it returns 409: Conflict. Previously thought to be helpful, not passing along the response from the JSS was obfuscating the cause of the conflict. 409 Post and PUT Exceptions will now report back on the (first) error in the XML.

0.5.8 (March 19, 2015) Echo Sierra Xray India

19 Mar 13:18
Compare
Choose a tag to compare

FIXES:

0.5.7 (March 17, 2015) Corned Beef and Cabbage

17 Mar 12:56
Compare
Choose a tag to compare

FIXES:

  • Mounted distribution points is_mounted method now looks for mounted shares by server, and updates mount point dynamically if it is different than configured. This prevents issues when multiple shares have the same name, or when Casper Admin is open and has mounted them already, with different-than-expected share names. Thanks @eahrold!
  • Mounted distribution points __repr__ corrected to make use of is_mounted.

CHANGES:

  • Adds tlsadapter.py to subclass requests.HTTPAdapter into using PROTOCOL_TLSv1. Removes need for manually editing each requests release.
  • Updates requests to 2.5.3
  • Adds in extra LDAPServer methods.
    • search_users() searches for users.
    • search_groups() searches for groups.
    • is_user_in_group() tests for group membership by user.
  • Mounted repositories' umount now has a forced argument which defaults to True.
  • Mounted repositories' mount_point, due to the dynamic handling above, is no longer made by concatenating the repo name or "JSS" and share name. Thanks @eahrold!
  • Remove unused requests import in distribution_points.

0.5.6 (March 6, 2015) Tonkatsu

06 Mar 21:02
Compare
Choose a tag to compare
  • Solve regression in JSS >= 9.64 FileUpload API call failing on icon upload with Tomcat Java exception by shelling out to curl.
  • Add list_type for jss.Site so it will properly add itself to other objects. Thanks @MScottBlake. (#29)

0.5.5 (February 2, 2015) Sanpo Shimasu

04 Feb 21:04
Compare
Choose a tag to compare

FIXES:

  • Automatically configured distribution points (AFP and SMB shares using just name and password) need to pass jss object so jss_migrated is handled correctly. (jssimporter/JSSImporter#19)

CHANGES:

  • Added jss.distribution_points.DistributionPoints.delete() and jss.distribution_points.MountedRepository.delete()
  • Added jss.distribution_points.JDS.delete() and jss.distribution_points.JDS.delete_with_casperAdminSave(). The latter is the method used by the Casper Admin app, and is included mostly for reference. Thanks once again to @beckf for the packet sniffing expertise!
  • Refactored redundent filetype checking to jss.distribution_points.is_package() and jss.distribution_points.is_script().

0.5.4 (January 29, 2015) Apex Predator

29 Jan 16:59
Compare
Choose a tag to compare

FIXES:

  • distribution_points.DistributionPoint did not have id_ arguments.
  • Whitespace cleanup.
  • Migrated JSS with AFP or SMB shares now correctly copies scripts to DB instead of fileshare.
  • AFP and SMB distribution points should require share_name argument.
  • Standardized id_'s in distribution_points to be ints.

v0.5.3 (December 9, 2014) Dress For Success

09 Dec 16:09
Compare
Choose a tag to compare

FIXES:

  • Non-flat packages cannot be uploaded to JDS'. Now there is a warning message and documentation. (#20)
  • If you haven't configured any DP's through the repo_prefs parameter to the JSS, we shouldn't attempt DistributionPoints.retrieve_all(). Reordered slightly to avoid problems. (#21)
    • No need (unnecessary work)
    • Your API user may not have permissions to do so! Thanks @arubdesu

CHANGES:

  • Added script testing to jss.distribution_points.JDS.exists.
  • Tests updated.
  • Moved all exceptions to their own module.
  • Added an exception for attempting to upload non-flat packages.
  • Added '.ZIP' as a package file type.
  • Added suppress_warnings parameter to jss.JSS objects to disable urllib3 warnings. Use at your own risk. (jssimporter/JSSImporter#18)

v0.5.2 (December 5, 2014) Brass Monkey

05 Dec 20:19
Compare
Choose a tag to compare

FIXES:

  • JDS copy methods were not utilizing the same session as everything else and did not honor SSL settings. Corrected. (#18)

CHANGES:

  • Started working on the nosetests again. This doesn't directly affect users; however, it should help me prevent regressions and should help automate testing things across a variety of different JSS/DistributionPoint types.