Commit Graph

  • b59d888abb Update README.md API_Backone ypratama 2026-09-11 13:42:29 +07:00
  • a44206c112 Fix: hide globe map when agent has 0 traffic (bandwidth_down+up = 0), filter country entries with zero bytes main ypratama 2026-09-09 17:33:24 +07:00
  • ab5bb1fd11 Fix: add pruneOutOfSubnetData() to auto-remove contaminated device/flow records after every collection cycle ypratama 2026-09-09 17:17:48 +07:00
  • b6bd0f42f6 Fix: override agents/list API in frontend to use protected_label from MongoDB directly ypratama 2026-09-09 16:10:34 +07:00
  • 0b824f8cd2 Fix: prioritize protected_label in agents/list API to prevent proxy overwrite bug on devices and view-as dropdown ypratama 2026-09-09 13:57:52 +07:00
  • bb429ba566 Fix: force SUPER_ADMIN site selector to all to prevent being stuck on tenant site ypratama 2026-09-09 13:24:11 +07:00
  • 77708fa8e6 Fix: online threshold 15m->1h, offline selalu tampilkan tanggal+jam lengkap ypratama 2026-09-09 10:12:05 +07:00
  • 773e654616 Fix: Add protected_label field immune to Proxy overwrites - UI always reads protected_label first ypratama 2026-09-08 17:35:43 +07:00
  • 90817cb2f8 Fix: Proxy NEVER overwrites custom label - two-step upsert approach ypratama 2026-09-08 17:25:11 +07:00
  • 0dcedf5d76 Fix: strictly filter flows by agent UUID to prevent org-level data pollution master ypratama 2026-09-07 13:29:20 +07:00
  • 068435ffb9 Fix: strictly use active flows for online status (ignore dummy summaries) ypratama 2026-09-07 11:43:24 +07:00
  • f7ebd7a5c5 Feat: auto-cleanup duplicate agents on label edit ypratama 2026-09-07 11:26:41 +07:00
  • 6a23577b08 Fix: default uptime to 0 instead of 100 for inactive agents ypratama 2026-09-07 10:52:34 +07:00
  • f0d9a55a56 Fix: strict 15m online threshold for agents ypratama 2026-09-04 16:35:42 +07:00
  • 64f77187d8 Feat: Auto cleanup old devices/flows when Subnet Config is updated ypratama 2026-09-04 11:01:40 +07:00
  • 8a73d266d8 Fix: Prioritize custom label over dynamic account label on Map pins ypratama 2026-09-04 08:53:20 +07:00
  • bc30a8a0e4 Fix: Update Dockerfile.bun paths to be relative in backend/ ypratama 2026-09-04 08:02:12 +07:00
  • 6e891392a7 Fix: Separate devices by agent_uuid to prevent IP mixing across agents ypratama 2026-09-02 19:01:27 +07:00
  • 7bc28a6a37 Fix: Prioritize custom hardware label over account name in UI ypratama 2026-09-02 18:56:55 +07:00
  • a4dc705a3d Fix: Add missing IP and MAC filtering logic in Devices page ypratama 2026-09-02 18:50:06 +07:00
  • 1bb67e99dd Fix: Add aliases for API Key variables in Proxy ypratama 2026-09-02 18:28:48 +07:00
  • f4ec563a34 Fix: Bind proxy to 0.0.0.0 and fix Docker healthcheck ipv6 localhost bug causing crash loop ypratama 2026-09-02 18:12:16 +07:00
  • ac48bf4585 UI: Replace CARTO basemaps with OpenStreetMap to remove API KEY REQUIRED warning ypratama 2026-09-02 17:48:27 +07:00
  • 3c2dc831a1 UI: Remove No account yet badge from Agents table ypratama 2026-09-02 17:43:06 +07:00
  • 973ac7d264 UI: Remove (Total Bandwidth) text from Top Apps title ypratama 2026-09-02 17:33:36 +07:00
  • e4a484df45 Fix: Add type guard for possibly undefined mongoose connection db ypratama 2026-09-02 17:24:08 +07:00
  • 781826d934 Fix: Remove conflicting updateAgent and deleteAgent imports ypratama 2026-09-02 17:19:00 +07:00
  • 19197ea9fa Feat: Add Edit Label button to Agent Actions ypratama 2026-09-02 17:10:43 +07:00
  • 3524588e42 Feat: Add support for updating and deleting agents in local MongoDB ypratama 2026-09-02 16:57:49 +07:00
  • e7c9870e59 Fix: Properly handle global site_uuid and dynamic env for BACKONE_SITE_UUIDS ypratama 2026-09-02 16:48:55 +07:00
  • 8dd8432c29 Debug: Force Mongo DB connection bypassing sk_db_ check ypratama 2026-09-02 16:28:22 +07:00
  • 919e83331a Debug: Brute force V5 override ypratama 2026-09-02 16:25:07 +07:00
  • 7525375de9 Debug: Hardcode site UUID fallback to fix agents returning 4 and change text to V4 ypratama 2026-09-02 16:13:12 +07:00
  • 56c208f7c9 Fix: Prevent Next.js env inlining and handle test-site in agentsMongo ypratama 2026-09-02 15:39:57 +07:00
  • 997df2bc6b Debug: Update Total Agents text to V3 to verify deployment ypratama 2026-09-02 15:20:36 +07:00
  • 03c9ce5482 Clean: Remove legacy test scripts and directories to improve security and repository cleanliness ypratama 2026-09-02 15:08:57 +07:00
  • 996f685065 Fix: Server action getAgents now correctly falls back to environment KNOWN_SITES when SITE_UUID is all ypratama 2026-09-02 13:55:23 +07:00
  • f61270ddc5 Clean: Remove temporary HTTP logger that was causing ENOENT in production ypratama 2026-09-02 12:12:48 +07:00
  • e28bfbb022 Fix: Fallback to singular BACKONE_SITE_UUID env var if plural is missing ypratama 2026-09-02 12:06:01 +07:00
  • 763970c774 Revert: Keep old INTERNAL_API_URL default to respect Swarm environment variable overrides ypratama 2026-09-02 11:53:14 +07:00
  • b34ea00bcd Fix: Update INTERNAL_API_URL to match compose service name, and fix KNOWN_SITES filtering for all agents ypratama 2026-09-02 11:50:09 +07:00
  • 68c176f972 Fix: Change localhost to 127.0.0.1 in backend healthchecks to bypass Node IPv6 resolution issue with 0.0.0.0 bind ypratama 2026-09-02 11:21:26 +07:00
  • d492adb1ff Feat: Auto-resolve backend API base URL so Swarm redeploys no longer break proxied requests (fetch failed) ypratama 2026-09-02 11:15:16 +07:00
  • 856acdb6da Fix: Unknown site_uuid no longer filters all data out, so overview dashboard always shows charts ypratama 2026-09-02 09:23:38 +07:00
  • 450a8a5daa Fix: Bind backend to 0.0.0.0 in Docker to fix healthcheck failures and frontend proxy connection refused errors ypratama 2026-09-01 11:27:59 +07:00
  • 35f1838c4e Fix: Combro resolved remaining bugs in summary.js and agents.js where site_uuid all was mishandled causing empty overview dashboards ypratama 2026-09-01 11:10:33 +07:00
  • cd93a40104 Fix: Prevent backend from returning empty data when site_uuid is all ypratama 2026-09-01 09:40:51 +07:00
  • 350234d379 Fix: Re-add NETIFY to BACKONE variable mapping in compose file so Portainer pulls work with old images ypratama 2026-09-01 09:17:03 +07:00
  • 0afcc07642 Fix: Revert MongoDB connection logic to respect API key prefix to avoid network isolation issues in Swarm deployments ypratama 2026-08-28 17:04:33 +07:00
  • 0d4802f14a Fix: Prevent getAgents Server Action from throwing to avoid Next.js Server Component render crashes ypratama 2026-08-28 16:59:18 +07:00
  • 2be8b08074 Feat: Natively support NETIFY environment variables and improve MongoDB detection based on URI presence ypratama 2026-08-28 16:43:00 +07:00
  • eedaa588b5 Fix: Add JWT_SECRET to frontend environment to fix authentication in Server Actions ypratama 2026-08-28 15:53:08 +07:00
  • 793624a330 Fix: Pass required backend environment variables to frontend service in docker-compose.prod.yml to prevent Server Components crash ypratama 2026-08-28 15:41:46 +07:00
  • beb80579f0 Fix: Ignore ALL .env files in Docker build to guarantee clean image ypratama 2026-08-28 11:50:39 +07:00
  • 7bfd1d831c Fix: Remove hardcoded rewrites in next.config.ts that hijacked API routes ypratama 2026-08-28 11:27:38 +07:00
  • 9c88561266 Fix: Add .dockerignore to prevent .env.local from polluting Docker build ypratama 2026-08-28 11:20:27 +07:00
  • 2115f406b8 Fix: use INTERNAL_API_URL for runtime backend URL (NEXT_PUBLIC_ is baked at build time) ypratama 2026-08-28 11:11:53 +07:00
  • 60cd973dc8 Add .env.production.example as setup guide ypratama 2026-08-28 11:01:11 +07:00
  • bfffd7f68a Secure docker-compose.prod.yml with variable substitution and add .env.production.example ypratama 2026-08-28 11:00:29 +07:00
  • e1406c20ca Add fe0 and be0 domains to CORS ALLOWED_ORIGINS ypratama 2026-08-28 10:43:02 +07:00
  • 62a91ed10a Hide API URL and DB credentials from docker-compose.prod.yml ypratama 2026-08-27 18:09:01 +07:00
  • a308f5f0c9 Update docker-compose.prod.yml for external domains and mongodb ypratama 2026-08-27 17:41:03 +07:00
  • d1ba95a9cc Update allowedOrigins for new domains ypratama 2026-08-27 17:29:09 +07:00
  • e8397bddc8 Fix TypeScript tuple array typing for GlobeMap lines ypratama 2026-08-27 15:57:46 +07:00
  • 9219035003 Fix TypeScript error for TopWidgets AppStat properties ypratama 2026-08-27 15:51:03 +07:00
  • 20e38ffdb3 Fix TypeScript index error in devices page ypratama 2026-08-27 15:37:08 +07:00
  • 0a991662b7 Upgrade Node.js to v20 for Next.js frontend build ypratama 2026-08-27 15:22:11 +07:00
  • 1dee901f21 Fix Dockerfile npm ci conflict and ENV syntax ypratama 2026-08-27 15:09:06 +07:00
  • 966058e2fe v1.1: Add CIDR subnet filtering and Agent filter in Devices page ypratama 2026-08-27 12:02:01 +07:00
  • f1c1ba03b5 feat(database): configure local to use central database directly and disable local mongo API_Netify rafif 2026-08-24 14:33:51 +07:00
  • d7561dc85d fix(deploy): add _next static asset symlink automation to fix blank white screen and TDD test pass rafif 2026-07-31 11:14:28 +07:00
  • 09cc05829e docs(log): add iteration log for proxy white-labeling and service fix rafif 2026-07-31 10:59:47 +07:00
  • 8e58db970f chore: super deep scanning cleanup - remove obsolete debug files and legacy sqlite db files rafif 2026-07-31 10:40:31 +07:00
  • 8cfa5bc198 chore: cleanup temporary test scripts rafif 2026-07-31 10:32:54 +07:00
  • 8ff9f1372c fix(white-labeling): enforce strict white-labeling compliance on remote index.php and help guides per AGENTS.md Rule 5 rafif 2026-07-31 10:32:40 +07:00
  • b829cf540b fix(deploy): force PM2 restart backone-frontend with --update-env rafif 2026-07-31 10:26:03 +07:00
  • 1a913716a2 fix(deploy): upload full .next/standalone directory in deploy-sftp.js rafif 2026-07-31 10:09:15 +07:00
  • ccea9d7f09 feat(auth): implement 3-attempt login rate limiting, 15-minute account lockout countdown timer, and admin manual unlock capability rafif 2026-07-31 10:01:06 +07:00
  • a577f2d672 chore: super deep scanning cleanup - remove obsolete debug scripts, redundant components, and temporary files rafif 2026-07-31 09:41:11 +07:00
  • 97d2c89c15 feat: complete platform upgrade - mobile UI overhaul, custom MAC owner label PDF exports, and project report documentation rafif 2026-07-31 09:30:20 +07:00
  • d7fa520030 feat(prod): remove hardcoded credentials, clean environment config, and prepare for production deployment rafif 2026-07-29 15:05:56 +07:00
  • f0876face0 fix: add crypto polyfill to next standalone server loader for Node 18 compatibility rafif 2026-07-23 17:55:41 +07:00
  • e975ea788e chore: automate production deployment and safe database migration scripts rafif 2026-07-23 17:46:33 +07:00
  • 0deed7630d feat: implement tab-aware 1-hour session security inactivity timeout rafif 2026-07-23 15:13:11 +07:00
  • 64b5e87341 feat: complete platform upgrade - user guide overhaul, unified export dropdowns, 24h agent tracking, HelpTrigger implementation on all pages rafif 2026-07-23 13:50:07 +07:00
  • 040ef4d45d fix(backend): remove duplicate mongoose index definition on expires_at rafif 2026-07-21 14:16:50 +07:00
  • 36fe496566 style(headers): update all page header titles and add HelpTrigger buttons matching demoplace.my.id rafif 2026-07-21 14:06:37 +07:00
  • fb75711994 fix(dev): auto start in-memory mongodb in npm run dev rafif 2026-07-21 13:56:56 +07:00
  • 960322e30a style(sidebar): match active item highlight and header buttons 100% with demoplace.my.id rafif 2026-07-21 13:52:30 +07:00
  • 7f133a287b style(sidebar): match sidebar menu navigation and page header titles 100% with demoplace.my.id rafif 2026-07-21 13:40:57 +07:00
  • 0156b84b0e feat(production): sync 10/10 production codebase from demoplace.my.id rafif 2026-07-21 13:30:23 +07:00