Releases: jssimporter/python-jss
Releases · jssimporter/python-jss
1.0.1: Blink Dogs Ate My Homework
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
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
andPolicy.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.
- Preferences plist on Linux should be:
- 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 withAttributeError
with pre-existing computer groups. (#34)
0.5.9: (March 26, 2015) The Pricing is the Message
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
FIXES:
- Safer regexes present unpredictable mount output from tanking
is_mounted
method. (jssimporter/JSSImporter#35). Thanks for the heads up @rtrouton!
0.5.7 (March 17, 2015) Corned Beef and Cabbage
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 ofis_mounted
.
CHANGES:
- Adds
tlsadapter.py
to subclassrequests.HTTPAdapter
into usingPROTOCOL_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 aforced
argument which defaults toTrue
. - 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
- 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
forjss.Site
so it will properly add itself to other objects. Thanks @MScottBlake. (#29)
0.5.5 (February 2, 2015) Sanpo Shimasu
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()
andjss.distribution_points.MountedRepository.delete()
- Added
jss.distribution_points.JDS.delete()
andjss.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()
andjss.distribution_points.is_script()
.
0.5.4 (January 29, 2015) Apex Predator
FIXES:
distribution_points.DistributionPoint
did not haveid_
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 indistribution_points
to be ints.
v0.5.3 (December 9, 2014) Dress For Success
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 theJSS
, we shouldn't attemptDistributionPoints.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 tojss.JSS
objects to disable urllib3 warnings. Use at your own risk. (jssimporter/JSSImporter#18)
v0.5.2 (December 5, 2014) Brass Monkey
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.