Commit Graph

363 Commits

Author SHA1 Message Date
5112090a35 fix: custom reminder 2026-06-24 19:50:50 +07:00
e2dcbe74d3 fix: add cron in reminder monthly 2026-06-24 19:34:31 +07:00
55aa2f05c6 fix: reminder monthly, and cron in reminder reminder monthly 2026-06-24 19:33:23 +07:00
c0874f69df fix(module): add node-cron dependency 2026-06-24 16:16:55 +07:00
8fd317083b add: feature reminder custom device with cron-job 2026-06-23 21:59:02 +07:00
da8cdcb705 fix(reminder_monthly): fix loop blocking issue by scoping validation to device_id 2026-06-11 15:43:13 +07:00
e0b227c9b8 add: validation error in onMonthlySparepartReminder 2026-06-11 13:39:08 +07:00
Muhammad Afif
297db50e72 fix: change email validate to opsional in contact schema 2026-06-05 19:46:44 +07:00
Muhammad Afif
69ba363c14 repair: change email schema optional to required 2026-06-05 14:09:29 +07:00
Muhammad Afif
ab5fe3e9c4 add: columns / field email in contact 2026-06-05 13:42:30 +07:00
Muhammad Afif
40de826da9 add: reminder whatsapp sparepart monthly 2026-06-05 09:17:45 +07:00
Muhammad Afif
3d53bf4702 fix: is_send & is_delivered in onNotificationReminder 2026-06-03 15:08:55 +07:00
Muhammad Afif
73b05c5d0d repair api resend wa & delete log.json 2026-06-01 14:50:35 +07:00
1af02c2d36 Merge pull request 'feat: add dayjs for date handling and update reminder logic to use timezone-aware timestamps' (#59) from wisdom into main
Reviewed-on: #59
2026-05-04 05:57:35 +00:00
6a949e52b5 feat: add dayjs for date handling and update reminder logic to use timezone-aware timestamps 2026-05-04 12:56:20 +07:00
e295d781db Merge pull request 'fix: improve reminder deletion logic by ensuring id is a number and simplifying data filtering' (#58) from wisdom into main
Reviewed-on: #58
2026-05-03 13:53:05 +00:00
d23563f69b fix: improve reminder deletion logic by ensuring id is a number and simplifying data filtering 2026-05-03 20:52:35 +07:00
61ff3271bb Merge pull request 'fix: remove redundant update of is_active flag in notification error handling' (#57) from wisdom into main
Reviewed-on: #57
2026-05-03 13:23:11 +00:00
b4e2a1e830 fix: remove redundant update of is_active flag in notification error handling 2026-05-03 20:22:40 +07:00
4cfd72aefc Merge pull request 'fix: simplify notification update logic by removing is_active flag from notification error update' (#56) from wisdom into main
Reviewed-on: #56
2026-05-03 13:18:24 +00:00
452bfed2db fix: simplify notification update logic by removing is_active flag from notification error update 2026-05-03 20:17:50 +07:00
c6174c1b99 Merge pull request 'fix: comment out console log for received MQTT messages to reduce logging noise' (#55) from wisdom into main
Reviewed-on: #55
2026-05-03 13:06:24 +00:00
78f0cac214 fix: comment out console log for received MQTT messages to reduce logging noise 2026-05-03 20:05:29 +07:00
b0fcf6e144 Merge pull request 'fix: update notification error handling to include new update method and improve reminder deletion logic' (#54) from wisdom into main
Reviewed-on: #54
2026-05-03 12:49:38 +00:00
acb084475d fix: update notification error handling to include new update method and improve reminder deletion logic 2026-05-03 19:26:51 +07:00
6d06751554 Merge pull request 'fix: update notification query to use COALESCE for device details and add additional LEFT JOIN for fallback handling' (#53) from wisdom into main
Reviewed-on: #53
2026-04-30 11:16:25 +00:00
abbce10e32 fix: update notification query to use COALESCE for device details and add additional LEFT JOIN for fallback handling 2026-04-30 18:10:28 +07:00
1d326cc2ed Merge pull request 'fix: update saveReminder method to handle reset logic for reminders' (#52) from wisdom into main
Reviewed-on: #52
2026-04-30 09:55:19 +00:00
2c90b4defc fix: update saveReminder method to handle reset logic for reminders 2026-04-30 16:54:12 +07:00
0b16cfd6a3 Merge pull request 'fix: update device name handling in notification service to ensure fallback value is used' (#51) from wisdom into main
Reviewed-on: #51
2026-04-30 08:59:25 +00:00
bca65fe090 fix: update device name handling in notification service to ensure fallback value is used 2026-04-30 15:58:53 +07:00
964889fd0b Merge pull request 'add: await in data filtering logic' (#50) from wisdom into main
Reviewed-on: #50
2026-04-30 08:55:09 +00:00
b811accc48 fix: correct device name reference in notification message and adjust error handling in reminder saving logic 2026-04-30 15:54:30 +07:00
mhmmdafif
3c098d1c69 add: await in data filtering logic 2026-04-30 15:22:42 +07:00
501392e1c1 Merge pull request 'refactor: update notification service to use deleteReminder from notifikasiWaService and improve data filtering logic' (#49) from wisdom into main
Reviewed-on: #49
2026-04-30 07:09:42 +00:00
7940646a1f refactor: update notification service to use deleteReminder from notifikasiWaService and improve data filtering logic 2026-04-30 13:08:27 +07:00
8112ba7b76 Merge pull request 'wisdom' (#48) from wisdom into main
Reviewed-on: #48
2026-04-30 02:48:05 +00:00
3428ad6d1f fix: improve loadReminder method to handle file reading errors and return empty array if file does not exist 2026-04-29 17:25:58 +07:00
3b26e06ffe feat: integrate spareparts reminder functionality into notification service 2026-04-29 17:23:08 +07:00
12ff3d5b21 feat: enhance notification and reminder services with logging and time tracking 2026-04-29 16:28:58 +07:00
599f758225 Merge pull request 'feat: implement reminder functionality and enhance notification service with logging' (#47) from wisdom into main
Reviewed-on: #47
2026-04-29 08:36:05 +00:00
a2a64a972f feat: implement reminder functionality and enhance notification service with logging 2026-04-29 15:32:03 +07:00
05e14e02c5 Merge pull request 'feat: enhance sparepart database queries and sparepart number validation' (#46) from wisdom into main
Reviewed-on: #46
2026-04-27 11:21:09 +00:00
51f4ea2bff feat: enhance sparepart database queries and sparepart number validation 2026-04-27 17:22:21 +07:00
7b41dd81e8 Merge pull request 'wisdom' (#45) from wisdom into main
Reviewed-on: #45
2026-04-27 06:31:20 +00:00
b7fa4b3d07 feat: add optional fields listen_channel_reminder and reminder_at to device schema 2026-04-26 13:38:33 +07:00
cb5e864206 feat: add sparepart_number and sparepart_yearly fields to sparepart schema and database queries 2026-04-25 19:40:53 +07:00
c86800add0 Merge pull request 'wisdom' (#44) from wisdom into main
Reviewed-on: #44
2026-04-13 08:30:07 +00:00
0ce6a04f97 repair: add cod-whatsapp-notif in process pm2 2026-04-01 15:09:24 +07:00
76ac604ba8 restart change to start in api restart wa 2026-03-18 18:36:29 +07:00