Commit Graph

180 Commits

Author SHA1 Message Date
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
491b11e86d fixing types 2025-07-23 13:40:14 +02:00
36f2f74e64 implemented scanning PDF docs for multiple 2D codes 2025-07-23 13:12:13 +02:00
87d6928a97 BugFix: fixing types 2025-01-13 16:32:38 +01:00
103e371d5f mongo projekcija proširena property-em "hasAttachment" 2025-01-13 16:05:15 +01:00
492750df92 komentiranje debug koda 2024-12-14 09:59:47 +01:00
86b6c777c4 opzimizacija: stranica za prikaz godine je dohvaćala i QR kodove = slow 2024-12-14 09:56:50 +01:00
4a7f899103 za potrebe testiranja podešen konkretan userID 2024-12-14 09:56:14 +01:00
4ab61f9917 implementiran share by link 2024-12-13 17:50:12 +01:00
78f8d1e1c3 BugFix: barcodes were not reset while copying to another month 2024-02-29 08:55:38 +01:00
c4a621e503 disabled linkedin provider 2024-02-19 12:49:51 +01:00
7197d1de5f fix: LinkedinProvider config was incorrect 2024-02-19 09:42:44 +01:00
89eb50b61a supported login via linkedin 2024-02-19 09:11:59 +01:00
f7b92931a9 i18n: fixing form validaton messages 2024-02-17 10:17:17 +01:00
fcd94408fe BugFix: fixed translation formating 2024-02-17 09:41:35 +01:00
30b3da9c31 i18n support added to all form validations 2024-02-17 07:28:47 +01:00
1da6479c80 i18n enabled for bill form validation 2024-02-16 22:25:09 +01:00
3240f746d1 refactor: moving locale definition 2024-02-16 17:02:33 +01:00
8992aa76bd implemented sign-in policy 2024-02-16 16:59:58 +01:00
b11be8e717 Fix: sign-in redirect URL is set 2024-02-14 16:50:16 +01:00
2cf6e8590b adde diagnostic logging 2024-02-14 16:44:30 +01:00
199159c208 added custom login screen 2024-02-13 16:07:50 +01:00
dc8f7e335a bar code imaghe is saved to DB 2024-02-12 15:29:16 +01:00
c833a4afe6 implemented barcode decoder 2024-02-12 14:58:31 +01:00
89c1ec57a4 added comment 2024-02-09 16:51:17 +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
cb633ccc4d BugFix: when fetching locations binary data was included in the result 2024-02-08 15:31:35 +01:00
db3b4abed5 optimization: not fetching binary data if not needed 2024-02-08 15:15:10 +01:00
8703decb91 HomePage: switched to client-side rendering 2024-02-08 13:23:23 +01:00
93dd9bf3f4 uklonjen umjetan delay 2024-02-06 14:19:23 +01:00
f0581eb533 za actions dodan "noStore" 2024-02-06 14:17:12 +01:00
7f08349688 uveden umjetni delay 2024-02-06 09:56:43 +01:00
82d895cd6a Hotfix: fn was passed wrong params 2024-02-01 15:17:05 +01:00
2261e83715 refactoring: changing param list of a fn 2024-02-01 15:07:30 +01:00
48990701c9 locationAction didn't allways return form state 2024-01-17 16:17:43 +01:00
0eb11e7d02 form action redirects user to tjhe appropriate year 2024-01-17 15:47:55 +01:00
3b3154bf19 Merge commit '25948cf033f213cf90cb19f261a63eca8504b46d' 2024-01-15 14:05:00 +01:00
25948cf033 docker-compose: added traefik 2024-01-15 14:00:56 +01:00
64b192c4c2 removed debug logging 2024-01-10 21:38:21 +01:00
ccb628aadb implemented pagination 2024-01-10 15:53:46 +01:00
102edff52f refactoring: fixing typescript 2024-01-09 16:41:59 +01:00
53a266df44 fixed fetching of available years 2024-01-09 16:28:12 +01:00
8cbf254f38 fixed result sorting 2024-01-09 16:25:23 +01:00
d627ad757d year & month replaced by yearMonth object 2024-01-09 16:20:49 +01:00
46b65711a8 yearMonth split into year + month 2024-01-09 15:43:01 +01:00
90edcf14e1 refactor: changed db collection name 2024-01-09 15:03:36 +01:00
8112c9765d refactoring: actions moved to seprate dir 2024-01-09 15:00:26 +01:00