77 Commits

Author SHA1 Message Date
Eric Lippmann
00985429c5 Fix PSR-12 violations 2024-10-22 14:31:14 +02:00
Sukhwinder Dhillon
c25a66b484 Avoid inline css style 2024-01-19 15:17:41 +01:00
Sukhwinder Dhillon
4ef7f5664a ActionController::backend(): Add condition to check which backend should be used
- If both are available
2024-01-16 09:51:47 +01:00
Sukhwinder Dhillon
956cce84cb Cleanup code
- Remove superfluous methods/usages
- Simplify the code
2024-01-16 09:51:44 +01:00
Sukhwinder Dhillon
604667ca65 Relocate Backend classes 2024-01-15 16:25:02 +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
Sukhwinder Dhillon
89134e0366 Remove obsolate class Backend and its usages
- Create the backend directly in ActionController::backend()
- Simplify the code
2024-01-15 16:24:25 +01:00
Tobias Tiederle
1c6090193d add support for icingadb as only icingaweb2 data backend 2023-12-04 10:12:54 +01:00
Thomas Gelf
40254714b8 Permissions: refactor, fix monitoring module checks
fixes #2712
2023-02-23 11:51:53 +01:00
Thomas Gelf
6786cc768f Director: some fixes for PHP v8.1
refs #2435
2021-11-24 11:56:18 +01:00
Thomas Gelf
44ca8890f2 ActionController: check view->compact
fixes #2141
2021-07-13 01:01:49 +02:00
Thomas Gelf
24a5411a93 ActionController: provide response-helper for all
...controllers
2020-10-26 16:39:36 +01: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
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
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
Thomas Gelf
5d113b3833 BasketController: allow to download JSON via Web 2018-10-15 15:03:57 +02:00
Thomas Gelf
3d1ccf17a3 ActionController: add exception to phpdoc 2018-06-14 08:41:43 +02:00
Thomas Gelf
885f76715a ActionController: cleanup 2018-06-07 23:37:28 +02:00
Thomas Gelf
4f8c60bb46 various: cleanup, sop using deprecated methods 2018-05-05 00:24:49 +02:00
Thomas Gelf
76ac1e104e configuration.php: add director/showsql permission
fixes #1225
2017-10-10 17:33:33 +02:00
Thomas Gelf
d1e116a5a1 ipl: rename to dipl
fixes #1217
2017-10-09 15:23:27 +02:00
Thomas Gelf
4caf3fce51 ActionController: allow for fluent use of...
...assertOneOfPermissions
2017-10-07 17:25:18 +02:00
Thomas Gelf
f74cb93533 ActionController: handle view=compact
fixes #1133
2017-09-03 09:35:09 +02:00
Thomas Gelf
8154d433d4 ActionController: initialize ipl translator
fixes #1076
2017-08-22 00:13:41 +02:00
Thomas Gelf
a4abe398ac ActionController: add new helpers, remove obsolete
...ones
2017-08-16 15:30:46 +02:00
Thomas Gelf
92cbdb7db6 ActionController: remove obsolete code 2017-08-02 16:59:56 +02:00
Thomas Gelf
cda6970594 ipl: Components are now Widgets 2017-07-20 10:19:32 +02:00
Thomas Gelf
0c7e3eee41 Data: controller, table, form - ipl adjustments 2017-07-14 13:21:42 +02:00
Thomas Gelf
ceebe08ecd TemplateChoice: work without form loader 2017-07-14 13:21:42 +02:00
Thomas Gelf
0cf6676c3c Host/Service/ObjectController: use more ipl 2017-07-14 13:21:42 +02:00
Thomas Gelf
74dfbcaa67 ActionController: treat different viewRenderers 2017-07-14 13:21:42 +02:00
Thomas Gelf
117eeee67e ActionController: use traits, less code 2017-07-14 13:21:42 +02:00
Thomas Gelf
b7a10d296c phpcs: mostly new PSR-2 SpacingAfter/Before checks 2017-01-13 20:54:52 +01:00
Thomas Gelf
2416007b24 ActionController: fix indentation 2017-01-13 19:59:11 +01:00
Thomas Gelf
9e771f2d5a Fix phpcs complaints 2017-01-13 19:47:54 +01:00
Thomas Gelf
068735021b ActionController: fix REST API issue 2016-12-14 15:04:00 +01:00
Thomas Gelf
588926a9f9 config/activities: allow to filter them
fixes #12239
2016-11-07 22:04:51 +01:00
Thomas Gelf
b2c834e7a4 permissions: provide new ones and enforce them
fixes #13039
2016-11-03 16:06:35 +01:00
Markus Frosch
e368b32ec6 ActionController: Add load helper for IcingaConfig 2016-11-03 13:41:44 +01:00
Thomas Gelf
ee0def7d2b Lots of files: make IDE users happy 2016-11-01 18:28:36 +01:00
Thomas Gelf
8c2d5ec7f9 Data: flip field/list order, as fields are...
...more important
2016-10-17 17:24:27 +00:00
Thomas Gelf
732ebae339 ActionController: provide a singleTab helper 2016-10-14 13:46:06 +00:00
Thomas Gelf
4c70a61060 ListController: get rid of global import history 2016-06-26 15:48:39 +02:00
Thomas Gelf
6254a0de3a ActionController: remove render() call 2016-06-16 14:14:38 +02:00
Thomas Gelf
576d62da26 IcingaObject: use resolved zone for apply/tpl 2016-05-10 20:23:45 +02:00
Thomas Gelf
c1185106fa ObjectController: failsafe api access 2016-03-29 19:27:54 +02:00
Thomas Gelf
98b7b7be3f ActionController: commit missing helper method 2016-03-21 12:12:33 +01:00
Thomas Gelf
3fcb0d9849 controllers/filter: shift modifyFilter 2016-03-21 12:11:33 +01:00