Code Monkey home page Code Monkey logo

Comments (5)

arlolra avatar arlolra commented on June 10, 2024

Ah, right. In Tor Messenger we've disabled all logging. But for Instantbird, this will be a useful feature.

from ctypes-otr.

azadi avatar azadi commented on June 10, 2024

Related: warn the user if logging is enabled (if the user explicitly enabled it).

from ctypes-otr.

arlolra avatar arlolra commented on June 10, 2024

Pushed a patch for the first part of this there. It depends on merging something upstream though.
https://bugzilla.mozilla.org/show_bug.cgi?id=1175374

Working on the warning next.

from ctypes-otr.

vqhuy avatar vqhuy commented on June 10, 2024

@arlolra how do you display the warning to users? Should we show it in conversation window (using systemMessage method)?

from ctypes-otr.

arlolra avatar arlolra commented on June 10, 2024

@c633 I think using the notification box would be preferable, since we'll eventually want to conveniently add actions like "disable logging".

Unfortunately, at present, disabling logging doesn't affect the current conversation. I had a patch for that but it got stalled on a dependency, which I see has now resolved. I should pick that up soon.
https://bugzilla.mozilla.org/show_bug.cgi?id=1175706

Even more unfortunate is that the logging flag has no granularity and can't be applied to individual conversations. The other patch above, which also stalled, is perhaps too fined grained and applies to messages themselves. Not sure why I did that. I need to revisit this whole issue.

Anyways, yes, a notification box with perhaps a pref to permanently dismiss the warnings would be a good first start. See code in ui.js around notifyBox for an example.

from ctypes-otr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.