Commit graph

1711 commits

Author SHA1 Message Date
Lord Hepipud
1dc9c93521
Merge pull request #344 from Icinga:fix/repo_links
Fix: Links to public Icinga repos

Fixes the links to publi Icinga repos `stable` and `snapshot`, by always pointing directly to `ifw.repo.json`
2021-08-20 09:12:08 +02:00
Lord Hepipud
3e4ed0af5f Fix links to public Icinga repos 2021-08-20 09:11:30 +02:00
Lord Hepipud
23c138be48
Merge pull request #343 from Icinga:fix/freeze_on_imc_missing_cmd
Fix: Freeze on IMC in case commands are not found

Fixes a freeze within Icinga Management Console, in case commands which previously existed were removed/renamed or the user applied an invalid configuration with unknown commands as install file or install command
2021-08-19 17:47:02 +02:00
Lord Hepipud
b649e2a25d Fixes freeze on IMC in case cmds are not found 2021-08-19 17:46:34 +02:00
Lord Hepipud
a6dc5138e5
Merge pull request #342 from Icinga:feature/various_imc_improvements
Feature: Adds improvements to IMC including cmd preview

Added vartious improvements to IMC, which allows a better view on the final summary form. In addition, we provide now the following new features:

* Show commands being executed inside IMC with `l`
* Use placeholder `$DefaultValues$` inside actions, to call commands directly for actions and replace `$DefaultValues$` with the value the user added into the form
2021-08-19 17:23:42 +02:00
Lord Hepipud
63be379368 Adds improvements to IMC including cmd preview 2021-08-19 17:23:07 +02:00
Lord Hepipud
25578d0d50
Merge pull request #341 from Icinga:fix/various_director_imc_fixes
Fix: Various issues with Icinga Director on IMC

Adds various fixes and improvements for the Icinga Director Self-Service API while using IMC.
2021-08-19 14:20:54 +02:00
Lord Hepipud
4b7b86785f Fixies various Icinga Director IMC issues 2021-08-19 14:19:22 +02:00
Lord Hepipud
227367999d
Merge pull request #340 from Icinga:feature/repo_management_mmc
Feature: Adds repo management to imc

Adds repository management to the Icinga Management Console
2021-08-19 09:27:41 +02:00
Lord Hepipud
7861ebf565 Adds repo management to mmc 2021-08-19 09:24:46 +02:00
Lord Hepipud
646bc7f5be
Merge pull request #339 from Icinga:feature/highlight_advanced_help_mmc
Feature: Highlights advanced/help toogle in mmc

This will highlight the `[a] Hide advanced` and `[h] Hide Help` menu toogle inside the Management Console green, in case active.
2021-08-18 22:56:42 +02:00
Lord Hepipud
8d83d81c75 Highlights advanced/help toogle in mmc 2021-08-18 22:55:26 +02:00
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