nextcloud-desktop.git
11 years agoSome more minor cleanups based on the pull request review.
Klaas Freitag [Wed, 20 May 2015 20:44:12 +0000 (22:44 +0200)]
Some more minor cleanups based on the pull request review.

11 years agoImproved implementation efficiency of checksum calculation.
Klaas Freitag [Wed, 20 May 2015 19:42:08 +0000 (21:42 +0200)]
Improved implementation efficiency of checksum calculation.

Based on Oliviers suggestions the file read routine now reuses
one buffer to read the entire file.

Other cleanups.

11 years agoRemove QtConcurrent from component list for Qt4.
Klaas Freitag [Wed, 20 May 2015 15:00:27 +0000 (17:00 +0200)]
Remove QtConcurrent from component list for Qt4.

According to Olivier QtConcurrent was part of QtCore in Qt4.

11 years agoMake TransmissionChecksumValidator child of the job for auto delete.
Klaas Freitag [Wed, 20 May 2015 14:54:04 +0000 (16:54 +0200)]
Make TransmissionChecksumValidator child of the job for auto delete.

That way no explicit memory management is needed as the allocation
is freed when the job (parent) is deleted automatically.

11 years agoPropagateUpload: Fix typo in warn message.
Klaas Freitag [Wed, 20 May 2015 10:30:00 +0000 (12:30 +0200)]
PropagateUpload: Fix typo in warn message.

11 years agoPropagator: Added a log that tells if transmission checksumming is used.
Klaas Freitag [Wed, 20 May 2015 10:27:54 +0000 (12:27 +0200)]
Propagator: Added a log that tells if transmission checksumming is used.

11 years agoTransmissionChecksum: Fix identation.
Klaas Freitag [Wed, 20 May 2015 08:49:18 +0000 (10:49 +0200)]
TransmissionChecksum: Fix identation.

11 years agoTransmissionChecksum: Removed "pseudo" thread worker functions
Klaas Freitag [Wed, 20 May 2015 08:45:20 +0000 (10:45 +0200)]
TransmissionChecksum: Removed "pseudo" thread worker functions

Removed the Worker postfix from the method names to reflect their non
threaded character, they moved into a thread in the Validator class.

Thanks ckamm for review.

11 years agoTransmission checksum: Adopt unit test to latest changes.
Klaas Freitag [Tue, 19 May 2015 14:57:50 +0000 (16:57 +0200)]
Transmission checksum: Adopt unit test to latest changes.

11 years agoPropagate Download: Handle malformed checksum header as error.
Klaas Freitag [Tue, 19 May 2015 14:49:22 +0000 (16:49 +0200)]
Propagate Download: Handle malformed checksum header as error.

Plus some cleanup, bool ok was not needed actually.

11 years agoPropagator: Use the TransmissionChecksumValidator class.
Klaas Freitag [Fri, 15 May 2015 13:39:26 +0000 (15:39 +0200)]
Propagator: Use the TransmissionChecksumValidator class.

11 years agoAdd a class TransmissionChecksumValidator, incl. unit test.
Klaas Freitag [Fri, 15 May 2015 13:34:17 +0000 (15:34 +0200)]
Add a class TransmissionChecksumValidator, incl. unit test.

This does all needed to manage checksums that go with http headers
ensuring that the transmission was correct.

11 years agoPropagate downloads: Handle checksum transmission header.
Klaas Freitag [Fri, 15 May 2015 08:50:55 +0000 (10:50 +0200)]
Propagate downloads: Handle checksum transmission header.

Read a checksum from the HTTP header, and if its there, compare the
downloaded tmp file against it. In case of corruption, schedule a
redownload.

11 years agoPropagator: checksum constants go to propatorjobs header.
Klaas Freitag [Fri, 15 May 2015 08:50:13 +0000 (10:50 +0200)]
Propagator: checksum constants go to propatorjobs header.

So they can be used from both up- and download propagator jobs.

11 years agoPropagateUpload: Add checksum calculation if required by config.
Klaas Freitag [Tue, 12 May 2015 14:36:40 +0000 (16:36 +0200)]
PropagateUpload: Add checksum calculation if required by config.

If the config file has an transmissionChecksum entry, a checksum
is added to the PUT requests in a header.

11 years agoChecksum Calculation: Add unit test.
Klaas Freitag [Tue, 12 May 2015 13:49:01 +0000 (15:49 +0200)]
Checksum Calculation: Add unit test.

11 years agoFilesystem Utilities: Add Checksum calculation methods.
Klaas Freitag [Tue, 12 May 2015 13:48:13 +0000 (15:48 +0200)]
Filesystem Utilities: Add Checksum calculation methods.

11 years agoChangelog: Add User Agent string.
Klaas Freitag [Tue, 12 May 2015 12:07:23 +0000 (14:07 +0200)]
Changelog: Add User Agent string.

11 years agoBranding: Append the appName short to the user agent string.
Klaas Freitag [Mon, 4 May 2015 15:42:31 +0000 (17:42 +0200)]
Branding: Append the appName short to the user agent string.

11 years agoTheme: (minor) remove some more mirall's
Klaas Freitag [Tue, 12 May 2015 12:03:21 +0000 (14:03 +0200)]
Theme: (minor) remove some more mirall's

11 years agoMirallConfigFile: Add an option of transmission checksumming.
Klaas Freitag [Thu, 9 Apr 2015 16:00:41 +0000 (18:00 +0200)]
MirallConfigFile: Add an option of transmission checksumming.

11 years agoFind & use QtConcurrent
Daniel Molkentin [Thu, 18 Dec 2014 14:52:06 +0000 (15:52 +0100)]
Find & use QtConcurrent

11 years agoSyncFileItem class: Add member _checksum
Klaas Freitag [Wed, 10 Dec 2014 09:04:29 +0000 (10:04 +0100)]
SyncFileItem class: Add member _checksum

11 years agoStopWatch: return the duration from the stop() command.
Klaas Freitag [Thu, 4 Dec 2014 16:57:29 +0000 (17:57 +0100)]
StopWatch: return the duration from the stop() command.

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

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

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

11 years agoFix opening external links for some labels
Olivier Goffart [Fri, 15 May 2015 16:44:19 +0000 (18:44 +0200)]
Fix opening external links for some labels

Issue #3135

11 years agoAccountState: Run only a single validator, allow error message overriding #3236 ...
Markus Goetz [Fri, 15 May 2015 10:26:23 +0000 (12:26 +0200)]
AccountState: Run only a single validator, allow error message overriding #3236 #3153

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

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

11 years agoSyncJournalDB: Don't use NULL value
Markus Goetz [Wed, 13 May 2015 12:57:14 +0000 (14:57 +0200)]
SyncJournalDB: Don't use NULL value

Olivier says we should try to not be the same as the possible value
for not existing entries.

11 years agoSyncJournalDB: Simplify code
Markus Goetz [Wed, 13 May 2015 11:15:53 +0000 (13:15 +0200)]
SyncJournalDB: Simplify code

11 years agoSyncEngine: Force re-read of folder Etags for upgrades from 1.8.0 and 1.8.1
Markus Goetz [Wed, 13 May 2015 10:54:49 +0000 (12:54 +0200)]
SyncEngine: Force re-read of folder Etags for upgrades from 1.8.0 and 1.8.1

This is a better fix than the previous one for the local-files-missing bug
because it does not depend on the sync run to run fully through.

11 years agoOwnSql: Fix numRowsAffected()
Markus Goetz [Wed, 13 May 2015 10:54:03 +0000 (12:54 +0200)]
OwnSql: Fix numRowsAffected()

11 years agoUpdate VERSION.cmake to 1.8.2
Markus Goetz [Wed, 13 May 2015 10:52:13 +0000 (12:52 +0200)]
Update VERSION.cmake to 1.8.2

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

11 years agoQt4: Fix test
Markus Goetz [Tue, 12 May 2015 20:55:54 +0000 (22:55 +0200)]
Qt4: Fix test

11 years agoSyncEngine: Fix comment
Olivier Goffart [Tue, 12 May 2015 15:52:12 +0000 (17:52 +0200)]
SyncEngine: Fix comment

A comment should descibe the code, and not a patch.

11 years agoApplication: Disable to workaround of QLockFile bug for Qt versions that are fixed
Olivier Goffart [Tue, 12 May 2015 15:25:45 +0000 (17:25 +0200)]
Application: Disable to workaround of QLockFile bug for Qt versions that are fixed

11 years agoPropagator: Mention name of conflict file (for debugging)
Markus Goetz [Tue, 12 May 2015 15:10:53 +0000 (17:10 +0200)]
Propagator: Mention name of conflict file (for debugging)

11 years agotx.pl: Use HTTP Keep-Alive
Markus Goetz [Tue, 12 May 2015 14:26:04 +0000 (16:26 +0200)]
tx.pl: Use HTTP Keep-Alive

11 years agoBandwidthManager: fix warnings
Olivier Goffart [Tue, 12 May 2015 14:35:27 +0000 (16:35 +0200)]
BandwidthManager: fix warnings

Unused variables

11 years agocsync walk tree: Try to find the 'other_node' in the source directory in case of...
Olivier Goffart [Tue, 12 May 2015 14:32:00 +0000 (16:32 +0200)]
csync walk tree: Try to find the 'other_node' in the source directory in case of renames

This fixes t2.pl

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

11 years agoBandwidth Manager: Comment out qDebug
Markus Goetz [Mon, 11 May 2015 14:07:34 +0000 (16:07 +0200)]
Bandwidth Manager: Comment out qDebug

We have not received any grave bug reports for it, not needed anymore.

11 years agoPropagator: Limit length of temporary file name #2789 (fixup)
Markus Goetz [Mon, 11 May 2015 13:41:56 +0000 (15:41 +0200)]
Propagator: Limit length of temporary file name #2789 (fixup)

Fix 22c35c4d15d31ab6fca3dfe4949ae807182bc481

11 years agoApplication: ifdef lock file issue as it only happens on Qt>5.1
Klaas Freitag [Mon, 11 May 2015 11:35:04 +0000 (13:35 +0200)]
Application: ifdef lock file issue as it only happens on Qt>5.1

However, the fix breaks Qt4 compile, so it needs to be ifdefed.
Not viel hilft viel.

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

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

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

11 years agoPropagator: Limit length of temporary file name #2789
Markus Goetz [Fri, 8 May 2015 14:41:41 +0000 (16:41 +0200)]
Propagator: Limit length of temporary file name #2789

11 years agoShareDialog: Password ui fixes. #3189
Christian Kamm [Fri, 8 May 2015 12:53:38 +0000 (14:53 +0200)]
ShareDialog: Password ui fixes. #3189

* Change the textedit-empty text to be just "Password"
* Hide the 'Copy link' button when the share isn't created yet
* Show the checked and disabled 'Password required' checkbox
  when a password is required.

11 years agoFix startup hang by removing QSettings lock file. #3175
Christian Kamm [Fri, 8 May 2015 12:02:44 +0000 (14:02 +0200)]
Fix startup hang by removing QSettings lock file. #3175

In some situations the .lock file would stay around and
cause subsequent starts of the client to get stuck before
showing the ui.

11 years agoWizard: Allow SSL cert dialog to show twice. #3168
Christian Kamm [Fri, 8 May 2015 08:17:21 +0000 (10:17 +0200)]
Wizard: Allow SSL cert dialog to show twice. #3168

Normally we never ask twice for the same url, but in the setup wizard
it makes sense to do so.

11 years agoProtocolWidget: Fix rename message. #3210
Christian Kamm [Thu, 7 May 2015 12:10:28 +0000 (14:10 +0200)]
ProtocolWidget: Fix rename message. #3210

For remote renames that are replicated locally the _file member is
overwritten by the target file name when the new entry is added to
the metadata table. Using _originalFile here guarantees that
the affected local file is mentioned.

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

11 years agoDiscovery: Test better, treat invalid hrefs as error #3176
Markus Goetz [Thu, 7 May 2015 15:19:14 +0000 (17:19 +0200)]
Discovery: Test better, treat invalid hrefs as error #3176

11 years agoFix the Qt4 build
Jocelyn Turcotte [Thu, 7 May 2015 12:46:00 +0000 (14:46 +0200)]
Fix the Qt4 build

Following a6500d80686b7b04aa0a9fbf2a3c084b99dda488
Qt4's moc doesn't expand macros and wouldn't evaluate QT_VERSION_CHECK.

11 years agoPropagator: Overwrite local data only if unchanged. #3156
Christian Kamm [Thu, 7 May 2015 09:41:29 +0000 (11:41 +0200)]
Propagator: Overwrite local data only if unchanged. #3156

11 years agoShareDialog: Improve error reporting for share API fails.
Christian Kamm [Thu, 7 May 2015 08:23:39 +0000 (10:23 +0200)]
ShareDialog: Improve error reporting for share API fails.

This would have made debugging #3204 and #3136 easier.

11 years agoUpdater on OS X: Only allow if in /Applications #2931
Markus Goetz [Tue, 5 May 2015 16:48:57 +0000 (18:48 +0200)]
Updater on OS X: Only allow if in /Applications #2931

11 years agoWizard: Fix lock icon #1447
Markus Goetz [Tue, 5 May 2015 14:30:57 +0000 (16:30 +0200)]
Wizard: Fix lock icon #1447

11 years agoMerge pull request #3208 from owncloud/dev/gcc5
Klaas Freitag [Thu, 7 May 2015 07:52:36 +0000 (09:52 +0200)]
Merge pull request #3208 from owncloud/dev/gcc5

Compile with GCC 5 - thanks for the pr

11 years agoAccountState: Treat *any* 503 as a temporary error. #3113
Christian Kamm [Fri, 24 Apr 2015 09:32:47 +0000 (11:32 +0200)]
AccountState: Treat *any* 503 as a temporary error. #3113

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

11 years agoCompile with GCC 5
Hefee [Wed, 6 May 2015 23:15:55 +0000 (01:15 +0200)]
Compile with GCC 5

this fixes the error and makes complete oCC compile with GCC 5.
error: ISO C does not support '__FUNCTION__' predefined identifier
[-Wpedantic]

According to the porting guide:
The fix is either to use the standard predefined identifier __func__
(since C99), or to use the __extension__ keyword.

11 years agoshell_integration on OSX: Avoid too many RETRIEVE_FILE_STATUS following UPDATE_VIEW...
Jocelyn Turcotte [Wed, 6 May 2015 10:54:18 +0000 (12:54 +0200)]
shell_integration on OSX: Avoid too many RETRIEVE_FILE_STATUS following UPDATE_VIEW #3122

Do not request the status of all entries in the cache. Instead force Finder
to request the ones that it deems necessary by keeping the old statuses
in a separate dictionary which are only used while the new status arrives.

11 years agoshell_integration on OSX: Do not fill the cache with unsolicited statuses #3122
Jocelyn Turcotte [Wed, 6 May 2015 10:50:53 +0000 (12:50 +0200)]
shell_integration on OSX: Do not fill the cache with unsolicited statuses #3122

11 years agoshell_integration on OSX: Remove dead code
Jocelyn Turcotte [Wed, 6 May 2015 10:49:04 +0000 (12:49 +0200)]
shell_integration on OSX: Remove dead code

removeIcons isn't called and clearFileNameCacheForPath was always
called with a "nil" path.

Remove the return value of askForIcon which was always 0, and use
that value explicitly at the only call site.

Remove the "-1" code path in iconByPath since setIcons prevents
-1 from getting into _fileNamesCache in all cases.

11 years agoDon't hardcode the source directory in deploy.sh
Jocelyn Turcotte [Tue, 5 May 2015 13:01:40 +0000 (15:01 +0200)]
Don't hardcode the source directory in deploy.sh

11 years agoWork around the Qt PUT corruption bug with Qt < 5.4.2 #2425
Jocelyn Turcotte [Mon, 27 Apr 2015 13:04:44 +0000 (15:04 +0200)]
Work around the Qt PUT corruption bug with Qt < 5.4.2 #2425

Since QNonContiguousByteDeviceThreadForwardImpl::reset will
call UploadDevice::reset with a BlockingQueuedConnection, this
allows us to reset the HTTP channel along with its buffers
before they get the chance to be reused with a subsequent request.

11 years agoshell_integration on Windows: Avoid too many RETRIEVE_FILE_STATUS following UPDATE_VI...
Jocelyn Turcotte [Tue, 5 May 2015 09:24:01 +0000 (11:24 +0200)]
shell_integration on Windows: Avoid too many RETRIEVE_FILE_STATUS following UPDATE_VIEW #3122

Do not request the status of all entries in the cache. Instead force
explorer to request the ones that it deems necessary by keeping the old
statuses in a separate dictionary which are only used while the new status
arrives.

11 years agoshell_integration on Windows: Don't fill the cache with unsolicited statuses #3122
Jocelyn Turcotte [Wed, 6 May 2015 13:51:41 +0000 (15:51 +0200)]
shell_integration on Windows: Don't fill the cache with unsolicited statuses #3122

Only keep the status updates if explorer is going to display it.

11 years agoChangelog: Clearify changelog entries.
Klaas Freitag [Wed, 6 May 2015 09:43:58 +0000 (11:43 +0200)]
Changelog: Clearify changelog entries.

11 years agoUpdate Changelog
Daniel Molkentin [Wed, 6 May 2015 09:25:04 +0000 (11:25 +0200)]
Update Changelog

11 years agoDisable setSslConfiguration calls for older Qt version
Daniel Molkentin [Wed, 6 May 2015 09:20:16 +0000 (11:20 +0200)]
Disable setSslConfiguration calls for older Qt version

This is only required for client certs, which currently have
no GUI anyway and are experimental.

11 years ago1.8.1 final
Daniel Molkentin [Wed, 6 May 2015 08:51:11 +0000 (10:51 +0200)]
1.8.1 final

11 years agoIgnoreListEditor: Remove invalid connect. #3201
Christian Kamm [Wed, 6 May 2015 07:34:45 +0000 (09:34 +0200)]
IgnoreListEditor: Remove invalid connect. #3201

This has been around ever since the ignore editor was
added and the slot never existed.

11 years agoSyncEngine: Fix accidental re-discovery because of broken version table
Markus Goetz [Tue, 5 May 2015 15:06:28 +0000 (17:06 +0200)]
SyncEngine: Fix accidental re-discovery because of broken version table

Bug had been triggered by d63abef718ebab0717c496dca11a9ad363bf6965
Broken version table in there since some time it seems like.

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

11 years ago1.8.0 RC2
Daniel Molkentin [Mon, 4 May 2015 11:43:56 +0000 (13:43 +0200)]
1.8.0 RC2

11 years agoSyncEngine: Handle upgrade case from 1.8.0
Klaas Freitag [Mon, 4 May 2015 10:14:35 +0000 (12:14 +0200)]
SyncEngine: Handle upgrade case from 1.8.0

If 1.8.0 caused missing data in the local tree, this patch gets it
back. For that, the usage of the journal for remote repository is
disabled at the first start.

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

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

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

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

11 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Thu, 30 Apr 2015 07:27:54 +0000 (03:27 -0400)]
[tx-robot] updated from transifex

11 years agoProxy: Register meta type #3170
Markus Goetz [Wed, 29 Apr 2015 12:54:08 +0000 (14:54 +0200)]
Proxy: Register meta type #3170

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

11 years agoUpdated version tag rc1
Klaas Freitag [Mon, 27 Apr 2015 09:58:56 +0000 (11:58 +0200)]
Updated version tag rc1

11 years agoUpdated changelog for 1.8.1
Klaas Freitag [Mon, 27 Apr 2015 09:58:18 +0000 (11:58 +0200)]
Updated changelog for 1.8.1

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

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

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

11 years agoUpdate owncloudcmd.rst
Carla Schroder [Fri, 24 Apr 2015 18:44:38 +0000 (11:44 -0700)]
Update owncloudcmd.rst

11 years agoupdate owncloud and owncloudcmd docs
Carla Schroder [Fri, 24 Apr 2015 18:34:20 +0000 (11:34 -0700)]
update owncloud and owncloudcmd docs

Conflicts:
doc/owncloudcmd.rst

11 years agoUpdate autoupdate.rst
Carla Schroder [Fri, 24 Apr 2015 17:03:51 +0000 (10:03 -0700)]
Update autoupdate.rst

11 years agoUpdate introduction.rst
Carla Schroder [Fri, 24 Apr 2015 17:03:06 +0000 (10:03 -0700)]
Update introduction.rst

11 years agoMerge pull request #3160 from owncloud/blockoldclient
Carla Schroder [Fri, 24 Apr 2015 16:56:17 +0000 (09:56 -0700)]
Merge pull request #3160 from owncloud/blockoldclient

add more warning that 1.7 clients and older are blocked