Re: [Sugar-devel] [DESIGN] Proposal: Lease expiry information display in My Settings - About My Computer

2012-08-15 Thread Walter Bender
On Sun, Aug 12, 2012 at 8:48 PM, Gary Martin garycmar...@googlemail.com wrote:
 Hi Anish,

 I've uploaded a mockup image to the wiki [1] which covers most of the items 
 raised in this thread:

  - a new security section (that should only be shown if there is lease 
 information)
  - lease number of days remaining
  - lease absolute expiry date (date string should use correct formatting to 
 display locale date format)

 Did I miss anything?

One nit: There is no such thing as Sugar Labs Inc. Should be: Sugar
Labs, a member project of the Software Freedom Conservancy.

regards.

-walter

 Regards,
 --Gary

 [1] 
 http://wiki.sugarlabs.org/go/File:Settings_About_My_Computer_Security_Section_Mockup.png

 On 7 Aug 2012, at 17:55, Anish Mangal an...@activitycentral.com wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hi Daniel,

 Thanks for replying!

 On Tuesday 07 August 2012 10:12 PM, Daniel Drake wrote:
 On Wed, Aug 1, 2012 at 1:12 PM, Anish Mangal
 an...@activitycentral.com wrote:
 One problem they were also trying to get around in Paraguay is
 that during vacations, the kids don't go to the schools and hence
 the leases expire. If the kids also know about this information,
 then they can easily make sure that they don't get 'locked out'

 You'd hope that the project would make provisions for long-enough
 leases to be supplied before the vacations. But I can see the use
 for this for when that doesn't happen (which is understandable
 given high workloads and so on).

 Talking more with the team in Nicaragua, this functionality would
 be useful for them too. Similar situations are occuring here where
 laptops were activated for a certain amount of time, with the
 strong expectation that internet connectivity would become
 available in the schools before the activations expire (so that
 they can be automatically updated/renewed). These expectations look
 like they won't turn out to be true :(

 So a manual activation update process will happen and the ability
 for someone less-technical to be able to quickly check whether this
 manual update process has completed OK would be of value (that
 would be the person's only contact with activations - we aren't
 expecting them to be able to solve any problems if the results are
 bad, other than report up the chain).


 This is exactly the kind of clear info that should have been in the
 feature page in the first place. Sorry for not doing it earlier.

 Anyway, the use cases you describe in your mail don't seem to be
 described on the feature page. Could you please extend the feature
 page to go into more detail about this? I'll then add the above
 local case if its of interest.


 +1


 Why is the proposal to show the number of days remaining?


 Yes, I remember discussing specifically this with Roberto (PyEduca
 Technical head) back in Dec 2010, and my suggestion was exactly the
 same (to display the date).

 However, as per them (and I know this is not a rational explanation),
 they wanted us to display no of days remaining.

 The Nicaraguan team have expressed a strong preference that this
 should (instead, or additionally) display the expiry date. When
 dealing with long duration activations, which is often the case
 (until good connectivity is established), having a teacher phone up
 and say there are 137 days remaining (and then having to
 calculate the day of expiry in order to put an appropriately timed
 school visit on the calendar) would be a pain.


 I agree with this, and since I cannot seem to remember exactly why
 they wanted it to display in terms of no. of days remaining, I'll ping
 them or we can go with this.

 Since this feature is only relevant for the XO at the moment,
 making use of the bitfrost API would be acceptable to me, but I
 don't see a lot wrong here by parsing the lease.sig directly.
 This file is supposed to be automatically generated/updated in
 normal use cases.

 Are you planning to parse sig02 (delegated leases) by hand as
 well? What if the lease is corrupt in some way?

 I can see myself objecting to any implementation of this that
 doesn't reuse bitfrost. It takes care of all of the corner cases
 and will avoid code duplication.


 Again, it seemed to solve the use case we had in Paraguay, and the
 idea behind upstreaming a feature is that it goes through this process
 of review. I am up for changing the code to use the bitfrost api. It
 should not be complex (if it's adequately documented somewhere).

 Daniel ___ Sugar-devel
 mailing list Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel



 - --
 Anish Mangal
 Dextrose Project Manager
 Activity Central
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.12 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

 iQEcBAEBAgAGBQJQIUh6AAoJEBoxUdDHDZVpEX8H/j5oCzGUvnfIWdy1f/awAnkf
 Trtsm4Me8r2D0ufxEyIZkUHugCQPUTdPqDEAlexr8ziQjy8mqNLrbvEWwwxxl4ho
 

Re: [Sugar-devel] [DESIGN] Proposal: Lease expiry information display in My Settings - About My Computer

2012-08-15 Thread Gary Martin

On 15 Aug 2012, at 20:14, Walter Bender walter.ben...@gmail.com wrote:

 On Sun, Aug 12, 2012 at 8:48 PM, Gary Martin garycmar...@googlemail.com 
 wrote:
 Hi Anish,
 
 I've uploaded a mockup image to the wiki [1] which covers most of the items 
 raised in this thread:
 
 - a new security section (that should only be shown if there is lease 
 information)
 - lease number of days remaining
 - lease absolute expiry date (date string should use correct formatting to 
 display locale date format)
 
 Did I miss anything?
 
 One nit: There is no such thing as Sugar Labs Inc. Should be: Sugar
 Labs, a member project of the Software Freedom Conservancy.

Good catch, this mockup was based on a quick screen grab of the soon to be 
released 12.1, and wasn't aware of it being updated recently. Hmmm. Not sure 
who I'd need to bother to correct the license text.

Regards,
--Gary

 
 regards.
 
 -walter
 
 Regards,
 --Gary
 
 [1] 
 http://wiki.sugarlabs.org/go/File:Settings_About_My_Computer_Security_Section_Mockup.png
 
 On 7 Aug 2012, at 17:55, Anish Mangal an...@activitycentral.com wrote:
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Hi Daniel,
 
 Thanks for replying!
 
 On Tuesday 07 August 2012 10:12 PM, Daniel Drake wrote:
 On Wed, Aug 1, 2012 at 1:12 PM, Anish Mangal
 an...@activitycentral.com wrote:
 One problem they were also trying to get around in Paraguay is
 that during vacations, the kids don't go to the schools and hence
 the leases expire. If the kids also know about this information,
 then they can easily make sure that they don't get 'locked out'
 
 You'd hope that the project would make provisions for long-enough
 leases to be supplied before the vacations. But I can see the use
 for this for when that doesn't happen (which is understandable
 given high workloads and so on).
 
 Talking more with the team in Nicaragua, this functionality would
 be useful for them too. Similar situations are occuring here where
 laptops were activated for a certain amount of time, with the
 strong expectation that internet connectivity would become
 available in the schools before the activations expire (so that
 they can be automatically updated/renewed). These expectations look
 like they won't turn out to be true :(
 
 So a manual activation update process will happen and the ability
 for someone less-technical to be able to quickly check whether this
 manual update process has completed OK would be of value (that
 would be the person's only contact with activations - we aren't
 expecting them to be able to solve any problems if the results are
 bad, other than report up the chain).
 
 
 This is exactly the kind of clear info that should have been in the
 feature page in the first place. Sorry for not doing it earlier.
 
 Anyway, the use cases you describe in your mail don't seem to be
 described on the feature page. Could you please extend the feature
 page to go into more detail about this? I'll then add the above
 local case if its of interest.
 
 
 +1
 
 
 Why is the proposal to show the number of days remaining?
 
 
 Yes, I remember discussing specifically this with Roberto (PyEduca
 Technical head) back in Dec 2010, and my suggestion was exactly the
 same (to display the date).
 
 However, as per them (and I know this is not a rational explanation),
 they wanted us to display no of days remaining.
 
 The Nicaraguan team have expressed a strong preference that this
 should (instead, or additionally) display the expiry date. When
 dealing with long duration activations, which is often the case
 (until good connectivity is established), having a teacher phone up
 and say there are 137 days remaining (and then having to
 calculate the day of expiry in order to put an appropriately timed
 school visit on the calendar) would be a pain.
 
 
 I agree with this, and since I cannot seem to remember exactly why
 they wanted it to display in terms of no. of days remaining, I'll ping
 them or we can go with this.
 
 Since this feature is only relevant for the XO at the moment,
 making use of the bitfrost API would be acceptable to me, but I
 don't see a lot wrong here by parsing the lease.sig directly.
 This file is supposed to be automatically generated/updated in
 normal use cases.
 
 Are you planning to parse sig02 (delegated leases) by hand as
 well? What if the lease is corrupt in some way?
 
 I can see myself objecting to any implementation of this that
 doesn't reuse bitfrost. It takes care of all of the corner cases
 and will avoid code duplication.
 
 
 Again, it seemed to solve the use case we had in Paraguay, and the
 idea behind upstreaming a feature is that it goes through this process
 of review. I am up for changing the code to use the bitfrost api. It
 should not be complex (if it's adequately documented somewhere).
 
 Daniel ___ Sugar-devel
 mailing list Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel
 
 
 
 - --
 Anish 

Re: [Sugar-devel] [DESIGN] Proposal: Lease expiry information display in My Settings - About My Computer

2012-08-12 Thread Gary Martin
Hi Anish,

I've uploaded a mockup image to the wiki [1] which covers most of the items 
raised in this thread:

 - a new security section (that should only be shown if there is lease 
information)
 - lease number of days remaining
 - lease absolute expiry date (date string should use correct formatting to 
display locale date format)

Did I miss anything?

Regards,
--Gary

[1] 
http://wiki.sugarlabs.org/go/File:Settings_About_My_Computer_Security_Section_Mockup.png

On 7 Aug 2012, at 17:55, Anish Mangal an...@activitycentral.com wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Hi Daniel,
 
 Thanks for replying!
 
 On Tuesday 07 August 2012 10:12 PM, Daniel Drake wrote:
 On Wed, Aug 1, 2012 at 1:12 PM, Anish Mangal
 an...@activitycentral.com wrote:
 One problem they were also trying to get around in Paraguay is
 that during vacations, the kids don't go to the schools and hence
 the leases expire. If the kids also know about this information,
 then they can easily make sure that they don't get 'locked out'
 
 You'd hope that the project would make provisions for long-enough 
 leases to be supplied before the vacations. But I can see the use
 for this for when that doesn't happen (which is understandable
 given high workloads and so on).
 
 Talking more with the team in Nicaragua, this functionality would
 be useful for them too. Similar situations are occuring here where 
 laptops were activated for a certain amount of time, with the
 strong expectation that internet connectivity would become
 available in the schools before the activations expire (so that
 they can be automatically updated/renewed). These expectations look
 like they won't turn out to be true :(
 
 So a manual activation update process will happen and the ability
 for someone less-technical to be able to quickly check whether this
 manual update process has completed OK would be of value (that
 would be the person's only contact with activations - we aren't
 expecting them to be able to solve any problems if the results are
 bad, other than report up the chain).
 
 
 This is exactly the kind of clear info that should have been in the
 feature page in the first place. Sorry for not doing it earlier.
 
 Anyway, the use cases you describe in your mail don't seem to be 
 described on the feature page. Could you please extend the feature 
 page to go into more detail about this? I'll then add the above
 local case if its of interest.
 
 
 +1
 
 
 Why is the proposal to show the number of days remaining?
 
 
 Yes, I remember discussing specifically this with Roberto (PyEduca
 Technical head) back in Dec 2010, and my suggestion was exactly the
 same (to display the date).
 
 However, as per them (and I know this is not a rational explanation),
 they wanted us to display no of days remaining.
 
 The Nicaraguan team have expressed a strong preference that this 
 should (instead, or additionally) display the expiry date. When 
 dealing with long duration activations, which is often the case
 (until good connectivity is established), having a teacher phone up
 and say there are 137 days remaining (and then having to
 calculate the day of expiry in order to put an appropriately timed
 school visit on the calendar) would be a pain.
 
 
 I agree with this, and since I cannot seem to remember exactly why
 they wanted it to display in terms of no. of days remaining, I'll ping
 them or we can go with this.
 
 Since this feature is only relevant for the XO at the moment,
 making use of the bitfrost API would be acceptable to me, but I
 don't see a lot wrong here by parsing the lease.sig directly.
 This file is supposed to be automatically generated/updated in
 normal use cases.
 
 Are you planning to parse sig02 (delegated leases) by hand as
 well? What if the lease is corrupt in some way?
 
 I can see myself objecting to any implementation of this that
 doesn't reuse bitfrost. It takes care of all of the corner cases
 and will avoid code duplication.
 
 
 Again, it seemed to solve the use case we had in Paraguay, and the
 idea behind upstreaming a feature is that it goes through this process
 of review. I am up for changing the code to use the bitfrost api. It
 should not be complex (if it's adequately documented somewhere).
 
 Daniel ___ Sugar-devel
 mailing list Sugar-devel@lists.sugarlabs.org 
 http://lists.sugarlabs.org/listinfo/sugar-devel
 
 
 
 - -- 
 Anish Mangal
 Dextrose Project Manager
 Activity Central
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.12 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
 iQEcBAEBAgAGBQJQIUh6AAoJEBoxUdDHDZVpEX8H/j5oCzGUvnfIWdy1f/awAnkf
 Trtsm4Me8r2D0ufxEyIZkUHugCQPUTdPqDEAlexr8ziQjy8mqNLrbvEWwwxxl4ho
 XstY7RZsk9gPGVYiE1bLniIZnO5e63lIyBEkM3eNgkHrO8XTPw86lBBcTcx9XDrx
 T00HW8J1UGDMo29SRcrnxnNVd6j+uArJXcaeSXhLAPb3xkaharF22AbTlWgQ+4s5
 YIzvIfmEYMpqXbCCY+IPSVxzcpdRuHhueaFKchDfzRm01Wf77laACUg6+ZFkq/Ft
 

Re: [Sugar-devel] [DESIGN] Proposal: Lease expiry information display in My Settings - About My Computer

2012-08-12 Thread James Cameron
Thanks, the mockup covers my desire for the lease data not being part
of identity.

-- 
James Cameron
http://quozl.linux.org.au/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [DESIGN] Proposal: Lease expiry information display in My Settings - About My Computer

2012-08-12 Thread Anish Mangal
Hi Gary,

On Mon, Aug 13, 2012 at 6:18 AM, Gary Martin garycmar...@googlemail.com wrote:
 Hi Anish,

 I've uploaded a mockup image to the wiki [1] which covers most of the items 
 raised in this thread:

  - a new security section (that should only be shown if there is lease 
 information)
  - lease number of days remaining
  - lease absolute expiry date (date string should use correct formatting to 
 display locale date format)

 Did I miss anything?


Looks fine to me. Thanks!

 Regards,
 --Gary

 [1] 
 http://wiki.sugarlabs.org/go/File:Settings_About_My_Computer_Security_Section_Mockup.png

 On 7 Aug 2012, at 17:55, Anish Mangal an...@activitycentral.com wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hi Daniel,

 Thanks for replying!

 On Tuesday 07 August 2012 10:12 PM, Daniel Drake wrote:
 On Wed, Aug 1, 2012 at 1:12 PM, Anish Mangal
 an...@activitycentral.com wrote:
 One problem they were also trying to get around in Paraguay is
 that during vacations, the kids don't go to the schools and hence
 the leases expire. If the kids also know about this information,
 then they can easily make sure that they don't get 'locked out'

 You'd hope that the project would make provisions for long-enough
 leases to be supplied before the vacations. But I can see the use
 for this for when that doesn't happen (which is understandable
 given high workloads and so on).

 Talking more with the team in Nicaragua, this functionality would
 be useful for them too. Similar situations are occuring here where
 laptops were activated for a certain amount of time, with the
 strong expectation that internet connectivity would become
 available in the schools before the activations expire (so that
 they can be automatically updated/renewed). These expectations look
 like they won't turn out to be true :(

 So a manual activation update process will happen and the ability
 for someone less-technical to be able to quickly check whether this
 manual update process has completed OK would be of value (that
 would be the person's only contact with activations - we aren't
 expecting them to be able to solve any problems if the results are
 bad, other than report up the chain).


 This is exactly the kind of clear info that should have been in the
 feature page in the first place. Sorry for not doing it earlier.

 Anyway, the use cases you describe in your mail don't seem to be
 described on the feature page. Could you please extend the feature
 page to go into more detail about this? I'll then add the above
 local case if its of interest.


 +1


 Why is the proposal to show the number of days remaining?


 Yes, I remember discussing specifically this with Roberto (PyEduca
 Technical head) back in Dec 2010, and my suggestion was exactly the
 same (to display the date).

 However, as per them (and I know this is not a rational explanation),
 they wanted us to display no of days remaining.

 The Nicaraguan team have expressed a strong preference that this
 should (instead, or additionally) display the expiry date. When
 dealing with long duration activations, which is often the case
 (until good connectivity is established), having a teacher phone up
 and say there are 137 days remaining (and then having to
 calculate the day of expiry in order to put an appropriately timed
 school visit on the calendar) would be a pain.


 I agree with this, and since I cannot seem to remember exactly why
 they wanted it to display in terms of no. of days remaining, I'll ping
 them or we can go with this.

 Since this feature is only relevant for the XO at the moment,
 making use of the bitfrost API would be acceptable to me, but I
 don't see a lot wrong here by parsing the lease.sig directly.
 This file is supposed to be automatically generated/updated in
 normal use cases.

 Are you planning to parse sig02 (delegated leases) by hand as
 well? What if the lease is corrupt in some way?

 I can see myself objecting to any implementation of this that
 doesn't reuse bitfrost. It takes care of all of the corner cases
 and will avoid code duplication.


 Again, it seemed to solve the use case we had in Paraguay, and the
 idea behind upstreaming a feature is that it goes through this process
 of review. I am up for changing the code to use the bitfrost api. It
 should not be complex (if it's adequately documented somewhere).

 Daniel ___ Sugar-devel
 mailing list Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel



 - --
 Anish Mangal
 Dextrose Project Manager
 Activity Central
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.12 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

 iQEcBAEBAgAGBQJQIUh6AAoJEBoxUdDHDZVpEX8H/j5oCzGUvnfIWdy1f/awAnkf
 Trtsm4Me8r2D0ufxEyIZkUHugCQPUTdPqDEAlexr8ziQjy8mqNLrbvEWwwxxl4ho
 XstY7RZsk9gPGVYiE1bLniIZnO5e63lIyBEkM3eNgkHrO8XTPw86lBBcTcx9XDrx
 T00HW8J1UGDMo29SRcrnxnNVd6j+uArJXcaeSXhLAPb3xkaharF22AbTlWgQ+4s5
 

Re: [Sugar-devel] [DESIGN] Proposal: Lease expiry information display in My Settings - About My Computer

2012-08-07 Thread Daniel Drake
On Wed, Aug 1, 2012 at 1:12 PM, Anish Mangal an...@activitycentral.com wrote:
 One problem they were also trying to get around in Paraguay is that
 during vacations, the kids don't go to the schools and hence the
 leases expire. If the kids also know about this information, then they
 can easily make sure that they don't get 'locked out'

You'd hope that the project would make provisions for long-enough
leases to be supplied before the vacations.
But I can see the use for this for when that doesn't happen (which is
understandable given high workloads and so on).

Talking more with the team in Nicaragua, this functionality would be
useful for them too. Similar situations are occuring here where
laptops were activated for a certain amount of time, with the strong
expectation that internet connectivity would become available in the
schools before the activations expire (so that they can be
automatically updated/renewed). These expectations look like they
won't turn out to be true :(

So a manual activation update process will happen and the ability for
someone less-technical to be able to quickly check whether this manual
update process has completed OK would be of value (that would be the
person's only contact with activations - we aren't expecting them to
be able to solve any problems if the results are bad, other than
report up the chain).

Anyway, the use cases you describe in your mail don't seem to be
described on the feature page. Could you please extend the feature
page to go into more detail about this? I'll then add the above local
case if its of interest.


Why is the proposal to show the number of days remaining?

The Nicaraguan team have expressed a strong preference that this
should (instead, or additionally) display the expiry date. When
dealing with long duration activations, which is often the case (until
good connectivity is established), having a teacher phone up and say
there are 137 days remaining (and then having to calculate the day
of expiry in order to put an appropriately timed school visit on the
calendar) would be a pain.

 Since this feature is only relevant for the XO at the moment, making
 use of the bitfrost API would be acceptable to me, but I don't see a
 lot wrong here by parsing the lease.sig directly. This file is
 supposed to be automatically generated/updated in normal use cases.

Are you planning to parse sig02 (delegated leases) by hand as well?
What if the lease is corrupt in some way?

I can see myself objecting to any implementation of this that doesn't
reuse bitfrost. It takes care of all of the corner cases and will
avoid code duplication.

Daniel
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [DESIGN] Proposal: Lease expiry information display in My Settings - About My Computer

2012-08-07 Thread Anish Mangal
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Daniel,

Thanks for replying!

On Tuesday 07 August 2012 10:12 PM, Daniel Drake wrote:
 On Wed, Aug 1, 2012 at 1:12 PM, Anish Mangal
 an...@activitycentral.com wrote:
 One problem they were also trying to get around in Paraguay is
 that during vacations, the kids don't go to the schools and hence
 the leases expire. If the kids also know about this information,
 then they can easily make sure that they don't get 'locked out'
 
 You'd hope that the project would make provisions for long-enough 
 leases to be supplied before the vacations. But I can see the use
 for this for when that doesn't happen (which is understandable
 given high workloads and so on).
 
 Talking more with the team in Nicaragua, this functionality would
 be useful for them too. Similar situations are occuring here where 
 laptops were activated for a certain amount of time, with the
 strong expectation that internet connectivity would become
 available in the schools before the activations expire (so that
 they can be automatically updated/renewed). These expectations look
 like they won't turn out to be true :(
 
 So a manual activation update process will happen and the ability
 for someone less-technical to be able to quickly check whether this
 manual update process has completed OK would be of value (that
 would be the person's only contact with activations - we aren't
 expecting them to be able to solve any problems if the results are
 bad, other than report up the chain).
 

This is exactly the kind of clear info that should have been in the
feature page in the first place. Sorry for not doing it earlier.

 Anyway, the use cases you describe in your mail don't seem to be 
 described on the feature page. Could you please extend the feature 
 page to go into more detail about this? I'll then add the above
 local case if its of interest.
 

+1

 
 Why is the proposal to show the number of days remaining?
 

Yes, I remember discussing specifically this with Roberto (PyEduca
Technical head) back in Dec 2010, and my suggestion was exactly the
same (to display the date).

However, as per them (and I know this is not a rational explanation),
they wanted us to display no of days remaining.

 The Nicaraguan team have expressed a strong preference that this 
 should (instead, or additionally) display the expiry date. When 
 dealing with long duration activations, which is often the case
 (until good connectivity is established), having a teacher phone up
 and say there are 137 days remaining (and then having to
 calculate the day of expiry in order to put an appropriately timed
 school visit on the calendar) would be a pain.
 

I agree with this, and since I cannot seem to remember exactly why
they wanted it to display in terms of no. of days remaining, I'll ping
them or we can go with this.

 Since this feature is only relevant for the XO at the moment,
 making use of the bitfrost API would be acceptable to me, but I
 don't see a lot wrong here by parsing the lease.sig directly.
 This file is supposed to be automatically generated/updated in
 normal use cases.
 
 Are you planning to parse sig02 (delegated leases) by hand as
 well? What if the lease is corrupt in some way?
 
 I can see myself objecting to any implementation of this that
 doesn't reuse bitfrost. It takes care of all of the corner cases
 and will avoid code duplication.
 

Again, it seemed to solve the use case we had in Paraguay, and the
idea behind upstreaming a feature is that it goes through this process
of review. I am up for changing the code to use the bitfrost api. It
should not be complex (if it's adequately documented somewhere).

 Daniel ___ Sugar-devel
 mailing list Sugar-devel@lists.sugarlabs.org 
 http://lists.sugarlabs.org/listinfo/sugar-devel
 


- -- 
Anish Mangal
Dextrose Project Manager
Activity Central
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJQIUh6AAoJEBoxUdDHDZVpEX8H/j5oCzGUvnfIWdy1f/awAnkf
Trtsm4Me8r2D0ufxEyIZkUHugCQPUTdPqDEAlexr8ziQjy8mqNLrbvEWwwxxl4ho
XstY7RZsk9gPGVYiE1bLniIZnO5e63lIyBEkM3eNgkHrO8XTPw86lBBcTcx9XDrx
T00HW8J1UGDMo29SRcrnxnNVd6j+uArJXcaeSXhLAPb3xkaharF22AbTlWgQ+4s5
YIzvIfmEYMpqXbCCY+IPSVxzcpdRuHhueaFKchDfzRm01Wf77laACUg6+ZFkq/Ft
9ChV1LNekysQwf+yCZ9dB9HZdfIjjJ4m1WjrPhrQtqruevs9/nglTp2djqsPU00=
=QHV1
-END PGP SIGNATURE-
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [DESIGN] Proposal: Lease expiry information display in My Settings - About My Computer

2012-08-07 Thread Chris Leonard
On Tue, Aug 7, 2012 at 12:55 PM, Anish Mangal an...@activitycentral.com wrote:

 Why is the proposal to show the number of days remaining?


 Yes, I remember discussing specifically this with Roberto (PyEduca
 Technical head) back in Dec 2010, and my suggestion was exactly the
 same (to display the date).

 However, as per them (and I know this is not a rational explanation),
 they wanted us to display no of days remaining.

Is there any limitation on displaying the information in both terms?
Days remaining and expiration date?

Just speculating about how I would mentally process such information,
my guess is that more than two weeks out, I'd look at the date, less
that two weeks out, I'd look at the days remaining.

cjl
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [DESIGN] Proposal: Lease expiry information display in My Settings - About My Computer

2012-08-02 Thread Gonzalo Odiard

   On this point, the code seems to not behave you describe above.
 Testing on an XO-1, the DX3 build 143 International, I see an item in the
 Identity section saying Lease: Not available. The wording Not available
 suggests something is missing from my XO when actually this machine does
 not need a lease, and is unsecured, this line of information should not be
 displayed at all to the user.
 


 Yes, that is correct. That change will be made when the code is ported
 over to mainline.


Maybe you can put this information in a Security section instead of
Identity,
and show it only if needed?

Gonzalo
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [DESIGN] Proposal: Lease expiry information display in My Settings - About My Computer

2012-08-02 Thread Gary Martin

On 2 Aug 2012, at 12:50, Gonzalo Odiard gonz...@laptop.org wrote:

 
 On this point, the code seems to not behave you describe
   above. Testing on an XO-1, the DX3 build 143 International, I see
   an item in the Identity section saying Lease: Not available. The
   wording Not available suggests something is missing from my XO
   when actually this machine does not need a lease, and is
   unsecured, this line of information should not be displayed at all
   to the user.
 
 
   
 
 
 
 Yes, that is correct. That change will be made when the code is ported over 
 to mainline.
 
 
 Maybe you can put this information in a Security section instead of 
 Identity,
 and show it only if needed?

+1, sounds like a reasonable choice. Could also be a fair place for future 
patches to add security related information on things like root access 
available/unavailable, OFW prompt enabled/disabled, signed/unsigned build.

--Gary

 Gonzalo

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [DESIGN] Proposal: Lease expiry information display in My Settings - About My Computer

2012-08-01 Thread Anish Mangal
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday 19 July 2012 08:26 PM, Samuel Greenfeld wrote:
 Personally I think this would be a reasonable feature.  But prior
 to this discussion I have never heard of the word expiry before.
 
 In US English the synonym expiration tends to be used much more 
 often.  I do not know what the preferred international form is.
 

I don't really know what the correct English would be, but expiration
sounds okay to me too. In India, we often use the word expiry, but
could be a common mistake :-)

- --
Anish

 --- SJG
 
 
 On Thu, Jul 19, 2012 at 10:40 AM, Rafael Ortiz 
 raf...@activitycentral.com mailto:raf...@activitycentral.com
 wrote:
 
 
 
 On Wed, Jul 18, 2012 at 1:07 PM, Anish Mangal 
 an...@activitycentral.com mailto:an...@activitycentral.com
 wrote:
 
 Hi,
 
 I would like to propose a feature for discussion and inclusion in
 the 0.98 cycle.
 
 http://wiki.sugarlabs.org/go/Features/Lease_Information_Display
 
 This feature, which has been tested to work on 0.94 based
 dextrose-3 builds, displays information relating to lease expiry in
 the about my computer section in the my settings menu.
 
 This feature is valuable for support staff in deployments which
 use OLPC's security system built on the XO laptops, and was
 specifically requested by the OLPC deployment in Paraguay.
 
 Please go through the feature page for a more in-depth explanation
 and a screenshot. Looking forward to discussion and answering
 queries.
 
 
 +1 to me, it's been used in dextrose w/o problems.
 
 
 
 Cheers, Anish ___ 
 Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org 
 mailto:Sugar-devel@lists.sugarlabs.org 
 http://lists.sugarlabs.org/listinfo/sugar-devel
 
 
 
 ___ Sugar-devel mailing
 list Sugar-devel@lists.sugarlabs.org
 mailto:Sugar-devel@lists.sugarlabs.org 
 http://lists.sugarlabs.org/listinfo/sugar-devel
 
 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJQGYAWAAoJEBoxUdDHDZVpWecH/25z/7nHa74cK6CZTiS4CU9h
oVWrv1Y1qmXE1sEZ0/0Tri4zfcrQxq/zIxLxfAKLziVbTtwB1PxGo+E3z2o0CoIH
wNhOB+vFVXeRxlttCzhqoKujenGvWM7DY5EZHcV5tt3gOuctflVlD3j/7aw+lO+u
GeThh+lyMFz1vLvHc3BaQdTQUldx36an5CB8QAqL3gIWeKX+9uXW8UcGu4AUT+p2
U+hv/X/ANPIKqgA8NLAKSWkWLqDMQXB6DqKPHRzp9UM4jFcPB29WUBlq1K77GAFh
GwSYVVBxi9uQOcKrA+JjXV7k+uVTjrcGCa7crLPhLPg5UlJDlYlIYRbYOYnNmqs=
=vhzJ
-END PGP SIGNATURE-
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [DESIGN] Proposal: Lease expiry information display in My Settings - About My Computer

2012-08-01 Thread Anish Mangal

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Friday 20 July 2012 04:05 AM, James Cameron wrote:
 I don't think it should be in a section titled Identity, because it
 isn't an identifier, and is only related to serial number because of
 implementation details.

Your probably right. IIRC the idea was to make that information visible
alongside the Serial Number.

Does it make sense to move it to Software?

I don't want to rename the sections because this feature should only be
visible when the lease file is actually present.


 I don't wish to constrain your creativity by saying how to fix that
 though. I'm sure you can imagine many alternatives.



- -- 
Anish Mangal
Sugar Labs
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJQGYKjAAoJEBoxUdDHDZVpA+cH/2tT8rDzqoN3GPZbJhrU+fvR
bRMw2sDwi+GHw+57WikzKygjeBBiEriKITO9gCtzyNgrQDz6leYTh4RHV2Iva5XK
r+XGHIs1g1UN66aM6KicdocEEJzAX8ClE44uvyli1bc+q4D2dXtHyHguMeEc+H+0
n+LQAiaR3HeBSx2bCwvXIchwJvIvIj0+GDYCCfbE2yMCzUI1yuVSUx/f880Ucvod
8+fa9Q4d3CATcHdz0wgpGcKw2By2ETjSlMkMuMeJbgivFh7OdMvu3T/4IBi0wz2O
q94j6gKpEAIDHGn7UeYYFU7W9UebtRRcgg1VEy58w8fa4lrl0ySxd/mZkTnyCUY=
=iZ6m
-END PGP SIGNATURE-

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [DESIGN] Proposal: Lease expiry information display in My Settings - About My Computer

2012-08-01 Thread Ian MacArthur

On 1 Aug 2012, at 20:14, Anish Mangal wrote:

 On Thursday 19 July 2012 08:26 PM, Samuel Greenfeld wrote:
 Personally I think this would be a reasonable feature.  But prior
 to this discussion I have never heard of the word expiry before.
 
 In US English the synonym expiration tends to be used much more 
 often.  I do not know what the preferred international form is.
 
 
 I don't really know what the correct English would be, but expiration
 sounds okay to me too. In India, we often use the word expiry, but
 could be a common mistake :-)

FWIW (which isn't much) I think expiry is the normal British English usage, 
and expiration sounds odd.
The British English form is still pretty common in other dialects, particularly 
where the British influence continued past (say) 1776 or thereabouts...
Which is more common I could not say. I imagine both forms are understood...



___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [DESIGN] Proposal: Lease expiry information display in My Settings - About My Computer

2012-08-01 Thread Anish Mangal

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday 02 August 2012 04:30 AM, Gary Martin wrote:
 On 1 Aug 2012, at 20:25, Anish Mangal an...@sugarlabs.org wrote:


 On Friday 20 July 2012 04:05 AM, James Cameron wrote:
  I don't think it should be in a section titled Identity, because it
  isn't an identifier, and is only related to serial number because of
  implementation details.

 Your probably right. IIRC the idea was to make that information visible
 alongside the Serial Number.

 Does it make sense to move it to Software?

  I don't have a strong objection to it being in Identity, but then
again, I am not aware of many of the implementation details of the code
behind it – also likely true for most folks reading it in the field.

  If it moves to Software, perhaps it should go below the Firmware
line? James is that more inkeeping with the implementation? The other
option is for a new Lease section below the Identity section.

 I don't want to rename the sections because this feature should only be
 visible when the lease file is actually present.

  On this point, the code seems to not behave you describe above.
Testing on an XO-1, the DX3 build 143 International, I see an item in
the Identity section saying Lease: Not available. The wording Not
available suggests something is missing from my XO when actually this
machine does not need a lease, and is unsecured, this line of
information should not be displayed at all to the user.


Yes, that is correct. That change will be made when the code is ported
over to mainline.

  Regards,
  --Gary


 
  I don't wish to constrain your creativity by saying how to fix that
  though. I'm sure you can imagine many alternatives.
 



 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel
 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel

- -- 
Anish Mangal
Sugar Labs
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJQGdpRAAoJEBoxUdDHDZVpQYIH/11UXRL+4PY23ijV9CoL0Ph6
7vexudcSbOrVNSnPCzFOaKpu9tYxSP8nYmv4S0X8KEGi4PbyAJG5O2vDb67A71SK
TgbGXPqdx6FIa/i+n0axl46DAn21vQLzUQp+wFT9GvgtiBqVJW8iM/T9PlRD8phP
RldsRei0jbA4AdxSHLhjyQypiE7Lcnio6FYAhrW0sYeydVLyXOpCSkv4XyQFcL5t
/liB5bKs1YX9EirFJPJURuKKGWmQ/GC//uk3vmWKV+KaBJwE9koirNU4OvjSwNVX
g51nmt1LwXbmYDtDWgYeUm+5hUPWbjxsFRskgW1Zgedo44XSpYz5r0DVhFzbT6I=
=Xr6U
-END PGP SIGNATURE-

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [DESIGN] Proposal: Lease expiry information display in My Settings - About My Computer

2012-08-01 Thread James Cameron
On Thu, Aug 02, 2012 at 12:55:23AM +0530, Anish Mangal wrote:
 Your probably right. IIRC the idea was to make that information
 visible alongside the Serial Number.

And what I'm saying is that the lease expiry does in no way identify a
system, so it should not be in a section with a title Identity.

 Does it make sense to move it to Software?

No.

 I don't want to rename the sections because this feature should only
 be visible when the lease file is actually present.

In other words, you do not want to fix the problems with the section
titles.  I understand that.  But you did ask for review.

Looking again at the About my Computer panel, there are other
inconsistencies:

- the Build in the Software section shows the hardware model,
  (hardware model should not be in a Software section),

- the Build shows both the OLPC OS version _and_ the build number,

- the version of Fedora is not shown,

I think the Identity section might change to Hardware, and move the
hardware model up there from Build.

Here's a suggested layout:

Hardware
Manufacturer: OLPC
Model: XO-1.5
Serial Number: SHC952A

Firmware:
System: Q3C09   Wireless: 9.70.20.p0

Software:
Release: 12.1.0 Build: 18
Distribution: FedoraVersion: 17
Sugar: 0.96.2

The panel already has a scroll bar to fit the Fill license item in.

On Thu, Aug 02, 2012 at 12:00:19AM +0100, Gary Martin wrote:
 If it moves to Software, perhaps it should go below the Firmware
 line? James is that more inkeeping with the implementation? The
 other option is for a new Lease section below the Identity section.

It need not be in keeping with the implementation, that was my
original point.

-- 
James Cameron
http://quozl.linux.org.au/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [DESIGN] Proposal: Lease expiry information display in My Settings - About My Computer

2012-07-25 Thread Daniel Drake
On Wed, Jul 18, 2012 at 12:07 PM, Anish Mangal
an...@activitycentral.com wrote:
 I would like to propose a feature for discussion and inclusion in the
 0.98 cycle.

 http://wiki.sugarlabs.org/go/Features/Lease_Information_Display

 This feature is valuable for support staff in deployments which use
 OLPC's security system built on the XO laptops, and was specifically
 requested by the OLPC deployment in Paraguay.

I read the feature page, and I don't really understand the use case or
problem that needs to be solved. I'm not convinced that changing sugar
is the right answer, especially when this only affects support staff,
not regular users.

The feature page discusses the case when the lease has expired, but
this seems like quite the corner case to me. Assuming that XO laptops
are booted and shutdown on a daily basis, this bit of information
would only be shown when the following happens:
 - The XO is booted in the morning
 - The lease expires shortly after boot
 - A support staff member happens to pick up that laptop that same
day, before the laptop gets shut down, and opens About my computer

Any member of support staff that deals with leases is going to need to
be a little bit familiar with the lease.sig format and location. So
running cat /security/lease.sig at the terminal can show the same
information - its a little bit technical, but again, familiarity is
required for this role anyway. For the rare occasions when leases need
to be checked, running this command at a terminal suffices here in
Nicaragua at least.

It is harder to read the expiry of a sig02 lease from catting the
file, but as far as I know those aren't used in Paraguay. If the
format is too difficult then perhaps a command line tool in bitfrost
would be a better solution.

From a technical perspective, the implementation would need to either
be quite hacky (parsing lease.sig directly) or use bitfrost. Using
bitfrost libraries would be OK but the feature page should note that
this now becomes a dependency of sugar.

Daniel
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [DESIGN] Proposal: Lease expiry information display in My Settings - About My Computer

2012-07-19 Thread Rafael Ortiz
On Wed, Jul 18, 2012 at 1:07 PM, Anish Mangal an...@activitycentral.comwrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hi,

 I would like to propose a feature for discussion and inclusion in the
 0.98 cycle.

 http://wiki.sugarlabs.org/go/Features/Lease_Information_Display

 This feature, which has been tested to work on 0.94 based dextrose-3
 builds, displays information relating to lease expiry in the about my
 computer section in the my settings menu.

 This feature is valuable for support staff in deployments which use
 OLPC's security system built on the XO laptops, and was specifically
 requested by the OLPC deployment in Paraguay.

 Please go through the feature page for a more in-depth explanation and
 a screenshot. Looking forward to discussion and answering queries.


+1 to me, it's been used in dextrose w/o problems.



 Cheers,
 Anish
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.12 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

 iQEcBAEBAgAGBQJQBvtoAAoJEBoxUdDHDZVp/MkH/R8FAidMLuPlxGzZ+kqJvInY
 7ZW+pDwNjunZv8NVEQ7iRyVgupti7/n5ENuME4HOQNj7Wb3LrOF08yF/jBfBhrKW
 kUp3MJtMQ3zHM2HcVHwwA4v/LcQC6kVwePWvQSPodkqVhZuNPIYfajyOfYB7vK6H
 +9xRKP3O6cFb9sVJZFdpSCNg0hiqPcreZbROOYL/XY6zQZ5pjlIEvsTRcdRa+dfg
 MYGzIo04n42MMVZIFgo8kXCjUlj1MhPecGiQ9W6ChSGd4kyR0VALlO78yncsfFRF
 wfKge/R0qTZKIs0DqvsIhA6Z2E953E/im0bvpjktkuQ1CKEs2P9/s/87CVepDQg=
 =lBtG
 -END PGP SIGNATURE-
 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [DESIGN] Proposal: Lease expiry information display in My Settings - About My Computer

2012-07-19 Thread Samuel Greenfeld
Personally I think this would be a reasonable feature.  But prior to this
discussion I have never heard of the word expiry before.

In US English the synonym expiration tends to be used much more often.  I
do not know what the preferred international form is.

---
SJG


On Thu, Jul 19, 2012 at 10:40 AM, Rafael Ortiz
raf...@activitycentral.comwrote:



 On Wed, Jul 18, 2012 at 1:07 PM, Anish Mangal 
 an...@activitycentral.comwrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hi,

 I would like to propose a feature for discussion and inclusion in the
 0.98 cycle.

 http://wiki.sugarlabs.org/go/Features/Lease_Information_Display

 This feature, which has been tested to work on 0.94 based dextrose-3
 builds, displays information relating to lease expiry in the about my
 computer section in the my settings menu.

 This feature is valuable for support staff in deployments which use
 OLPC's security system built on the XO laptops, and was specifically
 requested by the OLPC deployment in Paraguay.

 Please go through the feature page for a more in-depth explanation and
 a screenshot. Looking forward to discussion and answering queries.


 +1 to me, it's been used in dextrose w/o problems.



 Cheers,
 Anish
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.12 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

 iQEcBAEBAgAGBQJQBvtoAAoJEBoxUdDHDZVp/MkH/R8FAidMLuPlxGzZ+kqJvInY
 7ZW+pDwNjunZv8NVEQ7iRyVgupti7/n5ENuME4HOQNj7Wb3LrOF08yF/jBfBhrKW
 kUp3MJtMQ3zHM2HcVHwwA4v/LcQC6kVwePWvQSPodkqVhZuNPIYfajyOfYB7vK6H
 +9xRKP3O6cFb9sVJZFdpSCNg0hiqPcreZbROOYL/XY6zQZ5pjlIEvsTRcdRa+dfg
 MYGzIo04n42MMVZIFgo8kXCjUlj1MhPecGiQ9W6ChSGd4kyR0VALlO78yncsfFRF
 wfKge/R0qTZKIs0DqvsIhA6Z2E953E/im0bvpjktkuQ1CKEs2P9/s/87CVepDQg=
 =lBtG
 -END PGP SIGNATURE-
 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel



 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel


___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [DESIGN] Proposal: Lease expiry information display in My Settings - About My Computer

2012-07-19 Thread James Cameron
I don't think it should be in a section titled Identity, because it
isn't an identifier, and is only related to serial number because of
implementation details.

I don't wish to constrain your creativity by saying how to fix that
though.  I'm sure you can imagine many alternatives.

-- 
James Cameron
http://quozl.linux.org.au/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel