631 Commits

Author SHA1 Message Date
Israel Abebe
4f321108ff Merge pull request #221 from vernu/dev
show past-due billing alert in dashboard
2026-04-05 20:36:15 +03:00
isra el
f6556ea512 feat(web): show past-due billing alert with Polar portal CTA
Add dashboard banner when subscription status is past_due for paid plans.
Links to Polar customer portal via existing polarCustomerPortalRequestUrl.
2026-04-05 19:24:21 +03:00
Israel Abebe
b57a55121f Merge pull request #220 from vernu/dev
improve onboarding ui
2026-04-05 18:06:28 +03:00
isra el
7e9c036ec1 fix(web): structural skeleton for Get Started card while whoAmI loads
Replace the monolithic h-64 skeleton with GetStartedCardSkeleton that mirrors
the card header and step list so first paint matches the loaded layout.

Made-with: Cursor
2026-04-05 18:05:05 +03:00
Israel Abebe
37f99ae662 Merge pull request #219 from vernu/dev
fix failing tests
2026-04-05 17:46:35 +03:00
isra el
1a5e095c56 fix(api): use subscription document _id in webhook updateOne filters
Mongoose 9 updateOne expects an ObjectId for _id; webhookSubscriptionId
was inferred as ObjectId | WebhookSubscription in CI, causing TS2769.
Use webhookSubscription._id after findById instead.

Made-with: Cursor
2026-04-05 17:43:18 +03:00
Israel Abebe
677b2dda64 Merge pull request #218 from vernu/dev
prefill polar customer portal url with user email
2026-04-05 17:36:56 +03:00
isra el
6f5190aade feat(web): prefill Polar customer portal with user email
Add polarCustomerPortalRequestUrl() pointing to /portal/request with a
URL-encoded email query when available. Wire Manage Subscription links in
account settings and subscription info; subscription info loads currentUser
via whoAmI (shared React Query cache with account settings).

Made-with: Cursor
2026-04-05 17:34:14 +03:00
Israel Abebe
11ddcf3bd7 Merge pull request #216 from vernu/dev
allow device deletion
2026-04-05 10:03:03 +03:00
isra el
aea2d27fbb feat(web): allow device deletion 2026-04-05 10:01:25 +03:00
Israel Abebe
14b91f19d7 Merge pull request #215 from vernu/dev
optimize api key queries
2026-04-05 09:41:53 +03:00
isra el
9586712712 feat(api): enhance API key retrieval logic
- Added a new method in AuthService to find active API keys using a masked match and fallback to regex.
- Updated OptionalAuthGuard and AuthGuard to utilize the new method for improved API key validation.
- Introduced an index on the apiKey field in the ApiKey schema for optimized query performance.
2026-04-05 09:32:41 +03:00
Israel Abebe
9bf7074de3 Merge pull request #212 from vernu/dev
improve API key management
2026-04-01 09:00:05 +03:00
isra el
77f2f38686 chore: improve API key management
- Added a query parameter to filter API keys by status (active, revoked, all) in the getApiKey endpoint.
- Updated the AuthService to handle status filtering logic for API key retrieval.
- Modified the frontend to support status-based API key listing and added a button to view revoked keys.
2026-04-01 07:41:02 +03:00
Israel Abebe
bd6bcfd985 Merge pull request #211 from vernu/dev
allow device deletion
2026-03-31 23:09:19 +03:00
isra el
5467a85fb0 chore(api): allow device deletion 2026-03-31 22:59:16 +03:00
Israel Abebe
e3723054b6 Merge pull request #210 from vernu/dev
Revert "chore(web): update dashboard banners"
2026-03-31 22:56:30 +03:00
isra el
9b6e044aa2 Revert "chore(web): update dashboard banners"
This reverts commit f64a520b86.
2026-03-31 15:16:19 +03:00
Israel Abebe
97e60f4ff9 Merge pull request #209 from vernu/dev
improve onboarding steps
2026-03-31 05:17:22 +03:00
isra el
8286938b9e ux: improve onboarding steps 2026-03-31 05:16:13 +03:00
Israel Abebe
f5985ceccb Merge pull request #208 from vernu/dev
update dashboard banners
2026-03-30 21:01:41 +03:00
isra el
f64a520b86 chore(web): update dashboard banners 2026-03-30 15:02:51 +03:00
Israel Abebe
c5630b30e9 Merge pull request #207 from vernu/dev
enhance sms queue processing
2026-03-24 17:55:44 +03:00
isra el
4da8570cd2 feat(api): add fallback for SMS document insertion
- Implemented a check for the existence of the insertMany method in the SMS model to enhance flexibility.
- Added a fallback mechanism for models that do not support insertMany, allowing for individual document creation.
- Improved SMS document insertion process by maintaining performance while ensuring compatibility with various model types.
2026-03-24 17:54:40 +03:00
isra el
839ad24c83 feat(api): enhance SMS processing and queue management
- Introduced batching for SMS document insertion to improve performance.
- Added metadata tracking for SMS to FCM message mapping.
- Implemented error handling for mismatched SMS records and queue payloads.
- Updated SMS queue service to support dynamic batch sizes and immediate queue delays.
2026-03-24 17:24:10 +03:00
isra el
af03623396 fix(api): enhance SMS queue processing and error handling
- Refactored SMS status updates in SmsQueueProcessor to batch updates for failed and dispatched SMS records.
- Improved error handling by collecting failed SMS details and updating their status in a single operation.
- Updated the SMS queue registration to use asynchronous configuration with dynamic limits from the ConfigService.
2026-03-24 17:23:57 +03:00
Israel Abebe
fb3b2c1165 Merge pull request #206 from vernu/dev
fix failing tests
2026-03-23 14:24:55 +03:00
isra el
ab76237fbb test(api): fix failing tests 2026-03-23 14:22:39 +03:00
Israel Abebe
7326bd7b3b Merge pull request #205 from vernu/dev
invalidate stale fcm tokens
2026-03-23 14:18:44 +03:00
isra el
01af5a9786 chore(api): invalidate stale fcm tokens 2026-03-23 14:17:57 +03:00
Israel Abebe
ef4e42a204 Merge pull request #204 from vernu/dev
logging improvements
2026-03-23 13:55:45 +03:00
isra el
7bec9e8acf chore(api): logging improvements 2026-03-23 13:54:52 +03:00
Israel Abebe
cb616c6bf5 Merge pull request #203 from vernu/dev
show update app version cta in dashboard
2026-03-13 22:02:16 +03:00
isra el
002ac9c144 chore(web): show update app version cta 2026-03-13 21:54:00 +03:00
Israel Abebe
ffa66bed9b Merge pull request #202 from vernu/dev
enhance SMS status processing and error handling improvements
2026-03-12 18:21:24 +03:00
isra el
87006c226f refactor(ui): enhance layout and error display in SmsDetailsDialog
- Updated the grid layout for the Info Grid to better represent label-value proportions.
- Improved error details section to display error codes and messages in a full-width format for better visibility.
- Ensured consistent styling for error messages and codes to enhance user experience.
2026-03-12 17:31:12 +03:00
isra el
9d4ec8186b fix(api): improve FCM error handling and messaging in SmsQueueProcessor
- Updated getFcmErrorCode function to remove 'messaging/' prefix from error codes.
- Introduced getFcmErrorMessage function to provide actionable feedback for invalid device tokens.
- Enhanced error messages in SMS processing to utilize the new getFcmErrorMessage function for better clarity.
2026-03-12 17:18:04 +03:00
isra el
dafc433575 fix(ui): improve error display in message history component
- Enhanced error handling in the SmsDetailsDialog to display both error codes and messages.
- Added conditional rendering for error code and message sections to improve clarity for users.
2026-03-12 17:00:21 +03:00
isra el
a87094498c Merge branch 'main' into dev 2026-03-12 16:39:58 +03:00
isra el
c488c16f59 feat(api): enhance SMS status processing and error handling improvements
- Added `dispatchedAt` property to SMS schema and updated status options to include 'dispatched'.
- Implemented logic in SmsQueueProcessor to mark SMS as 'dispatched' upon successful FCM push.
- Enhanced error handling for SMS failures, including specific error codes for FCM delivery issues.
- Updated SmsStatusUpdateTask to handle both 'pending' and 'dispatched' statuses for timeout updates.
2026-03-12 16:38:23 +03:00
Israel Abebe
2c6e3b8e6c Merge pull request #201 from vernu/2026-03-11-yigc
implement batch processing for FCM messages in heartbeat check task
2026-03-11 19:54:04 +03:00
isra el
60808db77a refactor(api): implement batch processing for FCM messages in heartbeat check task 2026-03-11 19:49:52 +03:00
Israel Abebe
a43cf11bcd Merge pull request #200 from vernu/2026-03-11-qmsu
update queue configuration to set removal age for completed and failed SMS tasks
2026-03-11 19:41:04 +03:00
isra el
7a56692586 refactor(api): update queue configuration to set removal age for completed and failed SMS tasks 2026-03-11 19:39:58 +03:00
isra el
d613217efb Merge branch 'main' of github.com:vernu/textbee v2.7.1 2026-03-11 11:47:35 +03:00
isra el
598d697306 chore(android): bump version to 2.7.1(17) 2026-03-11 11:47:21 +03:00
Israel Abebe
5ae010f1c3 Merge pull request #199 from vernu/dev
better handling of failed sms error messaging
2026-03-11 11:45:17 +03:00
isra el
94a0cd8c0a chore(android): graceful exit when sticky notifcation cant be started 2026-03-11 11:44:46 +03:00
isra el
2ec9207779 fix(android): fix sim card info retrieval exception on older android versions 2026-03-11 11:26:32 +03:00
isra el
51cb1ca198 chore(api): track sms sending failure due to FCM issue 2026-03-11 11:09:30 +03:00