printhive/lib
dlawler489 2768a71c63 Add per-license commercial-use rules (settings + auto-register)
- license_rules table (name -> commercial); licenses auto-register on
  import with a best-effort seed, overridable in Settings (applies the
  choice to every model with that license)
- resolveCommercial() replaces ad-hoc inferCommercial across import/refresh
- GET/PUT /api/licenses; "License types" section in Settings
- Fix CC short codes: BY / BY-SA / BY-ND now classed sellable (MakerWorld
  stores e.g. "BY-SA"); NC variants stay non-commercial

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-23 10:20:28 +10:00
..
importers Initial commit: Printhive 3D-print file library 2026-06-22 13:15:17 +10:00
auth.js Add email/password auth + SMTP password resets 2026-06-22 22:33:11 +10:00
converter.js Add Docker packaging (Dockerfile, compose, sidecar deps) 2026-06-22 16:51:06 +10:00
db.js Initial commit: Printhive 3D-print file library 2026-06-22 13:15:17 +10:00
fileProcessor.js Initial commit: Printhive 3D-print file library 2026-06-22 13:15:17 +10:00
flaresolverr.js Initial commit: Printhive 3D-print file library 2026-06-22 13:15:17 +10:00
licenses.js Add per-license commercial-use rules (settings + auto-register) 2026-06-23 10:20:28 +10:00
mailer.js Add email/password auth + SMTP password resets 2026-06-22 22:33:11 +10:00
store.js Add per-license commercial-use rules (settings + auto-register) 2026-06-23 10:20:28 +10:00