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
..
2018-10-23 22:29:45 +01:00
2022-07-10 11:46:01 +02:00
2022-02-08 23:02:28 +00:00
2024-04-22 23:22:19 -05:00
2024-01-14 20:13:09 +01:00
2024-04-25 15:32:19 -05:00