bitsy-ai / printnanny-os

Image repository, change logs, and issue tracking for PrintNanny OS
GNU Affero General Public License v3.0
23 stars 2 forks source link

Update Available Notification + Automatic Updates #17

Open leigh-johnson opened 2 years ago

leigh-johnson commented 2 years ago

Describe your Request

  1. Show upgrade available notification (PrintNanny Dash)
  2. Show upgrade available notification (PrintNanny Cloud Webapp)
  3. Apply upgrade via notification (instead of Swupdate UI)

Provide Examples Per docs/UPGRADE.md, upgrade patches are currently downloaded and applied manually.

Screenshots or Mockups Example notification

Screen Shot 2022-06-15 at 7 20 38 PM
leigh-johnson commented 2 years ago

Pulling this from 0.3.0 for now, I'm looking for feedback on the spec before I start building.

Here's what I'm thinking:

  1. Upgrade/patch file is downloaded automatically.
  2. Verify checksum/signature of download, then mark upgrade as "ready to apply"
  3. Notification pops up, indicating an upgrade is ready to be applied. Link to change log / docs / patch notes.
  4. If a print job is active, wait until job is finished.
  5. If no print job is active, apply the upgrade and block print jobs from starting until the next reboot.

Comment or email leigh@printnanny.ai to let me know what you think. =)