Greg Neagle
c7b9fa3aa2
Merge pull request #576 from bruienne/master
...
Log more details about apple_item presence.
2016-04-07 12:48:49 -07:00
Greg Neagle
8fa31df09a
Merge branch 'appleupdates-nsurl-fix'
2016-04-07 10:48:27 -07:00
Greg Neagle
2d90eaad67
Bump version to 2.6.1 for bug-fix release.
2016-04-07 10:47:23 -07:00
Greg Neagle
8d5b53b7a7
appleupdates.py: NSURL fileSystemRepresentation() not available on 10.8 and earlier, leading to a crash. Replace with NSURL path().
2016-04-07 10:45:33 -07:00
Greg Neagle
3d9486b984
Bump version for next development round.
2016-04-06 09:04:11 -07:00
Greg Neagle
48938ceb70
Merge branch 'cli-tools'
2016-04-06 08:37:57 -07:00
Greg Neagle
d0df8379c9
Break up large messages to syslog into 1000 character chunks. Addresses #583 .
2016-04-05 14:07:12 -07:00
Greg Neagle
540b9e1a65
Better tracking of managed_updates -- includes requires/update_for items as well
2016-04-05 10:17:18 -07:00
Greg Neagle
a9b421525c
If /Library/Managed Installs/icons or client_resources exist but are not directories, display an error message and stop trying to download icons/client_resources. Addresses #585
2016-04-04 11:15:36 -07:00
Greg Neagle
c8fb394633
More economical determination if readline lib is compiled against libedit
2016-04-03 18:23:30 -07:00
Greg Neagle
e3948104e8
Use editable default text for munkiimport prompts. pylint cleanups.
2016-04-03 09:45:25 -07:00
Greg Neagle
19c88f76a3
Use sys.stdin.encoding and sys.stdout.encoding to convert to/from unicode
2016-04-03 09:40:16 -07:00
Greg Neagle
29c455ada6
Lots of pylint cleanup
2016-04-02 22:18:39 -07:00
Greg Neagle
e9f5d1955b
For --configure, insert editable text with the current values for each prompt
2016-04-01 16:47:08 -07:00
Greg Neagle
424660b3c0
Don't print usage twice when <subcommand> --help is given non-interactively
2016-03-31 09:53:26 -07:00
Greg Neagle
9834f801e1
Using the --help option on subcommands no longer exits the pseudo shell
2016-03-31 09:39:30 -07:00
Greg Neagle
41ef4ac741
Convert Exception objects to unicode before passing them to munkicommon.display_* functions. Addresses issue #584
2016-03-30 10:50:00 -07:00
Greg Neagle
53d2b0b5be
At long last, munkiimport prompts for values for unattended_install and unattended_uninstall.
2016-03-30 09:49:00 -07:00
Greg Neagle
65089c060d
Fix several logic errors and a poor assumption when converting Apple update must-close attributes to blocking_applications
2016-03-25 09:41:56 -07:00
Greg Neagle
2abb90bba8
Remove more cases of premature str() conversion for munkicommon.display_*() functions. Addresses potential unicode issues.
2016-03-18 11:19:17 -07:00
Greg Neagle
7f27114fcb
Do not attempt to convert items to strings before sending them to munkicommon.display_* functions; let those functions do the proper conversions. Addresses unicode issues.
2016-03-18 11:14:00 -07:00
Pepijn Bruienne
55936d96ed
Merge remote-tracking branch 'upstream/master'
2016-03-17 14:07:20 -04:00
Pepijn Bruienne
180065faff
Log more details about apple_item presence.
2016-03-17 14:07:02 -04:00
Greg Neagle
12d4f0d27e
Update copyright info on files; remove abandoned tools from code/tools
2016-03-15 09:32:28 -07:00
Greg Neagle
20e414f563
Bump minor version number for next release
2016-03-15 08:47:30 -07:00
Greg Neagle
c6ec424be1
When copying items from a disk image, use instead of . This preserves hfsCompression and filters out com.apple.quarantine xattrs while copying. Thanks to @VitosX on GitHib. (Issue #570 )
2016-03-15 08:19:31 -07:00
Greg Neagle
17ea06d631
munkistatusoutput tweak
2016-03-09 21:14:17 -08:00
Nick McSpadden
b92285ce7d
Fixed some typos
2016-03-07 18:44:40 -08:00
Greg Neagle
786eae296a
Merge branch 'master' of https://github.com/munki/munki
2016-03-03 14:07:50 -08:00
Greg Neagle
b9944e9545
Update gurl.py to use NSURLSession on those versions of OS X that support it. Addresses issue #551 .
2016-03-03 14:06:33 -08:00
Nick McSpadden
4cbafebbbf
Fixed typo
2016-02-25 17:00:03 -08:00
Greg Neagle
92afec105a
Bump version file to 2.5.1 for new release
2016-02-25 13:39:08 -08:00
Greg Neagle
91b61c9436
Bumping version to 2.5.0.x for upcoming release
2016-02-17 09:00:17 -08:00
Greg Neagle
cc315f7822
Fix indentation on lines 1664-1665
2016-01-29 13:09:36 -08:00
Samuel Keeley
3728adafe2
Change preference name to UnattendedAppleUpdates
2016-01-29 10:17:13 -06:00
Samuel Keeley
eaf2c7b8cb
Cleaup indentation to be in line wth rest of the code
2016-01-29 10:12:43 -06:00
Samuel Keeley
58fbcdc642
A bit more cleanup
2016-01-29 10:05:24 -06:00
Samuel Keeley
a2ee541774
resolve syntax error
2016-01-29 09:50:37 -06:00
Samuel Keeley
c7114bdec4
Additional PEP8 cleanup
2016-01-28 17:45:20 -08:00
Samuel Keeley
e9986c4439
Automatic Apple Updates
...
This adds support for automatic unattended installation of Apple updates. It is intended to cut down on the need for creating pkginfos just to add unattended_install keys.
Setting `AutomaticAppleUpdates` to true will cause all Apple updates which do not require a logout or restart to be treated as unattended, getting the blocking applications list from the Apple distribution.
It is currently limited to just Yosemite and newer, though it can likely be extended down to Mavericks. The behavior is similar to when "Install OS X updates" is set to true in the App Store's preferences.
2016-01-28 17:38:39 -08:00
Greg Neagle
39cf5e8f52
When writing out an embedded script before running it, write it a line at a time to ensure line endings are UNIX-style.
2016-01-26 14:22:52 -08:00
verycarefully
d20bd0bdf4
Configure syslog in logouthelper, too
2016-01-08 16:07:05 -05:00
eholtam
ad3be75da2
Cleaned up tabs on 888 and 889
...
Cleaned up tab
2016-01-07 10:47:30 -06:00
eholtam
4b261a6d47
Revert "Cleaned up tabbing"
...
This reverts commit fdc031ef83 .
2016-01-07 10:46:12 -06:00
eholtam
fdc031ef83
Cleaned up tabbing
...
Cleaned up tabbing.
2016-01-07 10:45:34 -06:00
eholtam
36514fc748
Fixed manifestutil traceback if no subcommands are given
...
In manifestutil if no subcommands are given manifestutil exits with a
trackback. I added a check to see if the number of subcommands is < 1
and to list the available subcommands if so.
2016-01-07 10:44:35 -06:00
Greg Neagle
976c842224
Change gurl.py connection timeout to 60 seconds
2015-12-22 14:57:41 -08:00
Greg Neagle
437af40d2b
PyLint cleanups
2015-12-09 11:53:14 -08:00
Greg Neagle
c19f2d7936
Simplfy default user-agent header.
2015-12-09 11:41:30 -08:00
Greg Neagle
fda740c046
Merge pull request #537 from mkuron/patch-1
...
Set User-Agent header in HTTP requests
2015-12-09 11:36:46 -08:00