bb-plane-fork/apps/api/plane
Nikhil 1a9ebc8b68
[WEB-5071] chore: implement webhook logging to MongoDB and fallback to database (#7896)
* feat: implement webhook logging to MongoDB and fallback to database (#7887)

- Added a new function `save_webhook_log` to log webhook requests and responses to MongoDB, with a fallback to the database if the MongoDB save fails.
- Updated the `webhook_send_task` to utilize the new logging function.
- Modified the `get_webhook_logs_queryset` to order logs by creation date and adjusted the chunk size for iteration.

* refactor: clean up log data formatting in save_webhook_log function

* fix: update retry_count type in save_webhook_log function
2025-10-15 14:53:43 +05:30
..
analytics chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
api [WEB-5038] fix: cycle creation in external api endpoint (#7866) 2025-10-07 18:50:09 +05:30
app [WEB-5081] fix: update timezone in user settings #7915 2025-10-07 20:51:44 +05:30
authentication Add codespell support (config, workflow to detect/not fix) and make it fix some typos (#7864) 2025-10-07 17:42:49 +05:30
bgtasks [WEB-5071] chore: implement webhook logging to MongoDB and fallback to database (#7896) 2025-10-15 14:53:43 +05:30
db [WEB-4999] feat: implement flexible data export utility with CSV, JSON, and XLSX support (#7884) 2025-10-14 15:46:55 +05:30
license [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
middleware [WIKI-730] chore: handle body too large error (#7963) 2025-10-14 17:21:11 +05:30
seeds/data [WEB-5058] feat: enhance workspace seeding with cycles, modules, and views creation (#7951) 2025-10-11 20:55:48 +05:30
settings [WIKI-730] chore: handle body too large error (#7963) 2025-10-14 17:21:11 +05:30
space [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
static chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
tests [WEB-5038] fix: cycle creation in external api endpoint (#7866) 2025-10-07 18:50:09 +05:30
utils [WEB-4999] feat: implement flexible data export utility with CSV, JSON, and XLSX support (#7884) 2025-10-14 15:46:55 +05:30
web chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
__init__.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
asgi.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
celery.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
urls.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
wsgi.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30