8000 Document managed storage override for defaultImport and templates · Issue #369 · jobisoft/quicktext · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Document managed storage override for defaultImport and templates #369

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

Open
jobisoft opened this issue Aug 15, 2023 · 1 comment
Open

Document managed storage override for defaultImport and templates #369

jobisoft opened this issue Aug 15, 2023 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@jobisoft
Copy link
Owner
jobisoft commented Aug 15, 2023

@SamuelPlentz

In the next version (probably v6.0) I will move towards a more webExtension-ish approach (which means the settings dialog will be converted to HTML).

During this refactoring I also stop using the LegacyPrefs API. Most options have been moved/migrated towards local storage already, but we still allow a manual override for defaultImport and templateFolder which is currently pulled from the legacy prefs tree (about:config). This will be replaced by managed local storage. Here is a quick overview:
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/storage/managed

So system admins no longer have to set these prefs, but have to save the data in a json file.

{
  "name": "{8845E3B3-E8FB-40E2-95E9-EC40294818C4}",
  "description": "Managed storage for Quicktext Thunderbird Add-on",
  "type": "storage",
  "data": {
    "defaultImport ": "<path>",
    "templates": "<JSON string>",
  }
}

System admins used different means to manipulate the prefs to provision the config to their clients, and they can use similar means to provision the json file to all their clients. This document covers where that json file is located:
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Native_manifests#manifest_location

Would you have time to update our documentation?

@SamuelPlentz
Copy link
Contributor

I think it is better to postpone this. If the webex version is good to go, we should change it.

@jobisoft jobisoft pinned this issue Mar 23, 2025
@jobisoft jobisoft changed the title Document managed storage override for defaultImport and templateFolder Document managed storage override for defaultImport and templates Mar 23, 2025
@jobisoft jobisoft added the help wanted Extra attention is needed label Mar 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants
0