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
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
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
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
raviks789
fcaa97e1b2
Remove dead class SingleObjectApiHandler
2023-09-21 09:00:55 +02:00
EmTeedee
6b7bff80de
${var} deprecated in favor of {$var}
...
See: https://www.php.net/manual/en/migration82.deprecated.php#migration82.deprecated.core.dollar-brace-interpolation
2023-07-19 10:44:40 +02:00
Thomas Gelf
40254714b8
Permissions: refactor, fix monitoring module checks
...
fixes #2712
2023-02-23 11:51:53 +01:00
Thomas Gelf
c643959d06
PreferredBranchSupport: for directorbranches
...
fixes #2688
fixes #2689
2022-12-16 14:16:02 +01:00
Thomas Gelf
a684929cf5
ObjectController: allow Service Sets in Branches
2022-09-20 12:48:26 +02:00
Thomas Gelf
6f173b8392
ObjectsController: pass branch to table
2022-09-20 12:22:05 +02:00
Thomas Gelf
39f53b6cee
ObjectController: branch hint on create
2022-09-20 12:06:52 +02:00
Thomas Gelf
956708475e
BranchSupport: new helper class
2022-08-31 14:45:28 +02:00
Thomas Gelf
13c09855fa
ObjectController: refactor initalization
2022-07-20 09:59:42 +02:00
Thomas Gelf
fe3d5c7076
ObjectsController: fix 8.1 glitch for JSON format
2022-07-15 22:05:56 +02:00
Thomas Gelf
43dddc58aa
ObjectsController: allow uuid for MultiSelect
...
fixes #2466
2022-02-06 19:13:47 +01:00
Thomas Gelf
376344257c
DbObjectStore: inject into DbObject for related...
...
...objects in a branch
2021-12-17 12:51:24 +01:00
Thomas Gelf
7f22c12f9f
Host/ObjectController: no sets in branches
2021-12-17 08:06:20 +01:00
Thomas Gelf
60104327bf
ObjectController: add some branch-related hints
2021-12-14 10:46:52 +01:00
Thomas Gelf
6786cc768f
Director: some fixes for PHP v8.1
...
refs #2435
2021-11-24 11:56:18 +01:00
Thomas Gelf
e29c025d64
Service/TemplateController: fix links, use uuids
...
fixes #2411
2021-10-18 07:27:28 +02:00
Thomas Gelf
a00c91991d
ObjectController: refactor Branch usage, give...
...
...more and better hints
2021-10-05 23:33:30 +02:00
Thomas Gelf
2b24e9bcf8
BranchedObjectHint: move, support BranchedObject
2021-10-05 23:33:30 +02:00
Thomas Gelf
2c27446c9f
NotInBranchHint: dedicated class, used in our...
...
...BranchHelper
2021-10-05 23:33:30 +02:00
Thomas Gelf
b898041caa
DirectorObjectForm: use Branch, not UUID
2021-08-25 13:00:56 +02:00
Thomas Gelf
bdd9e2b1e5
IcingaCloneObjectForm: do not clone templates...
...
...in branches. Reason: fields
2021-08-25 11:28:51 +02:00
Thomas Gelf
085cec0eb7
BranchedObjectsHint: new hints for lists
2021-08-23 08:56:16 +02:00
Thomas Gelf
48ac87cff5
ObjectController: hook has been updated
2021-08-23 08:55:30 +02:00
Thomas Gelf
d83a0aaba5
BranchHelper: use BranchStore
2021-08-23 08:54:34 +02:00
Thomas Gelf
1470a134f4
Branch support: initial import
2021-08-16 11:43:09 +02:00
Thomas Gelf
7c553257a6
ObjectController: fail when loading twice
2021-08-16 07:12:06 +02:00
Thomas Gelf
44ca8890f2
ActionController: check view->compact
...
fixes #2141
2021-07-13 01:01:49 +02:00
Thomas Gelf
c5e25cdcc7
ScheduledDowntime: introduce a new permission...
...
...and a related name-based restriction
fixes #2086
2021-04-23 12:33:42 +02:00
Thomas Gelf
0a9bd53d2d
RestApi: no escaping for unicode and slashes
...
fixes #2243
2020-12-02 18:06:34 +01:00
Thomas Gelf
a2f294fea2
IcingaCloneObjectForm: explicit baseUrl
...
fixes #1894
2020-11-30 10:19:21 +01:00
Thomas Gelf
456832e7d1
css, various places: use Hint class
2020-10-26 18:50:13 +01:00
Thomas Gelf
24a5411a93
ActionController: provide response-helper for all
...
...controllers
2020-10-26 16:39:36 +01:00
Thomas Gelf
e2d753bad7
RestApi: add a new helper method to this trait
2020-10-07 16:04:06 +02: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
2a8a641117
ObjectsController: apply search for REST API too
...
fixes #1889
2019-11-06 13:27:43 +01:00
Thomas Gelf
bbe55f28b6
config: Allow to disable the Director UI
...
fixes #2007
2019-10-31 15:45:36 +01:00
Thomas Gelf
606d71501e
Use ipl, try to keep dipl compatibility
2019-09-11 23:02:39 +02:00
Thomas Gelf
dbc4699042
Merge branch 'next'
2019-09-11 22:44:27 +02:00
Thomas Gelf
0e0bc3fb5d
various: some little fixes
2019-09-11 22:36:36 +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
Bernhard Friedreich
8f871f4afa
Fixed phpcs warning else if to elseif
2019-07-04 12:54:48 +02:00
Bernhard Friedreich
03519c25e8
Add action bar with download as json option for service apply rules and templates
...
related to issue #1811
2019-07-04 12:54:48 +02:00
Gino
64d0d8b618
Fix ambiguous host_id field
2019-07-04 12:16:01 +02:00