Commit Graph

  • 72eeb5cf9b fix(entries): keep AI description and status when editing entry dev 2026-09-18 23:32:55 +03:00
  • d7d4cc1133 feat(modules): soft delete with restore and active filter dev 2026-09-18 20:04:02 +03:00
  • d3dd922e32 feat(modules): batch module import in admin, module usage in journal dev 2026-09-18 19:36:32 +03:00
  • 12a527b3ee chore(report): add design reference and screenshots dev 2026-09-18 19:26:34 +03:00
  • e6291a0235 feat(modules): module topics for student form, admin CRUD with pagination dev 2026-09-18 18:56:42 +03:00
  • d434732f41 feat(report): student report page with works/gallery/files sections dev 2026-09-18 17:50:50 +03:00
  • 12c612eccd feat(audit): translate photo job audit actions to Russian dev 2026-09-17 22:25:17 +03:00
  • 5874e2b619 feat: photo jobs apply/reject flow with applied flag in history dev 2026-09-17 18:51:26 +03:00
  • 881b5b4c67 fix: repair photo worker broken code; add pending queue view dev 2026-09-17 17:52:51 +03:00
  • 1145be02f3 feat: persistent photo job queue, worker, history with rollback dev 2026-09-17 17:36:56 +03:00
  • 27a2238082 feat: compare slider UI for photo enhance modal dev 2026-09-17 17:02:35 +03:00
  • dec8790a3a fix: AI photo enhance modal stays open with result preview; fix basicsr build dev 2026-09-17 16:44:44 +03:00
  • 3a345cbefd feat: AI photo enhancement (Real-ESRGAN container) + restore original dev 2026-09-17 15:37:49 +03:00
  • c4fd31cd53 feat: hybrid photo enhance engine (server sharp + client canvas), denoise dev 2026-09-17 15:16:42 +03:00
  • 049df61e55 feat: photo quality improvements dev 2026-09-17 15:07:43 +03:00
  • 57e48a9d4f fix(ai): adaptive max_tokens per backend (reasoning profiles get 1024+, native llama.cpp stays compact; per-profile max_tokens override); include entry texts in ai_status SSE notify so journal updates live without reload; audit log action filter; links pagination; settings validation & UI improvements dev 2026-09-17 14:12:36 +03:00
  • a93e37a6b1 fix(settings): prevent aiActiveProfile select from overflowing card-foot (shrinkable label+select, min-width:0 on grid cards) dev 2026-09-17 12:11:18 +03:00
  • 0b4243fe91 feat(docker): add host.docker.internal:host-gateway to app so it can reach host Ollama (AI profiles) dev 2026-09-17 12:06:11 +03:00
  • 66f7fdc1a8 refactor(settings): AI profile add/edit moved into a modal dialog (overlay click + Esc to close) dev 2026-09-17 12:00:19 +03:00
  • d7c793c67a fix(settings): constrain aiActiveProfile select width so it stays inside card-foot dev 2026-09-17 11:58:34 +03:00
  • efe2a42d1d feat(settings): AI model profiles management — native llama.cpp + custom OpenAI-compatible providers, default model selection, connection test dev 2026-09-17 11:54:08 +03:00
  • bbfde902a5 feat(journal): live AI status updates in entry cards via Postgres NOTIFY trigger + SSE ai_status events dev 2026-09-17 11:14:27 +03:00
  • cc9a9e6c2d feat(journal): beautiful entrance animation for entries — cascade fade-up on load, yellow glow pop for newly submitted entries dev 2026-09-16 20:14:09 +03:00
  • 2784084c68 feat(journal): live updates on new entry via SSE (/api/events) — admin journal auto-refreshes when a student submits dev 2026-09-16 20:09:06 +03:00
  • e8337c2845 feat(share): group entries by date on public /s/<token> page dev 2026-09-16 15:06:30 +03:00
  • 6cfb13310d chore: checkpoint before date grouping on share page dev 2026-09-16 15:05:56 +03:00
  • 2c8beedc4b feat: анти-спам блокировка повторной отправки на главной (cooldown по spam_interval_min) dev 2026-09-13 12:27:35 +03:00
  • 0b763e5738 feat(cloudflared): timeout+fallback for WG handshake (WG_HANDSHAKE_TIMEOUT) so tunnel still starts when VPN peer is down main-server-backup dev 2026-09-13 00:34:43 +03:00
  • 1fc17225b0 fix(cloudflared): chmod 600 wg config in /tmp before wg-quick so WG starts regardless of host perms dev 2026-09-13 00:29:41 +03:00
  • a7692b1c35 chore: exclude wg/ from docker build context so WG config stays host-only dev 2026-09-13 00:20:51 +03:00
  • fac668567e feat: редизайн страницы отчёта ученика — портфолио-стиль, галерея с листанием и видео dev 2026-09-12 23:55:35 +03:00
  • 3c40e94a57 fix: get cloudflared WireGuard tunnel actually serving dev 2026-09-12 18:51:19 +03:00
  • dd4d306a4e feat: cloudflared container with optional WireGuard egress dev 2026-09-12 17:40:42 +03:00
  • 9203eee5d2 fix: требовать фотографию при создании записи (POST /api/entries) на уровне API dev 2026-09-12 17:26:51 +03:00
  • b263a735ac fix: обязательная фотография в форме отправки; модалка редактирования шире и в две колонки; поддержка .jfif в прикреплении dev 2026-09-12 17:19:53 +03:00
  • 854f2d4650 feat: публикация наружу через Cloudflare Quick Tunnel (cloudflared) dev 2026-09-12 15:06:56 +03:00
  • 779270fb73 UI: пагинация, вынос пагинатора, быстрые действия dev 2026-09-12 14:18:15 +03:00
  • 1d706f1356 Dashboard: add Блокировки link to navigation dev 2026-09-12 12:52:23 +03:00
  • a8e1aa743d Build app image on host network to bypass bridge egress/TLS issues dev 2026-09-12 12:22:59 +03:00
  • 1e38419f07 Dockerfile: cascade apk mirror fallback to HTTP (signature-verified) with diagnostics on total failure dev 2026-09-12 12:09:15 +03:00
  • 21b00a8e09 Dockerfile: fall back to edge.kernel.org mirror when dl-cdn TLS fetch fails dev 2026-09-12 11:30:13 +03:00
  • db684efe9e Dockerfile: retry apk add on transient Alpine mirror TLS failures dev 2026-09-12 11:04:40 +03:00
  • fd753c1318 Add cookie notice with settings, jfif preview support, and share page title from link name dev 2026-09-12 10:05:02 +03:00
  • 192de5e690 Sidebar: color inactive nav icons by section meaning via data-nav attribute dev 2026-09-12 01:18:57 +03:00
  • 809b978c4b Bans: confirm unban via alert; audit labels for ip.ban/ip.unban; worker page lucide icons dev 2026-09-12 01:14:58 +03:00
  • c54a5b180c Settings bans card: unban also requires confirmation dev 2026-09-12 01:06:24 +03:00
  • e69426882a Bans: unban requires inline confirmation row with yes/cancel dev 2026-09-12 01:01:59 +03:00
  • 5aee2ce3f5 Bans page: users-style table with badges, client-side pagination, manual ban modal (POST /api/bans with ip/reason/hours), unban row buttons dev 2026-09-12 00:59:32 +03:00
  • 7dd816cfce Add dedicated Bans page (bans.html) with active IP bans table, unban and refresh; nav item for admins; settings card kept dev 2026-09-12 00:53:35 +03:00
  • 19b0c855a9 Cache HTML/JS/CSS with no-cache revalidation (ETag 304): browsers always get fresh pages after docker restart; vendor and image caches unchanged dev 2026-09-12 00:47:18 +03:00
  • d5359dd31f Add honeypot field to login form: instant 24h IP ban on autofill dev 2026-09-12 00:40:29 +03:00
  • 2c7ec17c8b Add IP autoban system: banned_ips table, global ipGuard middleware, 24h bans on honeypot fill / 10 failed logins / 10 wrong share passwords; trust proxy for real client IPs behind funnel; admin API and settings UI to manage active bans dev 2026-09-12 00:35:51 +03:00
  • 2bebfc071c Replace emoji icons with lucide icons on settings page dev 2026-09-12 00:04:55 +03:00
  • fd9b470c4c Add server-side image thumbnails (sharp): /uploads/thumb/<name> route, ?thumb=1 on file endpoints, disk-cached 480px WebP previews; grids now load thumbnails with lazy loading dev 2026-09-12 00:02:23 +03:00
  • 9798872f20 Add in-memory caching layer with TTL and invalidation for settings, groups, students, entries, share payloads and stats; add static asset caching headers dev 2026-09-11 23:52:58 +03:00
  • f9d310c8ea Add .dockerignore to reduce build context from 542MB to 5kB dev 2026-09-11 23:29:58 +03:00
  • f8036fae79 Fix: backup/restore now includes group_photos and entry_photos tables; increase AI request timeout to 120s (configurable via AI_REQUEST_TIMEOUT_MS) dev 2026-09-11 23:12:16 +03:00
  • 4db02d75bc Add AI-check details modal on worker page and raise backup upload limit dev 2026-09-11 16:26:30 +03:00
  • ee19da7fa0 Add audit details modal and translate remaining action labels dev 2026-09-11 14:45:07 +03:00
  • 7044505915 Fix AI status badge sizing on worker page dev 2026-09-11 14:38:46 +03:00
  • ad81adfe71 Migrate UI to Lucide icons, reorder sidebar, and polish journal/groups UX dev 2026-09-11 14:33:41 +03:00
  • 275ed46dfb Add HF model auto-download with configurable AI env, and share link visibility toggles dev 2026-09-11 13:12:13 +03:00
  • b7e798b867 Add AI auto-check worker, share link message/link fields, and update journal/settings UI dev 2026-09-11 10:29:49 +03:00
  • 3850fe35e4 Update project files dev 2026-09-10 11:26:51 +03:00
  • 7ccc9199e0 Add cover_path column to groups table for group cover photo feature dev 2026-09-10 01:16:32 +03:00
  • 0d6d059f5b Add JFIF to JPG conversion for student photo uploads dev 2026-09-10 00:41:16 +03:00
  • 63494f322b Add pagination to audit page dev 2026-09-10 00:18:56 +03:00
  • 89152295ea Add AI text correction button to journal edit modal dev 2026-09-10 00:06:38 +03:00
  • 5ae476551d Fix trash: add missing deleted_at IS NOT NULL filter to main query dev 2026-09-09 23:44:37 +03:00
  • 0681831aaf Add debug logging to trash and restore endpoints dev 2026-09-09 23:39:30 +03:00
  • 6197f57c43 Fix trash: restore/perm delete buttons not working when clicking card content dev 2026-09-09 23:32:06 +03:00
  • 0f267ca6a9 Fix trash: improve error handling and add logging for restore/perm delete denials dev 2026-09-09 23:28:02 +03:00
  • bc3487639d Fix user edit modal: pass full user object instead of just ID dev 2026-09-09 12:25:49 +03:00
  • 018c65adc5 refactor: move frontend JS to external files and enable strict CSP dev 2026-09-09 10:06:49 +03:00
  • d6e589d2f5 feat: add branches feature, security audit, and multi-branch support dev 2026-09-09 09:41:07 +03:00
  • 7a003e5df6 Add system info dashboard to settings dev 2026-09-09 01:08:48 +03:00
  • 616dabb595 remove name autocomplete/datalist from index form dev 2026-09-08 12:16:38 +03:00
  • e0cec0f943 add admin audit log (11), hide stacktraces via NODE_ENV=production (13), validate spam_interval_min>=1 (16) dev 2026-09-08 12:12:29 +03:00
  • 441bdfe0fe group photo upload: respond 500 on DB error instead of hanging (async throw in express4) dev 2026-09-08 12:00:25 +03:00
  • eef33e457f support HEIC/HEIF uploads: convert to JPEG via heic-convert; graceful multer errors for group photos dev 2026-09-08 11:54:38 +03:00
  • ea14fd654f fix backup restore: stream-peek gzip content instead of zlib.gunzipFile (node20 API) dev 2026-09-08 11:38:38 +03:00
  • 8a50b46b7b harden anti-spam and file serving; backup restore to disk; json body limit dev 2026-09-08 11:36:34 +03:00
  • 57f2ea4f41 add share-link password/expiry, journal touch-ups, ddns helper and audit docs dev 2026-09-08 10:54:24 +03:00
  • dd5a2ea288 drop caddy and cloudflared; publish via tailscale funnel; rewrite README dev 2026-09-08 10:40:20 +03:00
  • 6844d659fc harden security and add public TLS scaffold dev 2026-09-07 11:27:04 +03:00
  • b15abc34aa stop tracking .env and backup archives; add comprehensive .gitignore dev 2026-09-07 09:50:02 +03:00
  • f3885dc0fc write full project README dev 2026-09-07 09:48:39 +03:00
  • 7c58cd0d4c Merge remote-tracking branch 'origin/main' dev 2026-09-07 09:46:33 +03:00
  • f13031e9b3 add detach files feature, utf8 filename fix, and error pages dev 2026-09-07 09:42:28 +03:00
  • 3b0761530e Initial commit admin 2026-09-07 06:41:48 +00:00
  • 71803d4dcf expose uploads volume to host via bind mount dev 2026-09-07 09:41:23 +03:00
  • 84fed96097 add full dashboard: activity chart, recent entries, group photos, quick actions, active groups, top students dev 2026-09-06 15:08:39 +03:00
  • 65e5651be2 redesign settings page UX/UI: structured cards, consistent fields, sticky save bar, backup stats and loading states dev 2026-09-06 14:56:06 +03:00
  • 621c3c3b5c add soft delete with trash page and group photo chronology with styling dev 2026-09-06 13:51:47 +03:00
  • 3c22d72a27 show attached files as type icons labeled as resident's works on share page dev 2026-09-06 12:37:42 +03:00
  • d8802b508d add Files admin section: list with filters, search, student/group/date, pagination dev 2026-09-06 12:25:39 +03:00
  • 9fbd88983c open attachment images in the same-page lightbox like photos dev 2026-09-06 12:05:32 +03:00
  • 3d3856bf35 show project files in share page cards with image preview and file download dev 2026-09-06 11:50:02 +03:00
  • a117184a2a make project file tokens public; keep name links with image preview and file download dev 2026-09-06 11:35:40 +03:00
  • ac8621c5aa serve project files by token hash, preview images inline and download other files dev 2026-09-06 11:33:33 +03:00