Commit graph

1499 commits

Author SHA1 Message Date
Lord Hepipud
30107e8e32
Merge pull request #338 from Icinga:feature/mmc_overview_kickstartfilter
Style: Adds mmc list view, kickstart filter, spelling fix

Fixes plenty of spelling mistakes, style guides, views, layouts and other visual topics for the Icinga for Windows Management Console.
2021-08-18 18:45:38 +02:00
Lord Hepipud
15f0090c8b Adds mmc list view, kickstart filter, spelling fix 2021-08-18 18:42:47 +02:00
Lord Hepipud
1f2f21d8e4
Merge pull request #335 from Icinga:fix/director_selfservice_zone_config
Fix: Icinga Director Self-Service Zones and CA config

Fixes an issue on legacy installation wizard, which did not render the zones.conf properly with the correct information shipped for connection data and added missing `-CAEndpoint` assignment, which was wrong previously.
2021-08-17 23:00:02 +02:00
Lord Hepipud
6ef964bcf3 Fixes zones and CA config for Director SelfService 2021-08-17 22:59:04 +02:00
Lord Hepipud
16bff293ad
Merge pull request #334 from Icinga:fix/missing_architecture_check
Fix: Missing architecture check on installation from repository

The architecture check was missing from the Icinga Repository installation, causing x86 packages being installed on x64 systems and vice versa.
2021-08-17 21:49:30 +02:00
Lord Hepipud
32109f0b2b Fixes missing architecture check on installation 2021-08-17 21:48:06 +02:00
Lord Hepipud
fd96a00db4
Merge pull request #332 from Icinga:fix/director_self_service_ticket_mmc
Fix: Director Self-Service ticket handling not working

Fixes the handling for the Icinga Director Self-Service API, which caused the ticket handling for certificate signing not to work
2021-08-17 17:55:19 +02:00
Lord Hepipud
a13567fffc Fixes Director Self-Service ticket handling 2021-08-17 17:54:44 +02:00
Lord Hepipud
bb88e05bae
Merge pull request #333 from Icinga:feature/add_powershell_service_test
Fatures: Adds Cmdlet to test Icinga for Windows service

Adds a new Cmdlet `Test-IcingaForWindowsService` which will test for security issue IWKB000009 and check if the service is properly configured to run against the .psd1 instead of .psm1 of the icinga-powershell-framework.
2021-08-17 17:51:07 +02:00
Lord Hepipud
78a71815b3 Adds feature to test Icinga for Windows service 2021-08-17 17:50:32 +02:00
Lord Hepipud
e5ba938f4c
Merge pull request #331 from Icinga:fix/director_installer_mmc
Fix: Icinga Director installation on every way for Managment Console

Fixes Icinga Director Self-Service API which caused exception on some scenarios and stored wrong keys inside configuration.
2021-08-17 15:04:24 +02:00
Lord Hepipud
ae04b8013d Fixes Icinga Director on mmc 2021-08-17 15:00:23 +02:00
Lord Hepipud
45e1117c2f
Merge pull request #330 from Icinga:fix/improve_remove_itemsecure
Fix: Remove-ItemSecure is not using all args and might fail on empty path

The Cmdlet `Remove-ItemSecure` was not using all args and might have crashed on empty values shipped to `-Path`
2021-08-17 13:32:16 +02:00
Lord Hepipud
d626d4fef4 Fixes remove item secure to use all args 2021-08-17 13:31:23 +02:00
Lord Hepipud
f62f0043ae
Merge pull request #329 from Icinga:feature/force_repo_adding
Feature: Allow force adding of repository

Extends repository feature, by allowing to force add new repositories with the same name, overriding current configuration.
2021-08-17 12:09:56 +02:00
Lord Hepipud
f70fc51ee3 Adds feature to force adding of repo 2021-08-17 12:08:27 +02:00
Lord Hepipud
b6b8563f0c
Merge pull request #328 from Icinga:fix/installer_ensure_overwrite
Fix: Installer should always overwrite values in automation mode

The installer is not overwriting pre-defined values, in case we run in automation mode. This causes default values being used over custom defined values while using the installation file or the intallation command
2021-08-17 11:26:29 +02:00
Lord Hepipud
004a6dffdf Fix installer to overwrite on automation tasks 2021-08-17 11:26:05 +02:00
Lord Hepipud
4e4281918c Fix cache 2021-08-17 10:25:37 +02:00
Lord Hepipud
a52e30190b
Merge pull request #327 from Icinga:fix/initial_import_exception
Fix: Possible exception on first import run

On certain systems you can run into an exception on the first run of the system, as the module is imported but the cache is written on this import run. Therefor a second import run is required, to import the newly generated files.
2021-08-17 09:44:19 +02:00
Lord Hepipud
06248114dd Fix possible exception on first import run 2021-08-17 09:43:15 +02:00
Lord Hepipud
75567c2fe7
Merge pull request #326 from Icinga:fix/import_on_non_ps_folders
Fix: Module import on non PowerShell folders

Fixes import for module files, by using the full path to the module now instead of the name only, as files could be placed inside a folder which is not listed inside the `$ENV:PSModulePath`
2021-08-17 09:31:15 +02:00
Lord Hepipud
e3c9396c59 Fix module import on non PS folders 2021-08-17 09:30:42 +02:00
Lord Hepipud
aa764061da
Merge pull request #325 from Icinga:fix/msi_reader_windows2012r2
Fix: MSI package reader not working on Windows 2012 R2

On Windows 2012 R2, the current implementation for `Read-IcingaMSIMetadata` is not working, as we require to do it on a more complicated way.
2021-08-13 22:48:27 +02:00
Lord Hepipud
ed8e109fad Fixes MSI package reader on Windows 2012 R2 2021-08-13 22:46:56 +02:00
Lord Hepipud
a4630f8d8f
Merge pull request #310 from Icinga:feature/repository_manager
Feature: Adds repository management

Icinga for Windows installation and configuration can be very complex, even though way to complicated because there are plenty of different sources available you can download files from.

The repository managmenet will make things easier, as you can provide single entry points containing all your components for installation.
2021-08-13 22:08:02 +02:00
Lord Hepipud
db2b7a745b Adds repository management 2021-08-13 22:06:22 +02:00
Lord Hepipud
b5661d7b1d
Merge pull request #303 from Icinga:feature/array_thresholds_date_time
Feature: Adds array thresholds and date time support

Adds support to parse arrays to Icinga Check thresholds functions like `WarnOutOfRange` and adds two new functions `WarnDateTime` and `CritDateTime`, for easier comparing of time stamps.

Required for new `Invoke-IcingaCheckScheduledTask` features requested on [Plugin Feature Reqest #208](https://github.com/Icinga/icinga-powershell-plugins/issues/208)
2021-08-13 16:55:51 +02:00
Lord Hepipud
3afbce090e Adds array thresholds and date time support 2021-08-13 16:54:32 +02:00
Lord Hepipud
76c4aac7a8
Merge pull request #323 from Icinga:feature/add_rebuild_cache_to_icinga
Feature: Adds rebuild cache switch to icinga cmd

As we move forward with enforcing the Framework Code Cache, we should make it easier for developers to rebuild the cache while testing new features.

For this we now added the `RebuildCache` switch for `icinga` alias and `Invoke-IcingaCommand` which rebuilds the cache before the actual Icinga Shell or Icinga Command is executed.
2021-08-07 14:39:22 +02:00
Lord Hepipud
7dfa22774f Adds rebuild cache switch to icinga cmd 2021-08-07 14:37:39 +02:00
Lord Hepipud
5f86b2d2e6
Merge pull request #322 from Icinga:deprecated/remove_import_from_files
Deprecated: Remove legacy import feature from files

In the past we used different ways to import certain information into Icinga for Windows. With the new version, we can get rid of most of the handling and reduce CPU impact in this matter.
2021-08-07 14:28:21 +02:00
Lord Hepipud
e9ba8747f8 Remove legacy import from files 2021-08-07 14:27:17 +02:00
Lord Hepipud
6a82bf0baf
Merge pull request #321 from Icinga:fix/code_cache_creation_loop
Fix: Code cache creation loop

With the previous implementation, we caused an infinite creation of the code cache during every execution, causing Icinga to fail executing checks.
2021-08-07 01:49:26 +02:00
Lord Hepipud
79ace6b475 Fix code cache creation loop 2021-08-07 01:47:53 +02:00
Lord Hepipud
22c1cd4457
Merge pull request #319 from Icinga:fix/load_framework_instead_of_cache
Fix: Load Framework instead of cache file
2021-08-06 16:46:45 +02:00
Lord Hepipud
62bcbe5553 Fix framework loading instead of cache 2021-08-06 16:45:29 +02:00
Lord Hepipud
2583e82102
Merge pull request #318 from Icinga:feature/enforce_framework_cache
Feature: Always enforce Framework code caching

To ensure we increase the performance of the loading and to introduce JEA profiles later on, we will now enforce the Icinga Framework Code cache starting with 1.6.0.

By doing so, each new update will be forced to create a Framework Code Cache and only this file will be loaded during intialisation.
2021-08-06 16:10:03 +02:00
Lord Hepipud
40aecbd6a9 Enforces Framework code caching 2021-08-06 16:08:24 +02:00
Lord Hepipud
4738aa8b68
Merge pull request #317 from Icinga:fix/long_file_names_on_cloning
Fix: Long file names causing error on Windows Copy

With the implementatation of the Management Console, file names were way too big for certain branch names and checkouts. This resolves the issue by renaming them to a shorter grade.
2021-08-06 15:12:49 +02:00
Lord Hepipud
9b371a01dc Fix long file names on Windows copy 2021-08-06 15:08:53 +02:00
Lord Hepipud
f6c51b8bda
Merge pull request #316 from Icinga:feature/relocate_reconfigure_menu
Feature: Relocating reconfigure menu entry

The reconfigure menu was previously present inside the Icinga Agent sub-menu and is now moved to the main installation menu.

The reason was that in case Agent installation failed, no re-configuration was possible because the entry is locked for the Agent not being present.
2021-08-06 14:00:20 +02:00
Lord Hepipud
351848dc6f Relocating reconfigure menu entry 2021-08-06 13:59:02 +02:00
Lord Hepipud
4bb17aadae
Merge pull request #314 from Icinga:feature/listen_localhost_default_socket
Feature: Adds support to set listen ip, defaults to localhost

We should ensure the local socket creation always defaults to the loopback interface, while making it configurable on which IP it listens.
2021-08-04 10:08:57 +02:00
Lord Hepipud
cb31fe1f29 Adds feature to set listen ip, defaults localhost 2021-08-04 10:07:08 +02:00
Lord Hepipud
c8dacba9c5
Merge pull request #312 from Icinga:fix/negative_values_cause_exception
Fix: Exception on negative offsets

In case negative offsets were processed by the checker handling, in some scenarios this would cause an exception.
2021-07-28 09:16:59 +02:00
Lord Hepipud
57e55ecada Fix exception on negative values 2021-07-27 14:56:37 +02:00
Lord Hepipud
afb004af03
Merge pull request #307 from Icinga:feature/remove_pass_on_string_secure_string_exception
Feature: Removes password on Secure.String exceptions

Improves error handling in case of exceptions, which will now remove the arguments and content for passwords, in case `String` is tried to be used for `SecureString` arguments.
2021-07-23 15:43:32 +02:00
Lord Hepipud
77de5485a1 Removes password on secure.string exceptions 2021-07-16 13:15:21 +02:00
Lord Hepipud
5012bb29b3
Merge pull request #306 from Icinga:feature/critical_exception_exit_code_handling
Feature: Adds critical exception cmdlet and exit code catch

Adds new Cmdlet `Exit-IcingaThrowCritical` to throw critical exit with a custom message, either by force or by using string filtering and adds storing of plugin exit codes internally.
2021-07-16 11:48:56 +02:00