Commit Graph

809 Commits

Author SHA1 Message Date
30e18f88a9 Merge branch 'feature/improving-build-script' into develop 2025-08-11 14:10:56 +02:00
e41f322e20 chore(deploy): use IMAGE_VERSION env var and read version from package.json 2025-08-11 14:10:29 +02:00
3e3b4e2834 Merge branch 'hotfix/1.36.2' into develop 2025-08-11 13:59:08 +02:00
088ea276c7 Merge branch 'hotfix/1.36.2' 2025-08-11 13:59:07 +02:00
daa9b2a134 locationAction: query optimization 2025-08-11 13:58:57 +02:00
fade52a49f billActions: projection optimization 2025-08-11 13:57:36 +02:00
aab0afd045 locationAction: fixed optional form fields 2025-08-11 13:57:07 +02:00
21da2f0d49 optimization: projecting only what's needed 2025-08-11 13:38:59 +02:00
35df2cdca7 Merge branch 'hotfix/1.36.1' into develop 2025-08-11 13:01:32 +02:00
dababe6880 Merge branch 'hotfix/1.36.1' 2025-08-11 13:01:32 +02:00
a30c541aa7 updated image version in docker-compose 2025-08-11 13:01:23 +02:00
1528e67907 Merge branch 'release/1.36.0' into develop 2025-08-11 12:59:09 +02:00
a3f0fbbe63 Merge branch 'release/1.36.0' 2025-08-11 12:59:08 +02:00
76e864b53f Dockerfile: upgraded Node version 18>24 2025-08-11 12:59:00 +02:00
0a16afb1b6 Dockerfile: fixed ENV var syntax 2025-08-11 12:58:29 +02:00
d42a7da75b fixed typescript error 2025-08-11 12:49:10 +02:00
be104561c2 Merge branch 'feature/default-active-year' into develop 2025-08-11 12:25:13 +02:00
44cdcf8cec optimized queries 2025-08-11 12:19:29 +02:00
3ce158825e add bulk bill deletion across subsequent months
Implement ability to delete bills from all subsequent months
with toggle option and warning message similar to location deletion.
Includes centered warning box and efficient bulk operations.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-11 12:11:10 +02:00
71895229ec add bulk bill creation across subsequent months
Implement ability to add newly created bills to all subsequent months
with toggle option (disabled by default). Includes duplicate checking
and efficient bulk operations.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-11 12:01:18 +02:00
6d6a8782ab optimize database queries by excluding bills field
- Added projections to exclude bills field from location lookup queries
- Optimized updateOrAddLocation currentLocation query (line 79)
- Optimized duplicate check query for subsequent months (line 201)
- Optimized deleteLocationById location lookup query (line 372)
- Reduces network traffic and memory usage by avoiding unnecessary bills data
- Improves query performance especially for locations with many bills or large attachments

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-11 11:50:47 +02:00
a6d0cc77ac add update scope options for location editing
- Added radio button group to LocationEditForm with three update modes:
  1. Current month only (default) - updates specific location
  2. Current and all future months - updates current and subsequent months
  3. All months - updates all locations with same name across all time periods
- Enhanced updateOrAddLocation action with smart update logic based on scope
- Uses name-based matching to find related locations across months
- Added compact radio button styling with reduced spacing and indentation
- Added translations for update scope options in Croatian and English
- Maintains backward compatibility with existing single-location updates

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-11 11:42:48 +02:00
80e30deace add conditional warning for destructive delete operation
- Added React state to track toggle status and show warning only when enabled
- Implemented modern custom border warning style with left red border and subtle background
- Added responsive width constraints (max-w-[24rem]) and word wrapping for proper layout
- Warning includes ⚠️ emoji and clear messaging about irreversible operation
- Fixed JSON syntax errors in translation files (replaced HTML entities with escaped quotes)
- Enhanced translations: "Also delete" phrasing and detailed warning messages
- Warning appears dynamically when bulk deletion option is activated

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-11 11:24:09 +02:00
131dfe793b improve LocationDeleteForm toggle layout
- Center the delete toggle horizontally within the form using justify-center
- Add consistent spacing between label and toggle input with gap-4
- Improves visual balance and readability of the delete confirmation form

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-11 11:05:37 +02:00
1eac116a55 add option to delete location in all subsequent months
- Added toggle in LocationDeleteForm for deleting locations from future months (disabled by default)
- Modified deleteLocationById action to support batch deletion across subsequent months
- When enabled, deletes all locations with same name in current and future months/years
- Only deletes user's own locations with proper data isolation
- Added translations for toggle text in Croatian and English
- Removed unused imports and variables to fix TypeScript warnings
- Uses efficient MongoDB deleteMany operation for bulk deletions

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-11 11:01:16 +02:00
2cf338c50a improve development authentication setup
- Replaced manual code commenting with environment variable controlled mock auth
- Added development env vars to VS Code launch.json for automatic mock authentication
- Removed unused LinkedIn provider import
- Authentication now automatically uses mock session when launched via VS Code debug
- Zero security impact on production (env vars only exist during debug sessions)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-11 10:47:55 +02:00
78a6c18ba5 add option to create location in all subsequent months
- Added toggle in LocationEditForm for adding locations to future months (disabled by default)
- Modified updateOrAddLocation action to support batch creation across subsequent months
- Only creates locations in months where no location with same name exists
- Added translations for toggle text in Croatian and English
- Fixed unused variable warning in deleteLocationById
- Improved auth.ts development comments for clarity

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-11 10:27:31 +02:00
eef93528e3 set current year as default active year
Changes default year from first available year in database to current year (Date.now) when no year parameter is provided in URL.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-11 10:10:45 +02:00
02a3023f7a add CLAUDE.md with development guidance for Claude Code
Provides architectural overview, development commands, and key patterns for future Claude instances working with this codebase.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-11 10:00:07 +02:00
a6ed155277 Merge branch 'hotfix/1.35.1' into develop 2025-07-23 13:40:25 +02:00
1ef3f01f86 Merge branch 'hotfix/1.35.1' 2025-07-23 13:40:24 +02:00
491b11e86d fixing types 2025-07-23 13:40:14 +02:00
46730aa249 Merge branch 'release/1.35.0' 2025-07-23 13:13:43 +02:00
53203683bf Merge branch 'feature/multi-bar-code-support' into develop 2025-07-23 13:12:36 +02:00
36f2f74e64 implemented scanning PDF docs for multiple 2D codes 2025-07-23 13:12:13 +02:00
691715c8b4 ažuriran readme 2025-07-23 10:55:16 +02:00
b2aa44a882 Merge branch 'release/1.34.0' 2025-06-18 15:37:38 +02:00
e4dfbf4363 Merge branch 'feature/disabling-light-theme' into develop 2025-06-18 15:33:25 +02:00
0fac2c0341 disabled white theme 2025-06-18 15:33:20 +02:00
22719f4d86 Merge branch 'hotfix/1.33.2' 2025-01-13 16:33:02 +01:00
6d5ef8dd70 Merge branch 'hotfix/1.33.2' into develop 2025-01-13 16:33:02 +01:00
0fd4ba9f5b updating version 2025-01-13 16:32:48 +01:00
87d6928a97 BugFix: fixing types 2025-01-13 16:32:38 +01:00
a65393dd11 Merge branch 'hotfix/1.33.1' 2025-01-13 16:05:54 +01:00
e366f44629 Merge branch 'hotfix/1.33.1' into develop 2025-01-13 16:05:54 +01:00
fef30523a4 ažurirana verzija u compose datoteci 2025-01-13 16:05:48 +01:00
103e371d5f mongo projekcija proširena property-em "hasAttachment" 2025-01-13 16:05:15 +01:00
6ceff261fb Merge branch 'release/1.33.0' 2024-12-14 10:00:47 +01:00
ef1343ae4e Merge branch 'release/1.33.0' into develop 2024-12-14 10:00:47 +01:00
492750df92 komentiranje debug koda 2024-12-14 09:59:47 +01:00