Commit graph

10 commits

Author SHA1 Message Date
Eric Lippmann
272e791390 License source files as GPL-3.0-or-later
Add SPDX license headers and mark source files as GPL-3.0-or-later to
preserve the option to relicense under later GPL versions.
2026-03-11 14:03:05 +01:00
Johannes Rauh
c656f985e5 Add more state pictograms to state balls
Some checks failed
L10n Update / update (push) Has been cancelled
CI / PHP (push) Has been cancelled
Now also add pictograms to state ball in the following cases:
- Disabled active checks
- Disabled notifications
2026-03-06 15:55:51 +01:00
Johannes Rauh
91d71adcb6 Add extra icons for different states 2026-03-06 15:22:58 +01:00
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