-
Notifications
You must be signed in to change notification settings - Fork 241
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
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
…unning01-patch-2
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>
Closing because is unsync with master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.