Commit Graph

24 Commits

Author SHA1 Message Date
Greg Neagle
ccd257860a Unicode tweaks for profiles.py errors and warnings 2017-05-09 15:14:09 -07:00
Greg Neagle
1ca9c32e73 profiles.py: Fix a logic error that sometimes caused config_profile_info() to return None instead of an empty dictionary 2017-04-21 13:33:41 -05:00
n8felton
59aaa6de9b Improved error handling when installing or removing profiles 2017-02-17 07:58:27 -05:00
Greg Neagle
4053a0dbe7 Update copyright dates to 2017 2017-01-17 20:14:31 -08:00
Greg Neagle
24805bd99b Remove 'shebang' line from all Python modules that are not intended to be executed as scripts. This also causes my stupid editor to stop marking these files as executable. 2017-01-11 16:03:33 -08:00
Greg Neagle
ba5cfd7be1 Stupid executable bits 2017-01-06 15:48:21 -08:00
Greg Neagle
09714a720b Change references to munkicommon to new modules; PyLint cleanup 2017-01-06 15:47:03 -08:00
Greg Neagle
9021d40f72 Change relative import style 2017-01-06 15:10:36 -08:00
Greg Neagle
10a6950837 Consistent if __name__ == '__main__': bit for all munkilib submodules 2016-12-24 08:17:08 -08:00
Greg Neagle
c386ede21c Move Memoize decorator to utils module 2016-12-17 09:24:15 -08:00
Greg Neagle
a28d492399 Instead of using nasty module global variables, cache config_profile_info's results in a function arribute 2016-12-13 15:13:26 -08:00
Greg Neagle
12d4f0d27e Update copyright info on files; remove abandoned tools from code/tools 2016-03-15 09:32:28 -07:00
Samuel Keeley
67513852fc Replace internal documentation URLs with HTTPS versions 2015-11-13 20:42:50 -08:00
Samuel Keeley
5c12185da4 Replace http://www.apache.org/licenses/LICENSE-2.0 with https://www.apache.org/licenses/LICENSE-2.0 2015-11-13 20:35:24 -08:00
Greg Neagle
e988ba1993 Don't crash if profiles.py functions get called on 10.6.x 2015-05-05 15:05:09 -07:00
Greg Neagle
2a4bea0ce6 When creating temp space for 'profiles -C' output, provide a filename instead of a directory 2015-01-27 08:48:15 -08:00
Greg Neagle
d8c06093b0 Instead of reading (possibly signed) profile after install in order to get the PayloadIdentifier, just use the PayloadIdentifier from the pkginfo item. 2015-01-26 21:33:53 -08:00
Greg Neagle
ea264b9e12 Switch to a more 'correct' method of reading a signed configuration profile, using the 'security cms' tool. 2014-12-29 08:33:38 -08:00
Greg Neagle
1d4c8497bc Document yet another way to read signed profiles 2014-12-18 08:48:23 -08:00
Greg Neagle
acc674860a Validate profile receipts before attempting to use them 2014-12-17 19:01:34 -08:00
Greg Neagle
0e08697252 Also track ProfileInstallDate in our profiles receipt database 2014-12-17 18:43:05 -08:00
Greg Neagle
0a517f13a4 Added note about alternative method for extracting profile data from a signed profile 2014-12-17 14:07:55 -08:00
Greg Neagle
cb81e4616a Support for signed profiles. 2014-12-17 11:54:06 -08:00
Greg Neagle
83fabfb5ce Add support for importing, installing and removing configuration profiles. 2014-12-16 21:57:41 -08:00