Klaas Freitag
b976ac914d
Also check the files basename against the exclude pattern.
2012-09-25 15:41:55 +03:00
Klaas Freitag
4eb1ae7853
Fix test: Status must be INSTRUCTION_EVAL.
...
This test runs on an empty database. That also means that there is no
ID in the database which is needed to detect the update. An empty
ID means that the status must be evaluated.
2012-09-24 16:47:43 +03:00
Klaas Freitag
407b87c17b
Fix statedb test: Added new columns.
2012-09-24 16:28:43 +03:00
Klaas Freitag
34249e9f64
Use destination path in case of file rename.
2012-09-24 15:57:32 +03:00
Klaas Freitag
2354b9c52f
Fix detection of local file renames.
2012-09-24 15:56:42 +03:00
Klaas Freitag
77e79ea767
For rename, retrieve the new id and set in local tree.
2012-09-24 15:55:18 +03:00
Klaas Freitag
128926cac7
Check path for len exactly 1 when comparing on '.'.
2012-09-24 15:54:17 +03:00
Klaas Freitag
0dfa61650d
ownCloud: clear the cache variables before ID query.
2012-09-24 15:45:11 +03:00
Klaas Freitag
403fec1454
ownCloud: Removed unused stat variable.
2012-09-24 15:44:19 +03:00
Daniel Molkentin
7bed8e184f
Remove redundant code block
2012-09-23 11:02:18 +02:00
Daniel Molkentin
f86481d73e
vio plugin loading: cut of filename regardless of length.
2012-09-23 11:01:59 +02:00
Klaas Freitag
7a70a6fa69
Update version to 0.50.10
2012-09-20 17:57:58 +03:00
Klaas Freitag
44a6cf9bfc
Remove wrong free.
2012-09-20 17:54:23 +03:00
Klaas Freitag
e4c0fb90dd
ownCloud: some log cleanups.
2012-09-20 11:28:54 +03:00
Klaas Freitag
ee228cfff4
Make use of the Session cookie sent from the server.
2012-09-19 18:46:40 +03:00
Klaas Freitag
fc6cd714c7
win32: Fix random file name generation, init random generator once.
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2012-09-04 12:19:12 +02:00
Klaas Freitag
50f698673c
Update version number to 0.50.9
2012-08-30 18:45:36 +03:00
Klaas Freitag
8571394847
Fix time correction between client and server.
2012-08-30 18:45:10 +03:00
Klaas Freitag
08f7fbbd71
Fix printf argument for win32 platform.
2012-08-30 17:01:52 +03:00
Klaas Freitag
caa1945daa
Added another check on file length.
2012-08-30 15:45:45 +03:00
Klaas Freitag
ecd6a86fd3
Remove wrong free command.
2012-08-30 14:30:30 +03:00
Klaas Freitag
6fbc510aeb
Free memory of id_list lists.
2012-08-30 13:05:24 +03:00
Klaas Freitag
ffc5e6f0cc
Memory cleanups for id syncing, removed unused code.
2012-08-30 13:04:48 +03:00
Klaas Freitag
7600eb4a09
Memory cleanups for id syncing.
2012-08-30 13:04:14 +03:00
Klaas Freitag
d756c45c50
Free memory used by the id in csync_file_stat.
2012-08-30 13:01:21 +03:00
Klaas Freitag
9f4f0e8106
ownCloud: more memory cleanups, use widechar unlink for tmp files,
...
adjust the modtime by the time difference between client adn server.
2012-08-30 12:59:52 +03:00
Klaas Freitag
99691059bf
Removed all usage of openSSL.
2012-08-29 15:37:31 +03:00
Klaas Freitag
4e4fca54c2
added test data as well as a test config template.
2012-08-29 15:26:31 +03:00
Klaas Freitag
52e0f06692
use a more speaking name for config file.
2012-08-29 15:26:15 +03:00
Klaas Freitag
0416107951
Fix testcase.
2012-08-29 13:34:42 +03:00
Klaas Freitag
ae94ce7430
Check if the file id method exists in the vio plugin.
2012-08-29 13:34:21 +03:00
Klaas Freitag
3950b18dc7
Fix memory leaks in new id sync code.
2012-08-28 17:53:26 +03:00
Klaas Freitag
4750380565
Fix flag setting detection of the fields.
2012-08-28 17:52:28 +03:00
Klaas Freitag
3e95056975
ownCloud: Use stat cache more structured.
2012-08-28 15:59:33 +03:00
Klaas Freitag
636ec65c60
ownCloud: removed unused statcache code.
2012-08-28 14:24:42 +03:00
Klaas Freitag
c491e8bb68
Check for valid result count after query.
2012-08-28 14:09:54 +03:00
Klaas Freitag
78c43e542c
Handle zero result list correctly.
2012-08-28 14:09:29 +03:00
Klaas Freitag
bba1396770
ownCloud: Use correct path to push into owncloud_stat.
2012-08-28 14:06:55 +03:00
Klaas Freitag
b6edf82d4e
Fixed license of tests, added dir check test.
2012-08-26 20:08:28 +02:00
Klaas Freitag
3b369c8b03
More robust query result access if columns are missing.
2012-08-26 20:07:36 +02:00
Klaas Freitag
9897335006
ownCloud: Test on null pointer before access for md5 sum.
2012-08-26 20:06:53 +02:00
Klaas Freitag
ef64756334
Merge branch 'md5' of ssh://milliways.cryptomilk.org/users/freitag/csync into fastsync
...
Conflicts:
modules/csync_owncloud.c
src/csync_private.h
src/csync_propagate.c
src/csync_reconcile.c
src/csync_statedb.c
2012-08-23 18:04:32 +03:00
Klaas Freitag
4169c4be05
More blackbox testing of csync ownCloud - enhanced test script.
2012-08-23 17:57:04 +03:00
Klaas Freitag
2420eeffd1
Read remote file tree from db if id has not changed.
2012-08-23 17:55:39 +03:00
Klaas Freitag
5b5fe29eb5
Make sqlite_query function able to deal with multiple row queries.
2012-08-23 17:54:36 +03:00
Klaas Freitag
cf8f31914a
Added a file type column to the database.
2012-08-23 17:53:53 +03:00
Klaas Freitag
1dc50eea5d
Decide if the file tree is read from db or stat'ed
2012-08-23 17:50:30 +03:00
Klaas Freitag
1e41c469f0
Add the dbtree function module.
2012-08-23 17:49:47 +03:00
Klaas Freitag
e349df9f4c
Added flag to indicate to read the remote filetree from db.
2012-08-23 17:49:18 +03:00
Klaas Freitag
8876658810
Added functions to read the file tree from database.
2012-08-23 17:48:24 +03:00