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

[Feature] Color coded devices. #261

Closed
wants to merge 13 commits into from
Closed

[Feature] Color coded devices. #261

wants to merge 13 commits into from

Conversation

i5o
Copy link
Contributor

@i5o i5o commented Feb 27, 2014

This patch finally set a UNIQUE color for UNIQUE device.
Because the uuid never is the same in the devices.

If not uuid, this use the path.

captura de pantalla de 2014-02-27 11 08 41
captura de pantalla de 2014-02-27 11 10 02
captura de pantalla de 2014-02-27 11 10 08
captura de pantalla de 2014-02-27 11 09 58

i5o and others added 13 commits February 15, 2014 19:22
wiki.laptop.org, where the pages used to update the activities are
located, usually serve old cached pages. We can avoid that
setting the header Cache-Control' = 'max-age=600',
and be sure the page is not older than 10 minutes.

A reason to set this at client side, and not solve it only
in wiki.laptop.org, is the posibility of intermnediate caches,
as provider or school server proxies, or the use of other
activities servers in particular deployments.

Signed-off-by: Gonzalo Odiard <godiard@sugarlabs.org>
The object_id can be retrieved in more than one chunk,
then the parser should take carr of that.

Signed-off-by: Gonzalo Odiard <godiard@sugarlabs.org>
Without this patch, the updater show a message
'Your software is up-to-date', when can't connect to the server.

Signed-off-by: Gonzalo Odiard <godiard@sugarlabs.org>
Updates LGPL-python.txt to read the FSF's new address.
This is needed to allow the next update request to work.

This was missed in the last patch "Show a error message
if the activity updater can't connect to the server"

Signed-off-by: Gonzalo Odiard <godiard@sugarlabs.org>
If the user changes the username on My Setting -> About me view and then
reverts it to the initial username, remove the warning about restart.
Take into consideration also the following usecases:
 - user also changes the color
 - user cancels the modifications and reverts to the initial username
 - user makes a change, reverts, clicks accept, reenters the About Me settings
This patch finally set a UNIQUE color for UNIQUE device.
Because the uuid never is the same in the devices.

If not uuid, this use the path.
@tchx84
Copy link
Member

tchx84 commented Mar 5, 2014

Remember the idea of this feature is to identify a external device its color. If the color of one external device changes (ie., between machines as in the example I showed you, or even if you connect two devices with the same characteristics, as I explain above), then it fails because it lacks the "identity" property, which is the basis for identifying something.

If you connect a external device, while another is connected, and you get RED, but then you re-connect the same device without, when the other device is gone, and you get BLUE, then its wrong. Because the color is not identifying it anymore.

@dnarvaez dnarvaez modified the milestone: 0.104 Mar 8, 2014
@dnarvaez
Copy link
Contributor

Sounds like this needs work.

@dnarvaez dnarvaez closed this Mar 13, 2014
This was referenced Mar 21, 2014
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.

6 participants