Commit Graph

54 Commits

Author SHA1 Message Date
Knee Cola
f8aa7233de 2.12.1 2025-12-07 18:54:30 +01:00
Knee Cola
621146f839 2.12.0 2025-12-07 17:03:59 +01:00
Knee Cola
6a86ebd747 Fix per-bill proof of payment field name and add environment config
- Updated uploadProofOfPayment to expect 'proofOfPayment' field name
  instead of 'utilBillsProofOfPayment' for semantic clarity
- Removed old not-found.tsx from deprecated route structure
- Added required environment variables for file upload validation:
  - MAX_BILL_ATTACHMENT_UPLOAD_SIZE_KB=1024
  - MAX_PROOF_OF_PAYMENT_UPLOAD_SIZE_KB=1024
- Updated package-lock.json with peer dependency metadata

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-07 13:16:37 +01:00
Knee Cola
9b5dd98c6c 2.11.0 2025-11-29 13:14:33 +01:00
Knee Cola
68d843f214 2.10.0 2025-11-26 20:56:19 +01:00
Knee Cola
08b3564810 2.9.0 2025-11-26 20:33:20 +01:00
9460c605ea 2.8.0 2025-11-26 14:09:58 +01:00
b3356ccf18 Update browserslist database and Claude Code settings
- Update caniuse-lite from 1.0.30001588 to 1.0.30001757
- Add npm run build to Claude Code auto-approved commands

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-26 14:09:40 +01:00
Knee Cola
1856a07027 2.7.0 2025-11-25 22:06:44 +01:00
Knee Cola
f8d578faf6 2.6.2 2025-11-25 21:12:46 +01:00
Knee Cola
4bf7494820 2.6.0 2025-11-25 20:08:48 +01:00
51aa4b1891 2.5.0 2025-11-25 14:52:44 +01:00
Knee Cola
1b5d6b91a6 2.4.0 2025-11-24 23:10:01 +01:00
Knee Cola
90e24a5739 2.3.0 2025-11-24 22:18:21 +01:00
Knee Cola
58108a61d3 npm i 2025-11-24 18:42:26 +01:00
Knee Cola
6af9c029e3 2.2.0 2025-11-24 18:40:14 +01:00
3ef9e411e9 feat: add QR code for Revolut payment link
- Install react-qr-code package for QR code generation
- Replace placeholder with actual QR code component in ViewLocationCard
- QR code displays Revolut payment URL with amount, currency, and profile
- Center-aligned QR code (200x200px) in white container with border
- Extract revolutPaymentUrl to single variable for reuse in QR code and link

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-24 16:25:06 +01:00
686bec6c10 feat: add Revolut payment link support alongside IBAN
- Add NoteBox component for displaying warning messages with icon
- Add Revolut profile name field to user settings schema
- Update UserSettingsForm to support payment instruction selection (disabled/IBAN/Revolut)
- Add Croatian and English translations for new payment options
- Reserve fields for future per-instruction enable/disable functionality

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-24 13:37:54 +01:00
Knee Cola
b3126d6ef3 chore: update version to 2.1.2 in package.json and package-lock.json 2025-11-23 23:03:02 +01:00
Knee Cola
3cbd60767e chore: update version to 2.1.1 in package.json and package-lock.json 2025-11-23 23:00:32 +01:00
Knee Cola
f8ae0c780e 2.1.0 2025-11-23 22:51:45 +01:00
Knee Cola
8998bbae7d 2.0.1 2025-11-23 12:54:25 +01:00
Knee Cola
ab9cead175 2.0.0 2025-11-23 12:08:39 +01:00
Knee Cola
9d53fb1753 chore: Upgrade pdfjs-dist from 4.0.379 to 4.10.38
Updated PDF.js library to version 4.10.38 for improved PDF rendering
and barcode scanning capabilities.

Changes:
- package.json: Updated pdfjs-dist dependency to ^4.10.38
- package-lock.json: Updated dependency tree
- public/pdf.worker.min.mjs: Updated PDF.js worker file
- app/lib/pdf/barcodeDecoder.ts: Removed unused import

This is a minor version update within v4, maintaining API compatibility
while receiving bug fixes and improvements.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-23 10:48:51 +01:00
Knee Cola
2cfafa6cde chore: Update npm dependencies
- Removed @napi-rs/canvas optional dependencies from package-lock.json
- Added pdf.sandbox.mjs.map to public directory

These changes optimize the dependency tree by removing unused canvas
rendering dependencies.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-23 10:45:08 +01:00
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
969baf35ae Add project name to package-lock.json 2025-11-22 07:20:29 +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
Knee Cola
cc147e8726 fix: resolve 14 npm security vulnerabilities via npm audit fix
Updated dependencies to patch the following security issues:
- @babel/helpers & @babel/runtime: RegExp complexity vulnerability
- brace-expansion: ReDoS vulnerabilities
- braces: Uncontrolled resource consumption
- cookie: Out of bounds character handling
- cross-spawn: ReDoS vulnerability
- js-yaml: Prototype pollution in merge
- micromatch: ReDoS vulnerability
- nanoid: Predictable results with non-integer values
- next: Multiple critical vulnerabilities (SSRF, cache poisoning, DoS, auth bypass)
- pdfjs-dist: Arbitrary JavaScript execution vulnerability
- tar: DoS vulnerability due to lack of folder count validation

Severity: 1 critical, 3 high, 7 moderate, 3 low

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-16 13:19:52 +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
d30bd50e1a enabled i18n for all components 2024-02-16 21:56:41 +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
bdf81a3c5b defined compose file for deploy 2024-01-10 09:58:59 +01:00
90d443b747 npm i react-infinite-scroll-component 2024-01-09 10:59:19 +01:00
52d4c35c2e implemented login 2024-01-06 10:50:27 +01:00