Commit Graph
90 Commits
Author SHA1 Message Date
i701 6365a701ba feat: enhance error handling and improve API response management across components 2025-04-14 01:05:07 +05:00
i701 0d578c9add feat: add loading skeleton for devices table and improve payment processing logic 2025-04-12 17:01:37 +05:00
i701 067acef49c fix: reset form after successfully adding a device in AddDeviceDialog 2025-04-12 14:48:48 +05:00
i701 7750c5a1cc feat: add Dashboard layout main Error component for error handling in dashboard 2025-04-12 14:47:25 +05:00
i701 bb5eff8b5b refactor: remove layout error component from dashboard 2025-04-12 14:42:24 +05:00
i701 4e16c0ac54 refactor: remove unused import from device-card and devices-table components 2025-04-12 14:38:35 +05:00
i701 aff9d26e0e refactor: enhance error handling and add pagination to device queries 2025-04-12 14:35:23 +05:00
shihaam d60dd3af14 add mirror to gitea 2025-04-12 06:47:26 +05:00
shihaam 9e9fab5b2e add mirror to gitea 2025-04-12 06:41:24 +05:00
shihaam 477695294e cleaner output 2025-04-12 04:38:27 +05:00
shihaam 480f649511 cleaner output 2025-04-12 04:34:57 +05:00
shihaam e841932cbf down kohffa up kuraanee.. also there is 1 ui 2025-04-12 03:56:02 +05:00
shihaam 1b724ca1e4 f all that just deploy 2025-04-12 03:33:58 +05:00
shihaam 02e1bcbc87 add auto deploy 2025-04-12 03:07:03 +05:00
shihaam 5e1364e083 add auto deploy 2025-04-12 02:52:43 +05:00
i701 378c120035 feat: add example environment configuration file and update .gitignore to include .env files 2025-04-10 23:56:50 +05:00
shihaam c7993620f5 remove prisma stuff 2025-04-10 23:55:22 +05:00
shihaam 91563cb2ba remove prisma stuff 2025-04-10 23:49:14 +05:00
i701 b932fcf03c TEMPORARY FIX TO TEST BUILD 2025-04-10 23:18:19 +05:00
i701 e8296ae3f6 temporary fix for build and remove previous auth related code 2025-04-10 22:39:38 +05:00
i701 7e49bf119a refactor: update axios client import, enhance device and payment handling, and add cancel payment button component 2025-04-08 21:37:51 +05:00
i701 daab793592 refactor: implement session checking utility, enhance device queries with session validation, and improve UI interactions for device management 2025-04-06 22:43:12 +05:00
i701 9e2a2f430e refactor: update payment types and user interface, enhance error handling, and adjust API base URL 2025-04-05 23:25:17 +05:00
i701 aa18484475 refactor: add tryCatch utility for error handling, update device-related components and types, and clean up unused code in payment actions 2025-04-05 16:07:11 +05:00
i701 dbdc1df7d5 refactor: update authentication flow to use PIN instead of email/password, enhance OTP verification with NextAuth, and improve session handling in components 2025-04-05 11:50:39 +05:00
i701 ef9f032366 refactor: streamline authentication flow by removing unused code, replacing custom auth utilities with NextAuth, and updating session handling in components 2025-03-28 22:24:45 +05:00
i701 99c5fef748 refactor: enhance authentication and signup flow with new providers, update middleware matcher, and improve type safety for API responses 2025-03-26 22:48:14 +05:00
i701 32bb01b656 refactor: replace custom authentication middleware with NextAuth, remove unused authentication pages, and update matcher configuration 2025-03-23 18:06:27 +05:00
i701 020d74c5e2 refactor: update authentication flow to use NextAuth, replace better-auth with axios for API calls, and clean up unused code 2025-03-23 15:07:03 +05:00
i701 0fd269df31 refactor: migrate authentication and signup flow to use external API and improve type safety 2025-01-24 11:42:38 +05:00
i701 8ffabb1fcb Refactor authentication middleware to use native fetch, update dependencies, and enhance error handling. Add new error boundary component for dashboard and improve user verification UI. Update payment handling and device management components for better user experience. Adjust CSS for error backgrounds and refine input read-only components with validation indicators. 2025-01-15 10:35:03 +05:00
TheHamkerCat d14b0b35a3 final fix 2025-01-11 05:31:13 +05:30
TheHamkerCat b9cfc55751 fix: openssl 2025-01-11 04:39:07 +05:30
TheHamkerCat ff70624283 fix: revert wut 2025-01-11 04:31:30 +05:30
shihaam cd86a7ad42 installing openssl 2025-01-11 03:59:13 +05:00
TheHamkerCat e2e57516a0 fix:wut 2025-01-11 04:18:26 +05:30
shihaam ef32b7413d hamker magic 2025-01-11 03:35:55 +05:00
shihaam 7bfdc10a5a switch to node 2025-01-11 02:56:21 +05:00
shihaam d5c9253b04 bun can build 2025-01-11 02:55:33 +05:00
i701 c79f06c17f bruh 2025-01-11 02:29:32 +05:00
i701 8e068f1aa5 attempt 4 docker 2025-01-11 01:55:43 +05:00
i701 994956a98d attempt no 3 docker 2025-01-11 01:50:21 +05:00
i701 a5b18e89d3 attempt 2 building with docker 2025-01-11 01:45:19 +05:00
shihaam bfba3cf88b npx now 2025-01-11 01:42:48 +05:00
shihaam d72f9ae320 attempt to build docker again 2025-01-11 01:40:14 +05:00
i701 0943898cc1 remove test api route 2025-01-11 00:46:17 +05:00
i701 2c67848618 Enhance user verification and UI components
- Updated `auth-actions.ts` to improve user verification notification formatting and date handling.
- Modified `layout.tsx` to support dark mode styling for better user experience.
- Refactored `signup/page.tsx` to enhance layout and responsiveness.
- Introduced a new API route in `route.ts` for sending user verification notifications.
- Improved user feedback in `user-payments-table.tsx` by updating the no payment message.
- Made minor adjustments in `application-layout.tsx` for consistent padding.
- Enhanced `signup-form.tsx` to display error messages for invalid user validation.

These changes improve the user verification process, enhance UI consistency, and provide better feedback to users.
2025-01-10 23:34:53 +05:00
i701 a3f0759731 Refactor user verification and data handling
- Updated `package.json` to add a new script for Prisma database setup.
- Replaced `usePerson` hook with `getNationalPerson` function in `lib/person.ts` for improved national data fetching.
- Refactored imports in `auth-actions.ts`, `user-actions.ts`, and `verify/page.tsx` to use the new `getNationalPerson` function.
- Enhanced device notification logic in `check-devices/route.ts` to correctly handle payment data.
- Improved error handling in `devices-to-pay.tsx` for better user feedback.

These changes streamline user verification processes and enhance data integrity across the application.
2025-01-10 21:58:13 +05:00
i701 fcf4f37561 remove unused imports 2025-01-10 21:44:47 +05:00
shihaam 0e6f405ec4 optimize container build 2025-01-10 21:20:33 +05:00