Klaas Freitag [Thu, 21 May 2015 12:31:18 +0000 (14:31 +0200)]
In case of empty checksum type, emit validated.
Klaas Freitag [Thu, 21 May 2015 12:30:21 +0000 (14:30 +0200)]
Let checksumType() read the config to destinguish checksum type.
Klaas Freitag [Wed, 20 May 2015 20:44:12 +0000 (22:44 +0200)]
Some more minor cleanups based on the pull request review.
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.
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.
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.
Klaas Freitag [Wed, 20 May 2015 10:30:00 +0000 (12:30 +0200)]
PropagateUpload: Fix typo in warn message.
Klaas Freitag [Wed, 20 May 2015 10:27:54 +0000 (12:27 +0200)]
Propagator: Added a log that tells if transmission checksumming is used.
Klaas Freitag [Wed, 20 May 2015 08:49:18 +0000 (10:49 +0200)]
TransmissionChecksum: Fix identation.
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.
Klaas Freitag [Tue, 19 May 2015 14:57:50 +0000 (16:57 +0200)]
Transmission checksum: Adopt unit test to latest changes.
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.
Klaas Freitag [Fri, 15 May 2015 13:39:26 +0000 (15:39 +0200)]
Propagator: Use the TransmissionChecksumValidator class.
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.
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.
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.
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.
Klaas Freitag [Tue, 12 May 2015 13:49:01 +0000 (15:49 +0200)]
Checksum Calculation: Add unit test.
Klaas Freitag [Tue, 12 May 2015 13:48:13 +0000 (15:48 +0200)]
Filesystem Utilities: Add Checksum calculation methods.
Klaas Freitag [Tue, 12 May 2015 12:07:23 +0000 (14:07 +0200)]
Changelog: Add 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.
Klaas Freitag [Tue, 12 May 2015 12:03:21 +0000 (14:03 +0200)]
Theme: (minor) remove some more mirall's
Klaas Freitag [Thu, 9 Apr 2015 16:00:41 +0000 (18:00 +0200)]
MirallConfigFile: Add an option of transmission checksumming.
Daniel Molkentin [Thu, 18 Dec 2014 14:52:06 +0000 (15:52 +0100)]
Find & use QtConcurrent
Klaas Freitag [Wed, 10 Dec 2014 09:04:29 +0000 (10:04 +0100)]
SyncFileItem class: Add member _checksum
Klaas Freitag [Thu, 4 Dec 2014 16:57:29 +0000 (17:57 +0100)]
StopWatch: return the duration from the stop() command.
Jenkins for ownCloud [Tue, 19 May 2015 06:18:46 +0000 (02:18 -0400)]
[tx-robot] updated from transifex
Jenkins for ownCloud [Mon, 18 May 2015 06:18:48 +0000 (02:18 -0400)]
[tx-robot] updated from transifex
Jenkins for ownCloud [Sat, 16 May 2015 06:18:48 +0000 (02:18 -0400)]
[tx-robot] updated from transifex
Olivier Goffart [Fri, 15 May 2015 16:44:19 +0000 (18:44 +0200)]
Fix opening external links for some labels
Issue #3135
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
Jenkins for ownCloud [Fri, 15 May 2015 06:18:51 +0000 (02:18 -0400)]
[tx-robot] updated from transifex
Jenkins for ownCloud [Thu, 14 May 2015 06:18:47 +0000 (02:18 -0400)]
[tx-robot] updated from transifex
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.
Markus Goetz [Wed, 13 May 2015 11:15:53 +0000 (13:15 +0200)]
SyncJournalDB: Simplify code
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.
Markus Goetz [Wed, 13 May 2015 10:54:03 +0000 (12:54 +0200)]
OwnSql: Fix numRowsAffected()
Markus Goetz [Wed, 13 May 2015 10:52:13 +0000 (12:52 +0200)]
Update VERSION.cmake to 1.8.2
Jenkins for ownCloud [Wed, 13 May 2015 06:18:48 +0000 (02:18 -0400)]
[tx-robot] updated from transifex
Markus Goetz [Tue, 12 May 2015 20:55:54 +0000 (22:55 +0200)]
Qt4: Fix test
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.
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
Markus Goetz [Tue, 12 May 2015 15:10:53 +0000 (17:10 +0200)]
Propagator: Mention name of conflict file (for debugging)
Markus Goetz [Tue, 12 May 2015 14:26:04 +0000 (16:26 +0200)]
tx.pl: Use HTTP Keep-Alive
Olivier Goffart [Tue, 12 May 2015 14:35:27 +0000 (16:35 +0200)]
BandwidthManager: fix warnings
Unused variables
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
Jenkins for ownCloud [Tue, 12 May 2015 06:18:49 +0000 (02:18 -0400)]
[tx-robot] updated from transifex
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.
Markus Goetz [Mon, 11 May 2015 13:41:56 +0000 (15:41 +0200)]
Propagator: Limit length of temporary file name #2789 (fixup)
Fix
22c35c4d15d31ab6fca3dfe4949ae807182bc481
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.
Jenkins for ownCloud [Mon, 11 May 2015 06:18:44 +0000 (02:18 -0400)]
[tx-robot] updated from transifex
Jenkins for ownCloud [Sun, 10 May 2015 06:18:49 +0000 (02:18 -0400)]
[tx-robot] updated from transifex
Jenkins for ownCloud [Sat, 9 May 2015 06:18:53 +0000 (02:18 -0400)]
[tx-robot] updated from transifex
Markus Goetz [Fri, 8 May 2015 14:41:41 +0000 (16:41 +0200)]
Propagator: Limit length of temporary file name #2789
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.
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.
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.
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.
Jenkins for ownCloud [Fri, 8 May 2015 06:18:56 +0000 (02:18 -0400)]
[tx-robot] updated from transifex
Markus Goetz [Thu, 7 May 2015 15:19:14 +0000 (17:19 +0200)]
Discovery: Test better, treat invalid hrefs as error #3176
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.
Christian Kamm [Thu, 7 May 2015 09:41:29 +0000 (11:41 +0200)]
Propagator: Overwrite local data only if unchanged. #3156
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.
Markus Goetz [Tue, 5 May 2015 16:48:57 +0000 (18:48 +0200)]
Updater on OS X: Only allow if in /Applications #2931
Markus Goetz [Tue, 5 May 2015 14:30:57 +0000 (16:30 +0200)]
Wizard: Fix lock icon #1447
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
Christian Kamm [Fri, 24 Apr 2015 09:32:47 +0000 (11:32 +0200)]
AccountState: Treat *any* 503 as a temporary error. #3113
Jenkins for ownCloud [Thu, 7 May 2015 06:18:55 +0000 (02:18 -0400)]
[tx-robot] updated from transifex
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.
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.
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
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.
Jocelyn Turcotte [Tue, 5 May 2015 13:01:40 +0000 (15:01 +0200)]
Don't hardcode the source directory in deploy.sh
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.
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.
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.
Klaas Freitag [Wed, 6 May 2015 09:43:58 +0000 (11:43 +0200)]
Changelog: Clearify changelog entries.
Daniel Molkentin [Wed, 6 May 2015 09:25:04 +0000 (11:25 +0200)]
Update Changelog
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.
Daniel Molkentin [Wed, 6 May 2015 08:51:11 +0000 (10:51 +0200)]
1.8.1 final
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.
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.
Jenkins for ownCloud [Tue, 5 May 2015 06:18:50 +0000 (02:18 -0400)]
[tx-robot] updated from transifex
Daniel Molkentin [Mon, 4 May 2015 11:43:56 +0000 (13:43 +0200)]
1.8.0 RC2
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.
Jenkins for ownCloud [Mon, 4 May 2015 06:18:49 +0000 (02:18 -0400)]
[tx-robot] updated from transifex
Jenkins for ownCloud [Sun, 3 May 2015 06:18:47 +0000 (02:18 -0400)]
[tx-robot] updated from transifex
Jenkins for ownCloud [Sat, 2 May 2015 06:18:47 +0000 (02:18 -0400)]
[tx-robot] updated from transifex
Jenkins for ownCloud [Fri, 1 May 2015 06:18:22 +0000 (02:18 -0400)]
[tx-robot] updated from transifex
Jenkins for ownCloud [Thu, 30 Apr 2015 07:27:54 +0000 (03:27 -0400)]
[tx-robot] updated from transifex
Markus Goetz [Wed, 29 Apr 2015 12:54:08 +0000 (14:54 +0200)]
Proxy: Register meta type #3170
Jenkins for ownCloud [Wed, 29 Apr 2015 06:18:49 +0000 (02:18 -0400)]
[tx-robot] updated from transifex
Klaas Freitag [Mon, 27 Apr 2015 09:58:56 +0000 (11:58 +0200)]
Updated version tag rc1
Klaas Freitag [Mon, 27 Apr 2015 09:58:18 +0000 (11:58 +0200)]
Updated changelog for 1.8.1
Jenkins for ownCloud [Mon, 27 Apr 2015 06:18:46 +0000 (02:18 -0400)]
[tx-robot] updated from transifex
Jenkins for ownCloud [Sun, 26 Apr 2015 06:18:48 +0000 (02:18 -0400)]
[tx-robot] updated from transifex
Jenkins for ownCloud [Sat, 25 Apr 2015 06:18:46 +0000 (02:18 -0400)]
[tx-robot] updated from transifex
Carla Schroder [Fri, 24 Apr 2015 18:44:38 +0000 (11:44 -0700)]
Update owncloudcmd.rst
Carla Schroder [Fri, 24 Apr 2015 18:34:20 +0000 (11:34 -0700)]
update owncloud and owncloudcmd docs
Conflicts:
doc/owncloudcmd.rst
Carla Schroder [Fri, 24 Apr 2015 17:03:51 +0000 (10:03 -0700)]
Update autoupdate.rst