Release 0.101.4
Update LGPL-C.txt
Update LGPL-python.txt

Updates LGPL-python.txt to read the FSF's new address.
The updater need reset the internal state when finish with error

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>
Fix #4733 - remove warning on username change

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.
Manage restart message on reverting to initial username

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
Release 0.101.5
Connect to same event once at a time from _Account

After an _Account._connection is set, the _Account connects to
'active-activity-changed' shell event. _Account._connection can
later be drop and set to None. When _Account._connection is re-set,
the _Account will re-connect to the same shell event without
disconnecting from the previous one.

Also, when _Account._connection is set to None, it makes no sense
to continue handling that shell event, as there is no need to update
the current active activity for that _Account.

Therefore, make sure _Account connects to shell event only once at a
time, and that it gets disconnected when _Account._connection is set
to None.

Signed-off-by: Martin Abente Lahaye <tch@sugarlabs.org>
Updater: disconnect signals when cp view is closed - Fixes #4740

When the updater cp view is created, connect to updater signals.
The updater is a singleton, and the signals are not disconnected,
then produce the errors detailed in the ticket.

Signed-off-by: Gonzalo Odiard <godiard@sugarlabs.org>
Extend notifications model

Add a buffer to the model. This buffer stores the notifications
that are received from the DBus interface. These notifications
are indexed by application name.

Add a new signal for when a buffer is emptied, for an specific
application name.

Considering that the notifications are shown in UI elements such
as Palettes, which are generated on demand, it is necessary to
store notifications so they can be added later.

Basically, this approach is follows a publisher and subscriber
model.

Signed-off-by: Martin Abente Lahaye <tch@sugarlabs.org>
Initial backupmanager and section in the control panel

Signed-off-by: Gonzalo Odiard <godiard@sugarlabs.org>
Support volumes backup

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>
Add UI interaction to the backend

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>
Better naming of the generated backup file

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>
Save metadata in generated backup file

Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Show a start message earlier

The message is shown before the initial testing
Add mime type for backup files
Save the mime type in the generated backup file metadata

Signed-off-by: Gonzalo Odiard <godiard@sugarlabs.org>
Add tests

Signed-off-by: Gonzalo Odiard <godiard@sugarlabs.org>
Solve the flow of text with long messages in backup/restore cp