Sukhwinder Dhillon
1048c33fa4
configuration.php: Only provide monitoring/icingadb permissions/restrictions if module exists
2024-01-16 09:51:47 +01:00
Sukhwinder Dhillon
a272b0d242
Introduce icingadb permissions/restrictions
2024-01-16 09:51:47 +01:00
Sukhwinder Dhillon
db7181c29e
Backend: Remove unnecessary calls to isAvailable()
2024-01-16 09:51:47 +01:00
Sukhwinder Dhillon
eeaf87741a
IcingadbBackend: Always check if module is available
2024-01-16 09:51:47 +01:00
Sukhwinder Dhillon
677f5dc72a
Monitoring/IcingadbBackend: Handle if $hostName or $serviceName is null
2024-01-16 09:51:47 +01:00
Sukhwinder Dhillon
956cce84cb
Cleanup code
...
- Remove superfluous methods/usages
- Simplify the code
2024-01-16 09:51:44 +01:00
Sukhwinder Dhillon
8ea8a62ef4
BackendInterface: Add phpDocs
2024-01-15 16:25:05 +01:00
Sukhwinder Dhillon
604667ca65
Relocate Backend classes
2024-01-15 16:25:02 +01:00
Sukhwinder Dhillon
9baa3c4341
Remove redudant class `MonitorBackendMonitoring` and adjuct code accordigly
...
- Use class `Monitoring` instead
- Remove not in use methods from `MonitorBackend` interface and from classes that implements this interface
- Add param types and return type hint to methods
2024-01-15 16:24:27 +01:00
Sukhwinder Dhillon
89134e0366
Remove obsolate class `Backend` and its usages
...
- Create the backend directly in ActionController::backend()
- Simplify the code
2024-01-15 16:24:25 +01:00
Tobias Tiederle
b28b36f815
move classes into subfolder
...
fix some problems and mark TODO
2023-12-04 10:12:54 +01:00
Tobias Tiederle
1c6090193d
add support for icingadb as only icingaweb2 data backend
2023-12-04 10:12:54 +01:00
Sukhwinder Dhillon
12cca3ebcf
Phpstan: Streamline vendor file location with local dev-env ( #2838 )
2023-12-04 10:12:04 +01:00
Sukhwinder Dhillon
4edf4b43a9
Github Actions: Add checks for php 8.3
2023-12-01 10:56:12 +01:00
Sukhwinder Dhillon
2aa4a21e5e
phpstan: Streamline vendor file location with local dev-env
...
- Remove superfluous dir and composer requires
2023-12-01 10:29:19 +01:00
Christian Schramm
aa31b37fd1
Fix db type error, when hostgroup is accidentially interpreted as integer
...
fixes #2821
2023-10-19 15:46:52 +02:00
Thomas Gelf
9a9799e491
Changelog, Upgrading: alt. texts, title swap
2023-10-13 11:47:13 +02:00
Thomas Gelf
9c6a955f64
module.info: back to master
2023-10-13 11:46:58 +02:00
Thomas Gelf
a6f0a0830c
WIP: doc, module.info: prepare v1.11.0
...
fixes #2085
2023-10-13 11:33:16 +02:00
Thomas Gelf
fb1a23fb01
ObjectsTableSetMembers: fix uuid in link
2023-10-12 19:56:25 +02:00
Thomas Gelf
7267953e13
TemplateUsageTable: pass auth to constructor
2023-10-12 08:45:12 +02:00
Thomas Gelf
a2abbd326b
TemplateController: pass auth
2023-10-12 08:43:58 +02:00
Thomas Gelf
48db90c7df
ObjectsTable: require Auth
...
fixes #2808
2023-10-11 12:24:36 +02:00
Thomas Gelf
6178265a12
HostgroupRestriction: pass fitting table alias
...
fixes #2164
fixes #2809
2023-10-11 11:37:21 +02:00
Thomas Gelf
d02e430008
Sync: conditional membership sync
...
fixes #2812
2023-10-11 10:01:14 +02:00
Thomas Gelf
dcf03dc0d5
IcingaArguments: accept DSL
...
fixes #2811
2023-10-10 13:54:49 +02:00
julian-smithies
70e1aef111
Provide explanation for all exit codes
2023-10-10 11:39:10 +02:00
Thomas Gelf
742013673e
PropertyModifierJsonDecode: explicitly fail for...
...
...non-string inputs
fixes #2810
2023-10-10 11:11:23 +02:00
raviks789
76509bb7c8
IcingaServiceSetServiceTable: Change table alias for director branches
2023-09-22 13:44:09 +02:00
raviks789
ca855c6ee7
TemplateUsageTable: Fix indrect object count
...
fixes #2806
2023-09-22 13:16:33 +02:00
Thomas Gelf
7c2a3f254b
ObjectSetTable: fix on pgsql
2023-09-21 16:02:07 +02:00
Thomas Gelf
4d050834db
IcingaConfig: render host templates to all...
...
...non-global zones, instead of the default global zone
refs #2410
2023-09-21 15:22:31 +02:00
raviks789
63a3e6a1ec
Fix editing of multi-selected services with same name
...
Since the object names function as keys for the multi-selected objects array, this becomes a problem when
multiple services as the same name. Hence for the services the array keys must be a combination of service name
and the host name to which the service is related.
2023-09-21 14:59:42 +02:00
raviks789
7426e65067
Update PHPStan baseline
2023-09-21 14:57:30 +02:00
raviks789
dcd36877ea
Make `TemplateUsageTable`s and other tables compatible with `director branches`
...
`TemplateUsageTable`, `ApplyRulesTable`, `ObjectsTableSetmembers` and `TemplatesTable` are
made compatible with `director branches`.
2023-09-21 14:57:30 +02:00
raviks789
3c7082cabc
Modify `IcingaObjectFilterHelper::filterByTemplate` for director branches
...
Icinga objects must be filterable based on templates when a director branch is active.
2023-09-21 14:57:30 +02:00
raviks789
e6f7d82c09
Add a `imports` column to the objects
...
The host or service objects require retrieve the imports column. This
makes it possible to filter them based on templates when a director
branch is active.
2023-09-21 14:57:30 +02:00
Ravi Kumar Kempapura Srinivasa
939f805378
Add `setmembers` summyary line to TemplateUsageTable
...
`'setmembers' => $this->getSummaryLine('object', 'o.service_set_id IS NOT NULL AND o.host_id IS NOT NULL'),` is added to TemplateUsageTable
and `objects` is set to ` $this->getSummaryLine('object', 'o.service_set_id IS NULL')`. Subsequently, ObjectTableSetMembers
is added which is used in `setmembersAction` in `TemplateController`. `ObjectTableSetMembers` uses service set name or service name
as search columns.
2023-09-21 14:57:30 +02:00
Thomas Gelf
ac7b899d5e
doc/changelog: mention fix
2023-09-21 14:49:48 +02:00
raviks789
9e332b4022
Remove limit count for service set directly added to the host
2023-09-21 14:37:03 +02:00
Thomas Gelf
612165c4c3
doc/changelog: refresh
2023-09-21 13:01:10 +02:00
Thomas Gelf
53323ad861
de_DE: compile translation
2023-09-21 13:01:10 +02:00
Thomas Gelf
0c33c5d6bc
IcingaNotificationForm: just a dot
2023-09-21 13:01:10 +02:00
Thomas Gelf
bfa72ee892
de_DE: use relative paths
2023-09-21 13:01:10 +02:00
Thomas Gelf
dbd1ed249a
de_DE: refresh translation
2023-09-21 13:01:10 +02:00
Thomas Gelf
3199eb627b
FormFieldSuggestion: fix wording
2023-09-21 13:01:10 +02:00
Johannes Meyer
89fa677941
phpstan: Remove obsolete pattern from baseline
2023-09-21 09:15:16 +02:00
raviks789
228cbc8376
`Dashboard`: Suppress covariance error of `count()` method
2023-09-21 09:00:55 +02:00
raviks789
32e674aca2
PHPStan: Add baseline
2023-09-21 09:00:55 +02:00
raviks789
9cc04eb5c6
`StartupLogRenderer`: Use correct syntax to write to array `$lines`
2023-09-21 09:00:55 +02:00