Files
jiannelli 4dd369294e Fix Discord Transport when Fields to Embed Left Empty (#16439)
* Add PHPUnit test for LibreNMS Discord transport

* Style

* Adding comments for methods and others.

* Refactor title, color, embedFields and footer to its own methods.
Renaming and comments.

* testDiscordDelivery includes img and html tags.

* testDiscordDelivery tests INI options

* renamed getter methods for clarity.
Refactor to includeINIFields() method.

* refactor attribute $discord_message;

* Discord.php: Bugfix "Error: Invalid Field" when discord-embed-fields is left empty.
Discord.php: Removed DEFAULT_EMBEDS (defaults are not working with text fields).

DiscordTest.php: transport config tests improved.

* Transport.md: Documented options, images and ebed fields. Better examples.

* typos

* styleCI and PHPStan

* StyleCI

* StyleCI
2024-10-06 21:40:08 +01:00
..
2023-07-31 22:26:21 -05:00
2023-05-24 22:21:54 +02:00
2024-09-04 09:53:04 -05:00
2024-09-15 02:13:11 +02:00
2024-09-29 11:05:44 -05:00
2024-09-29 11:05:44 -05:00
2024-08-06 13:11:44 -05:00
2023-08-05 12:12:36 -05:00
2024-09-13 16:25:23 +02:00
2024-09-13 16:25:23 +02:00
2023-05-24 22:21:54 +02:00
2024-09-03 13:18:38 -05:00
2023-10-04 16:32:02 -05:00
2023-10-04 10:32:59 -05:00