Commit Graph

24 Commits

Author SHA1 Message Date
Knee Cola
701b9b5d58 Refactor Pdf417Barcode to accept payment params as props
Changes Pdf417Barcode component from using hardcoded payment data to
accepting paymentParams as a prop, making it reusable. Updates useEffect
dependency array to regenerate barcode when payment params change.

Also updates hub-3a-payment-encoder to v1.1.0 for PaymentParams type support.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-22 14:47:25 +01:00
Knee Cola
d1436a9783 Remove pdf417 npm dependency
Removing the external pdf417 package in favor of custom implementation.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-22 14:18:35 +01:00
Knee Cola
547692f0a2 Add pdf417 dependency to package.json and package-lock.json 2025-11-22 07:23:09 +01:00
Knee Cola
c72fd78750 Add hub-3a-payment-encoder dependency to package.json and package-lock.json 2025-11-22 07:17:05 +01:00
Knee Cola
221f588b71 1.65.0 2025-11-20 18:54:51 +01:00
Knee Cola
216b08c12b Add IBAN validation using iban.js library
Implemented optional IBAN validation for the account form profile:
- Installed iban.js package for robust IBAN validation
- Added Zod validation with IBAN.isValid() for format checking
- Normalizes IBAN (removes spaces, uppercase) before storage
- Validates country-specific formats and checksums
- Added validation error messages in English and Croatian

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-17 20:23:11 +01:00
Knee Cola
80f4c92755 Add user account settings page with profile management
- Add /account route with profile form (firstName, lastName, address, IBAN)
- Create UserProfile type and MongoDB users collection
- Implement server actions for getting and updating user profile
- Add Account Circle icon to PageHeader linking to /account
- Install Material UI icons for account icon
- Add form input disabling during save with loading spinner
- Add cancel button to discard changes and return home
- Add English and Croatian translations for account page
- Update locale names with flag emojis in language selector

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-17 18:37:59 +01:00
f86d2e2404 chore: update package version to 1.59.0 in package.json and package-lock.json 2025-09-08 14:00:44 +02:00
ecc33f988d 1.58.0 2025-09-08 13:59:35 +02:00
6d45892108 instaliran toast 2024-12-13 15:38:31 +01:00
eb0255ba73 npm: added webview detector 2024-03-07 13:18:44 +01:00
039cd10efa downgraded next-auth 2024-02-19 13:06:35 +01:00
4b57eadbc4 removed sharp npm package due to failed build 2024-02-19 10:39:35 +01:00
c6fdbfe2b8 npm i sharp - for image optimization by NextJS 2024-02-19 10:00:18 +01:00
faa7ed984d updated next-auth package 2024-02-19 09:58:23 +01:00
fdea05d4e3 npm i next-intl 2024-02-16 10:45:15 +01:00
0efbb4266a trying decoder hints 2024-02-09 16:50:41 +01:00
84332b81af partial implementation of bar code parsing from PDF 2024-02-09 16:02:18 +01:00
75de262ef1 npm: installed CSS formating for text 2024-01-16 09:17:31 +01:00
90d443b747 npm i react-infinite-scroll-component 2024-01-09 10:59:19 +01:00
b02eafa309 uninstalled @tailwindcss/forms 2024-01-05 14:26:09 +01:00
9090266f8d updated npm package daisyui 2024-01-05 14:23:18 +01:00
496814d039 npm: npm i mongodb 2024-01-04 14:46:09 +01:00
c0b7458bf7 initial import 2023-12-27 15:45:49 +01:00