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] Backup feature try2 #266

Closed
wants to merge 21 commits into from

Conversation

godiard
Copy link
Contributor

@godiard godiard commented Feb 28, 2014

No description provided.

i5o and others added 21 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
Signed-off-by: Gonzalo Odiard <godiard@sugarlabs.org>
Add Backup and Restore classes. These classes implement
backup and restore mechanisms to be used with external
volumes, such as memory sticks.

Add helpers functions to calculate pre-conditions such
as available space, and datastore size.

Comply with interfaces defined by Martin Abente and
Gonzalo Odiard, for sugar upstream backup GUI.

Comply with pep8.

VERSION 2: Added volumes and checkpoints selection logic.

Signed-off-by: Martin Abente Lahaye <tch@sugarlabs.org>
Options are displayed to the user if requested by the backend,
and a progressbar is displayed while the backup/restore is done.

The frontend and backend are separated to make easier create alternative
implementations.

A property is_cancellable is added to the SectionView,
because the restore can't be cancelled, and need modify the toolbar
buttons according to that.

Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
The file is named based in the xo serial number, or user name if
is not available, and the date. The name is checked for invalid chars.

Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
The message is shown before the initial testing
Signed-off-by: Gonzalo Odiard <godiard@sugarlabs.org>
Signed-off-by: Gonzalo Odiard <godiard@sugarlabs.org>
Signed-off-by: Gonzalo Odiard <godiard@sugarlabs.org>
@godiard
Copy link
Contributor Author

godiard commented Mar 13, 2014

Closing because is unsync with master

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.

None yet

5 participants