Jenkins for ownCloud [Fri, 27 May 2016 06:19:21 +0000 (02:19 -0400)]
[tx-robot] updated from transifex
Olivier Goffart [Thu, 26 May 2016 10:15:53 +0000 (12:15 +0200)]
Utility: Better fix for the translation of minutes, seconds, ...
The plural was not translated because of QTBUG-3945. Work around it.
Issue #4855
Jenkins for ownCloud [Thu, 26 May 2016 06:33:30 +0000 (02:33 -0400)]
[tx-robot] updated from transifex
Olivier Goffart [Tue, 24 May 2016 13:17:35 +0000 (15:17 +0200)]
SyncEngine: cleanup setting isDirectory
Olivier Goffart [Wed, 25 May 2016 14:23:58 +0000 (16:23 +0200)]
Merge remote-tracking branch '2.1' into 2.2
Olivier Goffart [Wed, 25 May 2016 13:01:26 +0000 (15:01 +0200)]
SyncEngine: invalid the blacklist entry when the rename destination change
The problem in this case is if we rename the file "xxx" to "invalid\file".
The rename will fail because the new filename constains a slash, and it
will be blacklisted.
But then if the user re-rename the file to "valid_name", then we should
invalidate the blacklist entry and retry to upload. But we did not do
that because renaming don't change the mtime and we did not store the
rename target in the database
IL issue 558
Jenkins for ownCloud [Wed, 25 May 2016 06:19:18 +0000 (02:19 -0400)]
[tx-robot] updated from transifex
Markus Goetz [Tue, 24 May 2016 15:27:31 +0000 (17:27 +0200)]
sqlite: Update bundled version to 3.13.0
For OS X and Windows.
Markus Goetz [Tue, 24 May 2016 15:04:04 +0000 (17:04 +0200)]
Add ChangeLog for 2.2.1
Jenkins for ownCloud [Tue, 24 May 2016 11:40:14 +0000 (07:40 -0400)]
[tx-robot] updated from transifex
Daniel Molkentin [Tue, 24 May 2016 09:30:03 +0000 (11:30 +0200)]
Travis coverity: Enforce Ubuntu 14.04 env, fix repo
Daniel Molkentin [Tue, 24 May 2016 09:21:25 +0000 (11:21 +0200)]
Fix pot. mem leak found by coverity (CID 96004)
Daniel Molkentin [Tue, 24 May 2016 09:04:35 +0000 (11:04 +0200)]
Fix pot. mem leak found by coverity (CID 12900)
Jenkins for ownCloud [Tue, 24 May 2016 06:19:53 +0000 (02:19 -0400)]
[tx-robot] updated from transifex
ckamm [Mon, 23 May 2016 07:03:03 +0000 (09:03 +0200)]
Remember to upload files that are locked during a sync run (#4865)
See owncloud/enterprise#1342
Jenkins for ownCloud [Mon, 23 May 2016 06:19:05 +0000 (02:19 -0400)]
[tx-robot] updated from transifex
Jenkins for ownCloud [Sun, 22 May 2016 06:19:13 +0000 (02:19 -0400)]
[tx-robot] updated from transifex
Jenkins for ownCloud [Sat, 21 May 2016 06:19:09 +0000 (02:19 -0400)]
[tx-robot] updated from transifex
Markus Goetz [Fri, 20 May 2016 14:58:44 +0000 (16:58 +0200)]
SyncEngine: Set isDirectory before syncItemDiscovered
(cherry picked from commit
fc1933803e86ac03d4d5f9c8a1911cd82f6579cb)
Markus Goetz [Fri, 20 May 2016 14:58:44 +0000 (16:58 +0200)]
SyncEngine: Set isDirectory before syncItemDiscovered
Markus Goetz [Fri, 20 May 2016 14:31:47 +0000 (16:31 +0200)]
Checksums: Use SHA1 like in >=2.2
Olivier Goffart [Fri, 20 May 2016 13:06:07 +0000 (15:06 +0200)]
Upload: put the job in the active list while doing the checksum computation.
This fixes an issue in which too many jobs are started un parallel
while uploading many files, which could cause too much memory usage as the
chunks are stored in memory.
Probably the fix for #4611
Christian Kamm [Wed, 2 Mar 2016 13:20:36 +0000 (14:20 +0100)]
Checksums: Compute content checksum on download #4375
Cherry-picked from
d6d35029
ckamm [Fri, 20 May 2016 13:07:54 +0000 (15:07 +0200)]
Progress info: Reset between syncs #4856 (PR #4872)
Jenkins for ownCloud [Fri, 20 May 2016 06:19:16 +0000 (02:19 -0400)]
[tx-robot] updated from transifex
Jenkins for ownCloud [Thu, 19 May 2016 06:19:20 +0000 (02:19 -0400)]
[tx-robot] updated from transifex
Markus Goetz [Wed, 18 May 2016 14:17:52 +0000 (16:17 +0200)]
Upload: Remove bandwidth quota debug message #4837
Olivier Goffart [Wed, 18 May 2016 08:20:29 +0000 (10:20 +0200)]
Utility: Fix translation of second, minute, hour
Issue #4855
A typo in the context string made the translation lookup fail.
But also the %Ln was not recognized as a plural form by transifex, so only
the singular was translated
Olivier Goffart [Tue, 17 May 2016 08:49:57 +0000 (10:49 +0200)]
FolderWizard: remove dead code and fix the alias
Remove a bunch of dead code.
And also set the root folder name properly since alias is gone.
Fix the warning:
QWizard::field: No such field 'alias'
Jenkins for ownCloud [Wed, 18 May 2016 06:19:16 +0000 (02:19 -0400)]
[tx-robot] updated from transifex
Olivier Goffart [Tue, 17 May 2016 10:28:07 +0000 (12:28 +0200)]
Shibboleth: Show the inspector if OWNCLOUD_SHIBBOLETH_DEBUG is set
Help to debug https://github.com/owncloud/enterprise/issues/1265
Jenkins for ownCloud [Tue, 17 May 2016 06:18:59 +0000 (02:18 -0400)]
[tx-robot] updated from transifex
Jenkins for ownCloud [Sun, 15 May 2016 06:19:07 +0000 (02:19 -0400)]
[tx-robot] updated from transifex
Jenkins for ownCloud [Sat, 14 May 2016 06:19:15 +0000 (02:19 -0400)]
[tx-robot] updated from transifex
hefee [Fri, 13 May 2016 14:55:11 +0000 (16:55 +0200)]
A final release version number breaks this regex (#4835)
f.ex. a valid verson nr: 2.2.0
-> fist \d+ = 2
-> second \d+ = 2
-> the last \d+ = 0
-> .+ in not matching, because there is nothing to match
Jenkins for ownCloud [Fri, 13 May 2016 06:25:05 +0000 (02:25 -0400)]
[tx-robot] updated from transifex
Olivier Goffart [Thu, 12 May 2016 11:14:07 +0000 (13:14 +0200)]
SyncEngine: Add a compile option so we rename to restoring a move we don't have the permission to do
IL issue 550
Christian Kamm [Fri, 18 Mar 2016 11:41:57 +0000 (12:41 +0100)]
Fix compile with strict C flags
Christian Kamm [Thu, 17 Mar 2016 13:25:18 +0000 (14:25 +0100)]
Ignores: expand escapes #4568
(cherry picked from commit
d7bd1300a8397c2782e8d75cf7c595b1ada70d88)
Hefee [Tue, 10 May 2016 23:17:16 +0000 (01:17 +0200)]
For tests we do not need a xserver running.
Use for tests QTEST_GUILESS_MAIN and QTEST_APPLESS_MAIN.
Christian Kamm [Thu, 12 May 2016 08:22:05 +0000 (10:22 +0200)]
Protocol: Increase width of timestamp column #4721
Since the font metrics aren't reliable on windows, we add some
extra space there.
Daniel Molkentin [Thu, 12 May 2016 07:57:58 +0000 (09:57 +0200)]
Bump to 2.2.1
Daniel Molkentin [Thu, 12 May 2016 07:41:22 +0000 (09:41 +0200)]
2.2.0 final
Christian Kamm [Thu, 12 May 2016 07:25:15 +0000 (09:25 +0200)]
timeAgo test: Fix for qt4, clean up
Daniel Molkentin [Thu, 12 May 2016 06:20:55 +0000 (08:20 +0200)]
Merge pull request #4825 from owncloud/22-user-manual
[Doc] 2.2 user manual updates
Carla Schroder [Wed, 11 May 2016 19:44:27 +0000 (12:44 -0700)]
update file manager screenshot
Carla Schroder [Wed, 11 May 2016 19:37:40 +0000 (12:37 -0700)]
updates to 2.2 user manual
Daniel Molkentin [Wed, 11 May 2016 19:16:35 +0000 (21:16 +0200)]
Merge pull request #4821 from owncloud/notification_doc
Documentation draft to introduce notifications.
Jocelyn Turcotte [Wed, 11 May 2016 16:16:46 +0000 (18:16 +0200)]
Fix assert on restore after propagation (#4823)
The assert was there to make sure that this case wasn't happening
to eventually be properly tested. Remove the assert for now but this
codepath should eventually be unit tested using this specific situation.
Klaas Freitag [Wed, 11 May 2016 09:16:08 +0000 (11:16 +0200)]
Documentation draft to introduce notifications.
Also added a screenshot.
Klaas Freitag [Tue, 10 May 2016 14:46:08 +0000 (16:46 +0200)]
Fix exclude unit test, adopt to new Iface of isExcluded.
Klaas Freitag [Tue, 10 May 2016 14:26:42 +0000 (16:26 +0200)]
Fix utility test: Pass a command name to do the version check.
Klaas Freitag [Tue, 10 May 2016 13:39:27 +0000 (15:39 +0200)]
Added Changelog for 2.2.0
Daniel Molkentin [Tue, 10 May 2016 12:39:22 +0000 (14:39 +0200)]
Update binary submodule
Daniel Molkentin [Tue, 10 May 2016 11:49:14 +0000 (13:49 +0200)]
Windows Shell Integration: Fix another spot where the pipe path was constructed manually
Daniel Molkentin [Tue, 10 May 2016 08:36:49 +0000 (10:36 +0200)]
Update binary sub module
Daniel Molkentin [Mon, 9 May 2016 13:49:52 +0000 (15:49 +0200)]
Windows Shell Integration: Unify path lookups
Markus Goetz [Mon, 9 May 2016 12:37:46 +0000 (14:37 +0200)]
Windows: Fix Share menu #4781
Jenkins for ownCloud [Mon, 9 May 2016 06:19:15 +0000 (02:19 -0400)]
[tx-robot] updated from transifex
Jenkins for ownCloud [Sat, 7 May 2016 06:19:16 +0000 (02:19 -0400)]
[tx-robot] updated from transifex
Jocelyn Turcotte [Fri, 6 May 2016 10:32:01 +0000 (12:32 +0200)]
[shell/windows] Fix the windows status push not working (#4784)
Since the windows implementation first does cache lookups using the
path string, directories need to be passed identically as through
RETRIEVE_FILE_STATUS.
Change the convention to never have a trailing slash for directories
in the protocol. This allows the convention to be applied without
having to access the disk (since we'd need to know if the path is
represented by a directory) and also matches the convention of the
rest of the sync engine. Individual file manager plugins are then
responsible of handling pushed paths as not ending with a trailing
slash.
This also:
- Moves the trailing slash removal logic from the SyncFileStatusTracker
to the SocketApi class
- Remove the unneeded QString::normalized call in fileStatus, since
this should already be done by the FolderWatcher and plugins
Jenkins for ownCloud [Fri, 6 May 2016 06:19:00 +0000 (02:19 -0400)]
[tx-robot] updated from transifex
Olivier Goffart [Wed, 4 May 2016 12:19:18 +0000 (14:19 +0200)]
Dolphin plugin: fix build with branding
Make sure that the name of the _export.h file is the same no matter the plugin
Jenkins for ownCloud [Wed, 4 May 2016 06:19:15 +0000 (02:19 -0400)]
[tx-robot] updated from transifex
Markus Goetz [Tue, 3 May 2016 14:28:09 +0000 (16:28 +0200)]
NSIS: Properly uninstall both x64 and x86 DLLs #4762
Viel hilft viel ;-)
Markus Goetz [Tue, 3 May 2016 13:16:07 +0000 (15:16 +0200)]
Qt patches: Update with information about Qt 5.6
Jocelyn Turcotte [Tue, 3 May 2016 11:04:34 +0000 (13:04 +0200)]
Merge branch 'overlayIconFixes' into 2.2 (#4765)
Jocelyn Turcotte [Thu, 28 Apr 2016 20:43:53 +0000 (22:43 +0200)]
[osx] Fix missing overlay icons on client startup
Since the statuses are cached and that we can't invalidate the cache,
sending NOP would need to be overwritten by the default OK status
once the client successfully connected. But instead of remembering
which files we NOPed, rather wait until we are ready to sync before
sending the REGISTER_PATH message to the socket API client. It will
also prevent the client from sending unnecessary RETRIEVE_FILE_STATUS
requests.
Also remove AccountState::canSync, since it does the same as
isConnected and syncing is not an account responsibility.
Jocelyn Turcotte [Thu, 28 Apr 2016 19:20:24 +0000 (21:20 +0200)]
Avoid a SyncFileStatusTracker private overload with the same name
Having an overload as a private function in the same class makes the
code harder to follow. Rename the private fileStatus to syncFileItemStatus.
Jocelyn Turcotte [Thu, 28 Apr 2016 17:33:55 +0000 (19:33 +0200)]
Simplify the root status logic
Go through fileStatus like other cases to make sure that all use
cases go through the same code path. This also makes sure to use
lookupProblem which will use lower_bound which is more efficient
for larger sets of sync problems.
This also fixes the issue with lookupProblem that prevented it to
properly match an empty pathToMatch, caused by the fact that the
problem map contains relative paths not starting with a slash.
Jocelyn Turcotte [Thu, 28 Apr 2016 17:03:13 +0000 (19:03 +0200)]
Fix the root item sync status #4682
Make sure that we push the new status when the status of the SyncEngine
changed. SyncEngine::started comes a bit late, only when the propagation
starts, although it's better in this case since child folders will
only switch to Sync in aboutToPropagate.
Also fix an issue with SyncEngine::findSyncItem when using an empty
fileName; this would match and return the wrong item, even though
not currently happening with the code since fileStatus won't call
it with an empty fileName anymore.
Jocelyn Turcotte [Thu, 28 Apr 2016 12:38:46 +0000 (14:38 +0200)]
Fix the sync status push for parent directories #4682
As before, we rely on metadata-update SyncFileItem entries for parent
directories to notify us that a directory contains files to propagate,
and to know when all children were propagated through its itemCompleted
signal.
Those metadata SyncFileItems however have a None direction and we need
to add a explicit directory check to show them as Sync.
This fix also handles new files as well as existing ones, so no need
to keep a separate logic for new files.
Klaas Freitag [Tue, 3 May 2016 09:36:56 +0000 (11:36 +0200)]
Fix nautilus and nemo plugin branding strings. (#4780)
* Fix nautilus and nemo plugin branding strings.
Fix for owncloud/enterprise#1314
* nautilus plugin: Add a comment why the line needs to stay unchanged.
Jenkins for ownCloud [Tue, 3 May 2016 06:19:16 +0000 (02:19 -0400)]
[tx-robot] updated from transifex
Olivier Goffart [Mon, 2 May 2016 15:34:21 +0000 (17:34 +0200)]
Propagator: fix qt4 build
propagatedownload.cpp:712:35: error: 'seenLockedFile' is a protected member of 'OCC::OwncloudPropagator'
Signals are protected in Qt4 but public in Qt5, mark the class accessing it
as friend when compiling with Qt4
Daniel Molkentin [Wed, 20 Apr 2016 14:51:17 +0000 (16:51 +0200)]
Re-Apply: Disambiguate socket API pathes on Windows with user name
Addresses #3411
Olivier Goffart [Mon, 2 May 2016 12:01:47 +0000 (14:01 +0200)]
ShareDialog: show the error message in red
Do the visual stuff from designer.
The previous code that was ment to change the color in red did not work
and changed it to gray instead.
Also I don't see why there should be a frame.
Issue #4773
Jenkins for ownCloud [Mon, 2 May 2016 06:19:41 +0000 (02:19 -0400)]
[tx-robot] updated from transifex
Jenkins for ownCloud [Sun, 1 May 2016 06:19:18 +0000 (02:19 -0400)]
[tx-robot] updated from transifex
Jenkins for ownCloud [Sat, 30 Apr 2016 06:19:14 +0000 (02:19 -0400)]
[tx-robot] updated from transifex
ckamm [Fri, 29 Apr 2016 14:14:18 +0000 (16:14 +0200)]
LockWatcher: Keep an eye on Windows file locks (#4758)
When a conflict-rename or a temporary-rename fails, notify the
LockWatcher. It'll regularly check whether the file has become
accesible again. When it has, another sync is triggered.
owncloud/enterprise#1288
Roeland Douma [Fri, 29 Apr 2016 12:11:27 +0000 (14:11 +0200)]
Add spinner during sharee search (#4764)
Fixed #4740
When searching for sharees we should display a loading spinner.
Olivier Goffart [Fri, 29 Apr 2016 06:52:17 +0000 (08:52 +0200)]
Merge remote-tracking branch 'origin/2.1' into 2.2
Olivier Goffart [Fri, 29 Apr 2016 06:49:27 +0000 (08:49 +0200)]
PropagateDownload: Throw an error if the file is empty while it should not have been (#4753)
If the downloaded file is empty but the PROPFIND previously announced it
should not have been empty, this might mean the file was somehow corrupted
because of a bug on the server and that we should therefore not accept
the file.
Normaly we accept a change between the actual size of the file and what we
got during discovery because the file might have been updated to a new version
inbetween. But after this patch we won't accept the file if it was replaced
by an empty file.
Will help for issue #4583
Also requested by IL for issue 548
Jenkins for ownCloud [Fri, 29 Apr 2016 06:19:14 +0000 (02:19 -0400)]
[tx-robot] updated from transifex
Markus Goetz [Thu, 28 Apr 2016 12:55:29 +0000 (14:55 +0200)]
Shibboleth: Load username from config for UI (#4751)
For https://github.com/owncloud/enterprise/issues/1034
Daniel Molkentin [Thu, 28 Apr 2016 11:53:06 +0000 (13:53 +0200)]
Merge pull request #4756 from owncloud/revert-4738-fix_3411
Revert "Disambiguate socket API pathes on Windows with user name"
Daniel Molkentin [Thu, 28 Apr 2016 11:52:15 +0000 (13:52 +0200)]
Revert "Disambiguate socket API pathes on Windows with user name"
Klaas Freitag [Thu, 28 Apr 2016 11:46:10 +0000 (13:46 +0200)]
Merge pull request #4738 from owncloud/fix_3411
Disambiguate socket API pathes on Windows with user name
Klaas Freitag [Thu, 28 Apr 2016 11:45:30 +0000 (13:45 +0200)]
Merge pull request #4748 from owncloud/win_stat_revisited
vio for windows: Use more graceful create file params.
Christian Kamm [Thu, 28 Apr 2016 10:43:06 +0000 (12:43 +0200)]
Checksums: Skip uploads of .eml files only #4754
This is a workaround. A correct solution would still update file metadata
such as the mtime. See #4755.
Christian Kamm [Thu, 28 Apr 2016 08:44:13 +0000 (10:44 +0200)]
Fix perl tests #4722
* The dav auth realm is "sabre/dav" for newer server versions
* Content checksums are enabled generally, so conflict detection
is smarter
Christian Kamm [Thu, 28 Apr 2016 07:21:42 +0000 (09:21 +0200)]
FolderWizard: Sort remote folders #4612
Christian Kamm [Thu, 28 Apr 2016 07:18:38 +0000 (09:18 +0200)]
Selective sync: Sort folders in FolderStatusModel #4612
Jenkins for ownCloud [Thu, 28 Apr 2016 06:19:20 +0000 (02:19 -0400)]
[tx-robot] updated from transifex
Christian Kamm [Thu, 28 Apr 2016 05:36:50 +0000 (07:36 +0200)]
Protocol: Make timestamp column width fit the text #4721
ckamm [Thu, 28 Apr 2016 05:17:17 +0000 (07:17 +0200)]
Merge pull request #4739 from ckamm/trackdirty
Overlay icons: Track touched files #4730
Christian Kamm [Thu, 14 Apr 2016 13:15:08 +0000 (15:15 +0200)]
Overlay icons: Track touched files #4730
This uses the file watcher to keep track of files that were modified
in order to assign them the blue icon.
This is transient state that's not persisted across restarts.
Markus Goetz [Wed, 27 Apr 2016 10:22:12 +0000 (12:22 +0200)]
sqlite: Update to version 3.12.2
For OS X and Windows
Markus Goetz [Wed, 27 Apr 2016 10:19:49 +0000 (12:19 +0200)]
ConnectionValidator: Also set short timeout for capabilities job
Default timeout was 5 min.