Commit graph

7 commits

Author SHA1 Message Date
Johannes Meyer
30658ef116 hosts/services: Fix that overdue items do not appear as such
fixes #1193
2025-05-26 10:31:51 +02:00
Johannes Meyer
234569a29f StateListItem: Don't assume a limit for affected children 2025-03-28 16:53:16 +01:00
Sukhwinder Dhillon
2b060a4f2a Cleanup phpstan baseline and fix code sniffer issues
- Baseline: Nothing new added, only obsolete paths removed

Phpstan now uses single instead of double quotes for messages. Thats why each message is updated.
2025-03-28 16:13:17 +01:00
Sukhwinder Dhillon
62b9c24e45 Define Php generics and phpdoc 2025-03-28 16:13:17 +01:00
Sukhwinder Dhillon
3035bb0538 Update trait TicketLinks and (Comment/Downtime)Renderer class
TicketLinks: Add setter to disable ticket links. By default, ticket links should be created.
Comment/DowntimeRenderer: Add setter noObjectLink()
CommentRenderer: Add setter noSubjectLink(), only used for the comment-popup
2025-03-28 16:13:17 +01:00
Sukhwinder Dhillon
c55f1dceb8 Introduce TicketLinkObjectList and CommentRenderer
TicketLinkObjectList: This class creates object list with ticket links using TicketLinks trait
CommentRenderer: Defines the rendering rules for Comment object
Cleanup css and unused classes
Adjust comment-popup.less
2025-03-28 16:13:16 +01:00
Sukhwinder Dhillon
36ce426bbe Introduce Host/Service Renderer
- Use these renderers in ObjectHeader and ObjectList class
- Remove now superfluous Host/ServiceList and ListItem classes
- DetailsAction: Change visibility of url setter to public (These are called in controller now)
2025-03-28 16:13:16 +01:00