Commit 8adf436
Multiple enhancements within servcheck_test and servcheck_process (#67)
* Refactor certificate expiry handling and notifications
Updated certificate expiry date handling and notification logic.
The previous certificate expiry date logic retrieves the expiry date as UTC not local.
Enhanced the code so that to eliminate unnecessary overwhelming email notifications, for every change in the certificate. It is recommended to be disabled so that to focust on the expiring and expired certificates.
Enhanced the code so that to eliminate unnecessary overwhelming email notifications, for every change search string. It is recommended to be disabled so that to focus on the notifications that require action.
* Add styles for selected table rows in servcheck_test
Added styles for selected table rows to change background and font color.
// When a row is selected, set the backgound-color as black and font color as white
print "<style>
tr.tableRow.selectable.selected, tr.tableRow.selectable.selected td {
background-color: #000 !important;
color: #fff !important;
}
</style>";
* Change 'ok' color code in arrays.php
* Enhance row selection and hover styles in servcheck_test
* Fix typo in comment for row styling
* Refactor email sending logic in servcheck_process.php
* Update servcheck_test.php
Co-authored-by: Copilot <[email protected]>
* Update servcheck_process.php
Co-authored-by: Copilot <[email protected]>
* Update servcheck_test.php
Co-authored-by: Copilot <[email protected]>
* Refactor CSS for selectable rows to use function
Replaced inline CSS for selectable rows with a function call.
* Fix typo in comment for email notifications
* Update servcheck_process.php
* Update servcheck_process.php
Co-authored-by: Copilot <[email protected]>
* Include local timezone in certificate expiration messages
Added local timezone information to certificate expiration notifications.
---------
Co-authored-by: Copilot <[email protected]>1 parent 1c8eff2 commit 8adf436
File tree
3 files changed
+66
-40
lines changed- includes
3 files changed
+66
-40
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
258 | | - | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
259 | 269 | | |
260 | 270 | | |
261 | 271 | | |
| |||
416 | 426 | | |
417 | 427 | | |
418 | 428 | | |
419 | | - | |
| 429 | + | |
420 | 430 | | |
421 | 431 | | |
422 | 432 | | |
| |||
586 | 596 | | |
587 | 597 | | |
588 | 598 | | |
589 | | - | |
| 599 | + | |
590 | 600 | | |
591 | | - | |
| 601 | + | |
592 | 602 | | |
593 | 603 | | |
594 | 604 | | |
| |||
653 | 663 | | |
654 | 664 | | |
655 | 665 | | |
656 | | - | |
657 | | - | |
658 | | - | |
659 | | - | |
660 | | - | |
661 | | - | |
662 | | - | |
663 | | - | |
664 | | - | |
665 | | - | |
666 | | - | |
667 | | - | |
668 | | - | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
669 | 673 | | |
670 | 674 | | |
671 | 675 | | |
| |||
683 | 687 | | |
684 | 688 | | |
685 | 689 | | |
686 | | - | |
| 690 | + | |
687 | 691 | | |
688 | | - | |
| 692 | + | |
689 | 693 | | |
690 | 694 | | |
691 | 695 | | |
| |||
698 | 702 | | |
699 | 703 | | |
700 | 704 | | |
701 | | - | |
702 | | - | |
703 | | - | |
704 | | - | |
705 | | - | |
706 | | - | |
707 | | - | |
708 | | - | |
709 | | - | |
710 | | - | |
711 | | - | |
712 | | - | |
713 | | - | |
714 | | - | |
715 | | - | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
716 | 715 | | |
717 | | - | |
718 | | - | |
719 | | - | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
720 | 726 | | |
721 | 727 | | |
722 | 728 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
934 | 934 | | |
935 | 935 | | |
936 | 936 | | |
937 | | - | |
| 937 | + | |
938 | 938 | | |
939 | 939 | | |
940 | 940 | | |
| |||
1143 | 1143 | | |
1144 | 1144 | | |
1145 | 1145 | | |
1146 | | - | |
| 1146 | + | |
1147 | 1147 | | |
1148 | 1148 | | |
1149 | 1149 | | |
| |||
1243 | 1243 | | |
1244 | 1244 | | |
1245 | 1245 | | |
| 1246 | + | |
| 1247 | + | |
| 1248 | + | |
1246 | 1249 | | |
1247 | 1250 | | |
1248 | 1251 | | |
| |||
1351 | 1354 | | |
1352 | 1355 | | |
1353 | 1356 | | |
| 1357 | + | |
| 1358 | + | |
| 1359 | + | |
| 1360 | + | |
| 1361 | + | |
| 1362 | + | |
| 1363 | + | |
| 1364 | + | |
| 1365 | + | |
| 1366 | + | |
| 1367 | + | |
| 1368 | + | |
| 1369 | + | |
| 1370 | + | |
1354 | 1371 | | |
1355 | 1372 | | |
1356 | 1373 | | |
| 1374 | + | |
| 1375 | + | |
| 1376 | + | |
1357 | 1377 | | |
1358 | 1378 | | |
1359 | 1379 | | |
| |||
0 commit comments