Commit Graph
16 Commits
Author SHA1 Message Date
Kenneth Skovhede c45030474f Changed the database scheme to be consistent with the upgrade, addition to #3391 2018-10-23 11:42:52 +02:00
Mikael Mello 91bdf4be63 Make description an optional field for backups
Checks whether it has been set and acts accordingly to avoid exceptions

Update migration to initialize all existent rows to Description=''.

Note that after some research, default values for TEXT columns were not
supported by MySQL a few years ago, however Duplicati uses SQLite
which seems to fully support this feature. If not, a workaround is to use:

ALTER TABLE "Backup" ADD COLUMN "Description" TEXT NULL;
UPDATE "Backup" SET "Description"='' WHERE "Description" IS NULL;
ALTER TABLE "Backup" ALTER COLUMN "Description" TEXT NOT NULL;
2018-10-17 09:02:39 -03:00
sffetlio e933d806b4 Fix schema version 2018-10-01 11:52:16 +03:00
sffetlio 70febafc2b Add Description field to backups 2018-09-20 14:46:32 +03:00
Kenneth Skovhede 842fd96543 Implemented a new logging system that is more transparent and allows a more granular way of picking log messages.
Added ID's to each log message and each exception to allow later introduction of a Knowledgebase service that explains each error in more detail.
2018-03-15 09:12:34 +01:00
Kenneth Skovhede 1424be05f9 Fixed a bunch of typos.
This fixes #2278.
2017-01-23 22:12:24 +01:00
4m1g0 c48b4ee73e Fix for issue: #1828 - Add autoincrement atribute to backup id 2016-07-15 13:50:54 +02:00
Kenneth Skovhede 4c7878a27b Implemented method for downloading the bug-report after it has been created. 2014-08-05 23:04:00 +02:00
Kenneth Skovhede a3e7ece869 Renamed the "Notifications" table to "Notification".
WARNING: If you are running from source, please manually rename the table or delete Duplicati-server.sqlite.

Rename SQL:
ALTER TABLE Notifications RENAME TO Notification
2014-08-05 23:00:16 +02:00
Kenneth Skovhede ef1cb1a3dc Added the action field to notifications 2014-08-04 09:06:12 +02:00
Kenneth Skovhede 9223de7df9 Implemented a notification system.
The system works with the tray-icon, but the tray icon does not yet post notifications.
Some work is required to provide meaningful interaction when clicking the notifications.

Implemented a key/value store that allows the UI to save settings and other items.
2014-08-04 01:06:29 +02:00
Kenneth Skovhede 23c7f83bf9 Bugfixes to the DB interface and addition of a logging mechanism 2014-03-06 15:38:25 +01:00
Kenneth Skovhede bffaa18afb Fixed a comment which apparently re-encoded the file 2014-03-04 15:37:34 +01:00
Kenneth Skovhede 70788377e9 Fixed SQL bug 2013-11-25 09:13:43 +01:00
Kenneth Skovhede b07a146641 SQL fix 2013-11-24 00:34:24 +01:00
Kenneth Skovhede 308508a7d8 Stage2 rename 2013-11-24 00:24:59 +01:00