nextcloud-desktop.git
11 years agoTime estimate: Refactor remaining time guess. #2328
Christian Kamm [Fri, 30 Jan 2015 12:36:20 +0000 (13:36 +0100)]
Time estimate: Refactor remaining time guess. #2328

11 years agoTime estimation: Use a consistent check for size dependence. #2328
Christian Kamm [Fri, 30 Jan 2015 08:17:15 +0000 (09:17 +0100)]
Time estimation: Use a consistent check for size dependence. #2328

11 years agoTime estimation: Avoid a progress reset before finish. #2328
Christian Kamm [Fri, 30 Jan 2015 08:16:14 +0000 (09:16 +0100)]
Time estimation: Avoid a progress reset before finish. #2328

The current algorithm doesn't care much, but resetting progress
to 0 just before completing a job is confusing anyway.

11 years agoAccountSettings: Update progress only twice per second. #3014
Christian Kamm [Fri, 27 Mar 2015 13:40:33 +0000 (14:40 +0100)]
AccountSettings: Update progress only twice per second. #3014

11 years agoMerge pull request #3004 from RealRancor/fix_typo
Carla Schroder [Mon, 20 Apr 2015 17:27:59 +0000 (10:27 -0700)]
Merge pull request #3004 from RealRancor/fix_typo

Docs: Added point and missing newline, fixed typo

11 years agoMerge remote-tracking branch 'origin/1.8'
Olivier Goffart [Mon, 20 Apr 2015 12:58:45 +0000 (14:58 +0200)]
Merge remote-tracking branch 'origin/1.8'

11 years agoFix the neon build
Jocelyn Turcotte [Mon, 20 Apr 2015 09:30:29 +0000 (11:30 +0200)]
Fix the neon build

11 years agoDeclare master as 1.9.0git
Markus Goetz [Mon, 20 Apr 2015 09:22:19 +0000 (11:22 +0200)]
Declare master as 1.9.0git

11 years agoMore change to compile with 5.5
Olivier Goffart [Mon, 20 Apr 2015 07:46:43 +0000 (09:46 +0200)]
More change to compile with 5.5

The problem is again that QStringList no longer include QDataStream

11 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Mon, 20 Apr 2015 06:18:49 +0000 (02:18 -0400)]
[tx-robot] updated from transifex

11 years agoFix compilation with Qt 5.5
Olivier Goffart [Sun, 19 Apr 2015 09:01:47 +0000 (11:01 +0200)]
Fix compilation with Qt 5.5

Because of commit 90e7cc172a7521396bb2d49720ee4ceb9a9390b3 in qtbase,
we now need to explicitly include QDataStream

Fixes #2809

11 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sun, 19 Apr 2015 06:18:31 +0000 (02:18 -0400)]
[tx-robot] updated from transifex

11 years agoPass SyncFileItems by pointer instead of by value
Jocelyn Turcotte [Wed, 15 Apr 2015 13:19:11 +0000 (15:19 +0200)]
Pass SyncFileItems by pointer instead of by value

Use a QSharedPointer to keep the same ownership and
continue passing the SyncFileItems as a const& when
ownership isn't taken. This allows sharing the same
allocations between the jobs and the result vectors.

This saves about 20MB of memory (off 120MB) once all
jobs are created.

11 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sat, 18 Apr 2015 06:18:24 +0000 (02:18 -0400)]
[tx-robot] updated from transifex

11 years agoMac OS: The Resource/ folder in Qt frameworks might not exist
Daniel Molkentin [Fri, 17 Apr 2015 11:22:19 +0000 (13:22 +0200)]
Mac OS: The Resource/ folder in Qt frameworks might not exist

Make sure to create it

11 years agoRemove wrongly-commited file
Daniel Molkentin [Fri, 17 Apr 2015 10:49:41 +0000 (12:49 +0200)]
Remove wrongly-commited file

11 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Fri, 17 Apr 2015 10:49:42 +0000 (06:49 -0400)]
[tx-robot] updated from transifex

11 years agoPrevent another crash in ~SocketApi #3118
Jocelyn Turcotte [Fri, 17 Apr 2015 10:30:54 +0000 (12:30 +0200)]
Prevent another crash in ~SocketApi #3118

Since the QLocalServer parent of the QLocalSockets gets destroyed
after the _listeners QList, onLostConnection might try to update
an already destroyed list.

Fix the issue by simply making sure that _localServer is destroyed
first.

11 years agoHTTP creds: Fix translation of the password input dialog
Olivier Goffart [Fri, 17 Apr 2015 10:18:09 +0000 (12:18 +0200)]
HTTP creds: Fix translation of the password input dialog

tr() needs Q_OBJECT

11 years agoMerge pull request #3126 from owncloud/equal_user_agents
Daniel Molkentin [Fri, 17 Apr 2015 08:16:09 +0000 (10:16 +0200)]
Merge pull request #3126 from owncloud/equal_user_agents

Use identical User Agents for csync and the Qt parts

11 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Fri, 17 Apr 2015 06:18:43 +0000 (02:18 -0400)]
[tx-robot] updated from transifex

11 years agoUse identical User Agents for csync and the Qt parts
Daniel Molkentin [Thu, 16 Apr 2015 18:56:00 +0000 (20:56 +0200)]
Use identical User Agents for csync and the Qt parts

Also, use the mirall version for ocsync.

Currently, the csync engine part and the Qt part have different UAs,
and this makes debugging (i.e. reading access logs) difficult. On
top, we haven't increased the ocsync version number in ages. So
as a consequence, I think it would be the best to have ocsync
and the rest share the same version number, and make them identify
with the same user agent.

To ease debugging for our side, we'll still append "(csyncoC)"
for calls made by csync.

11 years agoOS X: Actually Make the signing script fail on failure
Daniel Molkentin [Thu, 16 Apr 2015 14:33:36 +0000 (16:33 +0200)]
OS X: Actually Make the signing script fail on failure

Addresses #3114

11 years agoFix mac deployment again
Daniel Molkentin [Thu, 16 Apr 2015 14:28:34 +0000 (16:28 +0200)]
Fix mac deployment again

11 years agoMerge branch '1.8'
Olivier Goffart [Thu, 16 Apr 2015 10:49:31 +0000 (12:49 +0200)]
Merge branch '1.8'

11 years agoPropagate download: Fix restoring files for which the conflict file exists
Olivier Goffart [Thu, 16 Apr 2015 09:21:39 +0000 (11:21 +0200)]
Propagate download: Fix restoring files for which the conflict file exists

For issue #3106

1) Always use the actual timestamp from the file in the file system
to create the conflict file.  This is important because if one edit a
file several time, they should have different name. Also it makes more
sens to have the mtime of the modified file.

2) Give the correct size to the job so we know when the temporary file
is complete in case of resuming.

11 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Thu, 16 Apr 2015 06:18:36 +0000 (02:18 -0400)]
[tx-robot] updated from transifex

11 years agoPropagateDownload: Read the mtime from the file system after writing it
Olivier Goffart [Wed, 15 Apr 2015 13:31:47 +0000 (15:31 +0200)]
PropagateDownload: Read the mtime from the file system after writing it

Because file system like FAT only have two second accuracy and would result
in a upload if the mtime in the database is not the same as the one that was
downloaded

Issue #3103

11 years ago1.8.1 beta 1
Daniel Molkentin [Wed, 15 Apr 2015 13:33:17 +0000 (15:33 +0200)]
1.8.1 beta 1

11 years agoConfigFile: Remove unused functions
Markus Goetz [Wed, 15 Apr 2015 12:58:27 +0000 (14:58 +0200)]
ConfigFile: Remove unused functions

11 years agoTranslations: Attempt two for Serbian #3083
Markus Goetz [Wed, 15 Apr 2015 10:31:08 +0000 (12:31 +0200)]
Translations: Attempt two for Serbian #3083

11 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Wed, 15 Apr 2015 06:18:35 +0000 (02:18 -0400)]
[tx-robot] updated from transifex

11 years agoSort folder sizes SelectiveSyncTreeView numerically
Daniel Molkentin [Tue, 14 Apr 2015 18:00:42 +0000 (20:00 +0200)]
Sort folder sizes SelectiveSyncTreeView numerically

Fixes #3112

11 years agoLsColXMLParser: More testing 2
Markus Goetz [Tue, 14 Apr 2015 12:56:25 +0000 (14:56 +0200)]
LsColXMLParser: More testing 2

11 years agoLsColXMLParser: More testing
Markus Goetz [Tue, 14 Apr 2015 12:41:48 +0000 (14:41 +0200)]
LsColXMLParser: More testing

11 years agotest xmlparser: Verify call to parse()
Klaas Freitag [Tue, 14 Apr 2015 11:45:09 +0000 (13:45 +0200)]
test xmlparser: Verify call to parse()

11 years agoAdded unit test for XML Parser class.
Klaas Freitag [Tue, 14 Apr 2015 06:37:06 +0000 (08:37 +0200)]
Added unit test for XML Parser class.

11 years agoLsColJob: Create a XML parser object for better unit testability.
Klaas Freitag [Tue, 14 Apr 2015 06:36:17 +0000 (08:36 +0200)]
LsColJob: Create a XML parser object for better unit testability.

11 years agoLsColXMLParser: let parse return bool.
Klaas Freitag [Tue, 14 Apr 2015 11:41:51 +0000 (13:41 +0200)]
LsColXMLParser: let parse return bool.

11 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Tue, 14 Apr 2015 06:18:33 +0000 (02:18 -0400)]
[tx-robot] updated from transifex

11 years agoTranslations: Try to add Serbian #3083
Markus Goetz [Mon, 13 Apr 2015 16:27:28 +0000 (18:27 +0200)]
Translations: Try to add Serbian #3083

11 years agoDiscovery: Explicitly check for XML parser errors
Markus Goetz [Mon, 13 Apr 2015 14:04:24 +0000 (16:04 +0200)]
Discovery: Explicitly check for XML parser errors

..instead of relying that our state machine does not do anything in that case.

11 years agoDiscovery: Initialize error with EIO in constructor
Markus Goetz [Mon, 13 Apr 2015 13:49:33 +0000 (15:49 +0200)]
Discovery: Initialize error with EIO in constructor

This is safer, initializing it in remote_vio_opendir_hook was enough though.

11 years agoDiscovery: Initialize error with EIO
Markus Goetz [Mon, 13 Apr 2015 13:36:07 +0000 (15:36 +0200)]
Discovery: Initialize error with EIO

11 years agoDiscovery: Add a sanity check when results are parsed
Markus Goetz [Mon, 13 Apr 2015 13:10:04 +0000 (15:10 +0200)]
Discovery: Add a sanity check when results are parsed

11 years agoCSync: Log if file_id is too long
Markus Goetz [Mon, 13 Apr 2015 12:58:25 +0000 (14:58 +0200)]
CSync: Log if file_id is too long

11 years agoRestore submodule
Olivier Goffart [Mon, 13 Apr 2015 11:03:46 +0000 (13:03 +0200)]
Restore submodule

11 years agoowncloudcmd: Filter out empty lines in selectivesync
Klaas Freitag [Sun, 12 Apr 2015 10:59:25 +0000 (12:59 +0200)]
owncloudcmd: Filter out empty lines in selectivesync

11 years agoNetworkjobs: Only log a subset of the account url.
Klaas Freitag [Sun, 12 Apr 2015 10:35:40 +0000 (12:35 +0200)]
Networkjobs: Only log a subset of the account url.

This avoids disclosing of user and password in the logfile which can
happen in some cases.

11 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sun, 12 Apr 2015 06:18:27 +0000 (02:18 -0400)]
[tx-robot] updated from transifex

11 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sat, 11 Apr 2015 06:18:26 +0000 (02:18 -0400)]
[tx-robot] updated from transifex

11 years agoProtocolWidget: Fix adding of seconds. #2535
Christian Kamm [Fri, 10 Apr 2015 10:11:35 +0000 (12:11 +0200)]
ProtocolWidget: Fix adding of seconds. #2535

11 years agoAuthRedirect: Use the configured DAV path. #3082
Christian Kamm [Fri, 10 Apr 2015 07:24:25 +0000 (09:24 +0200)]
AuthRedirect: Use the configured DAV path. #3082

11 years agoHandle redirect of auth request. #3082
Christian Kamm [Thu, 9 Apr 2015 11:38:52 +0000 (13:38 +0200)]
Handle redirect of auth request. #3082

11 years agoReconcile: Fix clang warning
Olivier Goffart [Thu, 9 Apr 2015 13:06:48 +0000 (15:06 +0200)]
Reconcile: Fix clang warning

csync_reconcile.c:159:26: warning: address of array 'tmp->path' will always evaluate to 'true' [-Wpointer-bool-conversion]
                if( tmp->path ) {
                ~~  ~~~~~^~~~

csync_file_stat_s::path is an array so it is never null
What was meant here is to check if the string was not empty

11 years agoMerge remote-tracking branch 'origin/1.8'
Olivier Goffart [Thu, 9 Apr 2015 12:24:26 +0000 (14:24 +0200)]
Merge remote-tracking branch 'origin/1.8'

11 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Thu, 9 Apr 2015 06:18:32 +0000 (02:18 -0400)]
[tx-robot] updated from transifex

11 years agoDiscovery: Speed up initial run. #2796
Christian Kamm [Wed, 8 Apr 2015 13:30:07 +0000 (15:30 +0200)]
Discovery: Speed up initial run. #2796

11 years agoSync: Fix sync of deletions during 503. #2894
Christian Kamm [Wed, 8 Apr 2015 08:50:08 +0000 (10:50 +0200)]
Sync: Fix sync of deletions during 503. #2894

11 years agoOnly show share dialog if we are connected.
Roeland Jago Douma [Mon, 16 Mar 2015 15:26:35 +0000 (16:26 +0100)]
Only show share dialog if we are connected.

11 years agoSyncEngine: Fix a crash in csync_vio_file_stat_copy #3051
Jocelyn Turcotte [Tue, 7 Apr 2015 14:55:04 +0000 (16:55 +0200)]
SyncEngine: Fix a crash in csync_vio_file_stat_copy #3051

In some cryptic cases where the getetag property wasn't returned by
the server, we might be trying to c_strdup a null pointer in
csync_vio_file_stat_copy.

At least avoid crashing in this case by looking for
CSYNC_VIO_FILE_STAT_FIELDS_ETAG, like csync_vio_file_stat_destroy
does.

11 years agoSyncEngine: Fix a crash caused by an invalid DiscoveryDirectoryResult::iterator ...
Jocelyn Turcotte [Thu, 2 Apr 2015 13:16:33 +0000 (15:16 +0200)]
SyncEngine: Fix a crash caused by an invalid DiscoveryDirectoryResult::iterator #3051

The default constructor of the iterator points to NULL, which makes
it != end() but invalid to dereference.

Use an integer index instead to keep 0 as a valid default value that
can always correctly be checked against size().

Also make sure that no data is shared between threads by making the
csync_vio_file_stat_t copyable and passing it as const.

11 years agoSharedialog: Fix compiler warnings.
Christian Kamm [Wed, 8 Apr 2015 06:59:36 +0000 (08:59 +0200)]
Sharedialog: Fix compiler warnings.

11 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Wed, 8 Apr 2015 06:18:30 +0000 (02:18 -0400)]
[tx-robot] updated from transifex

11 years agoMore GUI refinements.
Klaas Freitag [Thu, 26 Mar 2015 17:08:06 +0000 (18:08 +0100)]
More GUI refinements.

11 years agoShareDialog: handle resize properly with elided text
Klaas Freitag [Thu, 26 Mar 2015 16:23:29 +0000 (17:23 +0100)]
ShareDialog: handle resize properly with elided text

11 years agoShareDialog: Some GUI rework requested by Jan.
Klaas Freitag [Thu, 26 Mar 2015 15:51:31 +0000 (16:51 +0100)]
ShareDialog: Some GUI rework requested by Jan.

11 years agoMerge remote-tracking branch into 1.8
Olivier Goffart [Tue, 7 Apr 2015 08:42:27 +0000 (10:42 +0200)]
Merge remote-tracking branch into 1.8

11 years agoPropfindJob: fix xml parsing
Olivier Goffart [Tue, 7 Apr 2015 08:35:27 +0000 (10:35 +0200)]
PropfindJob:  fix xml parsing

It would only find the first property

11 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Tue, 7 Apr 2015 06:18:46 +0000 (02:18 -0400)]
[tx-robot] updated from transifex

11 years agoMerge remote-tracking branch into 1.8
Olivier Goffart [Tue, 7 Apr 2015 06:02:55 +0000 (08:02 +0200)]
Merge remote-tracking branch into 1.8

11 years agoAbstractSslErrorHandler: Also give QSslConfiguration
Markus Goetz [Mon, 6 Apr 2015 19:46:03 +0000 (21:46 +0200)]
AbstractSslErrorHandler: Also give QSslConfiguration

11 years agoAccountState: Fix uninitialized memory access spotted by valgrind
Olivier Goffart [Mon, 6 Apr 2015 14:20:28 +0000 (16:20 +0200)]
AccountState: Fix uninitialized memory access spotted by valgrind

QuotaInfo's constructor uses the AccountState's _state which is
initialized after

11 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sat, 4 Apr 2015 06:18:40 +0000 (02:18 -0400)]
[tx-robot] updated from transifex

11 years agotheme: fix compilation of libsync without QtGui
Olivier Goffart [Fri, 3 Apr 2015 09:27:06 +0000 (11:27 +0200)]
theme: fix compilation of libsync without QtGui

11 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Fri, 3 Apr 2015 06:18:33 +0000 (02:18 -0400)]
[tx-robot] updated from transifex

11 years agoDiscovery: Add warning if returned etag is 0
Markus Goetz [Thu, 2 Apr 2015 14:52:53 +0000 (16:52 +0200)]
Discovery: Add warning if returned etag is 0

There will be another bugfix which fixes
https://gist.github.com/jturcotte/3d5a7874d26bc27b1be9
directory.

11 years agoSyncEngine: Show more timing measurements #3064
Markus Goetz [Thu, 2 Apr 2015 13:18:19 +0000 (15:18 +0200)]
SyncEngine: Show more timing measurements #3064

11 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Thu, 2 Apr 2015 06:18:44 +0000 (02:18 -0400)]
[tx-robot] updated from transifex

11 years agoClean up remains of SOCKETAPI_TCP
Jocelyn Turcotte [Wed, 1 Apr 2015 12:45:05 +0000 (14:45 +0200)]
Clean up remains of SOCKETAPI_TCP

11 years agoFix a crash on shutdown in ~SocketApi #3057
Jocelyn Turcotte [Wed, 1 Apr 2015 12:40:34 +0000 (14:40 +0200)]
Fix a crash on shutdown in ~SocketApi #3057

Deleting the QLocalSocket while iterating the QList with qDeleteAll
would trigger onLostConnection, which would modify the list mid-air
and leave dangling pointers in it.

11 years agoWindows: Add version information for owncloud.exe
Jocelyn Turcotte [Wed, 1 Apr 2015 11:45:04 +0000 (13:45 +0200)]
Windows: Add version information for owncloud.exe

This should help us know what version or build number a crash report was generated with.

11 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Wed, 1 Apr 2015 06:18:37 +0000 (02:18 -0400)]
[tx-robot] updated from transifex

11 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Tue, 31 Mar 2015 06:18:45 +0000 (02:18 -0400)]
[tx-robot] updated from transifex

11 years agoUse 1.8 troubleshooting link
Lukas Reschke [Mon, 30 Mar 2015 15:32:19 +0000 (17:32 +0200)]
Use 1.8 troubleshooting link

11 years agoUpdater: Give context as to which app is about to be updated
Daniel Molkentin [Mon, 30 Mar 2015 12:38:19 +0000 (14:38 +0200)]
Updater: Give context as to which app is about to be updated

Fixes #3040

11 years agoPropagator: Fix compile
Markus Goetz [Mon, 30 Mar 2015 06:41:37 +0000 (08:41 +0200)]
Propagator: Fix compile

11 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sun, 29 Mar 2015 06:18:47 +0000 (02:18 -0400)]
[tx-robot] updated from transifex

11 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sun, 29 Mar 2015 05:15:23 +0000 (01:15 -0400)]
[tx-robot] updated from transifex

11 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sat, 28 Mar 2015 06:18:42 +0000 (02:18 -0400)]
[tx-robot] updated from transifex

11 years agoRemove unused HttpConfigFile.
Christian Kamm [Fri, 27 Mar 2015 12:19:17 +0000 (13:19 +0100)]
Remove unused HttpConfigFile.

11 years agoPropagator: Debug output regarding OC-ETag
Markus Goetz [Fri, 27 Mar 2015 12:16:11 +0000 (13:16 +0100)]
Propagator: Debug output regarding OC-ETag

We can remove this in some time, but currently it is interesting
to see for what server setup is no ETag but an OC-ETag.

11 years agoowncloudcmd: Always trail path with /
Markus Goetz [Fri, 27 Mar 2015 12:15:43 +0000 (13:15 +0100)]
owncloudcmd: Always trail path with /

Else the csync code vs the Qt code get confused.

11 years agoProxy: More debug, always set returned system proxy
Markus Goetz [Fri, 27 Mar 2015 10:53:58 +0000 (11:53 +0100)]
Proxy: More debug, always set returned system proxy

11 years agoProtocolWidget: Always add seconds to the DateTime locale. #2535
Christian Kamm [Fri, 27 Mar 2015 08:07:21 +0000 (09:07 +0100)]
ProtocolWidget: Always add seconds to the DateTime locale. #2535

11 years agoMerge remote-tracking branch 'origin/1.8'
Christian Kamm [Fri, 27 Mar 2015 10:19:59 +0000 (11:19 +0100)]
Merge remote-tracking branch 'origin/1.8'

Conflicts:
doc/installing.rst

11 years agoFix clang warnings about deleting incomplete 'Account'.
Christian Kamm [Fri, 27 Mar 2015 10:11:44 +0000 (11:11 +0100)]
Fix clang warnings about deleting incomplete 'Account'.

11 years agoProxy: Fix compile harder
Markus Goetz [Fri, 27 Mar 2015 09:36:34 +0000 (10:36 +0100)]
Proxy: Fix compile harder

11 years agoCookieJar: Don't accidentally overwrite cookies. #2808
Christian Kamm [Fri, 27 Mar 2015 09:49:24 +0000 (10:49 +0100)]
CookieJar: Don't accidentally overwrite cookies. #2808

Calling save() in the CookieJar destructor was problematic. For instance
we sometimes create a new QNAM with a new CookieJar and then call
setCookieJar() on it to assign some other jar. That destroy the fresh
jar and potentially overwrite cookies.

Also explicitly saving the account's cookies when the account is saved
is more explicit and thus more reliable than counting on the Account
destructor to do it.

11 years agoAccount: Destroy on exit.
Christian Kamm [Fri, 27 Mar 2015 09:30:35 +0000 (10:30 +0100)]
Account: Destroy on exit.

During shutdown we want the account object to be deleted and
therefore we need to be able to remove the strong reference
in AccountManager.