Commit graph

307 commits

Author SHA1 Message Date
Rajpreet0
669c769878 fix pwa 2026-09-14 18:05:13 +02:00
Rajpreet0
711b02dffb fix: address code review findings on PWA/push feature
- serwist route: force useNativeEsbuild to avoid depending on the
  esbuild-wasm auto-detection fallback
- InstallPrompt/NotificationPrompt: switch to useSyncExternalStore so
  browser-dependent eligibility no longer causes a hydration mismatch
  and no longer sets state synchronously inside an effect body
- NotificationPrompt: a failed subscribe/server-registration no longer
  permanently dismisses the prompt (localStorage), keeping an in-app
  retry path; a granted-but-unregistered subscription is detected via
  pushManager.getSubscription() and re-offers the prompt
- send-push: bound each webpush.sendNotification call with a timeout
  so an unresponsive endpoint can't leave the settle indefinitely
- push-subscription-actions: validate endpoint against an allowlist of
  known push service origins before persisting (SSRF hardening), and
  scope unsubscribeFromPush to the authenticated recipient
- create-notification: wrap the push side-effect in next/server's
  after() so a serverless function isn't frozen mid-delivery
- DiscountCodeList: disable close/cancel controls while a save is
  in flight

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-14 16:51:12 +02:00
Rajpreet0
c7da35649c fix: add esbuild-wasm dependency for serwist CI build
@serwist/turbopack defaults to esbuild-wasm on non-Windows platforms
(useNativeEsbuild only defaults true on win32), so the Linux CI runner
failed with ERR_MODULE_NOT_FOUND while esbuild alone worked locally on
Windows. Installing esbuild-wasm alongside esbuild covers both paths.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-14 16:32:15 +02:00
Rajpreet0
163ae46468 added pwa infrastructure and push notifcation 2026-09-14 16:26:18 +02:00
Rajpreet0
b6e1ddc265
Merge pull request #163 from Since-3/bug/dependencies
Bug/dependencies
2026-09-14 13:05:29 +02:00
Rajpreet0
2e895d0bc7 fix dependencies 2026-09-14 12:56:25 +02:00
Rajpreet0
b204dbd672 Merge branch 'dev' of https://github.com/Since-3/Kuma into dev 2026-09-13 20:11:36 +02:00
Rajpreet0
8bddf939b9
Merge pull request #162 from Since-3/feature/discount-codes
added discount codes
2026-09-13 20:11:25 +02:00
Rajpreet0
f6f1973086 see comments 2026-09-13 19:58:17 +02:00
Rajpreet0
fad1dd2106 Merge branch 'dev' of https://github.com/Since-3/Kuma into dev 2026-09-13 18:47:15 +02:00
Rajpreet0
db514248a2 added discount codes 2026-09-13 18:45:46 +02:00
Rajpreet0
2af1206602
Merge pull request #155 from Since-3/bug/fixes
fixing bugs
2026-09-11 12:27:49 +02:00
Rajpreet0
d045ee1600 fix merge conflict 2026-09-11 12:23:43 +02:00
Rajpreet0
68b201e6d6 iwas 2026-09-11 12:09:32 +02:00
Rajpreet0
40003e63d2 bug fixes 2026-09-11 12:06:58 +02:00
Rajpreet0
e22735509b
Merge pull request #161 from Since-3/feature/onboarding-wizard
added onboarding wizard for manager and employees
2026-09-10 15:18:54 +02:00
Rajpreet0
b15d37548a added onboarding wizard for manager and employees 2026-09-10 13:39:25 +02:00
Rajpreet0
e4aaaff7ba
Merge pull request #157 from Since-3/feature/dashboard
added dashboard and changed layout of course creation
2026-09-10 00:53:32 +02:00
Rajpreet0
7935d4e43b added dashboard and changed layout of course creation 2026-09-10 00:44:41 +02:00
Rajpreet0
dad50d1c97 fixing bugs 2026-09-01 22:03:38 +02:00
Rajpreet0
285eeb1536
Merge pull request #154 from Since-3/feature/notification-system
added in-app notification system
2026-08-28 18:31:10 +02:00
Rajpreet0
7c5b0cc40f added in-app notification system 2026-08-28 18:20:28 +02:00
Rajpreet0
d1b47e7ce8
Merge pull request #147 from Since-3/feature/waitinglist
added first come first serve waitinglist with email notification
2026-08-27 19:33:48 +02:00
Rajpreet0
034e7386c8 see comments + dynamic timeout instead of schedule job 2026-08-27 19:31:21 +02:00
Rajpreet0
bd10088e26 added first come first serve waitinglist with email notification 2026-08-27 18:56:35 +02:00
Rajpreet0
7548473174
Merge pull request #146 from Since-3/feature/white-labeling
added white labeling feature
2026-08-26 18:33:56 +02:00
Rajpreet0
f0961e0cca see comments 2026-08-26 18:32:02 +02:00
Rajpreet0
04e294bc10 added white labeling feature 2026-08-26 17:54:21 +02:00
Rajpreet0
80493f5040
Merge pull request #145 from Since-3/feature/added-cancellation-workflow
added cancellation worklfow
2026-08-26 16:24:12 +02:00
Rajpreet0
94d65c4517 see comments 2026-08-26 16:15:24 +02:00
Rajpreet0
cffca6b2dd added cancellation worklfow 2026-08-26 15:56:11 +02:00
Rajpreet0
0fe79f4e9b
Merge pull request #144 from Since-3/bugs/fixes
Bugs/fixes
2026-08-17 21:09:40 +02:00
Rajpreet0
239d6700be see comments 2026-08-17 20:47:16 +02:00
Rajpreet0
b52849ecbd fix tests 2026-08-17 15:50:46 +02:00
Rajpreet0
25ac296917 fixed a couple of bugs 2026-08-17 15:32:22 +02:00
Rajpreet0
e1a4a7cb72
Merge pull request #143 from Since-3/refactor/change-prisma-queryEngine
changed prisma queryEngine
2026-08-14 16:02:53 +02:00
Rajpreet0
d42ba96d3e see comments 2026-08-14 15:57:10 +02:00
Rajpreet0
aad2eeb81e changed prisma queryEngine 2026-08-14 14:15:04 +02:00
Rajpreet0
a4db10664a
Merge pull request #142 from Since-3/refactor/change-mail-design
unify email design
2026-08-14 13:59:12 +02:00
Rajpreet0
0a06e47c82 see comments 2026-08-14 13:56:23 +02:00
Rajpreet0
b340d7ee03 unify email design 2026-08-14 13:37:37 +02:00
Rajpreet0
249ea113e2
Merge pull request #141 from Since-3/bug/fix-couple-of-bugs
fixed couople of bugs
2026-08-08 00:58:16 +02:00
Rajpreet0
d83178adb5 see comments 2026-08-08 00:55:36 +02:00
Rajpreet0
6da4e9f55d fixed couople of bugs 2026-08-08 00:24:28 +02:00
Rajpreet0
54b57632e8
Merge pull request #140 from Since-3/feature/refunding
added rule-based refunding-logic
2026-08-07 17:56:33 +02:00
Rajpreet0
9d8de41a5f see comments 2026-08-07 17:41:00 +02:00
Rajpreet0
7cd831cbc4 added rule-based refunding-logic 2026-08-07 17:03:47 +02:00
Rajpreet0
3105bbd4d9
Merge pull request #139 from Since-3/feature/payment-page
added payment page with invoice tracking
2026-08-07 14:36:31 +02:00
Rajpreet0
1e56573d59 see comments 2026-08-07 14:29:21 +02:00
Rajpreet0
9927b74781 added payment page with invoice tracking 2026-08-07 13:19:32 +02:00