Olivier Goffart
541239c17b
Make the message box more explicit when all files have been removed
...
Also clean the db if the user wish to keep the files
2013-06-10 15:58:02 +02:00
Olivier Goffart
d2579a7754
Warn if we detect that all fles are about to be removed.
2013-06-08 15:41:53 +02:00
Klaas Freitag
8928c87fc3
Removed silly configDir hack from thread.
2013-04-22 15:06:28 +02:00
Klaas Freitag
9f0348979b
Simplify csyncthread with keeping csync ctx intact
2013-04-20 13:15:27 +03:00
Daniel Molkentin
acdb624713
safer approach for detecting duplicate sync runs
2013-04-15 15:55:54 +02:00
Daniel Molkentin
5954fb280c
Centralize error handling for csync steps
...
...as a preparation for offline handling.
As a side-effect, removed the last instance
of goto in mirall.
2013-02-15 19:29:27 +01:00
Daniel Molkentin
8dd97a358a
Introduce SyncPrepare state
...
SyncPrepare is when the folder class prepares the actual syncing,
i.e. does treewalks and runs the reconceiler in case of mirall. The actual
SyncRunning state will only be entered if there is actually anything to
sync.
Fixes #289
2013-02-14 17:36:11 +01:00
Daniel Molkentin
85f49b6af4
Fix guard position
2013-02-14 17:36:11 +01:00
Daniel Molkentin
45c82a2746
Go offline when server is in maintenance.
2013-01-16 14:41:12 +01:00
Klaas Freitag
bc3938daa7
A new sync file protocol dialog.
2013-01-15 20:42:09 +01:00
Klaas Freitag
f4019f5a5a
Show backend error messages to user.
2012-12-20 20:51:43 +01:00
Klaas Freitag
87aa3d7c60
More detailed error handling.
2012-12-20 16:49:29 +01:00
Klaas Freitag
144a2832b9
Loop over all certificates to match the approved one.
2012-12-20 16:49:29 +01:00
Daniel Molkentin
8b8d78f456
Improved version of popup-notify
2012-12-12 19:30:37 +01:00
Daniel Molkentin
3cb2e74d12
Notify user about new files.
...
Let's see if its too annoying,
we can still add a timer later
2012-12-12 15:00:38 +01:00
Daniel Molkentin
41082c5e81
Fix proxy error
...
This was caused by an incorrect translation to a string type.
2012-12-12 15:00:38 +01:00
Klaas Freitag
029535bcea
Removed another scary thing: qstrdup for proxy type.
2012-12-06 19:05:25 +01:00
Klaas Freitag
a124dcd4e8
More cleanups that were possible by the new notify api.
2012-12-06 18:38:06 +01:00
Daniel Molkentin
287c073f00
Remove code for local sync runs
...
Rely entirely on folderwatcher. Local
sync runs can be implemented in terms
of a dummy folderwatcher if we want
to support systems without fs monitoring
again..
2012-12-06 17:53:04 +01:00
Klaas Freitag
78c1bc6b22
Cleanup of sync result treewalk, build up journal in owncloudfolder.
2012-10-29 12:24:20 +01:00
Daniel Molkentin
3db60b4fe7
Massive simplification of proxy support.
...
Purposefully separated from last commit, but
associated with it: No more need for special
cases after libocsync got fixed do adhere properly.
2012-10-09 02:35:08 +02:00
Klaas Freitag
fd7cb38c16
Use qthread more correct, see
...
http://labs.qt.nokia.com/2006/12/04/threading-without-the-headache/
2012-08-26 11:47:45 +02:00
Klaas Freitag
9e30fe4ea5
Do not stop syncing if local directories are write protected.
2012-08-09 12:12:54 +03:00
Klaas Freitag
d3bb223898
Proceed proxy settings to csync thread.
2012-08-02 11:17:15 +03:00
Klaas Freitag
928ef731c9
Better protection against remote folder delete.
2012-06-25 14:18:13 +02:00
Klaas Freitag
06b3a50e84
Wipe the csync statedb after a sync definition is removed.
2012-06-11 10:10:07 +02:00
Klaas Freitag
9c4613e5d2
Allow to interrupt running sync task, incl. some cleanups.
2012-04-30 08:56:56 +02:00
Klaas Freitag
7acf400436
Removed path from csync include
2012-04-14 12:16:30 +02:00
Dominik Schmidt
f7c34ea652
Try some stuff with FindCsync.cmake
2012-04-14 04:19:52 +02:00
Klaas Freitag
bdbb85f245
Big changes: queue sync requests of folders and do in one thread
...
only to avoid thread clottering. Improve error reporting from the
csync thread.
2012-03-22 16:22:08 +01:00
Klaas Freitag
c6a9fb02d0
A more secure csync thread implementation (part1)
2012-03-21 18:03:49 +01:00
Klaas Freitag
ba13437fce
Remove user and passwd from ownCloud url and implement a callback.
...
Added static data to CSyncThread to hold user and passwd, which is
asked for in the callback.
2012-03-13 17:37:43 +01:00
Klaas Freitag
dd1c947c38
added missing include stdint.h
2012-03-01 16:11:56 +01:00
Klaas Freitag
f6846a2107
Added local polling to owncloud folder, based on csync.
2012-02-28 16:49:13 +01:00
Klaas Freitag
0c46382b6b
moved CsyncThread class to its own file
2012-02-15 09:30:37 +01:00