Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • erp5 erp5
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 142
    • Merge requests 142
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedinexedi
  • erp5erp5
  • Merge requests
  • !1512

[ERP5 Master appstore_base] Officejs appstore service worker

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Roque requested to merge rporchetto/erp5:roque_officejs into master Nov 17, 2021
  • Overview 36
  • Commits 4
  • Pipelines 0
  • Changes 10

Add an appstore service worker at the root url for the apps so they can work offline again. The sw caches the app redirection to its latest version.

  • Service worker update relies on the modification date of the app site, which is updated in the software publication workflow when a new app version is accepted.

  • This change in CSP was done to make redirect page script work: https://lab.nexedi.com/nexedi/erp5/merge_requests/1512/diffs?commit_id=776266315079cd2266e9a582cd5e263d074b7e6d

Edited Dec 09, 2021 by Roque
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: roque_officejs
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7