Markus Goetz
f4d1a07b72
SyncEngine: Keep local size in SyncItem #5855
2017-07-04 11:42:44 +02:00
Christian Kamm
0db095e02a
SyncEngineTest: Fix test reliability
...
There was a rounding issue in the mtimes which sometimes resulted in an
off-by-one error. Caused by storing a full QDateTime in the FileInfo but
the mtime saved to the disk being truncated to seconds.
2017-07-04 09:57:22 +02:00
Jenkins for ownCloud
99f5580c37
[tx-robot] updated from transifex
2017-07-04 02:18:29 +02:00
Olivier Goffart
30095a0c3f
Fix check_csync_update
...
Commit 8160963110
changed the
SQL requests from csync to read from the checksumtype table.
So we need to add this table in the fake DB as well
2017-07-03 17:26:29 +02:00
Olivier Goffart
946c6967e9
Fix check_csync_exclude test
...
Commit 4697f0274f
remove .htaccess from
the sync-exclude.lst, so use another known excluded pattern
2017-07-03 17:26:29 +02:00
Piotr Mrowczynski
d1e00099dc
Classify chunked items correctly. Issue #5850
2017-07-03 14:41:53 +02:00
Markus Goetz
f49985697b
TestSyncJournalDB: Fix concurrent usage on CI
2017-07-03 14:08:39 +02:00
Christian Kamm
d018d460e3
csync tests: remove stray 'print'
2017-07-03 13:16:55 +02:00
Christian Kamm
851a3128e4
SyncEngine: Add unittest for SyncFileItem properties #5855
...
Checks instruction, direction, size, modtime for three common cases.
2017-07-03 12:54:24 +02:00
Christian Kamm
bdb8a4a0cb
csync tests: Fix for new owncloudcmd return codes
...
These were introduced in 4af45394f9
2017-07-03 11:48:38 +02:00
Jenkins for ownCloud
2a410217e2
[tx-robot] updated from transifex
2017-07-03 02:18:29 +02:00
Jenkins for ownCloud
2c0e820d9a
[tx-robot] updated from transifex
2017-07-02 02:18:29 +02:00
Jenkins for ownCloud
2326ea77e6
[tx-robot] updated from transifex
2017-07-01 02:18:28 +02:00
Jenkins for ownCloud
e6984f4058
[tx-robot] updated from transifex
2017-06-30 02:18:46 +02:00
Samuel Alfageme
aeea27b57b
Update central.owncloud.org link
...
Desktop client category was renamed, old link was 404 - see: https://central.owncloud.org/t/new-central-categories-you-decide
2017-06-29 17:54:42 +02:00
Samuel Alfageme
0f70bd7913
Update central.owncloud.org link
...
Desktop client category was renamed, old link was 404 - see: https://central.owncloud.org/t/new-central-categories-you-decide
2017-06-29 17:52:00 +02:00
Jenkins for ownCloud
e8f95743cc
[tx-robot] updated from transifex
2017-06-29 02:22:16 +02:00
Jenkins for ownCloud
fd0b8f3583
[tx-robot] updated from transifex
2017-06-28 02:22:09 +02:00
Jenkins for ownCloud
2a52b087fd
[tx-robot] updated from transifex
2017-06-27 02:22:10 +02:00
Jenkins for ownCloud
c70cdd61ca
[tx-robot] updated from transifex
2017-06-26 02:22:09 +02:00
Jenkins for ownCloud
5979db1270
[tx-robot] updated from transifex
2017-06-25 02:22:09 +02:00
Jenkins for ownCloud
0edc29dc72
[tx-robot] updated from transifex
2017-06-24 02:22:16 +02:00
Jenkins for ownCloud
5e4aaab91b
[tx-robot] updated from transifex
2017-06-23 02:22:09 +02:00
Markus Goetz
59bbbd5e66
Jenkinsfile: Some comments
2017-06-22 15:42:56 +02:00
Markus Goetz
1e98ba27c6
CSyncSqliteTest: Fix test
2017-06-22 15:11:49 +02:00
Markus Goetz
2244b35a6d
test_journal.db: Add checksumtype table
2017-06-22 15:11:49 +02:00
Christian Kamm
15ee7b39ac
Merge remote-tracking branch 'origin/2.3'
2017-06-22 14:06:31 +02:00
Jenkins for ownCloud
6a298d180d
[tx-robot] updated from transifex
2017-06-22 02:22:09 +02:00
Markus Goetz
cb7d74a063
Jenkinsfile: Compile in debug because of all the asserts
2017-06-21 15:11:55 +02:00
Markus Goetz
bc946053a3
Jenkinsfile: Compile in debug because of all the asserts
2017-06-21 15:02:26 +02:00
Markus Goetz
bfe095b065
Jenkinsfile: Run verbose tests
2017-06-21 12:18:21 +02:00
Markus Goetz
30bcd45a14
Jenkinsfile: Run full testing
2017-06-21 12:13:01 +02:00
Markus Goetz
cd5ad7db64
Jenkinsfile: Run full testing
2017-06-21 12:12:08 +02:00
Markus Goetz
1332e7d66a
Jenkinsfile: 2.3.3 will ship with Qt 5.
...
This should fix the current CI run too
2017-06-21 11:59:24 +02:00
Markus Goetz
f44d3914ef
owncloudcmd: Explain --debug parameter
2017-06-21 10:01:32 +02:00
Jenkins for ownCloud
949e8e5f51
[tx-robot] updated from transifex
2017-06-21 02:22:08 +02:00
Christian Kamm
1e78a14f1a
Ignore ui: Add the sync journal patterns #5844
...
The ignore patterns for the journal files are hardcoded. Add them to
the UI to make them discoverable.
2017-06-20 13:35:34 +02:00
Christian Kamm
4291ea47f7
Journal: Don't use a ._ path if it won't work #5633
...
When synchronizing a folder on a samba share, creating files that begin
with ._ is often forbidden. This prevented the client from creating
its ._sync_abcdef.db file.
Now, it'll check whether the preferred filename is creatable, and if
it isn't it'll use .sync_abcdef.db instead.
The disadvantage is that this alternative path won't be ignored by
older clients - that was the reason for the ._ prefix.
2017-06-20 13:35:34 +02:00
Jenkins for ownCloud
b50706a7aa
[tx-robot] updated from transifex
2017-06-20 02:22:12 +02:00
Jocelyn Turcotte
b20f87eef3
shell/Windows: Update binaries to build 45
2017-06-19 12:11:11 +02:00
Frederik Juul Christiani
bc2e1a53cb
shell_integration/windows: Create _newQueries as a non-signaled auto-reset event.
...
Since ResetEvent() is never called, the call to WaitForMultipleObjects()
can always return immediately once the event has been signaled.
2017-06-19 12:11:11 +02:00
Frederik Juul Christiani
e7d4d12e16
Initialize stop variable.
...
Avoid stopping the worker thread immediately if the stop variable happens to be true.
2017-06-19 12:11:11 +02:00
Jenkins for ownCloud
f348a7d4f4
[tx-robot] updated from transifex
2017-06-19 02:22:08 +02:00
Jenkins for ownCloud
9c82c36c71
[tx-robot] updated from transifex
2017-06-18 02:22:08 +02:00
Jenkins for ownCloud
480388133e
[tx-robot] updated from transifex
2017-06-17 02:22:17 +02:00
Jocelyn Turcotte
5d24a2dc0f
Remove debug messages by default from sync.engine
...
Other categories were already set properly.
2017-06-15 20:10:30 +02:00
Christian Kamm
8160963110
Compare the hash of files with identical mtime/size #5589
...
* For conflicts where mtime and size are identical:
a) If there's no remote checksum, skip (unchanged)
b) If there's a remote checksum that's a useful hash, create a
PropagateDownload job and compute the local hash. If the hashes
are identical, don't download the file and just update metadata.
* Avoid exposing the existence of checksumTypeId beyond the database
layer. This makes handling checksums easier in general because they
can usually be treated as a single blob.
This change was prompted by the difficulty of producing file_stat_t
entries uniformly from PROPFINDs and the database.
2017-06-15 13:54:16 +02:00
Christian Kamm
d50d8b86cf
SyncEngineTest: Add network override
...
This is useful for monitoring what kind of network requests are
sent to the fake server. Such as "did this sync cause an upload?"
and "was there a propfind for this path?". It can also inject
custom replies.
2017-06-15 13:53:57 +02:00
Christian Kamm
b28e06608c
SyncEngineTest: Send 'checksums' in FakePropfind
2017-06-15 13:53:57 +02:00
Christian Kamm
cd411e5fb1
SyncEngineTest: Fix date locale related bug
...
The client is very picky about date strings it accepts. If dates are
formatted with a non-C locale (such as localized weekday names), it
fails to parse it and tests fail in subtle ways.
2017-06-15 13:53:57 +02:00