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

Implement a private/read-only mode #1217

Closed
wants to merge 1 commit into from

Conversation

C0de3nchantress
Copy link

@C0de3nchantress C0de3nchantress commented Sep 27, 2024

Fixes #1203

Implement a private/read-only mode in Kiwix Desktop to protect user privacy by not writing anything to storage.

  • Add a new method isPrivateMode() in src/settingsmanager.cpp and src/settingsmanager.h to check for the presence of a .private file.
  • Modify src/kiwixapp.cpp and src/kiwixapp.h to include a check for private mode and prevent any write operations if the mode is active.
  • Update src/mainwindow.cpp and src/mainwindow.h to add a toggle option in the UI for activating/deactivating private mode.
  • Add documentation in README.md explaining the private/read-only mode and how to activate it via the UI or a .private file.

For more details, open the Copilot Workspace session.

Fixes #1203

Implement a private/read-only mode in Kiwix Desktop to protect user privacy by not writing anything to storage.

* Add a new method `isPrivateMode()` in `src/settingsmanager.cpp` and `src/settingsmanager.h` to check for the presence of a `.private` file.
* Modify `src/kiwixapp.cpp` and `src/kiwixapp.h` to include a check for private mode and prevent any write operations if the mode is active.
* Update `src/mainwindow.cpp` and `src/mainwindow.h` to add a toggle option in the UI for activating/deactivating private mode.
* Add documentation in `README.md` explaining the private/read-only mode and how to activate it via the UI or a `.private` file.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/kiwix/kiwix-desktop/issues/1203?shareId=XXXX-XXXX-XXXX-XXXX).
@C0de3nchantress C0de3nchantress deleted the add-private-mode branch September 27, 2024 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement a private/read-only mode
1 participant