Commit Graph
335 Commits
Author SHA1 Message Date
Brian Lakstins ba8dddc7fe Move RunScript module to be configured first so that any configuration changes can be used by other modules 2018-01-12 09:43:07 -05: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 Hsu 59703e268c Avoid unnecessary enumeration.
Instead of enumerating the entire sequence and checking that the number
of elements is positive, we can simply check to see if the sequence
contains at least one element.
2017-09-26 19:45:07 -07:00
Kenneth Skovhede fc75d56ef1 Updated MimeKit and MailKit 2017-09-23 14:43:46 +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
Tyler Gill 768cd93923 Normalize some whitespace 2017-09-13 22:30:12 -07:00
Kenneth Skovhede 50ecc8659e Merge branch 'feature/fix-external-tools' 2017-09-05 11:42:06 +02:00
Kenneth Skovhede 19a040970f Implemented call-context aware settings for HTTP options, temp folder settings, buffers sizes and oauth settings.
This makes it more smooth to run multiple operations in parellel, but it should be possible to launch an operation in a separate app-domain
2017-09-04 11:05:16 +02:00
Kenneth Skovhede d6aa87e003 Updated the run-script module to report the parsed result level.
This fixes #2656
2017-09-01 10:49:42 +02:00
Kenneth Skovhede 80d533b839 Updated Jabber, Http and Mail modules to always set the parsedresult variable. 2017-09-01 10:49:12 +02:00
Kenneth Skovhede 1b3ede8921 Fixed not reading a custom http message 2017-08-01 11:48:38 +02:00
Kenneth Skovhede b0be676dc4 Updating MailKit and AlphaVSS 2017-05-17 11:10:00 +02:00
Kenneth Skovhede 046b522a8d Updated NewtonSoft.Json 2017-05-17 11:08:51 +02:00
Max b820d970ac updated description 2017-03-16 22:57:41 +01:00
matt 150f15269e Added HTTP reporting module 2017-01-30 18:01:12 -05:00
agrajaghh 746b02ce7c fix typos 2017-01-26 19:47:42 +01:00
Kenneth Skovhede 9e6eefad9f Merge branch 'feature/add_single_result_code'
# Conflicts:
#	Duplicati/Library/Modules/Builtin/Strings.cs
2017-01-23 23:32:30 +01:00
Kenneth Skovhede 9007165139 Merge branch 'feature/fix_typos' 2017-01-23 23:11:56 +01:00
Kenneth Skovhede 1424be05f9 Fixed a bunch of typos.
This fixes #2278.
2017-01-23 22:12:24 +01:00
Kenneth Skovhede e5b006713f Added method to test SSL from the webmodule 2017-01-23 21:12:52 +01:00
Kenneth Skovhede bc725e0edf Updated SendMail and SendJabberMessage to use the new result codes.
This fixes #2257
2017-01-23 20:49:33 +01:00
Kenneth Skovhede 56beda2941 Removed ListBrokenFiles from password exempt operations.
This fixes #2269
2017-01-20 12:30:34 +01:00
Kenneth Skovhede c4271e93d7 Prevent loading the HyperV and MSSQL modules on Linux, and safeguard against null input.
This fixes #2233
2017-01-16 11:48:41 +01:00
Kenneth Skovhede 34ee487379 Fixed a spelling issue 2017-01-15 23:08:52 +01:00
Kenneth Skovhede 5ab248b660 Removed assembly signing from the snapshot project as that depends on two libraries that are not signed. 2017-01-13 00:03:28 +01:00
Kenneth Skovhede e79cfa4d6f Merge branch 'feature/fix_send_mail' 2017-01-12 09:28:12 +01:00
Kenneth Skovhede 6bb1579aa9 Updated MailKit, fixed a bug with DnsLite, added backward compatible tls support from MailKit.
This fixes #1540.
This fixes #1948.
This fixes #2060
This fixes #2225
2017-01-09 23:21:00 +01:00
Kenneth Skovhede a029890409 Implemented better default error messsages 2017-01-09 11:35:38 +01:00
Kenneth Skovhede 52eb8e8478 Disabled MSBuild for much faster builds on MacOS 2016-12-29 23:12:41 +01:00
Kenneth SkovhedeandGitHub 0c27e77e00 Merge pull request #2156 from mnaiman/fixes
Fixes
2016-12-24 15:23:31 +01:00
sfahrenholzandGitHub 3e9b4a9ca7 Update Strings.cs
correction spelling mistake
2016-12-23 11:48:29 +01:00
agrajaghh 40d2404b16 fix typos 2016-12-20 21:07:48 +01:00
agrajaghh 7b12948a6e fix typo 2016-12-11 20:27:53 +01:00
Max 0e7abf2390 added additional checks 2016-12-04 16:12:57 +01:00
Kenneth Skovhede 0e954b202f Changed mozroots references to point to cert-sync instead, as mentioned in issue #2097 2016-11-12 14:04:28 +01:00
Kenneth Skovhede 1552e9fef5 Updated mailkit 2016-11-10 10:28:34 +01:00
Max a0ee607bf1 REST API for MSSQL backup and changes in Hyper-V 2016-11-02 00:02:34 +01:00
Kenneth Skovhede b765c48ac0 Refactored the HyperVOptions generic module to exit quickly on non-windows platforms to avoid loading Windows-only libraries.
This fixes #2037
2016-10-26 22:53:31 +02:00
Max 23bc04f589 bugfix 2016-10-23 00:24:36 +02:00
Max 5c7dfcada7 Refactor of hyper-v backup 2016-10-22 23:08:27 +02:00
Max c56c8d0667 additional verification of hyper-v
ability to show paths in GUI
2016-10-22 16:17:58 +02:00
Max 252497d9fd upstream 2016-10-22 14:51:54 +02:00
Kenneth Skovhede 3880df7e6d Merge branch 'hyperv_ui' of https://github.com/mnaiman/duplicati into mnaiman-hyperv_ui
# Conflicts:
#	Duplicati/Library/Main/Operation/BackupHandler.cs
2016-10-18 13:31:22 +02:00
Max 2205ba3b40 added check for source is null 2016-10-17 19:59:50 +02:00
Max e4a1ee9afa ability to see hyperv vms paths 2016-10-16 22:36:29 +02:00
Max f56d4f6ab9 changed structure of hyper-v source 2016-10-16 02:18:56 +02:00
Max 06cccea7a7 moved hyper-v code to hyper-v classes 2016-10-16 01:40:12 +02:00