5439 Commits

Author SHA1 Message Date
Thomas Gelf
7ad9cf6c6c BranchActivity: formatting 2021-10-05 23:33:30 +02:00
Thomas Gelf
b22511e341 Branch: add assertBranch helper method 2021-10-05 23:33:30 +02:00
Thomas Gelf
59f6051623 Branch: use new ts_merge_request column 2021-10-05 23:33:30 +02:00
Thomas Gelf
f7d100ea24 Branch: remove outdated classes 2021-10-05 23:33:30 +02:00
Thomas Gelf
5483093959 MergeError: support BranchActivity 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
2f1a47c34a PlainObjectPropertyDiff: diff calculation 2021-10-05 23:33:30 +02:00
Thomas Gelf
654f845e4e Json: implement decodeOptional() for null support 2021-10-05 23:33:30 +02:00
Thomas Gelf
c2d7b235a5 IcingaConfigDiff: replace duplicate code 2021-10-05 23:33:30 +02:00
Thomas Gelf
5aba966a4b IcingaCommandArgument: use a combined key 2021-10-05 23:33:30 +02:00
Thomas Gelf
792ff03a6d Objects: add uuid column 2021-10-05 23:33:30 +02:00
Thomas Gelf
65bbaa9f98 IcingaObject: custom vars, also load them only...
...when we got an id
2021-10-05 23:33:30 +02:00
Thomas Gelf
182d1b519b IcingaObject: do not load groups when we have...
...no id. With branches this is now possible
2021-10-05 23:33:30 +02:00
Thomas Gelf
1a5df745e3 IcingaObject: add some type-hints 2021-10-05 23:33:30 +02:00
Thomas Gelf
a29efe478c IcingaArguments: remove Argument set to null 2021-10-05 23:33:30 +02:00
Thomas Gelf
5494ab29bd BranchActivity: dedicated class 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
a1fb42878c BranchSettings: some generic settings and helpers 2021-10-05 23:33:30 +02:00
Ravi Kumar Kempapura Srinivasa
90b5f6fdac Convert $imports keys to string explicitly
The keys of $imports in IcingaObjectImports must be converted to string explicitly or else it establishes incorrect parent-child relation
in icinga_host_inheritance table in case the key is integer value and there is an host object with id = key(integer) icinga_host table.
This results in undefined offset while triggering sync rule.
2021-10-01 10:47:54 +02:00
Ravi Kumar Kempapura Srinivasa
6289bf065f Pass $resolved as False for arguments to toPlainObject()
IcingaArguments passes the $resolved through to the individual argument in the toPlainObject. There lies the error,
simply pass false - because the argument itself cannot have any parents and therefore cannot be resolved
2021-10-01 10:47:12 +02:00
Thomas Gelf
378ef5d686 ObjectsTable, Infra: fix method signature
fixes #2395
2021-09-23 07:32:35 +02:00
Thomas Gelf
83c12fefcf SingleServiceInfo: fix URL for single services
This affected clicking "modify" in the monitoring module
2021-09-09 16:25:28 +02:00
Thomas Gelf
de4378cfd3 DbObjectTypeRegistry: support 'serviceset' 2021-09-09 16:17:42 +02:00
Johannes Meyer
82ae0dc52e Host|ServiceActions: Don't check object access if monitoring isn't active 2021-09-01 10:35:32 +02:00
Thomas Gelf
435b1f9b1d BranchModificationStore: centralize encoding rules 2021-08-26 10:18:06 +02:00
Thomas Gelf
6cc902f238 BranchesDashboard: do not fail with no dashlet 2021-08-25 16:24:54 +02:00
Thomas Gelf
b898041caa DirectorObjectForm: use Branch, not UUID 2021-08-25 13:00:56 +02:00
Thomas Gelf
8a280619ad DbObjectStore: load by ID for int keys 2021-08-25 12:14:22 +02:00
Thomas Gelf
430f54837b DeployedConfigInfoHeader: do not re-deploy...
...when being in a branchDeployedConfigInfoHeader: do not re-deploy...

...when being in a branchDeployedConfigInfoHeader: do not re-deploy...

...when being in a branchDeployedConfigInfoHeader: do not re-deploy...

...when being in a branchDeployedConfigInfoHeader: do not re-deploy...

...when being in a branchDeployedConfigInfoHeader: do not re-deploy...

...when being in a branchDeployedConfigInfoHeader: do not re-deploy...

...when being in a branchDeployedConfigInfoHeader: do not re-deploy...

...when being in a branchDeployedConfigInfoHeader: do not re-deploy...

...when being in a branch
2021-08-25 11:38:29 +02:00
Thomas Gelf
a851f58e42 ConfigController: no rendering, no deployment...
...for branches
2021-08-25 11:33:23 +02:00
Thomas Gelf
bdd9e2b1e5 IcingaCloneObjectForm: do not clone templates...
...in branches. Reason: fields
2021-08-25 11:28:51 +02:00
Thomas Gelf
dfdec95358 IcingaObjectModification: allow to pass db
fixes an issue with related objects on create
2021-08-25 00:54:30 +02:00
Thomas Gelf
44b749f2bf BranchModificationStore: cast eventual objects 2021-08-24 18:47:13 +02:00
Thomas Gelf
23f1fae784 BranchModificationStore: fix serialization 2021-08-24 18:46:55 +02:00
Thomas Gelf
607f53fecc BranchesDashboard: prominent hint -> active branch 2021-08-24 16:33:16 +02:00
Thomas Gelf
b321327634 Dashboard: provide space for Branch Hook dashlets 2021-08-24 16:13:22 +02:00
Thomas Gelf
31d6cfe4cd css: color for branch activity 2021-08-23 09:01:34 +02:00
Thomas Gelf
15adce142f ObjectModificationBranchHint: variants, details 2021-08-23 09:01:03 +02:00
Thomas Gelf
290e34a8ca ObjectsTable: add branchUuid, fail-safe 2021-08-23 09:00:26 +02:00
Thomas Gelf
6ff5b0c8d7 ConfigHealthItemRenderer: ask branch for count 2021-08-23 08:58:02 +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
04f3c6363e BranchSupportHook: smaller changes 2021-08-23 08:53:40 +02:00
Thomas Gelf
5002f7a6bf IcingaObjectModification: loop with an array 2021-08-23 08:53:22 +02:00
Thomas Gelf
2897415a1f BranchStore: centralized repository 2021-08-23 08:52:12 +02:00
Thomas Gelf
c79045e9e2 Branch: add a bunch of properties and getters 2021-08-23 08:50:44 +02:00
Thomas Gelf
53b2167925 ConfigController: some hints for branch activity 2021-08-23 08:49:39 +02:00
Thomas Gelf
1470a134f4 Branch support: initial import 2021-08-16 11:43:09 +02:00
Thomas Gelf
38d17af92e DirectorObjectForm: remove unused property 2021-08-16 11:22:50 +02:00