Commit Graph

1432 Commits

Author SHA1 Message Date
Greg Neagle
b01a330c2a Track user choices for install/removal; employ a different strategy for determining if an updatecheck is needed; display links to updates page for some item statuses 2014-04-10 15:23:41 -07:00
Greg Neagle
b231f863d5 Don't raise unhandled exception if MSUStatusController methods are invoked before a page is loaded/rendered on app launch. 2014-04-09 15:42:42 -07:00
Greg Neagle
c51a41ad5b Add page_not_found_template missing from previous commit 2014-04-08 07:09:09 -07:00
Greg Neagle
99a90bfc17 Implement 'item not found' page. 2014-04-07 15:43:37 -07:00
Greg Neagle
179c96d25d Better UI when moving items from Pending Updates to Available Updates or vice-versa 2014-04-07 13:59:45 -07:00
Greg Neagle
56ce93196e Don't start update check until after html is updated. Still needs work. 2014-04-07 13:39:37 -07:00
Greg Neagle
325dfd8d61 Start an update check if other update is added to list of pending updates. 2014-04-07 13:33:32 -07:00
Greg Neagle
97a001f7b0 new approach to showing status for downloading and installing items from the optional_installs list 2014-04-07 10:29:39 -07:00
Greg Neagle
553ac2bc42 Record install and removal errors to InstallInfo.plist for use by Managed Software Center.app 2014-04-07 10:28:01 -07:00
Greg Neagle
4b7ff9a3d3 Use urlparse to parse incoming url, and urllib.unquote to unquote special characters. Don't require an html extension for incoming URLs. 2014-04-05 13:03:31 -07:00
Noel B. A
bd33069ae5 Merge branch 'Munki2' of /Users/nbalonso/GitHub/nbalonso's munki2 into Munki2 2014-04-05 16:52:29 +03:00
Noel B. A
dc0629b501 fixed start to panel from and external URL
prevents initial view to override the call from the handler
2014-04-03 19:37:54 +03:00
Greg Neagle
d048265a4d Fix CSS so action button for unavailable item in My Items view is disabled 2014-04-01 21:05:59 -07:00
Greg Neagle
df0b986b34 Show a progress spinner over the Updates button when an update (check or install) is in progress 2014-04-01 18:09:56 -07:00
Greg Neagle
41b5661d63 Trigger an updatecheck when adding or removing staged items from the update list 2014-04-01 13:25:48 -07:00
Greg Neagle
24f06a8352 Improved method of deriving effective updates in getEffectiveUpdateList() 2014-04-01 13:24:30 -07:00
Greg Neagle
2bc500cc83 Properly deactivate bookmark/controls/buttons if displaying an external page 2014-04-01 10:56:50 -07:00
Greg Neagle
1e51f1c44c Fix sidebar display issue on Categories page 2014-04-01 10:55:40 -07:00
Greg Neagle
88620d5ca1 Move JavaScript that runs the showcase slideshow into the showcase_template.html 2014-03-31 17:14:06 -07:00
Greg Neagle
758c301e04 Add support for target='_blank' for showcase images so clicking on a showcase slide opens a link in the default browser. 2014-03-31 16:46:52 -07:00
Greg Neagle
ae12907143 Non-displayable content URLs are now forwarded to the user's default browser. 2014-03-31 15:37:56 -07:00
Greg Neagle
2fd15af592 Move MSUHTMLFilter from msulib.py to MunkiItems.py 2014-03-31 10:57:07 -07:00
Greg Neagle
59ee0c03c3 Fix a few issues caused by the recent code reorganization. Also -- catch HTML parsing errors when filtering description HTML. Fixes issue 307. 2014-03-31 10:43:47 -07:00
Greg Neagle
7d11f3e105 Reorganization in preparation for implementation of client customization pieces 2014-03-31 09:55:23 -07:00
Noel Alonso
fd5b36536d corrected URL identifier
now uses standard reverse DNS notation
2014-03-30 13:29:35 +03:00
Noel Alonso
f624438e6c added support for hrefs with white spaces
eg. <a href="munki://detail-Adobe CS6 Design Web Premium.html">CS6</a>
2014-03-30 11:54:55 +03:00
Noel B. A
f3358c7967 simplified url strip
saving some cpu cycles
2014-03-29 01:42:43 +03:00
Noel B. A
de166be6b6 implemented URL handler
triggered by eg. munki://category-all.html
2014-03-27 20:19:00 +03:00
Greg Neagle
f6a4ae8d9d Fix more quoting issues! 2014-03-26 19:16:45 -07:00
Greg Neagle
52cfcdddd4 Fixes for URL quoting issues. Fixes issue 303. 2014-03-26 18:45:33 -07:00
Greg Neagle
4f2dd83b35 Handle all paths and path fragments as Unicode 2014-03-26 14:31:35 -07:00
Greg Neagle
bc573124d2 Fix for missing 'optional_installs'. Fixes issue 302. 2014-03-26 13:34:08 -07:00
Greg Neagle
3c25bc2a65 Properly create missing icons directory in munki repo. 2014-03-25 13:56:51 -07:00
Greg Neagle
bf33bf6187 Fix issue where MunkiItems cached data was not being properly reset 2014-03-25 11:34:21 -07:00
Greg Neagle
626dca37d1 In detail view, 'More in category' now has higher precedence than 'More by developer' 2014-03-25 10:56:07 -07:00
Greg Neagle
77785f589a Remove prompt for icon_name on import; this often leads to undesireable results. 2014-03-25 09:02:06 -07:00
Greg Neagle
a222ec1a85 More caching and optimization when building list of optional items 2014-03-25 08:41:24 -07:00
Greg Neagle
ddf08cb0c0 Properly handle mpkgs that contain other mpkgs (!) 2014-03-25 08:39:41 -07:00
Greg Neagle
4de435356f Further limit dependent_items checking to only those items in SelfServeManifest's managed_installs 2014-03-24 16:35:02 -07:00
Greg Neagle
8090ce5817 Better icon extraction from flat packages that aren't distribution pkgs 2014-03-24 16:13:16 -07:00
Greg Neagle
acdd39c035 Use FoundationPlist to read our local prefs 2014-03-24 15:12:35 -07:00
Greg Neagle
c03cb77fff Added iconimporter tool 2014-03-24 15:01:31 -07:00
Greg Neagle
e5a2a7569e Much faster implementation of MunkiItems.dependentItems() 2014-03-24 14:36:49 -07:00
Greg Neagle
8e58aec918 Don't warn when we can't download an icon; just do debug1 output. Was generating a lot of noise. 2014-03-24 11:47:09 -07:00
Greg Neagle
d343ede672 Add support for product icon downloads from Munki server 2014-03-24 10:21:42 -07:00
Greg Neagle
7562688f59 Remove unused Preferences menu item from application menu 2014-03-23 20:39:20 -07:00
Greg Neagle
04121b67da Remove Python debugging code that among other things, was probably causing issue 300. Fixes issue 300. 2014-03-23 18:55:10 -07:00
Greg Neagle
cf19ac5f18 Big change to Unicode/UTF-8 handling. Instead of converting (unicode) strings to utf-8 encoding early on; work with everything in Unicode until HTML is written to disk; at that point encode into UTF-8. Fixes issue 299. 2014-03-23 17:45:39 -07:00
Greg Neagle
2a885fb1b3 Don't strip <br> tags from description html 2014-03-23 07:36:39 -07:00
Greg Neagle
c0d96c31fd Allow non-root user to run managedsoftwareupdate --version 2014-03-22 19:50:35 -07:00