Greg Neagle
72a0535d0d
Update Copyright dates
2020-01-01 08:53:37 -08:00
Greg Neagle
0dddb5dbd5
Lots of Python 3 compatibility changes for munkilib
2019-06-22 22:19:39 -07:00
Greg Neagle
97a64a1eb5
PyLint cleanups
2019-05-05 09:51:59 -07:00
Greg Neagle
df60207145
Add 'from __future__ import absolute_import' to all files to enforce Python3-style imports
2019-05-03 21:34:56 -07:00
Greg Neagle
531d99a01a
Convert all print statements to Python3-compatible print functions
2019-05-03 19:47:37 -07:00
Elliot Jordan
2ad27ff411
Align except clauses with PEP 3110 ( #933 )
...
This should work for Python 2.6+, including 3.
https://www.python.org/dev/peps/pep-3110/#compatibility-issues
2019-05-03 15:05:13 -07:00
Elliot Jordan
d14c4304ea
Various typo fixes and spelling corrections ( #907 )
...
* Fixed "No Comment" typo in strings files
* Fix "problem updates" typo
* Fix "caught" typo
* Fix "pseudo" typo
* Fix "instantiated" typo
* Fix "explicitly" typo
* Fix "osascript" typo
* Spelling fixes and various other corrections
* Fix two more instances of "Logput"
* Fixed a few remaining spelling issues in python files
* Fix "because" typo
PR also submitted upstream to the Murky project for the same correction.
* Fix name of associated app
* Additional spelling corrections in comments/docstrings
2019-02-14 08:30:43 -08:00
Greg Neagle
80a844eb13
If an item to be precached contains PackageURL or PackageCompleteURL keys, store those for use by the precaching agent.
2019-01-15 11:55:17 -08:00
Greg Neagle
918d0b7391
Update copyright dates
2019-01-02 10:31:50 -08:00
aysiu
7161744729
Copy optional key precache ( #879 )
...
Needed to not delete precache OnDemand items after installation
2018-11-20 20:45:50 -08:00
Greg Neagle
b6a21b3809
Start of precaching support.
2018-05-06 21:58:15 -07:00
aysiu
2db087ebb5
Wrap precache code
2018-05-04 15:50:31 -07:00
aysiu
63a0a92fba
Add precache info to iteminfo
2018-05-04 08:43:11 -07:00
Greg Neagle
1428c40d06
Update copyright notices to include 2018
2018-01-20 08:46:22 -08:00
Greg Neagle
de06aa73c0
When processing included_manifests skip any empty items in the array. Prevents an unexpected error leading to a crash wirh some webserver confiugurations
2018-01-10 09:21:10 -08:00
Arjen van Bochoven
21927438ae
Localized pkgsinfo support ( #809 )
...
* Add support for localized_strings in pkgsinfo files
* Update Munkiitems.py
Use NSBundle.preferredLocalizationsFromArray_forPreferences_ instead of
NSLocale.currentLocale
* Move localized_strings to GenericItem
And add localized_strings to iteminfo
* Add localized_strings to munkiimport
2017-10-13 09:03:05 -07:00
Greg Neagle
89e2faf7cc
Adjust installed_state logic which seems was exactly backwards
2017-08-18 15:28:35 -07:00
Greg Neagle
1ab3e19c97
Add support for specifying additional options to startosinstall tool.
2017-07-27 08:24:35 -07:00
Greg Neagle
f1be44faf9
Move remove_from_selfserve_* functions from installer to manifestutils to prevent an import loop in removepackages
2017-07-06 14:22:10 -07:00
Greg Neagle
471f400f8c
Only show updates for higher OSes if the ShowOptionalInstallsForHigherOSVersions preference is true
2017-07-05 08:16:16 -07:00
Greg Neagle
81630647eb
Display problem updates on Updates page in Managed Software Center.app
2017-07-03 12:55:38 -07:00
Greg Neagle
c8f3053f2f
Suppress 'Rejected item' warnings when processing optional_installs
2017-06-30 08:22:41 -07:00
Greg Neagle
ad9c08856d
More changes to support showing optional item updates that require user action to install -- like updating macOS version or making disk space available.
2017-06-29 15:08:15 -07:00
Greg Neagle
ea7b9b2ae9
Display items in optional installs that require a higher OS if we can't find an applicable version to incentivize OS upgrades/updates
2017-06-27 22:38:12 -07:00
Greg Neagle
af2cf9d849
Fix for logic in testing if an item is not an OnDemand item while processing optional_installs that have an installcheck_script. Final part of a fix for #778
2017-06-14 19:18:42 -07:00
Greg Neagle
49faba7727
Take OnDemand items into account when deciding to skip a possible second run of an installcheck_script
2017-06-13 15:35:49 -07:00
Greg Neagle
a512803275
Avoid running an installcheck_script twice for optional items that are installed (according to the installcheck_script)
2017-06-13 15:25:16 -07:00
Greg Neagle
d8917e8dd5
Do not enforce force_update_after_date for optional installs that are being installed for the first time; ie there is no prior install
2017-04-22 21:09:09 -07:00
Greg Neagle
233c92501e
logic cleanup and code de-dupe
2017-04-08 09:23:44 -07:00
Greg Neagle
15c26d8ae3
Add support for -allowUntrusted flag for installer packages
2017-04-05 11:35:42 -07:00
Greg Neagle
ed341229a1
Start adding support for startosinstall items to updatecheck
2017-04-01 12:34:23 -07:00
Greg Neagle
056b570d3b
Change featured_installs to featured_items
2017-03-10 09:02:03 -08:00
Per Olofsson
c773ebe7ac
Implement featured_installs array in manifests.
2017-03-09 13:25:48 +01:00
Greg Neagle
3eaa888974
Initial support for 'Featured' items in MSC replacing 'All items' view
2017-03-01 15:15:58 -08:00
Greg Neagle
f42265d49e
New feature: removal of unused software available via optional_installs
2017-02-19 20:25:02 -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
cc24527b64
Split up too-large munkilib/updatecheck/core module
2017-01-10 09:59:13 -08:00