Commit Graph
8782 Commits
Author SHA1 Message Date
warwickmmandGitHub 24990a4011 Merge pull request #4448 from jfparis/python3
Update python scripts to be compatible with both python2 and python3.
2021-02-26 13:21:08 -08:00
Kenneth Hsu fb90b70c34 Use TrayIcon project assemblies as build artifacts
This will hopefully make it so that someone can start up the server
using the build artifacts.
2021-02-26 13:03:23 -08:00
Jean-François Paris 22e43a5ed4 Added command line argument for the buffer sie with default value to 8kb
This leaves the current program behaviour as close as possible to the original behaviour
(with the exception of the byte by byte feeding to the hash algorithm which was probably
a bug)
2021-02-26 10:30:53 +02:00
Jean-François Paris 60c8a27cea Fixed some typos in the help message 2021-02-26 10:17:17 +02:00
Jean-François Paris 6a74e3aa07 Updates to DuplicatiVerify.py
* Increase block size ro 8MB to make the process faster and still light on
  memory on a low memory machine
* Added a --quiet argument to reduce very verbose output.
2021-02-23 22:35:05 +02:00
Jean-François Paris a1b684a1fb Rewrote DuplicatiVerify to make it compatible with python2 (now unsupported) and python3
Increase processing speed by feeding the file by 8k chunk rather than by byte
2021-02-22 13:14:55 +02:00
Kenneth Hsu 69b9585421 Remove Telegram backend.
The TLSharp library has some issues and the behavior of the Telegram
backend is not reliable.

Some alternative libraries for communicating with the Telegram API are
TgSharp, TDLib and TdSharp.

This fixes #4424.

Revert "Merge pull request #4324 from martikyan/feature/telegram_backend"

This reverts commit c7f9f8f556, reversing
changes made to 85139f86f2.
2021-02-21 11:37:58 -08:00
Jean-François Paris fb16b1ad93 Rewrote fix-sln to make it compatible with python2 (now unsupported) and python3 2021-02-21 20:38:38 +02:00
Jean-François Paris f84bdaf6f8 Rewrote unix2dos to make it compatible with python2 (now unsupported) and python3 2021-02-21 20:38:38 +02:00
Kenneth Hsu 0c12c35d6a Upload build artifacts before running tests.
This hopefully will make the artifacts available even if the tests fail.
2021-02-20 11:39:24 -08:00
Kenneth Hsu 253b891488 Add step to upload build artifacts. 2021-02-20 10:32:13 -08:00
warwickmmandGitHub 019656133a Merge pull request #4445 from jfparis/patch-1
Update stylesheet to raise stop button above progress bar
2021-02-20 09:12:31 -08:00
Jean-François Paris 8f1fd383e5 Merge https://github.com/duplicati/duplicati into patch-1 2021-02-20 12:08:42 +02:00
Jean-François ParisandJean-François Paris 5a7f8b6660 Update stylesheet to raise stop button above progress bar
Brings the Stop button above the progress bar to allow stopping tasks even when the progres bar is already covering the stop button
2021-02-20 12:02:33 +02:00
Kenneth Hsu 841bcce389 Remove unnecessary Tardigrade libraries from build output.
The required libraries are already included in
Duplicati/Library/Backend/Tardigrade and copied to the output directory.
The extra storj_uplink.dll file in the output directory (caused when
releases are built on macOS) was causing spurious
BadImageFormatExceptions.

This fixes #4434.
2021-02-19 21:39:47 -08:00
Kenneth HsuandJean-François Paris 3c1d4b9c37 Revert "Merge pull request #4437 from jfparis/patch-1"
This reverts commit ed9e584d5f, reversing
changes made to c47a356d6f.

This resulted in an unexpected change to the layout in the edit backup
views.
2021-02-19 22:42:20 +02:00
Kenneth Hsu 85c9e43943 Revert "Merge pull request #4437 from jfparis/patch-1"
This reverts commit ed9e584d5f, reversing
changes made to c47a356d6f.

This resulted in an unexpected change to the layout in the edit backup
views.
2021-02-19 10:41:51 -08:00
warwickmmandGitHub ed9e584d5f Merge pull request #4437 from jfparis/patch-1
Prevent progress bar from obscuring stop button.
2021-02-19 09:29:34 -08:00
Jean-François ParisandJean-François Paris b23e5f5948 Update stylesheet to raise stop button above progress bar
Brings the Stop button above the progress bar to allow stopping tasks even when they are well advanced
2021-02-16 19:20:31 +02:00
Juliano Hubel 8933d6cd2a #3748|Spelling Correction 2021-02-16 17:10:02 +00:00
Juliano Hubel 6a569b80d2 #3748|Adding_Deprecated_messages_to_old_variables 2021-02-16 10:41:55 +00:00
Juliano Hubel 9047de86e1 #3748_Underscores_insted_of_dashes 2021-02-15 15:53:13 +00:00
Kenneth Hsu 97e7ee82f2 Ask users to check forum when creating new issue.
There are many issues or questions that have already been discussed and
solved in the forums.
2021-02-09 16:56:50 -08:00
Kenneth Hsu 94392bf2b7 Remove step to install mono, which is already included.
According to the documentation, mono is already included in the
ubuntu-latest virtual environment:

https://github.com/actions/virtual-environments/blob/ubuntu18/20210131.1/images/linux/Ubuntu1804-README.md
2021-02-08 15:47:52 -08:00
Kenneth Hsu d6e9e08272 Increase tolerance for last write time tests on macOS.
There are occasionally times where the difference is greater than 500ms.

1) Failed : Duplicati.UnitTest.BorderTests.Run100k
  Restore, creation time mismatch for /Users/runner/duplicati_testdata/backup-data/c-m2 and /Users/runner/duplicati_testdata/restored/c-m2
  Expected: 2021-02-08 18:39:04.9202665 +/- 00:00:00.5000000
  But was:  2021-02-08 18:39:05.572262
  at Duplicati.UnitTest.TestUtils.AssertFilesAreEqual (System.String
  expectedFile, System.String actualFile, System.Boolean verifymetadata,
  System.String contextMessage) [0x0016f] in
  /Users/runner/work/duplicati/duplicati/Duplicati/UnitTest/TestUtils.cs:256
2021-02-08 11:48:05 -08:00
Kenneth Hsu 9a424ecd48 Use product name rather than command name. 2021-02-08 10:19:33 -08:00
Kenneth Hsu 2b647f7a70 Use product name rather than command name. 2021-02-08 09:43:50 -08:00
Kenneth Hsu 6cf4ea6471 Copy missing license files to output directory. 2021-02-07 20:29:09 -08:00
Kenneth Hsu cb89d50862 Increase tolerance for last write time tests on macOS.
There are occasionally times where the difference is greater than 200ms.

1) Failed : Duplicati.UnitTest.BorderTests.Run100k
  Restore, creation time mismatch for /Users/runner/duplicati_testdata/backup-data/b-p500 and /Users/runner/duplicati_testdata/restored/b-p500
  Expected: 2021-02-08 00:34:08.0221856 +/- 00:00:00.2500000
  But was:  2021-02-08 00:34:08.296859

  at Duplicati.UnitTest.TestUtils.AssertFilesAreEqual (System.String
  expectedFile, System.String actualFile, System.Boolean verifymetadata,
  System.String contextMessage) [0x0016f] in
  /Users/runner/work/duplicati/duplicati/Duplicati/UnitTest/TestUtils.cs:256
2021-02-07 20:22:23 -08:00
Kenneth Hsu ddde4c8fd4 Install dependencies before checking out source. 2021-02-07 17:17:12 -08:00
Thomas Suckow dd399d8f2f Fedora work 2021-02-07 16:54:36 -08:00
Kenneth Hsu 274783f18b Use latest version of checkout action. 2021-02-07 16:31:43 -08:00
Kenneth Hsu bdcb7c829a Run all tests. 2021-02-07 15:41:29 -08:00
Kenneth Hsu c6c0c88422 Consolidate Linux and macOS unit test steps. 2021-02-07 15:40:31 -08:00
Kenneth Hsu 50e6855fbc Merge branch 'fix_test_issues' into github_actions 2021-02-07 15:35:20 -08:00
Kenneth Hsu 16ba9468b7 Revert "Disable AppVeyor and Travis builds."
This reverts commit f18b1699a9.
2021-02-07 14:09:16 -08:00
Kenneth Hsu 1e8752a0cd Increase tolerance for last write time tests on macOS.
There are occasionally times where the difference is greater than 100ms.
2021-02-07 13:59:34 -08:00
Kenneth Hsu 6ec037acc0 Use helper method to determine platform.
We should eventually make this method use
RuntimeInformation.IsOSPlatform.
2021-02-07 11:59:20 -08:00
Kenneth Hsu 97c33a0e13 Fix comment style. 2021-02-07 11:58:37 -08:00
Thomas SuckowandKenneth Hsu 06850697bd Relax unit test file time checking on osx 2021-02-07 11:58:02 -08:00
Kenneth Hsu 64410b4284 Dispose HttpWebResponse after use.
This seems to help avoid "System.Net.WebException : The operation has
timed out." issues when downloading test data.
2021-02-07 11:12:39 -08:00
Kenneth Hsu 2a4f934027 Revert "Run all tests."
This reverts commit df20aab8ed.
2021-02-07 09:48:35 -08:00
Kenneth Hsu df20aab8ed Run all tests. 2021-02-06 18:42:44 -08:00
Kenneth Hsu c47ab50892 Revert "Test deliberate test failure."
This reverts commit aca2f18634.
2021-02-06 18:38:48 -08:00
Kenneth Hsu 2cb7268e8a Rename workflow file.
This workflow now contains a job that runs the UI tests as well.
2021-02-06 18:34:54 -08:00
Kenneth Hsu ea6c89a964 Run tests on macOS. 2021-02-06 18:34:54 -08:00
Kenneth Hsu a334dcc14f Add OS to step name. 2021-02-06 17:58:06 -08:00
Kenneth Hsu 701fde0d54 Add job to run selenium UI tests. 2021-02-06 16:47:28 -08:00
Kenneth Hsu 15996ec4ae Remove unit test result reporter job.
Although this displays the test failures more clearly, it doesn't handle
matrix builds that well.  The failures aren't really differentiated per
job (Linux vs. Windows), and this also adds a test result reporter job
(successful), as well as a Tests Results job, which fails if a test
fails.  This makes the list of jobs that appear next to a commit a bit
messy.
2021-02-06 15:32:34 -08:00
Kenneth Hsu 39ea8f04ab Define separate job to collect test results from all environments. 2021-02-06 15:06:54 -08:00