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-05-24 22:21:54 +02:00
2023-10-29 22:46:04 -05:00
2023-05-24 22:21:54 +02:00
2023-05-24 22:21:54 +02:00
2022-11-05 14:43:54 -05:00
2024-07-05 09:02:11 -05:00
2024-06-03 21:29:29 -05:00
2023-05-24 22:21:54 +02:00
2023-05-24 22:21:54 +02:00
2024-09-04 15:58:50 -05:00
2023-05-24 22:21:54 +02:00
2024-07-26 08:45:34 -05:00
2022-07-20 15:27:57 +02:00
2023-05-24 22:21:54 +02:00