Commit Graph
522 Commits
Author SHA1 Message Date
Mikael Mello 9eb9ec004d Target Windows 8.1 and 10 in order to display correct version in UI 2018-10-17 10:37:44 -03:00
Kenneth Hsu 731a8b1644 Remove unused empty methods. 2018-10-10 21:20:40 -07:00
Rune HenriksenandGitHub fbab37d138 Merge pull request #3413 from warwickmm/avoid_null_reference
Avoid potential null reference exception
2018-10-07 19:14:34 +02:00
Rune HenriksenandGitHub be7edb580d Merge pull request #3410 from warwickmm/simplify_enumerating_collections
Simplify enumeration of collections
2018-10-07 19:06:28 +02:00
Kenneth Hsu b6e1e3e3f4 Avoid potential null reference exception. 2018-10-06 20:42:25 -07:00
Kenneth Hsu 0c1ac9c489 Replace chained LINQ calls with call to overload with predicate.
This simplifies the code by reducing the number of enumerators created
while also making the code slightly more readable.
2018-10-06 16:20:18 -07:00
Kenneth Hsu d72128ec83 Remove unused method parameters. 2018-10-06 15:09:43 -07:00
Kenneth Hsu 40f3e33835 Suppress warning about non-awaited task. 2018-09-29 10:44:05 -07:00
Kenneth Hsu d4d1945faf Use utility method to append trailing slash.
This removes some duplicated code.
2018-09-22 10:19:45 -07:00
Kenneth Skovhede 31656b4eb3 Merge branch 'feature/repair_console_output' 2018-06-28 12:18:48 +02:00
Kenneth Hsu 54c4f9224d Allow tasks to complete on any thread when context is irrelevant.
When the code following the await can be executed on any thread, it's
recommended to use ConfigureAwait(false) to avoid unnecessary context
switching and potential deadlocks.
2018-06-21 19:28:27 -07:00
Kenneth Skovhede 7b939397fa Whitespace fix 2018-06-20 12:14:01 +02:00
Kenneth Skovhede 4762a35ae3 Added option to disable automatic tray-icon login. 2018-06-15 14:35:35 +02: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
verhoek c5783b2ae4 Merge branch 'master' into webapi/googledrive 2018-05-15 20:31:58 +02:00
Kenneth Skovhede ee64517f7d Removed calls to Console.WriteLine as we may run somewhere without a console. 2018-05-15 11:29:08 +02:00
verhoek 78a46c3a5c Renamed misspelled class urluttility to urlutility and newly added urlutility to uriutility. 2018-05-11 19:09:14 +02: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 SkovhedeandGitHub 4f5d09f93d Merge pull request #3096 from Pectojin/system_info_add_username_and_startedby_variables
added 'UserName' and 'StartedBy' variables to the system info page
2018-03-16 08:41:55 +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
Rune Henriksen f414b2fdf2 added 'UserName' and 'StartedBy' variables to the system info page to help troubleshooting 2018-03-09 21:24:57 +01:00
Kenneth SkovhedeandGitHub 42a60cbd89 Merge pull request #3066 from mnaiman/test
fixes password change in hosted tray
2018-03-05 09:06:56 +01:00
Max 0380f6d453 fixes password change in hosted tray 2018-02-25 13:54:20 +01:00
Kenneth Skovhede 7656f4c717 Added specific versions to the included 3rd party GTK library to satisfy some Linux systems that pick up a more recent version. 2018-02-22 17:12:41 +01:00
wjan d8efebfe8a corrects changes in app.config files and other unnecessary file changes 2018-01-18 21:22:54 +01:00
wjan 8500988d7c adds rclone UI and backend improvements 2018-01-10 15:33:28 +01:00
vnau 01ec66cdc5 Removed AutoGenerateBindingRedirects compile warnings. 2017-12-17 01:50:17 +07:00
vnau 9b9d9b1297 Fixed compiler warnings. 2017-12-17 01:34:21 +07:00
Kenneth SkovhedeandGitHub 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
Kenneth Skovhede 6ad0fa649e Re-wrote the auto-updater to use process spawning instead of AppDomain loading to execute updates. 2017-10-11 12:49:14 +02:00
Kenneth Skovhede 432f618846 Adedd option to run with detached TrayIcon.
This fixes #2661
2017-10-11 08:57:12 +02:00
Kenneth Skovhede 644d13ffeb Updated CoCoL in the TrayIcon 2017-09-23 14:45:34 +02:00
Kenneth Skovhede a06f38442a Updated all Newtonsoft.Json packages 2017-09-23 00:25:50 +02: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
Kristof Mattei 42a86d3dfc This is the title of the balloon tooltip that gets displayed, it looks better now. 2017-09-06 20:15:50 -07:00
Ulf Hedlund 5e1eb0b718 Added Sia as a backend provider 2017-08-31 22:37:04 +02:00
Kenneth Skovhede d399068451 Added title to Windows tray icon.
This fixes #2652
2017-08-23 11:59:03 +02:00
Max 37e608db19 reads http scheme from db 2017-06-29 22:47:21 +02:00
Kenneth Skovhede dc5a7e1239 Minor updates to the tray-readpassword patch 2017-06-29 10:22:41 +02:00
Max 92abe8062f fix after upstream 2017-06-29 00:08:02 +02:00
MaxandGitHub b620f5b708 Merge pull request #30 from duplicati/master
upstream
2017-06-28 23:52:23 +02:00
Max 21a09a238b refactor 2017-06-28 23:45:56 +02:00
Max e8e6b4b133 tray http options fix 2017-06-28 21:39:45 +02:00
Kenneth Skovhede ac151bb567 Added additional code to prevent the tray-icon from re-spawning after clicking "quit". 2017-06-27 15:05:46 +02:00
Kenneth Skovhede c5c0c1eb27 Removed Windows TrayIcon redundant re-entrance check 2017-06-27 15:05:00 +02:00
Max f3124d955d small change 2017-06-23 11:33:03 +02:00
Max ca84a9462b added console support on windows 2017-06-22 15:10:31 +02:00
Max a9d7507597 tray icon header fixes 2017-06-17 18:46:38 +02:00