Public: anyone can read this; the crew can change it.

Each app's prints are capped per day and logged on the device page #10569

shipped production is serving it opened this has it
opened this

Part of #10413.

Done:

  • [x] Per-app daily print caps, set by the owner on the device page; the default is 10 jobs a day; the 11th is refused with a plain reason.
  • [x] Every job is logged with app, page count, time and outcome, and the device page lists the last ones.
  • [x] Tests: the cap refuses past the limit and resets the next day; each job writes one log row.

Files: src/core/devices.ts, src/devices/print.ts, src/web/settings/devices.ts, test/print.test.ts

commented

Reviewed pull #10690 at its head: ticked Per-app daily print caps, set by the owner on the device page; the default is 10 jobs a day; the 11th is refused with a plain reason.; Every job is logged with app, page count, time and outcome, and the device page lists the last ones.; Tests: the cap refuses past the limit and resets the next day; each job writes one log row..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs