Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidXanatos committed Oct 23, 2018
1 parent cdd80f3 commit eed27b4
Show file tree
Hide file tree
Showing 13 changed files with 953 additions and 419 deletions.
51 changes: 50 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,55 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [0.8] - 2018-10-32
### Fixed
- issue when uninstalling updates

## [0.8c beta] - 2018-10-21
### Added
- messge box promping for a reboot when changing update facilitator settings
- tooltips to list view for long texts

### Changed
- some buttons are now disabled when no updates are checked

### Fixed
- issue with supprot url's nor manualy generated mased on the kb number


## [0.8b beta] - 2018-10-20
### Added
- command line parameter for scripted operation, disabling configuration options -provisioned
- added search filter ctrl+f
- addec ctrl+c to copy infos about selected updates
- added option to blacklist updates by KB using the updates ini, also collor them or pre select them

Example:
[KB4023307]
BlackList=1
Remove=0
Color=#ffcccc

[KB4343909]
Select=1
Color=#ccffcc

### Changed
- updates are now cached in updates.ini inside teh downloads directory, updates.ini in the working directorty is used for persistent update informations

### Fixed
- fixed typos in transaltion thx to Carlos Detweiller and PointZero


## [0.8a beta] - 2018-10-19
### Added
- translation support

### Fixed
- crash bug in uninstall routile
- size and date columns ware out of order
- fixed some GPO related crash issues


## [0.7] - 2018-10-05
### Added
Expand All @@ -21,8 +70,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- crash bug when firewall blocks downloads
- issue client not properl abborting operations on cancesss

## [0.6b] - 2018-09-30

## [0.6b] - 2018-09-30
### Fixed
- issues only one instance restriction
- issues with list view separation
Expand Down
2 changes: 1 addition & 1 deletion wumgr/Common/FileOps.cs
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ internal static bool TakeOwn(string path)
}
catch (PrivilegeNotHeldException err)
{
AppLog.Line("Enable SkipUAC Error {0}", err.ToString());
AppLog.Line("Couldn't take Ownership {0}", err.ToString());
ret = false;
}
finally
Expand Down
2 changes: 1 addition & 1 deletion wumgr/Common/HttpTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ private void Finish(int Success, int ErrCode, Exception Error = null)
}
else if (Success == 2)
{
AppLog.Line("File already dowllaoded {0}", mDlPath + @"\" + mDlName);
AppLog.Line("File already downloaded {0}", mDlPath + @"\" + mDlName);
}
else
{
Expand Down
20 changes: 18 additions & 2 deletions wumgr/Common/MiscFunc.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Security.Principal;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;


Expand Down Expand Up @@ -46,11 +48,25 @@ public static int parseInt(string str, int def = 0)
}
}

public static String fmt(string str, params object[] args)
static public Color? parseColor(string input)
{
return string.Format(str, args);
ColorConverter c = new ColorConverter();
if (Regex.IsMatch(input, "^(#[0-9A-Fa-f]{3})$|^(#[0-9A-Fa-f]{6})$"))
return (Color)c.ConvertFromString(input);

ColorConverter.StandardValuesCollection svc = (ColorConverter.StandardValuesCollection)c.GetStandardValues();
foreach (Color o in svc){
if (o.Name.Equals(input, StringComparison.OrdinalIgnoreCase))
return (Color)c.ConvertFromString(input);
}
return null;
}

/*public static String fmt(string str, params object[] args)
{
return string.Format(str, args);
}*/

public static bool IsAdministrator()
{
WindowsIdentity identity = WindowsIdentity.GetCurrent();
Expand Down
Loading

0 comments on commit eed27b4

Please sign in to comment.