Commit Graph

4595 Commits

Author SHA1 Message Date
Thomas Gelf 36141c5f98 Import: validated encoding on DB error
MySQL gives useless error messages for invalid UTF8 characters and
confuses users with an 'Invalid datetime format' message.

Once storing imported data fails, the original data will now be scanned
for invalid UTF-8 characters. If such are found, a dedicated exception
with more details is thrown. Otherwise the original exception will be
forwarded

fixes #2143
2020-07-10 17:16:08 +02:00
Thomas Gelf b1245ac6d3 css: show more content, reduce padding
fixes #2140
2020-06-06 23:50:14 +02:00
Thomas Gelf f70df23e72 Daemon Logger: do not override given log level
fixes #2139
2020-06-06 23:29:31 +02:00
Thomas Gelf 25732aaf3e PropertyModifier: convert binary UUID to HEX
fixes #2138
2020-06-06 23:22:01 +02:00
Thomas Gelf 506a78491f css: Limit form width
fixes #2136
2020-06-06 23:17:38 +02:00
Thomas Gelf 2b0c9f9dd2 Daemon: prepare for future react/promise versions
fixes #2137
2020-06-06 23:16:47 +02:00
Thomas Gelf 6cd50fb392 BackgroundDaemon: log reload and make some...
...methods public
2020-06-06 22:26:56 +02:00
Thomas Gelf 6736e3296e IcingaServiceForm: use "re/deactivate" (wording)
fixes #2135
2020-06-06 22:24:40 +02:00
Thomas Gelf 98aafeb535 PropertyModifierRejectOrSelect: change wording
fixes #2134
2020-06-06 22:06:10 +02:00
Thomas Gelf d8f55a47b3 IcingaHostForm: do not trust HTML separator
fixes #2133
2020-06-06 21:56:54 +02:00
Thomas Gelf d7364e45e8 agent-installer: fail where it should fail 2020-06-06 19:43:14 +02:00
Markus Frosch 50521bdecb ImportSourceRestApi: Add header and deeper extract_property
Allows a user to add additional headers, e.g. by setting a specific `Accept` or any authentication header.

Also `extract_property` now has a logic for deeper keys like "result.objects", "key.deeper_key.very_deep"
2020-06-06 19:17:02 +02:00
Johannes Meyer d5c94d8757 ci: Let the icingabot trigger L10n updates 2020-05-27 09:20:41 +02:00
Johannes Meyer 46013a8938 L10n-update: Include dispatch details 2020-04-29 17:17:29 +02:00
Johannes Meyer 0aeb4f32f2 Add L10n update workflow 2020-04-29 16:41:57 +02:00
Thomas Gelf cea6d4b456 ExtensibleSetElement: show inherited values
fixes #1310
2020-04-21 11:24:32 +02:00
Thomas Gelf fd80344d79 BackgroundDaemonState: reduce API 2020-04-20 22:57:09 +02:00
Thomas Gelf 80f9ea29b5 BasketForm: allow Notification Templates 2020-04-09 14:59:52 +02:00
Thomas Gelf 63e3a69611 BackgroundDaemonDetails: support RPC info 2020-04-07 11:50:49 +02:00
Thomas Gelf b6284e7898 Merge branch 'fix/host-templates-not-usable-with-hostgroup-restriction-#2020' 2020-04-01 20:56:46 +02:00
Eric Lippmann db97470a48 Fix host templates not usable with hostgroup restrictions
Before, for new hosts the code checked whether the host is part of any
restricted hostgroup only if the host's groups got modified directly.
I honestly don't know how that should be possible, since one can't add
host groups directly if restricted.
Now, for new hosts the code checks whether the resolved host groups
match at least one of the restricted host groups.
2020-03-20 10:32:22 +01:00
Thomas Gelf bf0653d238 CoreApi: unify config URL encoding 2020-03-10 00:08:43 +01:00
Thomas Gelf a7ea5d0b76 ImportsourceController: fix pagination
Next page pointed to importsource/fetch, should stay importsource/preview

refs #2096
2020-03-09 10:26:49 +01:00
Thomas Gelf 391edf5f19 ImportSourceLdap: use paged result
fixes #2019
2020-03-09 10:19:14 +01:00
Thomas Gelf 413ac8f281 ImportsourceController: fix download link
refs #2096
2020-03-05 13:10:49 +01:00
Thomas Gelf 865ed3f0d0 ImportsourceController: allow to fetch preview
fixes #2096
2020-03-05 13:06:51 +01:00
Thomas Gelf 3bffe6a0d9 Merge branch 'feature/simplified-hosts-matching-rule'
fixes #2081
2020-02-12 15:17:57 +01:00
Thomas Gelf 04557aad1c IcingaObjectResolver: clone filter, use helper 2020-02-12 15:08:51 +01:00
Thomas Gelf 15b52a323c AssignFilterHelper: fix error message 2020-02-12 14:52:03 +01:00
Thomas Gelf f7403f43d0 IcingaObjectResolver: use import lists
Fixes an issue with nested inheritance
2020-02-12 13:56:41 +01:00
Thomas Gelf babae3e068 IcingaObjectResolver: support PostgreSQL 2020-02-12 10:59:38 +01:00
Thomas Gelf 421f47d08d IcingaObjectResolver: new for ServicesetController 2020-02-12 10:41:58 +01:00
Thomas Gelf b1c29c16d0 Sync: add missing migration files for sync-only
refs #2059
2020-01-21 20:11:52 +01:00
Thomas Gelf 66fdeec923 DeploymentHook: fix typo, keep compatibility 2020-01-21 20:08:35 +01:00
Thomas Gelf 81ad26fcab DirectorObjectForm: support dbResourceName
fixes #2064
2020-01-17 12:09:33 +01:00
Thomas Gelf 7432516fa0 doc/changelog: mention woarkaround 2020-01-17 12:00:48 +01:00
Thomas Gelf 54ec11aec2 Window: workaround for bug in web >= 2.6.3
fixes #2063
2020-01-17 11:58:28 +01:00
Thomas Gelf 0d75ad69d6 doc/changelog: one more 2020-01-17 11:33:30 +01:00
Thomas Gelf b75aac7323 PropertyModifierHook: allow to clone rows
fixes #2060
2020-01-17 11:32:04 +01:00
Thomas Gelf 1f5a580739 doc/changelog: mention ListToObject 2020-01-17 11:31:05 +01:00
Thomas Gelf a554596bd8 Merge branch 'feature/list-to-object-modifier' 2020-01-17 11:07:53 +01:00
Thomas Gelf d0a01e2102 Implement ListToObject Property Modifier
fixes #2062
2020-01-17 11:01:17 +01:00
Thomas Gelf c12a6baeea Sync: implement update-only policy
fixes #2059
2020-01-17 09:01:25 +01:00
Thomas Gelf f0b96674c9 Import: distinct fetch from store in benchmark 2020-01-10 12:36:13 +01:00
Thomas Gelf 2ef30f5f12 various: formatting, cleanup 2020-01-10 12:33:54 +01:00
Thomas Gelf d795ad3c8e BenchmarkCommand: add more flattening tests 2020-01-10 12:31:40 +01:00
Thomas Gelf a7c21743b9 ImportSource: loaded modifiers should be an Array
fixes #2053
2020-01-09 14:15:50 +01:00
Thomas Gelf 668012ac64 ImportSource: allow an imported object with no...
...modifiers to remove existing ones
2020-01-09 14:14:34 +01:00
Thomas Gelf e59bbc1a4d ImportSource: increment modifier counter on import
This fix has no impact on the restored data, but avoids useless
re-creation of the very same property modifiers on restore (in case
there is more than one)
2020-01-09 14:08:52 +01:00
Thomas Gelf 0c2ba62c0b DirectorDatalistEntry: fix Exception namespace
This removes an unused dependency on ext-http

refs #2054
2020-01-09 09:05:27 +01:00