Kenneth Skovhede
e124329f1e
Merge branch 'feature/improved-logging'
2018-03-16 08:38:14 +01: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 Hsu
1f8b542604
Use nameof operator when constructing ArgumentNullException.
...
This will make rename refactorings easier in the future.
2018-03-07 17:53:08 -08:00
Pectojin
15284ce445
Altered the DeleteFromDb() method so that it can be used to delete rows defined by arbitrary identifiers. Added overloaded function that turns legacy calls to DeleteFromDb() into calls to the new DeleteFromDb() method
2018-02-01 20:12:10 +01:00
Pectojin
b68dda3d59
Added calls to clean up dependency tables when a backup is deleted
2018-02-01 20:12:04 +01:00
Kenneth Skovhede and GitHub
36aadc4ad1
Merge pull request #2910 from warwickmm/refactor/remove_redundant_tostring
...
Remove redundant calls to ToString
2017-11-27 08:50:00 +01:00
Kenneth Hsu
5fb1958ceb
Remove redundant calls to ToString.
2017-11-26 15:44:34 -08:00
Kenneth Hsu
8810e0130d
Make string comparisons use ordinal (binary) sort rules.
...
These string comparisons should not be culture-aware.
2017-11-26 11:19:54 -08:00
Tyler Gill
83a1dcfb64
Replace all instances of InvariantCultureIgnoreCase with OrdinalIgnoreCase in string comparisons.
...
InvariantCulture is useful when comparing / sorting human language strings in a culturely correct way. It handles things like accented letters in a way that makes sense to humans (e.g., 'a' should be sorted next to 'á', rather than after 'z').
Ordinal looks just at the raw code points of the characters. As such, it is recommended for use in cases when comparing system strings (file paths, command line parameters, config settings, etc.). Since it doesn't need to use the culture specific sorting rules, this method can often be faster.
For more information, see https://stackoverflow.com/questions/492799/difference-between-invariantculture-and-ordinal-string-comparison (and other related questions)
2017-09-18 23:55:08 -06:00
Dan Stahr
58a95e03e6
Autovacuum option added
2017-08-04 12:09:01 +01:00
Max
319288ef9f
upstream
2017-06-17 17:19:34 +02:00
Kenneth Skovhede
ded920178d
Fixed a few issues with storing and reading UI settings
2017-05-31 22:44:16 +02:00
Max
0c97194cf7
Move GetDatabaseConnection to Server
2017-05-21 19:25:39 +02:00
Albertony
c87f3946df
Fixed unreported issue: The block size validation was not triggered, and did also not allow setting the value to 1KB (similar to issue #2387 )
2017-03-20 12:36:08 +01:00
Albertony
a8905a4da8
Fixed issue #2387 : Volume size cannot be set to 1 MB
2017-03-20 12:31:13 +01:00
Kenneth Skovhede
3c5a45bdff
Layout fix
2017-02-27 09:09:13 +01:00
Kenneth Skovhede
8c8a0907c0
Added checks to ensure that hyphens are not used in --prefix as that would make it possible to craft prefixes that confuse the filename parser, e.g. --prefix=duplicati-b1234.zip
...
This fixes #2295
2017-02-27 09:09:02 +01:00
Kenneth Skovhede
71933b2674
Added serverside validation of backups on save/update
2016-10-14 00:15:49 +02:00
Kenneth Skovhede
53a7459f29
Fixed problem with UI saving global options in ApplicationSettings/ServerSettings.
...
This fixes #1720 .
This fixes #1830
2016-09-23 23:23:44 +02:00
Kenneth Skovhede
742eab0913
Fixed multiple cases where connections and command instances were not disposed.
...
This should fix all cases of "File is locked" on windows.
2016-04-06 20:40:34 +02:00
Kenneth Skovhede
b1a2115fc7
Fixed a case where a backup save failed if a schedule was created
2015-12-08 23:48:29 +01:00
Kenneth Skovhede
bcf9985ee8
Added web-interface support for changing the local database for a backup
2015-12-08 20:42:53 +01:00
Kenneth Skovhede
0bfe3daac4
Fixed issues with the REST interface
2015-08-26 12:38:27 +01:00
Kenneth Skovhede
3972211757
Added automatic log cleanup
...
This fixes #1298
2015-02-15 23:44:20 +01:00
Kenneth Skovhede
3ab1632f43
Cleanup broken database.
...
This fixes #1295 .
This fixes #1287 .
2015-02-15 22:54:49 +01:00
Kenneth Skovhede
a3d21c1f6d
Fixed saving with ID=-1 which is what causes #1295 and #1287
2015-02-15 22:28:34 +01:00
Kenneth Skovhede
a0efbed111
Protecting against saving with ID=-1 as mentioned in #1295
2015-02-15 22:26:43 +01:00
Kenneth Skovhede
4846ffa103
Now using the file modification timestamp and the filesize as indicators that trigger file scanning.
...
This fixes #1099 .
2015-01-24 21:59:53 +01:00
Kenneth Skovhede
8d13e698eb
Updated copyright notices
2015-01-20 21:44:52 +01:00
Kenneth Skovhede
c2fc930411
Implemented storing backup task info in the backup data
2014-10-14 14:45:49 +02:00
Kenneth Skovhede
d0f306dba9
Store sqlite databases in the Datafolder to support portable installs
2014-09-02 18:04:50 +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
0b24c5977e
Implemented a miniature ORM mapping system for the server database to avoid lots of boilerplate code
2014-08-05 22:59:00 +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
c127ff1381
Fixed some compile warnings about unused code.
2014-06-28 16:30:27 +02:00
Kenneth Skovhede
6203ed849c
Major refactor of the webserver
...
Added support for setting listening interface for the webserver
Added support for starting the webserver with a password
2014-06-27 13:23:05 +02:00
Kenneth Skovhede
9a16f24fcb
Considerations towards keeping the password(s) server-only
2014-03-22 15:24:30 +01:00
Kenneth Skovhede
370f7d4160
Added server support for reading logs
2014-03-21 10:35:41 +01:00
Kenneth Skovhede
e79e10e4bf
Fixed a create bug
2014-03-20 15:08:00 +01:00
Kenneth Skovhede
a23aeb3716
Added support for keeping temporary backups in server memory so we can do restore on non-persisted backups.
...
Added type-safe argument passing to the runner.
Added taskID's so the restore dialog can keep track of what tasks it needs to monitor.
2014-03-17 15:27:25 +01:00
Kenneth Skovhede
ace66ceb56
Fixed SQLIte constraint violation on backup save/create
2014-03-17 11:55:24 +01:00
Kenneth Skovhede
88e157b4f2
Update data state when deleting a backup or schedule
2014-03-11 11:29:39 +01:00
Kenneth Skovhede
2a0d4e8501
Implemented the DataEventID and removed manual data refresh
2014-03-07 19:32:46 +01:00
Kenneth Skovhede
b95da5524f
Fixed unwanted delete of backup and schedules on update
2014-03-07 09:58:20 +01: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
3ffd8c9461
Fixed serializing a backup and saving it on the server
2014-03-05 15:28:52 +01:00
Kenneth Skovhede
7c26d16965
Added some helper methods to the connection class for working with schedules
2014-03-04 15:37:58 +01:00
Kenneth Skovhede
195782492b
Bugfix
2013-11-25 09:14:16 +01:00
Kenneth Skovhede
d14ec9432f
Rewrote the storage of backup setups
2013-11-23 14:26:36 +01:00