Skip to content
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.

Releases: Enatec/UniFiTooling

[1.0.11] - 2019-02-01

01 Feb 20:48
84cd300
Compare
Choose a tag to compare

Added

  • Get-UnifiHourlySiteStats - Get horly statistics for a complete UniFi Site
  • Get-UnifiDailySiteStats - Get daily statistics for a complete UniFi Site
  • Get-Unifi5minutesSiteStats - Get statistics in 5 minute segments for a complete UniFi Site
  • Get-Unifi5minutesGatewayStats - Get statistics in 5 minute segments for the USG (UniFi Secure Gateway)
  • Get-UnifiHourlyGatewayStats - Get hourly statistics for the USG (UniFi Secure Gateway)
  • Get-UnifiDailyGatewayStats - Get daily statistics for the USG (UniFi Secure Gateway)
  • Get-UnifiDailyClientStats - Get daily user/client statistics for a given user/client
  • Get-UnifiHourlyClientStats - Get hourly user/client statistics for a given user/client
  • Get-Unifi5minutesClientStats - Get user/client statistics in 5 minute segments for a given client
  • Get-UnifiDailyApStats - Get daily stats for all or just one access points in a given UniFi site
  • Get-UnifiHourlyApStats - Get hourly stats for all or just one access points in a given UniFi site
  • Get-Unifi5minutesApStats - Get the stats in 5 minute segments for all or just one access points in a given UniFi site
  • ConvertTo-UniFiValidMacAddress - Helper to check and make sure we have the right format (private function)
  • Get-CallerPreference - Add private meta function
  • CODEOWNERS - Add GitHub code owners feature file
  • Set-UnifiClientDeviceNote - Add/modify/remove a client-device note
  • Set-UnifiClientDeviceName - Add/modify/remove a client device name
  • New-UnifiClientDevice - Create a new user/client-device (unfinished beta)

Changed

  • New-UnifiClientDevice now use ConvertTo-UniFiValidMacAddress to check and make sure we have the right format
  • Invoke-UnifiUnblockClient now use ConvertTo-UniFiValidMacAddress to check and make sure we have the right format
  • Invoke-UnifiUnauthorizeGuest now use ConvertTo-UniFiValidMacAddress to check and make sure we have the right format
  • Invoke-UnifiReconnectClient now use ConvertTo-UniFiValidMacAddress to check and make sure we have the right format
  • Invoke-UnifiForgetClient now use ConvertTo-UniFiValidMacAddress to check and make sure we have the right format
  • Invoke-UnifiBlockClient now use ConvertTo-UniFiValidMacAddress to check and make sure we have the right format
  • Invoke-UnifiAuthorizeGuest now use ConvertTo-UniFiValidMacAddress to check and make sure we have the right format
  • Get-CallerPreference - Implemented private meta function usage to all (public/private) functions

Removed

  • Get-HostsFile should never be a part of this module. I just use them for some internal tests.
  • Add-HostsEntry should never be a part of this module. I just use them for some internal tests.
  • Get-HostsFile should never be a part of this module. I just use them for some internal tests.

Fixed

  • Fixed the Get-CallerPreference usage

Release 1.0.10

23 Jan 12:26
1b59957
Compare
Choose a tag to compare

Version 1.0.10 - 2019-01-23

Repository moved, no real code changes.

Deprecated

The folowing internal (private) commands will be removed in the next release (Version 1.0.11):

  • Get-HostsFile

  • Add-HostsEntry

  • Get-HostsFile

    They should never be a part of this module. I just use them for some internal tests.

Release 1.0.9 - 2019-01-20

20 Jan 22:59
e1e51fd
Compare
Choose a tag to compare

Mainly a feature release with some bugfixes and refactoring.

Added

  • Get-UnifiSpeedTestResult has now a -last parameter to get only the latest result

  • Invoke-UnifiAuthorizeGuest - Authorize a client device via the API of the UniFi Controller

  • Invoke-UnifiUnauthorizeGuest - Unauthorize a client device via the API of the UniFi Controller

  • Invoke-UnifiReconnectClient - Reconnect a client device via the API of the UniFi Controller

  • Invoke-UnifiBlockClient - Block a client device via the API of the UniFi Controller

  • Invoke-UnifiUnblockClient - Unblock a client device via the API of the UniFi Controller

  • Invoke-UnifiForgetClient - Forget one or more client devices via the API of the UniFi Controller

  • Changed

    • Refactored a lot of code.
    • Change the Verbose output (Detailed connection details)
    • Change some links to the GitHub Wiki

Release 1.0.8 - 2019-01-19

19 Jan 00:06
1bd4621
Compare
Choose a tag to compare

Mainly a bugfix and refactoring release

Added

  • Get-UniFiIsAlive - Use a simple API call to see if the session is alive (internal not exported function)
  • ConvertTo-UnixTimeStamp - ConvertTo-UnixTimeStamp (Helper)
  • ConvertFrom-UnixTimeStamp - Converts a Timestamp (Epochdate) into Datetime (Helper)
  • Get-HostsFile - Print the HOSTS File in a more clean format (Helper)
  • Remove-HostsEntry - Removes a single Hosts Entry from the HOSTS File (Helper)
  • Add-HostsEntry - Add a single Hosts Entry to the HOSTS File (Helper)
  • Get-UnifiSpeedTestResult - Get the UniFi Security Gateway (USG) Speed Test results

Changed

  • Get-UnifiSpeedTestResult has now filtering and returns values human readable
  • All commands now use Get-UniFiIsAlive internally. That should make it easier for new users.
  • Refactored some of the code that handles all errors.

Release 1.0.7

14 Jan 19:43
Compare
Choose a tag to compare

Mainly a bugfix and refactoring release

Fixed

  • Position numbers corrected (Now starts with 0 instead off 1)
  • Found the following issue: Even if an obejct is not found (e.g. network) the UniFi API returns OK (200) with null bytes in Data. That is OK, but we need a workaround. Added the Workaround to Get-UnifiFirewallGroupDetails and Get-UnifiNetworkDetails for testing.

Added

  • Get-UnifiFirewallGroupDetails -Related to #10
  • Git Attributes File
  • Editor Config
  • Add License.md, a Markdown version of LICENSE

Changed

  • Markdown Documents tweaked (Header)
  • Git Ignore extended
  • Add Multi valued inputs to Get-UnifiNetworkDetails
  • Add -Id parameter to Get-UnifiNetworkDetails. This replaced the -UnifiNetworkName` parameter - Related to #9
  • -UnifiNetworkName is now a legacy alias, necessary to make it a non breaking change
  • For the parameter -UnifiNetworkName an ID (network_id) must be used, necessary to make it a non breaking change
  • Add -name parameter to Get-UnifiNetworkDetails - Related to #9
  • Moved Get-UnifiFirewallGroupBody from Public to Private (No longer exported as command)

Release 1.0.6

13 Jan 19:26
Compare
Choose a tag to compare

1.0.6 - 2019-01-13

Working Release

Added

  • Set $ProgressPreference to 'SilentlyContinue' - #7
  • CHANGELOG.md (this file) is back
  • New function New-UniFiConfig - #1

Changed

  • Build Process optimized
  • Add Verbose messages to Get-UniFiConfig

Release 1.0.5

12 Jan 02:52
4afdbf5
Compare
Choose a tag to compare

No real new functions, everything was behind the scenes or under the hood!

Release 1.0.4

08 Jan 03:48
Compare
Choose a tag to compare
Release 1.0.4 Pre-release
Pre-release

Initial Release within the new repository.