[Bug 623844] Re: lockpref not honored in /etc/thunderbird/pref/thunderbird.js

2019-07-01 Thread Bug Watch Updater
** Bug watch added: Mozilla Bugzilla #976334
   https://bugzilla.mozilla.org/show_bug.cgi?id=976334

** Bug watch added: Mozilla Bugzilla #1428920
   https://bugzilla.mozilla.org/show_bug.cgi?id=1428920

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/623844

Title:
  lockpref not honored in /etc/thunderbird/pref/thunderbird.js

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunderbird/+bug/623844/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 623844] Re: lockpref not honored in /etc/thunderbird/pref/thunderbird.js

2018-03-10 Thread Mathew Hodson
** Bug watch removed: Mozilla Bugzilla #984012
   https://bugzilla.mozilla.org/show_bug.cgi?id=984012

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/623844

Title:
  lockpref not honored in /etc/thunderbird/pref/thunderbird.js

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunderbird/+bug/623844/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 623844] Re: lockpref not honored in /etc/thunderbird/pref/thunderbird.js

2018-03-07 Thread Bug Watch Updater
** Changed in: thunderbird
   Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/623844

Title:
  lockpref not honored in /etc/thunderbird/pref/thunderbird.js

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunderbird/+bug/623844/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 623844] Re: lockpref not honored in /etc/thunderbird/pref/thunderbird.js

2015-03-27 Thread Bug Watch Updater
** Bug watch added: Mozilla Bugzilla #984012
   https://bugzilla.mozilla.org/show_bug.cgi?id=984012

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/623844

Title:
  lockpref not honored in /etc/thunderbird/pref/thunderbird.js

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunderbird/+bug/623844/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 623844] Re: lockpref not honored in /etc/thunderbird/pref/thunderbird.js

2011-06-27 Thread Jan-Marek Glogowski
** Bug watch added: Mozilla Bugzilla #440908
   https://bugzilla.mozilla.org/show_bug.cgi?id=440908

** Also affects: thunderbird via
   https://bugzilla.mozilla.org/show_bug.cgi?id=440908
   Importance: Unknown
   Status: Unknown

** Patch added: Debian Patch from 3.1.9-2
   
https://bugs.launchpad.net/thunderbird/+bug/623844/+attachment/2182900/+files/0007-Allow-.js-preference-files-to-set-locked-prefs-with-.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/623844

Title:
  lockpref not honored in /etc/thunderbird/pref/thunderbird.js

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunderbird/+bug/623844/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 623844] Re: lockpref not honored in /etc/thunderbird/pref/thunderbird.js

2011-06-27 Thread Bug Watch Updater
Launchpad has imported 18 comments from the remote bug at
https://bugzilla.mozilla.org/show_bug.cgi?id=440908.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.


On 2008-06-21T00:56:40+00:00 Mh+mozilla wrote:

Created attachment 326060
patch

The attached patch allows to use lockPref() in any .js preference file
(prefs.js, files in default/preferences...)

Reply at: https://bugs.launchpad.net/thunderbird/+bug/623844/comments/0


On 2008-06-21T01:06:06+00:00 Mh+mozilla wrote:

Created attachment 326061
patch

Obviously, neither the debian changelog nor the fprintf should be in the
patch. The first patch doesn't exist. You haven't seen it. The only
patch existing is this one.

Reply at: https://bugs.launchpad.net/thunderbird/+bug/623844/comments/1


On 2008-07-22T15:46:31+00:00 Benjamin Smedberg (Mozilla) [:bs] wrote:

Because I apparently inherited ownership of this code by default, I'm
going to need some more summary here:

* what is the motivation for this change?
* where did lockPref use to work? In what new cases are we making it work?
* I'm going to need tests. I think writing an xpcshell test for this shouldn't 
be too hard.

Reply at: https://bugs.launchpad.net/thunderbird/+bug/623844/comments/2


On 2008-07-22T15:48:23+00:00 Benjamin Smedberg (Mozilla) [:bs] wrote:

Comment on attachment 326061
patch

canceling review request until questions are answered

Reply at: https://bugs.launchpad.net/thunderbird/+bug/623844/comments/3


On 2008-07-22T18:10:02+00:00 Mh+mozilla wrote:

(In reply to comment #2)
 Because I apparently inherited ownership of this code by default, I'm going to
 need some more summary here:
 
 * what is the motivation for this change?
 * where did lockPref use to work? In what new cases are we making it work?

lockPref is an exclusive feature of the autoconfig stuff right now.
Autoconfig uses a single file, located in the application directory, and
which name is given by the general.config.filename preference, with
pseudo security featured by a general.config.obscure_value preference.

Autoconfig also allows to use javascript constructs, contrary to
standard pref files that are limited to pref() and user_pref().

The problem we had in debian is that we need to lock some preferences,
to avoid users to harm themselves with bad preferences.
app.update.enable, for instance. The first solution was to use the
general.config.filename/obscure_value pair to just do that. The problem
is that this file being provided by the package, it is also overwritten
on any package upgrade, which means admins needing to use autoconfig
just can't.

I found it a convenient way to solve this by allowing standard
preferences to lock preferences.

I'm pretty sure you can find some other uses to this feature.

 * I'm going to need tests. I think writing an xpcshell test for this shouldn't
 be too hard.

Can you still review the patch without the tests ?

Reply at: https://bugs.launchpad.net/thunderbird/+bug/623844/comments/4


On 2008-11-07T19:15:40+00:00 Benjamin Smedberg (Mozilla) [:bs] wrote:

Frankly, to solve the specific case of Debian users trying to enable
updates, I think the best course of action is to get rid of the
app.update.url pref from the Debian builds: then even if the user were
to turn updates on, nothing bad could happen.

I'm trying to find somebody to help walk through the twisted jungle
here; this is not likely to make it for FF3.1 because it touches
something close to PAC, which is some of our most fragile code.

Reply at: https://bugs.launchpad.net/thunderbird/+bug/623844/comments/5


On 2008-11-07T19:23:44+00:00 Mh+mozilla wrote:

This has nothing to do with app.update.url, but with admins wanting to
lock some prefs to their users without fidling with
general.config.filename.

Reply at: https://bugs.launchpad.net/thunderbird/+bug/623844/comments/6


On 2008-11-07T20:41:37+00:00 Benjamin Smedberg (Mozilla) [:bs] wrote:

Which may be a worthwhile use case, but I'm pretty sure we don't want
extensions to be able to lock preferences (for example), and it's not
clear to me that we distinguish between admins and extensions very well.

Reply at: https://bugs.launchpad.net/thunderbird/+bug/623844/comments/7


[Bug 623844] Re: lockpref not honored in /etc/thunderbird/pref/thunderbird.js

2010-08-25 Thread Christoph Erdle

** Attachment added: Dependencies.txt
   
https://bugs.launchpad.net/bugs/623844/+attachment/1517468/+files/Dependencies.txt

-- 
lockpref not honored in /etc/thunderbird/pref/thunderbird.js
https://bugs.launchpad.net/bugs/623844
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 623844] Re: lockpref not honored in /etc/thunderbird/pref/thunderbird.js

2010-08-25 Thread Christoph Erdle
also the following does not work:

var userName = getenv(USER);
pref(mail.server.server2.hostname, mailserver.mydomain.mytld);
pref(mail.server.server2.name, userName + @mydomain.mytld);

this seems to stop processing when encountering the var line. When
commenting out this line, mail.server.server2.hostname gets set, but
for obvious reasons mail.server.server2.name does not get set, as the
variable userName is not defined.

-- 
lockpref not honored in /etc/thunderbird/pref/thunderbird.js
https://bugs.launchpad.net/bugs/623844
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 623844] Re: lockpref not honored in /etc/thunderbird/pref/thunderbird.js

2010-08-25 Thread Chris Coulson
** Changed in: thunderbird (Ubuntu)
   Importance: Undecided = Wishlist

-- 
lockpref not honored in /etc/thunderbird/pref/thunderbird.js
https://bugs.launchpad.net/bugs/623844
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs