Skip to content

Support Database/Logs extract via Sync Messages #8951

@GeronimoJohn

Description

@GeronimoJohn

Is your feature request related to a problem? Please describe 👀

Support team need a method to get a sqlite database and logs from a tablet. We're pivoting from our original database download solution - #7851 to instead leverage the existing sync message infrastructure.

Describe the solution you'd like 🎁

Use the sync message system to handle file upload requests between remote devices and the central server.

Suggested solution:

  • Build UI for sync messages
    • Shows sync messages in a DataTable under a new page in Manage
    • Clicking on a row shows a modal with relating information to a message. Something similar but not limited to
Image
  • Creating a message should have a custom component to trigger a download similar to this...
Image
  • Extend sync_message functionality to send messages to remote sites
  • Add processor to create/upload files - Handle file generation and upload based on message content (Only on the site_id related to the to store.
  • Implement chunked uploads
  • Add new upload enum type to sync_message_row

Do note that this is also showing information that might not be related to Database/Logs files as sync_messages is not tied to be doing just that.

Describe alternatives you've considered 💭

Previously considered a dedicated database table for managing this, as per issue above, but decided to use existing sync message infrastructure instead.

Additional context 💌

Moneyworks Jobcode 🧰

OMS:JAN24

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions