Skip to content

Releases: univ-of-utah-marriott-library-apple/python-jamf

0.8.3

14 Jan 06:34
Compare
Choose a tag to compare
  • Moved keyring code out of api.py to config.py.
  • Improved error handling, exits, and printing to STDERR.
  • Created exceptions.py.
  • Moved all errors to exceptions.py.
  • Created more nuanced exceptions like NotFound.
  • Improved session management.
  • Removed api.py code that wasn't doing anything.
  • Applied a little bit of dry to api.py.
  • Encode xml data as utf-8 before sending it to Jamf.
  • Simplified config.py and setconfig.py by breaking up long methods into multiple methods.
  • Created revoke_token .
  • Fixed code with null names.
  • Cast record id to int if it's a str.
  • Added recordsWithName.
  • Deprecated recordWithName because Jamf doesn't enforce unique names. recordWithName returns the first item returned by recordsWithName.
  • Removed api_mock_test.py and created api_test.py, which runs against a real jamf server.
  • Removed/renamed test_config.py to config_test.py and completely rewrote it.
  • Removed test_records.py (it's a work in progress)

Known issues

  • Creating a new record needs a little work. It needs to get the record right after posting it because the data isn't correct.
  • Discovered it's possible to create bad records that can not be deleted and doesn't show up in the GUI.

0.8.2

03 Oct 16:36
Compare
Choose a tag to compare
  • Much better error reporting when there's a connection failure to the server
  • Checks for "http://" or "https://" when setting a hostname and when connecting to a server
  • Added conf-python-jamf -r to remove the bearer token saved in the keychain
  • Unified server connection code
  • Replaced all exit(1) with raise SystemExit
  • pre-commit updated to 4.3.0
  • GitHub action updated action names
  • Updated README

0.8.1

20 Sep 22:16
Compare
Choose a tag to compare

This release includes the xml array fix described here.

0.7.5

07 Sep 03:06
Compare
Choose a tag to compare
  • Fixed trigger_logout removal from policies triggers
  • Fixed bearer token bug
  • Lots of automated reformatting and cleaning up
  • Adds pre-commit

Thank you homebysix for your contributions.

0.7.4

06 Apr 23:44
Compare
Choose a tag to compare
  • Bearer token support
  • Fixed bug when creating records (shallow vs deep copy)
  • Fixed version in setup.py bug
  • Removed jamfnet from main docker-compose and move it to it's own file
  • Support smb mounting on linux

Thank you yairf-s1 and pythoninthegrass for your contributions.

0.7.3

23 Dec 01:01
6567a1c
Compare
Choose a tag to compare
Merge pull request #66 from univ-of-utah-marriott-library-apple/v0.7.3

Changed jamf/records.py ln 385 Error to JamfError

0.7.2

09 Feb 23:23
Compare
Choose a tag to compare
Fixed version check

0.7.1

18 Nov 00:41
d92ed73
Compare
Choose a tag to compare
Testing to try to get rid of dual releases/tags

0.6.9

14 Oct 04:49
Compare
Choose a tag to compare
Fixing github action python dependencies

0.6.6

13 Sep 04:49
79c0d27
Compare
Choose a tag to compare

Created with a github action. Go automation!