Commit graph

4 commits

Author SHA1 Message Date
callumalpass
eba0578459 clean plugin review lint warnings 2026-05-13 19:13:17 +10:00
callumalpass
f6450c8c3e Fix time-entry timezone consistency and remove persisted durations 2026-02-16 08:04:27 +11:00
callumalpass
0fb618b539 improve: add detailed error logging for webhook transform failures
- Add comprehensive error messages for transform file loading failures
- Include file path validation and existence checking
- Add function validation warnings for missing transform functions
- Provide step-by-step logging for transform execution
- Add minimal transform examples for Discord and Slack

Fixes silent failures that made debugging transform issues difficult.
Addresses issue #719 where users couldn't identify why transform scripts weren't loading.
2025-09-27 22:26:43 +10:00
Callum Alpass
7c26e9d3ca docs: add webhook transform examples and documentation
- Add comprehensive transform examples for Discord, Slack, Teams, and generic JSON
- Include ready-to-use JavaScript transforms with rich formatting
- Add JSON template examples showing variable substitution
- Create detailed README with usage instructions, debugging tips, and best practices
- Link transform examples from main webhooks documentation
- Support all webhook events including new recurring.instance.completed event

Examples include:
- discord-webhook.js: Rich embeds with colors and emojis
- slack-webhook.js: Slack-compatible attachments and formatting
- teams-webhook.json: Microsoft Teams MessageCard format
- simple-template.json: Basic JSON template for custom APIs
2025-08-13 12:46:08 +10:00