[PR #1056] [CLOSED] [ENH] Add telegram notification webhook when new messages are detected #1230

Closed
opened 2026-02-25 21:37:38 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/cypht-org/cypht/pull/1056
Author: @Shadow243
Created: 5/31/2024
Status: Closed

Base: masterHead: webhook


📝 Commits (10+)

  • c516fa7 [ENH] Preparing webhook token setting
  • 3fb1d36 [FIX]fixing reset icon to work on Restore current value and Restore default value
  • 4ce0bae [ENH]Telegram webhook notification
  • d822178 [REF] Refactor webhook codebase and fix small issues
  • 391e40d [FIX]Telegram webhook notification: Notify for unread emails every 5minutes.
  • c9792fe [FIX]Telegram webhook notification: Set an configurable interval for notifications
  • 84fdd85 Adding phpunit tests
  • 9d501bd [ENH]Telegram webhook interval: making it work
  • 8ce1ea4 Merge branch 'webhook' of github.com:Shadow243/cypht into webhook
  • 3d92d40 Correct phpunit tests

📊 Changes

13 files changed (+259 additions, -6 deletions)

View changed files

lib/telegram_webhook.php (+86 -0)
📝 modules/core/functions.php (+14 -0)
📝 modules/core/handler_modules.php (+1 -0)
📝 modules/core/modules.php (+1 -0)
📝 modules/core/output_modules.php (+1 -0)
📝 modules/core/site.js (+47 -1)
📝 modules/feeds/hm-feed.php (+1 -1)
📝 modules/imap/handler_modules.php (+41 -1)
📝 modules/imap/output_modules.php (+42 -0)
📝 modules/imap/setup.php (+12 -1)
📝 modules/imap/site.js (+10 -0)
📝 tests/phpunit/bootstrap.php (+1 -0)
📝 tests/phpunit/modules/core/output_modules.php (+2 -2)

📄 Description

Related issue: https://github.com/cypht-org/cypht/issues/178


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/cypht-org/cypht/pull/1056 **Author:** [@Shadow243](https://github.com/Shadow243) **Created:** 5/31/2024 **Status:** ❌ Closed **Base:** `master` ← **Head:** `webhook` --- ### 📝 Commits (10+) - [`c516fa7`](https://github.com/cypht-org/cypht/commit/c516fa7b876e8b5a9bb184838f9f66505d4dd697) [ENH] Preparing webhook token setting - [`3fb1d36`](https://github.com/cypht-org/cypht/commit/3fb1d360d10e2ed6a343df1ac09066c467c6f7b0) [FIX]fixing reset icon to work on Restore current value and Restore default value - [`4ce0bae`](https://github.com/cypht-org/cypht/commit/4ce0baef1973712c7e8ef1af48d683bf650179ae) [ENH]Telegram webhook notification - [`d822178`](https://github.com/cypht-org/cypht/commit/d8221783eaed9424839ba512517ef87c9dec569a) [REF] Refactor webhook codebase and fix small issues - [`391e40d`](https://github.com/cypht-org/cypht/commit/391e40d9f9cea80af52cd2372d6ee0f54b29fb37) [FIX]Telegram webhook notification: Notify for unread emails every 5minutes. - [`c9792fe`](https://github.com/cypht-org/cypht/commit/c9792fe7dcfd945446b96561bfc41163aa1479c0) [FIX]Telegram webhook notification: Set an configurable interval for notifications - [`84fdd85`](https://github.com/cypht-org/cypht/commit/84fdd85bd6e8c9ff4255215af52ad344ac3b30e4) Adding phpunit tests - [`9d501bd`](https://github.com/cypht-org/cypht/commit/9d501bd12f8fa9f5f15cad9f63b503bb693c224a) [ENH]Telegram webhook interval: making it work - [`8ce1ea4`](https://github.com/cypht-org/cypht/commit/8ce1ea4c1b6c00771d3e525d21321fd0f30ab648) Merge branch 'webhook' of github.com:Shadow243/cypht into webhook - [`3d92d40`](https://github.com/cypht-org/cypht/commit/3d92d40a1905fc641d799c6edced2ed1c01c6756) Correct phpunit tests ### 📊 Changes **13 files changed** (+259 additions, -6 deletions) <details> <summary>View changed files</summary> ➕ `lib/telegram_webhook.php` (+86 -0) 📝 `modules/core/functions.php` (+14 -0) 📝 `modules/core/handler_modules.php` (+1 -0) 📝 `modules/core/modules.php` (+1 -0) 📝 `modules/core/output_modules.php` (+1 -0) 📝 `modules/core/site.js` (+47 -1) 📝 `modules/feeds/hm-feed.php` (+1 -1) 📝 `modules/imap/handler_modules.php` (+41 -1) 📝 `modules/imap/output_modules.php` (+42 -0) 📝 `modules/imap/setup.php` (+12 -1) 📝 `modules/imap/site.js` (+10 -0) 📝 `tests/phpunit/bootstrap.php` (+1 -0) 📝 `tests/phpunit/modules/core/output_modules.php` (+2 -2) </details> ### 📄 Description Related issue: [https://github.com/cypht-org/cypht/issues/178](https://github.com/cypht-org/cypht/issues/178) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-25 21:37:38 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cypht#1230
No description provided.