Mikael Mello
e3286ccfb9
scheduler: Use local time when checking if day is allowed
2018-12-04 09:38:13 -02:00
Kenneth Hsu
d72128ec83
Remove unused method parameters.
2018-10-06 15:09:43 -07:00
Kenneth Skovhede and GitHub
e70f15287e
Merge pull request #3233 from warwickmm/make_fields_readonly
...
Mark fields that shouldn't be reassigned as readonly
2018-06-02 10:13:06 +02:00
Kenneth Hsu
77443f61f6
Remove redundant expression.
2018-05-26 10:52:11 -07:00
Kenneth Hsu
f12858e6a5
Mark fields that shouldn't be reassigned as readonly.
...
This makes it explicit at compile-time that these fields should not be
reassigned outside the constructor.
2018-05-25 10:04:52 -07:00
Kenneth Skovhede and GitHub
3ec2b78828
Merge pull request #3086 from warwickmm/feature/disable_on_battery
...
Add option to disable backup when on battery power
2018-03-20 09:19:01 +01:00
Kenneth Hsu
c00c6fd19b
Make fields containing lock objects readonly.
...
If one of these fields is accidentally reassigned, it's possible for
threads to be oblivious to an existing lock. By making the fields
readonly, we will be notified at compile-time if we inadvertently
redefine one of these fields.
2018-03-17 19:59:23 -07:00
Kenneth Hsu
e2aa98fbca
Add option to disable backup when on battery power.
...
This addresses issue #2666 .
2018-03-16 19:32:50 -07:00
Pectojin
4d01541bd7
Scheduler recovery from timedrift
2018-01-27 21:39:25 +01:00
Kenneth Hsu
1c7391399d
Remove XML documentation for unmatched parameters.
2017-12-09 18:30:01 -08:00
Kenneth Skovhede
c0943c8109
Rewrote the internal scheduler logic to keep track of the timestamp of the schedule that the next target run-time was based on.
...
This makes sure that the next target run-time is re-computed if the schedule is changed from the user interface.
This fixes #1935
2016-11-26 14:59:15 +01:00
tianqiaoxiangzhe
71ff384c7f
fix schedule caluclate next time
...
the schedule can not run on the caluclated next time use
'datetime.now' , because my time zone is several hours higher than
utc
2016-11-18 16:41:45 +08:00
Kenneth Skovhede
0c68daff6c
Fixed all whitespace to be 4 spaces instead of tabs
2016-09-15 11:39:27 +02:00
Kenneth Skovhede
e19c80637d
Updated scheduler to be more robust.
...
This fixes #1635
2016-06-23 15:28:08 +02:00
Kenneth Skovhede
762664c170
Added reporting of the current schedule plan to the WebUI
2015-12-09 21:22:43 +01:00
Kenneth Skovhede
3149064cde
Merge branch 'no_more_resx'
2015-01-20 21:45:54 +01:00
Kenneth Skovhede
8d13e698eb
Updated copyright notices
2015-01-20 21:44:52 +01:00
Kenneth Skovhede
16c791f0b5
Removed all resx files, now using Duplicati.Library.Localization exclusively
2015-01-20 21:07:24 +01:00
Kenneth Skovhede
01c64e1b9d
Improved the worker thread to prevent crashes of the worker on Windows.
2014-08-11 20:59:00 +02:00
Kenneth Skovhede
e00f22938e
Implemented the stop and abort logic in the UI and fixed some minor issues with handling this robustly
2014-05-21 14:06:33 +02:00
Kenneth Skovhede
e0df002a64
More fun-n-games with timezones in the scheduler
2014-04-22 11:33:06 +02:00
Kenneth Skovhede
bdc16caeec
Fixed issue with scheduler running at arbitrary times
2014-04-20 13:02:12 +02:00
Kenneth Skovhede
025720a02c
Fixed an issue where scheduled times would become offset if the user is in a non-utc zone
2014-03-18 13:17:58 +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
da6713cdc4
Fixed scheduler to update last/next timestamps on schedules
2014-03-10 14:24:01 +01:00
Kenneth Skovhede
13d50611d8
Cleanup
2013-11-25 09:14:09 +01:00
Kenneth Skovhede
d14ec9432f
Rewrote the storage of backup setups
2013-11-23 14:26:36 +01:00
kenneth@hexad.dk
a60bd9511f
Large refactoring, removing duplicate code in the former Duplicati gui, because it is now hosted in the server.
...
Not 100% tested, because it is supposed to go away soon, but right now it is the only way to create a new backup.
Also moved database schema and upgrade information/code into the data model project.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1275 59da171f-624f-0410-aa54-27559c288bec
2012-05-14 18:53:07 +00:00
kenneth.skovhede@gmail.com
b108e96e8e
Temporary checkin for the 2.0 stuff
...
git-svn-id: https://duplicati.googlecode.com/svn/branches/v2.0@1005 59da171f-624f-0410-aa54-27559c288bec
2011-11-18 18:03:18 +00:00
kenneth.skovhede@gmail.com
9a0e31e5b8
Preliminary work on the standalone server component
...
git-svn-id: https://duplicati.googlecode.com/svn/branches/v2.0@785 59da171f-624f-0410-aa54-27559c288bec
2011-06-06 18:48:52 +00:00