103 Commits

Author SHA1 Message Date
Eric Lippmann
00985429c5 Fix PSR-12 violations 2024-10-22 14:31:14 +02:00
Sukhwinder Dhillon
d30a56a385 Fix phpcs issues 2024-01-16 09:51:47 +01:00
Sukhwinder Dhillon
8a489bcc46 HostController: Move ServiceFinder::getRedirectionUrl() method code to findserviceAction()
- This helps to detect backend easily, and was only called in this method anyway.
- Add and use helping method getServicesReadOnlyPermission()
-
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
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
Tobias Tiederle
1c6090193d add support for icingadb as only icingaweb2 data backend 2023-12-04 10:12:54 +01:00
Thomas Gelf
48db90c7df ObjectsTable: require Auth
fixes #2808
2023-10-11 12:24:36 +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
8e60e0aab9 HostController: relax assertion 2023-06-13 17:39:15 +02:00
Thomas Gelf
40254714b8 Permissions: refactor, fix monitoring module checks
fixes #2712
2023-02-23 11:51:53 +01:00
raviks789
26e76c611e Reset Limit count and offset for $table in HostController::servicesAction
The limit in ObjectsTable::prepareQuery() limits the number of services shown in HostController::servicesAction.
But this limit is required for pagination in ServicesController. Hence, reset the limit when this query is used
in HostController::servicesAction().
2022-10-04 15:33:29 +02:00
Thomas Gelf
25f961a4c8 HostController: allow to add Sets 2022-09-20 12:50:37 +02:00
Thomas Gelf
f301be425c HostController: pass branch to forms 2022-09-20 12:16:00 +02:00
Thomas Gelf
f77d5b8d0c HostController: show services for hosts created...
...in a branch
2021-12-17 13:57:18 +01:00
Thomas Gelf
56d052a804 HostController: translate untranslated string 2021-12-17 11:47:20 +01:00
Thomas Gelf
7f22c12f9f Host/ObjectController: no sets in branches 2021-12-17 08:06:20 +01:00
Thomas Gelf
27abbb59a0 ObjectsTableService: replace HostServiceTable
This removes duplicate logic and shows services created in config
branches
2021-12-13 14:11:35 +01:00
Thomas Gelf
83617b22e8 HostController: services on new branch host, hint 2021-10-05 23:33:30 +02:00
Johannes Meyer
694cacb464 HostController: Fix indentation 2021-04-15 08:53:27 +02:00
Thomas Gelf
c27d9c7387 Monitoring, various: use monitoring permissions
fixes #2304
2021-03-18 07:01:42 +01:00
Thomas Gelf
e4e96206b4 ServiceFinder: replace HostServiceRedirector 2021-01-16 15:04:29 +01:00
Thomas Gelf
e2696fd75a IcingaConfig: remove magic_apply_for
This has always been and experimental feature, deprecated since v1.7.0

fixes #1851
2020-11-28 19:09:58 +01:00
Thomas Gelf
213f897ffc HostController: details for external services...
...when clicking "Modify" in the monitoring module

fixes #1531
2020-10-27 01:18:18 +01:00
Thomas Gelf
456832e7d1 css, various places: use Hint class 2020-10-26 18:50:13 +01:00
Thomas Gelf
ce40e16850 HostController: change wording
fixes #1827
2019-09-11 23:07:38 +02:00
Thomas Gelf
606d71501e Use ipl, try to keep dipl compatibility 2019-09-11 23:02:39 +02:00
Thomas Gelf
e1565c9990 Revert "Merge branch 'next'"
This reverts commit f45f925e5e1dbfec627345868d0dd56abc77c4f1, reversing
changes made to 90c07943e4173ef8e32dae5087203f5a712f8077.

This was too early, need to check for incubator
2019-09-06 09:54:03 +02:00
Thomas Gelf
17f8ef1dd0 Use ipl, try to keep dipl compatibility 2019-09-06 09:48:11 +02:00
Markus Frosch
92f2f9f44d IcingaConfig: Deprecate magic_apply_for as config feature
fixes #1850
2019-04-30 12:41:53 +02:00
Thomas Gelf
d35ec0fee6 Tables, Redirector: add highlight for RO users
...and refactor some parts of the code

fixes #1785
2019-02-13 11:41:26 +01:00
Thomas Gelf
af2e86d8b8 host/findservice: new route to readonly view 2019-02-10 11:15:05 +01:00
Thomas Gelf
49d9ed7ecd IcingaServiceForm: fix blacklist service from set
fixes #1519
2018-08-13 09:52:07 +02:00
Thomas Gelf
14a3039f65 controllers, libs: less noise from exceptions 2018-08-08 10:07:39 +02:00
Thomas Gelf
8c30b9c5de HostController, related: tweak Exceptions 2018-08-06 13:50:28 +02:00
Thomas Gelf
0f4fd471e2 HostServiceRedirector: new implementation for...
...service links. Fallback route and more

fixes #689
2018-05-23 00:47:30 +02:00
Thomas Gelf
fae6162133 HostController: show inspect link
fixes #1396
2018-02-20 15:33:28 +01:00
Thomas Gelf
d1e116a5a1 ipl: rename to dipl
fixes #1217
2017-10-09 15:23:27 +02:00
Thomas Gelf
22e575f9b0 HostController: use my parents parents for...
...temporary fake service

fixes  #1121
2017-09-12 11:37:39 +02:00
Thomas Gelf
1a08b90c7a IcingaTemplateRepository: fetch parents, not...
...ancestors per default

fixes #1114
2017-08-25 14:22:49 +02:00
Thomas Gelf
ece3ba2498 HostController: fix link for 'add service set'
refs #1087
2017-08-21 21:02:41 +02:00
Thomas Gelf
c15a6e1a90 IcingaAddServiceForm: refactor, rename and use...
...it for single and for multiple hosts

refs #1087
2017-08-21 19:55:24 +02:00
Thomas Gelf
7e13a9a4f2 HostController: remove HostAgentForm for now
Will probably return soon
2017-08-20 17:07:53 +02:00
Thomas Gelf
32cd0d6b83 HostController: cosmetics 2017-08-18 17:08:04 +02:00
Thomas Gelf
23249dcf7d HostController: refactor all involved tables...
...for single services and sets
2017-08-16 23:27:13 +02:00
Thomas Gelf
f24b82821f SelfService: move logic to a dedicated class 2017-08-14 12:22:28 +02:00
Thomas Gelf
010dbbd87d HostController: fix translation error in the...
Agent tab
2017-07-29 01:44:01 +02:00
Thomas Gelf
34c6134b21 HostController: move tab handling to ObjectTabs
Helps to unify tabs on usage/edit
2017-07-28 23:20:58 +02:00
Thomas Gelf
fadbde5e9b HostForm: take over logic from base form, clean up 2017-07-25 10:18:07 +02:00
Thomas Gelf
c295218a5c HostController: code cleanup, little fixes, tabs 2017-07-24 10:52:36 +02:00
Thomas Gelf
068ba20af2 HostController: indentation 2017-07-20 17:27:08 +02:00