Commit graph

275 commits

Author SHA1 Message Date
Thomas Gelf
ea7e79248c Html: a bunch of new classes, some changes 2016-11-27 23:54:38 +01:00
Thomas Gelf
34ef3f26af Html: introduce a new namespace 2016-11-27 23:54:03 +01:00
Thomas Gelf
a00fdab37f Cleanup, Url handling improvements, some helpers 2016-11-26 21:18:18 +01:00
Thomas Gelf
1f61d8b728 NestingError: add missing exception class 2016-11-26 21:14:38 +01:00
Thomas Gelf
08f56452fc NodeTests: phpcs 2016-11-26 21:13:54 +01:00
Thomas Gelf
8c05ed7277 Test and implement loop detection
fixes #9786
2016-11-24 10:57:30 +01:00
Thomas Gelf
2fc48f2124 js: Handle collapsed state of multiple trees
fixes #8569
2016-11-24 09:39:44 +01:00
Thomas Gelf
b8df6a8823 BpNode: rename child_nodes to childNode...
...and move method related to children from base Node
2016-11-24 02:40:01 +01:00
Thomas Gelf
cdbd28b25b Link: play nice with those different Url objects 2016-11-24 00:49:09 +01:00
Thomas Gelf
d51dc6cd07 NotOperatorTest: remove obsolete test 2016-11-24 00:48:50 +01:00
Thomas Gelf
91087b73ab Host/ServiceNode: fix tests using Link component
That way it's no longer directly based on Icinga\Web\Url and runs through.
Also fixed wrong expectations in HostNodeTest
2016-11-24 00:35:22 +01:00
Thomas Gelf
8c12491a84 Host/ServiceNodeTest: just a few simple tests
fixes #13303
2016-11-24 00:29:30 +01:00
Thomas Gelf
e6c292333b FakeRequest, Url-Wrapper: allow tests involving...
...Url::fromPath

fixes #13301
2016-11-24 00:20:59 +01:00
Thomas Gelf
12a9459eaf LegacyStorageTest: improve readability...
...and move config "loading" to BaseTestCase
2016-11-23 23:03:48 +01:00
Thomas Gelf
d6f1d86ea4 NotOperatorTest: make it easier to understand 2016-11-23 23:02:32 +01:00
Thomas Gelf
8b9716c9b2 Operators: add new tests and a related helper
fixes #13299
2016-11-23 22:41:10 +01:00
Thomas Gelf
a19bbfed63 ProcessCommand: document new flags and options
fixes #10866
2016-11-23 21:10:48 +01:00
Thomas Gelf
c774d686a0 NotOperatorTest: test NOT operator, parser and...
...state evaluation

fixes #10315
2016-11-23 20:55:57 +01:00
Thomas Gelf
4506181f0c BusinessProcess,Node: new helper methods
Mostly (but not only) useful for tests
2016-11-23 20:51:39 +01:00
Thomas Gelf
656a5ada0e ProcessCommand: add a 'list' action
fixes #13293
2016-11-23 15:29:14 +01:00
Thomas Gelf
1e351a7724 ProcessCommand: replace and deprecate CheckCommand
fixes #13295
2016-11-23 15:20:46 +01:00
Dirk Goetz
cc93a1d04a Change pipe to broken pipe for or in detail output
refs #10868
2016-11-23 15:17:25 +01:00
Thomas Gelf
5189c79a27 LegacyStorage: split header handling 2016-11-23 15:17:25 +01:00
Thomas Gelf
afcf42e871 phpcs: some more 2016-11-23 15:17:25 +01:00
Thomas Gelf
2b98629f3e Modification: move modification handling to...
...a dedicated namespace
2016-11-23 15:17:25 +01:00
Thomas Gelf
9acdba0dc4 various: fix some phpcs PSR2 complaints 2016-11-23 15:17:25 +01:00
Thomas Gelf
a2fd587989 LegacyStorage: reorganize some methods 2016-11-23 15:17:25 +01:00
Thomas Gelf
9087c2614c LegacyStorageTest: add a bunch of tests 2016-11-23 15:17:25 +01:00
Thomas Gelf
9e17ff21ba Test: add base test framework 2016-11-23 15:17:25 +01:00
Thomas Gelf
95d8696705 Node: alllow to get any state name, fix typo 2016-11-23 15:17:25 +01:00
Thomas Gelf
db8f0c5475 ProcessChanges,NodeAction(s): cleanup, docs 2016-11-23 15:17:25 +01:00
Thomas Gelf
da3f3d6a63 BusinessProcess: fix (unused) method usesHardStates 2016-11-23 15:17:25 +01:00
Thomas Gelf
30cdc70783 edit/simulationlink: remove obsolete view scripts 2016-11-23 15:17:25 +01:00
Thomas Gelf
924a2fd321 BusinessProcess: fallback for missing host 2016-11-23 15:17:25 +01:00
Thomas Gelf
0251bc5edb Host/ServiceNode: introduce common base class 2016-11-23 15:17:25 +01:00
Thomas Gelf
0b6cf208f0 Node: fix hasMissingChildren() 2016-11-23 15:17:25 +01:00
Thomas Gelf
e93d626d09 Controller, css: add action bar 2016-11-23 15:17:25 +01:00
Thomas Gelf
8151769592 Web\Component: introduce a couple of web components 2016-11-23 15:17:25 +01:00
Thomas Gelf
6da0c7c722 ShipConfigFiles: stop using legacy hook 2016-11-23 15:17:25 +01:00
Thomas Gelf
ac82187f5b BpNode: fix error for missing children 2016-11-23 15:17:25 +01:00
Thomas Gelf
93fff13209 (Bp)Node: add get/hasMissingChildren method 2016-11-23 15:17:25 +01:00
Thomas Gelf
1e145f127f css/module: do not reduce font size, web2 does so
NB: font size after third level will still be slightly reduced
2016-11-23 15:17:25 +01:00
Thomas Gelf
f25f141820 LegacyStorage: be more conservative on pointers 2016-11-23 15:17:25 +01:00
Thomas Gelf
311fd54552 Controller: 404 on missing process or perms 2016-11-23 15:17:25 +01:00
Thomas Gelf
3332a06792 LegacyStorage: add hasProcess, respecting perms 2016-11-23 15:17:25 +01:00
Thomas Gelf
3efd53b97a LegacyStorage: add missing fclose 2016-11-23 15:17:25 +01:00
Thomas Gelf
91fca69566 LegacyStorage: permission check for process lists 2016-11-23 15:17:25 +01:00
Thomas Gelf
fd3c577cb4 NodeController: benefit from simpler forms 2016-11-23 15:17:25 +01:00
Thomas Gelf
450cfc0403 DeleteConfigForm: this is no longer needed 2016-11-23 15:17:25 +01:00
Thomas Gelf
1c54d8be2c CreateConfigForm: remove obsolete file 2016-11-23 15:17:25 +01:00