Commit graph

1532 commits

Author SHA1 Message Date
Lord Hepipud
eb8ea9a497 Adds support for JEA profiles 2021-09-02 09:23:10 +02:00
Lord Hepipud
b335a4a588
Merge pull request #354 from Icinga:feature/imc_extends_repo_management
Features: Adds extended Repository management to IMC

This will extend the current repository management within the Icinga Management Console, by allowing to list, remove, sort, enable and disable repositories.
2021-08-26 15:14:41 +02:00
Lord Hepipud
82bd5f1059 Adds extended repo management to IMC 2021-08-26 15:14:10 +02:00
Lord Hepipud
8b29f505b3
Merge pull request #353 from Icinga:fix/file_writer_non_string_values
Fix: Icinga file writer fails on input not matching string

In case we add non-string values into our Icinga file writer, the output may not what we have been expected.
To resolve this, we will add support for these default inputs:

* Hashtable -> JSON
* Array -> Listed output
* PSCustomObject -> JSON
* Everything else -> simple string conversion
2021-08-21 14:15:48 +02:00
Lord Hepipud
c7ff7f14ad Fixes non string values for file writer 2021-08-21 14:13:49 +02:00
Lord Hepipud
1241c58909
Merge pull request #352 from Icinga:fix/missing_file_creation_file_writer
Fix: File writer did not create non-existing files

Fixes newly implemented file writer, by creating files which were not existing prior to writing into them.
2021-08-21 13:45:45 +02:00
Lord Hepipud
ce35afe19b Fixes file writer, which did not create files 2021-08-21 13:44:24 +02:00
Lord Hepipud
3375d78ba2
Merge pull request #351 from Icinga:feature/fix_file_writer_corruption
Fix: File writer could cause corruption on parallel read/write

In some cases it can happen, that files are being read and written in parallel, which might cause the file of being corrupted.

This will resolve the issue, as in case of file locks we now do longer modify the file, but wait for the lock being released.
2021-08-21 13:29:40 +02:00
Lord Hepipud
59830d9b01 Fixes config and file writer corruption 2021-08-21 13:29:13 +02:00
Lord Hepipud
21f2f26c1e
Merge pull request #350 from Icinga:feature/add_skip_mkdir_on_scp_sync
Feature: Adds switch to skip mkdir on scp repo sync

Adds switch `-SkipSCPMkdir` to `Sync-IcingaRepository`, allowing to skip directory creation.
2021-08-20 18:27:19 +02:00
Lord Hepipud
8924f77c58 Adds switch to skip mkdir on scp repo sync 2021-08-20 18:26:53 +02:00
Lord Hepipud
0e68cfafd0
Merge pull request #349 from Icinga:fix/module_file_should_point_to_psd1
Fix: Module file should always point to .psd1 instead of .psm1

We have to ensure with Icinga for Windows 1.6.0 that we always point to the `.psd1` file instead of the `.psm1` file, especially when working with the `icingapowershellservice`
2021-08-20 18:15:46 +02:00
Lord Hepipud
6d5930da49 Fixes module file which should point to .psd1 2021-08-20 18:13:25 +02:00
Lord Hepipud
e370fc9ad5
Merge pull request #348 from Icinga:feature/improve_tcp_debugging
Feature: Improves debug output on TCP handling

Improves debugging output on TCP handling, to provide separate messages for incoming message size, message bytes and the send message back to the client.
2021-08-20 13:56:54 +02:00
Lord Hepipud
037ccf86aa Improves debug output on TCP handling 2021-08-20 13:55:57 +02:00
Lord Hepipud
3cdd0f0d14
Merge pull request #347 from Icinga:fix/repository_resolving
Fix: Repository resolving and validation
2021-08-20 13:48:43 +02:00
Lord Hepipud
0feef9e41a Fixes repository resolving and validation 2021-08-20 13:46:47 +02:00
Lord Hepipud
5198d02241
Merge pull request #345 from Icinga:fix/framework_env_variables_not_working
Fix: Framework environment variables not working with 1.6.0

Environment variables like `$IcingaEnums` or other similar variables were not exported with Icinga for Windows 1.6.0, causing several other modules and functions to fail.
2021-08-20 13:43:49 +02:00
Lord Hepipud
056a37d880 Fixes Framework env vars not working with 1.6.0 2021-08-20 13:43:02 +02:00
Lord Hepipud
657bc3e4fa
Merge pull request #346 from Icinga:features/supports_snapshot_name_version
Feature: Adds support for version names for snapshots

In order to easy manage different snapshot versions for different branches, we now support providing a name as version for **snapshot** packages only,

Example:

```powershell
Add-IcingaRepository -Name 'icinga-powershell-framework/doc/doc_rewrite' -RemotePath 'https://packages.icinga.com/IcingaForWindows/snapshot/icinga-powershell-framework/doc/doc_rewrite/ifw.repo.json';
Install-IcingaComponent -Name 'framework' -Version 'doc/doc_rewrite' -Snapshot -Force;
```
2021-08-20 13:41:10 +02:00
Lord Hepipud
c91b23d4a7 Adds support for version names for snapshots 2021-08-20 13:40:35 +02:00
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