bf381dcf1398b55b7880f838c05a7f2d2cf837e1
- Group 'Preuzmi mjesečni izvještaj' and 'Preuzmi ZIP' buttons together in the calendar toolbar - Close the ZIP modal immediately on action click so the user is no longer blocked in the sidebar - Backend: include generated_archive_id in the 'requested' notification so the frontend can track the specific archive lifecycle - Frontend: refresh notifications immediately after archive request and start targeted polling (every 10s) until a completed/failed notification arrives for that archive ID - Add previous/next pagination to the service records table (page mode) when no service context is selected, showing all records 10 per page (matching the work orders table pattern) - Tests: assert generated_archive_id is present in both requested and completed notifications Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Frontend + Backend + Database + Deployment
Deploy na serveru
Nakon što je gitea webhook i testirana skripta za automatsko povlačenje promjena iz repozitorija
cd /opt/erp/app
git fetch origin
git reset --hard origin/main
# rebuild backend + worker + beat + frontend
docker compose -f docker-compose.yml -f docker-compose.prod.yml build backend worker beat frontend
# digni servise s novim image-ima
docker compose -f docker-compose.yml -f docker-compose.prod.yml up -d --force-recreate backend worker beat frontend
# OBAVEZNO migracije (scheduled_date)
docker compose -f docker-compose.yml -f docker-compose.prod.yml exec backend python manage.py migrate
# provjera
curl -i https://api-004.captain.mitteworkspace.cloud/api/health/
Description
Languages
Python
51%
JavaScript
47.1%
TypeScript
0.8%
Astro
0.6%
CSS
0.3%