raviks789
8d9ecf3b0a
Apply relevant restrictions on REST url endpoints
...
The following url end points should apply relevant restrictions to filter out objects and show correct HTTP status code:
- icingaweb2/director/service, if the host name is left out of the query (Example: icingaweb2/director/service?name=service-name)
- icingaweb2/directore/notification
- icingaweb2/director/serviceset
- icingaweb2/director/scheduled-downtime
2025-03-26 11:12:15 +01:00
raviks789
2e1cac6a58
Fix: Support data type change of columns ts_last_attempt
and ts_last_error
from timestamp to bigint
2025-03-25 16:31:54 +01:00
Ravi Kumar Kempapura Srinivasa
f1e54348c8
Remove gipfl/format
package dependency
2024-02-07 15:01:25 +01:00
Thomas Gelf
97ee1ea30b
ObjectSetTable: improve formatting
...
fixes #2648
2022-11-03 10:26:11 +01:00
raviks789
11b0ab8ec4
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-07 09:58:59 +02:00
Thomas Gelf
ebb08aceae
ObjectSetTable: fix for PgSQL when not in branch
2022-09-21 11:00:07 +02:00
Thomas Gelf
47488d138e
ObjectSetTable: fix a PostgreSQL issue
2022-09-20 15:27:16 +02:00
Thomas Gelf
59d62d0ff9
ObjectSetTable: branch support
2022-09-20 12:53:00 +02: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
131d4e27ba
TableWithBranchSupport: provide setter
2022-09-20 12:20:44 +02:00
Thomas Gelf
4d2f285c01
IcingaServiceSetServiceTable: branch classes
2022-09-20 12:19:31 +02:00
Thomas Gelf
4d8e3f6db7
ServiceSetQueryBuilder: new query builder
2022-09-20 12:19:21 +02:00
Thomas Gelf
39f53b6cee
ObjectController: branch hint on create
2022-09-20 12:06:52 +02:00
Thomas Gelf
1fbb4d93b6
BranchedObjectHint: allow no object (create)
2022-09-20 12:03:46 +02:00
Thomas Gelf
b35b6b84cc
TableWithBranchSupport: do not branchify relations
2022-09-20 12:03:00 +02:00
Thomas Gelf
28c149efed
IcingaServiceSetServiceTable: refactor link logic
2022-08-31 14:45:28 +02:00
Thomas Gelf
d433631174
TableWithBranchSupport: new trait
2022-08-31 14:45:28 +02:00
Thomas Gelf
956708475e
BranchSupport: new helper class
2022-08-31 14:45:28 +02:00
Thomas Gelf
b2afca2496
Sync: support branches
2022-08-31 14:45:28 +02:00
Thomas Gelf
1c30412abd
DirectorActivityLog, others: constants, cleanup
2022-08-20 20:41:07 +02:00
Thomas Gelf
37954e0aa6
BranchActivityTable: show object name
2022-07-22 14:32:39 +02:00
Thomas Gelf
431d0cfe75
ObjectCommand: add --resolve-services
2022-07-20 16:42:26 +02:00
Thomas Gelf
13c09855fa
ObjectController: refactor initalization
2022-07-20 09:59:42 +02:00
Thomas Gelf
cb58573558
SimpleNote: do not fail on invalid content
2022-07-18 12:14:20 +02:00
Thomas Gelf
fe3d5c7076
ObjectsController: fix 8.1 glitch for JSON format
2022-07-15 22:05:56 +02:00
Thomas Gelf
0796635132
DbHelpers, Connection: improve escapeBinary logic
...
hex-style for MySQL too, support array values
2022-07-01 08:39:12 +02:00
Thomas Gelf
14317a9c20
css, QuickForm: style director-form only
2022-07-01 08:38:33 +02:00
Thomas Gelf
56f81b91bb
Exporter: centralize export logic
...
fixes #2549
2022-06-24 12:52:35 +02:00
Ibrahim Khalifa
4b229c122c
Handle cases when gipfl/linux-health returns false instead of memory usage.
2022-06-24 08:55:09 +02:00
moreamazingnick
83cc12944d
DirectorActivityLog: fix empty activity log exception
...
fixes #2505 : empty activity log causes exception
fixes #2506
2022-03-28 14:52:46 +02:00
Thomas Gelf
1cfc0c427c
ActivityLogInfo: show remarks
...
refs #2471
2022-02-15 21:13:24 +01:00
Thomas Gelf
ecf7bce482
ActivityLogTable: use more space, hover texts
2022-02-09 15:43:09 +01:00
Thomas Gelf
8bcc20e004
ActivityLogTable: support remarks
...
fixes #2471
2022-02-08 08:58:34 +01:00
Thomas Gelf
43dddc58aa
ObjectsController: allow uuid for MultiSelect
...
fixes #2466
2022-02-06 19:13:47 +01:00
Thomas Gelf
9a2d165583
BranchedObjectHint: 404 when deleted
2022-02-06 19:09:30 +01:00
Thomas Gelf
d615ce932c
DirectorObjectForm: do not return void
2022-02-06 11:48:03 +01:00
Thomas Gelf
6db30263d0
DirectorObjectForm: allow host (w/o id) in main
2022-02-06 11:47:41 +01:00
Thomas Gelf
2845be7542
DirectorObjectForm: remove unused method
2022-02-06 11:47:23 +01:00
Thomas Gelf
818ee7a01a
DirectorObjectForm: don't set vals twice on create
2022-02-06 11:46:22 +01:00
Johannes Meyer
420dfcbdbf
Avoid passing non-string args to ctype_*()
functions
2022-01-14 11:31:55 +01:00
Thomas Gelf
36babe65f7
IcingaServiceSetServiceTable: use host uuid for...
...
...Set Member related to host
2021-12-23 13:46:37 +01:00
Thomas Gelf
212596a41e
ObjectSetTable: drop name from link
2021-12-23 10:07:07 +01:00
Thomas Gelf
27e5e72f41
ObjectsTable: do not apply restrictions to objects
...
...created in the current config branch
2021-12-17 17:16:50 +01:00
Thomas Gelf
f77d5b8d0c
HostController: show services for hosts created...
...
...in a branch
2021-12-17 13:57:18 +01:00
Thomas Gelf
e3cae7c20a
ObjectsTable: remove outdated/duplicate method
2021-12-17 13:56:37 +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
b07ee0dd8e
TemplatesTable: use uuid for history link
2021-12-14 10:42:48 +01:00