Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SharedMemory service #1208

Merged
merged 5 commits into from
Jun 13, 2024
Merged

Add SharedMemory service #1208

merged 5 commits into from
Jun 13, 2024

Commits on Jun 13, 2024

  1. Configuration menu
    Copy the full SHA
    dbe91a9 View commit details
    Browse the repository at this point in the history
  2. feat: Add SharedMemory service

    This SharedMemory service is an in memory store used to store data that can be retrieved later by Cozy webviews.
    zatteo committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    23df108 View commit details
    Browse the repository at this point in the history
  3. feat: Store 'scanDocument' result in SharedMemory service

    Sometimes, the operating system kill the mespapiers webview during a
    'scanDocument' due to memory  constraints.
    
    But the 'scanDocument' still run successfully. So we store
    the result in SharedMemory service so that the mespapiers webview
    will be able to retrieve it when it will be reloaded by the
    SupervisedWebview.
    zatteo committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    fdb040b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7659d82 View commit details
    Browse the repository at this point in the history
  5. feat: Read slug from webview options in SharedMemory

    To improve security, we want to be sure that a webview
    only read the shared memory from this webview. So we
    check the slug added by cozy-intent. We also need to
    register this slug.
    zatteo committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    66c2949 View commit details
    Browse the repository at this point in the history