nextcloud-desktop.git
9 years agoChunkingNG: Use the 'If' header
Olivier Goffart [Thu, 20 Oct 2016 09:16:06 +0000 (11:16 +0200)]
ChunkingNG: Use the 'If' header

As discussed in https://github.com/owncloud/core/pull/26368

9 years agoMerge remote-tracking branch 'origin/master' into chunking-ng
Olivier Goffart [Thu, 20 Oct 2016 07:15:34 +0000 (09:15 +0200)]
Merge remote-tracking branch 'origin/master' into chunking-ng

9 years agoProgress: Reset lastCompletedItem #5256
Christian Kamm [Tue, 18 Oct 2016 10:29:52 +0000 (12:29 +0200)]
Progress: Reset lastCompletedItem #5256

Otherwise progress listeners think it's still the last-completed
item when the next sync starts. This lead to spurious entries in
the "Recent Changes" list.

9 years agoForce a remote discovery when upgrading to this version #5242
Christian Kamm [Tue, 18 Oct 2016 09:15:13 +0000 (11:15 +0200)]
Force a remote discovery when upgrading to this version #5242

A remote discovery will fix up any lingering problems caused by #5190.

9 years agoRemove stale commented code
Christian Kamm [Wed, 12 Oct 2016 08:44:38 +0000 (10:44 +0200)]
Remove stale commented code

These functions don't even exist anymore.

9 years agoSyncEngine: Permission error in subfolder of a folder that cannnot be added is a...
Olivier Goffart [Wed, 12 Oct 2016 16:23:31 +0000 (18:23 +0200)]
SyncEngine: Permission error in subfolder of a folder that cannnot be added is a SoftError

Issue #5059

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sun, 16 Oct 2016 23:15:13 +0000 (01:15 +0200)]
[tx-robot] updated from transifex

9 years agoOS X: Use monochrome tray icon by default (#5229)
Markus Goetz [Fri, 14 Oct 2016 12:26:31 +0000 (14:26 +0200)]
OS X: Use monochrome tray icon by default (#5229)

9 years agoPropagator: Also upload more in parallel (#5230)
Markus Goetz [Fri, 14 Oct 2016 12:23:55 +0000 (14:23 +0200)]
Propagator: Also upload more in parallel (#5230)

Fix for https://github.com/owncloud/client/issues/4986#issuecomment-227071801

This is before we have bundling at some point.

9 years agoAdd a note that the source repositories need to be enabled. (#5239)
Klaas Freitag [Thu, 13 Oct 2016 14:22:54 +0000 (16:22 +0200)]
Add a note that the source repositories need to be enabled. (#5239)

* Add a note that the source repositories need to be enabled.

* Fix typo, is => are.

9 years agoQProgressIndicator: update copy from upstream
Olivier Goffart [Thu, 13 Oct 2016 10:02:15 +0000 (12:02 +0200)]
QProgressIndicator: update copy from upstream

Update from commit 05ce8a23cdc12e825532dc6de06c267fb8d48b4f from
https://github.com/dragotin/QProgressIndicator
Which itself is forked from commit e5ba0fd09bfd43b067ee3646d70b294c7efcb558 from
upstream, with additional license header.

It was relicensed to MIT according to
https://github.com/mojocorp/QProgressIndicator/commit/14bb9d10e29407175fdf4b9f03ed9cc7bb124f93

Relates to issues #5180 and #5184

9 years agoFixup previous commit
Markus Goetz [Wed, 12 Oct 2016 17:10:56 +0000 (19:10 +0200)]
Fixup previous commit

Thanks @ogoffart for spotting.

9 years agoAuto Start: Only set on first account setup, not all later ones
Markus Goetz [Tue, 11 Oct 2016 18:28:14 +0000 (20:28 +0200)]
Auto Start: Only set on first account setup, not all later ones

9 years agosqlite: Update bundled version to 3.14.2
Markus Goetz [Tue, 11 Oct 2016 18:06:43 +0000 (20:06 +0200)]
sqlite: Update bundled version to 3.14.2

For OS X and Windows.

9 years agoSyncEngine: Fix renaming a folder should keep the selective sync state
Olivier Goffart [Mon, 10 Oct 2016 14:55:31 +0000 (16:55 +0200)]
SyncEngine: Fix renaming a folder should keep the selective sync state

Issue #5224

Two problems:

 - In the discovery phase, we need to check the selective sync entries of
   the source path in case of renames.

 - When the rename is done, we need to actually update the black list in the
   database.

9 years agoTestFolderMan: don't pollute user's settings
Olivier Goffart [Tue, 11 Oct 2016 09:55:20 +0000 (11:55 +0200)]
TestFolderMan: don't pollute user's settings

9 years agoAccountManager: do not load invalid account
Olivier Goffart [Tue, 11 Oct 2016 09:46:51 +0000 (11:46 +0200)]
AccountManager: do not load invalid account

Some tests (such as FolderManTest) can polute the config file with invalid
accounts.

(That's because most of the code, (even in libsync) always instentiate a ConfigFile)

9 years agoRemove usused variable
Olivier Goffart [Tue, 11 Oct 2016 08:55:02 +0000 (10:55 +0200)]
Remove usused variable

9 years agoSyncJournalDB: check the return value of the prepare statements in checkConnect
Olivier Goffart [Tue, 11 Oct 2016 07:51:14 +0000 (09:51 +0200)]
SyncJournalDB: check the return value of the prepare statements in checkConnect

Relates to #5199

9 years agoTheme: Fix compiler warning
Olivier Goffart [Tue, 11 Oct 2016 08:29:24 +0000 (10:29 +0200)]
Theme: Fix compiler warning

Relates #5227

9 years agoAccoutWizard: Change the set policy of a radio button
Olivier Goffart [Mon, 10 Oct 2016 10:47:59 +0000 (12:47 +0200)]
AccoutWizard: Change the set policy of a radio button

In an attempt to make sure the button next to it don't get too small.

Issue #5209

9 years agoOwnSQL: avoid crashing in SqlQuery::reset_and_clear_bindings
Olivier Goffart [Thu, 22 Sep 2016 09:25:27 +0000 (11:25 +0200)]
OwnSQL: avoid crashing in SqlQuery::reset_and_clear_bindings

The crash reporter shows a lot of crashes in sqlite3_clear_bindings
which seems to indicate that _stmt is null. We should guard against
a null value in order to avoid crashing.

This should only happen if the prepare call fails. We don't usually
check the return value of the prepare call, but if _stmt is null, the
exec call should return false, not true. We check the result of the
exec call, so this should then abort the sync with an error, rather
than crashing.

9 years agoTray: Fix crash on startup for non-OSX oses
Christian Kamm [Fri, 7 Oct 2016 11:32:42 +0000 (13:32 +0200)]
Tray: Fix crash on startup for non-OSX oses

9 years agoDoc: Remove mention of "F5 to reset database" #5130
Christian Kamm [Fri, 7 Oct 2016 11:22:43 +0000 (13:22 +0200)]
Doc: Remove mention of "F5 to reset database" #5130

9 years agoImprove macOS SysTray/StatusBar monochrome icon (#5227)
Tommy Sparber [Thu, 6 Oct 2016 15:18:51 +0000 (17:18 +0200)]
Improve macOS SysTray/StatusBar monochrome icon (#5227)

- Use a white icon if the context menu is visible.
- Enable `QIcon::setIsMask` if compiled on Qt >= 5.6 to allow automatic
  macOS color handling.
- No changes if the colored icons are used.

9 years ago503: Also parse other server error message (#5228)
Markus Goetz [Thu, 6 Oct 2016 12:45:04 +0000 (14:45 +0200)]
503: Also parse other server error message (#5228)

From https://github.com/owncloud/core/pull/26145

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Fri, 30 Sep 2016 23:15:17 +0000 (01:15 +0200)]
[tx-robot] updated from transifex

9 years agoPackage: Fix nautilus plugin name collision when branded
Christian Kamm [Wed, 28 Sep 2016 11:09:15 +0000 (13:09 +0200)]
Package: Fix nautilus plugin name collision when branded

As suggested by @olifre in #5183

9 years agoShareDialog: Remove context help button
Christian Kamm [Wed, 28 Sep 2016 11:00:52 +0000 (13:00 +0200)]
ShareDialog: Remove context help button

Ticket #5203

9 years agoMerge remote-tracking branch 'origin/2.2'
Christian Kamm [Wed, 28 Sep 2016 10:07:45 +0000 (12:07 +0200)]
Merge remote-tracking branch 'origin/2.2'

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Wed, 28 Sep 2016 00:18:31 +0000 (02:18 +0200)]
[tx-robot] updated from transifex

9 years agoVERSION.cmake: We're at 2.2.5
Markus Goetz [Tue, 27 Sep 2016 16:21:55 +0000 (18:21 +0200)]
VERSION.cmake: We're at 2.2.5

9 years ago2.2.4: Set release date
Markus Goetz [Tue, 27 Sep 2016 08:52:18 +0000 (10:52 +0200)]
2.2.4: Set release date

9 years agoWizard: Do the system proxy lookup in a thread (#5160)
Markus Goetz [Mon, 26 Sep 2016 13:45:30 +0000 (15:45 +0200)]
Wizard: Do the system proxy lookup in a thread (#5160)

This is analogous to the code in ConnectionValidator.

9 years agoImprove the "new big folder" UI #5202 (#5204)
ckamm [Fri, 23 Sep 2016 11:47:57 +0000 (13:47 +0200)]
Improve the "new big folder" UI #5202 (#5204)

Instead of using the regular selective-sync UI (where it's unclear what
the "Cancel" button would even mean in this context), provide a
different set of buttons that allow the user to quickly synchronize
all pending big folders, none of them, or perform manual changes
as usual.

9 years agoTray: Workaround collection (#5179)
ckamm [Fri, 23 Sep 2016 08:44:54 +0000 (10:44 +0200)]
Tray: Workaround collection (#5179)

Tray: Workaround collection

* QDBus workaround for Qt 5.5.0 only, there were reports of the tray
  working fine with 5.5.1. #5164
* OWNCLOUD_FORCE_QDBUS_TRAY_WORKAROUND to force the workaround on an off
* OWNCLOUD_TRAY_UPDATE_WHILE_VISIBLE to enable or disable updating of
  the menu while it's visible - disable by default due to problems on OSX and Xubuntu.
* Track the visibility of the tray menu with aboutToShow/aboutToHide
  only on OSX - the aboutToHide signal doesn't trigger reliably on linux
* Refactor such that setupContextMenu is different from updateContextMenu
* Don't use on-demand updating of the tray menu when the qdbus workaround
  is active, instead to occasional (30s) updates of the tray menu.

9 years agoMissing Inc -> GmbH (#5181)
Olivier Goffart [Thu, 22 Sep 2016 13:03:15 +0000 (15:03 +0200)]
Missing Inc -> GmbH  (#5181)

9 years agoWarning if mailto url fails #5142
Christian Kamm [Thu, 22 Sep 2016 12:16:58 +0000 (14:16 +0200)]
Warning if mailto url fails #5142

9 years agoFix Windows build with WITH_UNIT_TESTING
Christian Kamm [Thu, 22 Sep 2016 11:50:42 +0000 (13:50 +0200)]
Fix Windows build with WITH_UNIT_TESTING

9 years agoowncloudcmd: fix --silent
Olivier Goffart [Thu, 22 Sep 2016 08:29:21 +0000 (10:29 +0200)]
owncloudcmd: fix --silent

We ignored csync log, but we also need to silent Qt debug output.
We need to ignore it at the very begining because there might be
qDebug also in account creation.

Issue #5196

9 years agoAdd log messages for LockWatcher use #5190
Christian Kamm [Thu, 22 Sep 2016 07:57:42 +0000 (09:57 +0200)]
Add log messages for LockWatcher use #5190

9 years agoSyncEngine: Fix renaming of folder when file are changed (#5195)
Olivier Goffart [Thu, 22 Sep 2016 07:02:47 +0000 (09:02 +0200)]
SyncEngine: Fix renaming of folder when file are changed (#5195)

Two bugs:
 - The change filed are not considered as move, they are re-downloaded
   but the old file was not removed from the database. The change in
   owncloudpropagator.cpp takes care of removing the old entries.

 - Next sync would then remove the file in the server in the old folder
   This was not a problem until we start reusing the sync engine, and
   that the _renamedFolders map is not cleared. We were before deleting
   a non-existing file. But now we delete the actual file.

Also improve the tests to be able to do move on the server.
This include support for file id.

Issue #5192

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Wed, 21 Sep 2016 23:15:16 +0000 (01:15 +0200)]
[tx-robot] updated from transifex

9 years agoMerge pull request #5170 from owncloud/add_capabilities_owncloudcmd
Piotr Mrówczyński [Wed, 21 Sep 2016 20:28:41 +0000 (22:28 +0200)]
Merge pull request #5170 from owncloud/add_capabilities_owncloudcmd

add server capabilities to owncloudcmd

9 years agoPropagator: properly send the success flag (#5189)
Olivier Goffart [Wed, 21 Sep 2016 14:35:42 +0000 (16:35 +0200)]
Propagator: properly send the success flag (#5189)

In case of the root directory, it may happen that the _item
is empty and the _item->_status is NoStatus.  But we still need to report
the proper success or error of the whole propagation. We should really
use _hasError for that. However, _hasError is also defined to NoStatus
if there was no error, so in that case we need to set Success.

This fixes the problem in which the data-fingerprint is not saved on the
database because the SyncEngine think that the sync failed. (Issue #5185)

9 years agoConnectionValidator: properly handle error in status.php (#5188)
Olivier Goffart [Tue, 20 Sep 2016 09:55:43 +0000 (11:55 +0200)]
ConnectionValidator: properly handle error in status.php (#5188)

We wwer enot connecting to the right signal from the check server
job, and therefore we were not catching the condition in which the
json was invalid. We would then never terminate the ConnectionValidator job.

Note that instanceNotFound is also emited if there is a network error.

The log looked like this:

10:25:51.247 OCC::CheckServerJob::finished: status.php from server is not valid JSON!
10:25:51.248 OCC::CheckServerJob::finished: status.php returns:  QMap()   QNetworkReply::NetworkError(NoError)  Reply:  QNetworkReplyHttpImpl(0x2b6a790)
10:25:51.248 OCC::CheckServerJob::finished: No proper answer on  QUrl("http://localhost/~owncloud/status.php")
10:26:23.235 OCC::AccountState::checkConnectivity: ConnectionValidator already running, ignoring "owncloud@localhost"
10:26:55.235 OCC::AccountState::checkConnectivity: ConnectionValidator already running, ignoring "owncloud@localhost"
[...]

9 years agoMerge pull request #5182 from jturcotte/msvcBuild
Jocelyn Turcotte [Tue, 20 Sep 2016 08:39:14 +0000 (10:39 +0200)]
Merge pull request #5182 from jturcotte/msvcBuild

Fix the MSVC build

9 years agoFix unit testing build warning on Linux
Jocelyn Turcotte [Fri, 16 Sep 2016 15:55:28 +0000 (17:55 +0200)]
Fix unit testing build warning on Linux

The compiler complained about the PathComponent reference on the lambdas comes from the anonymous namespace.

9 years agoFix the MSVC build
Jocelyn Turcotte [Wed, 14 Sep 2016 13:31:05 +0000 (15:31 +0200)]
Fix the MSVC build

- Replace functions that are provided by MinGW with a Win32-based
  implementation
- Explicitly export needed symbols from ocsync.dll
- Rename share.h to sharemanager.h since the name clashes with one
  of the Windows headers and get included from there
- Remove the timestamp from the fallback csync stderr logging, it's
  not used since we always provide a log callback

9 years agoChunking-NG: add some headers when uploading chunks
Olivier Goffart [Fri, 16 Sep 2016 14:36:46 +0000 (16:36 +0200)]
Chunking-NG: add some headers when uploading chunks

These are not understood by owncloud yet, but were requested for CernBox

OC-Total-Length in the MKCOL: The full lenght of the file
OC-Chunk-Offset in the PUT: The offset within the file in which this chunk belongs
OC-Checksum in the MOVE: The transission checksum

9 years agoChunking-NG: The MOVE will return the code 204 if the file was already there
Olivier Goffart [Fri, 16 Sep 2016 14:20:40 +0000 (16:20 +0200)]
Chunking-NG: The MOVE will return the code 204 if the file was already there

9 years agoChunking-NG: use OC-If-Destination-Match instread of If-Match
Olivier Goffart [Fri, 16 Sep 2016 14:15:09 +0000 (16:15 +0200)]
Chunking-NG: use OC-If-Destination-Match instread of If-Match

For the MOVE command, because If-Match in Webdav relates to the source, not
the destination

9 years agoChunking-NG: Fix destination URL
Olivier Goffart [Fri, 16 Sep 2016 14:14:53 +0000 (16:14 +0200)]
Chunking-NG: Fix destination URL

9 years agoConnectionValidator: fetch the account name.
Olivier Goffart [Fri, 16 Sep 2016 13:49:43 +0000 (15:49 +0200)]
ConnectionValidator: fetch the account name.

This is needed for the new webdav path used by the new chunking.
The user might not be the same as the one used to connect

9 years agoFolder/Watcher: Fix up #5174 #5153 (#5186)
Markus Goetz [Thu, 15 Sep 2016 12:56:37 +0000 (14:56 +0200)]
Folder/Watcher: Fix up #5174 #5153 (#5186)

It was surprising to have a broken symlink return empty for
canonical path.

9 years agoImprovements to file recall
Christian Kamm [Wed, 14 Sep 2016 13:42:19 +0000 (15:42 +0200)]
Improvements to file recall

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Tue, 27 Sep 2016 00:18:32 +0000 (02:18 +0200)]
[tx-robot] updated from transifex

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Mon, 26 Sep 2016 00:18:30 +0000 (02:18 +0200)]
[tx-robot] updated from transifex

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sun, 25 Sep 2016 00:18:36 +0000 (02:18 +0200)]
[tx-robot] updated from transifex

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sat, 24 Sep 2016 00:18:33 +0000 (02:18 +0200)]
[tx-robot] updated from transifex

9 years agoChangeLog: 2.2.4
Markus Goetz [Thu, 22 Sep 2016 13:41:30 +0000 (15:41 +0200)]
ChangeLog: 2.2.4

9 years agoDolphin Plugin: Use the Application name for the socket path (#5172)
Klaas Freitag [Mon, 12 Sep 2016 12:12:33 +0000 (14:12 +0200)]
Dolphin Plugin: Use the Application name for the socket path (#5172)

do not hardcode.

This should fix #5165
(cherry picked from commit 2d110540ee5a67d2c014fcf4258840d3aaf538ac)

9 years agoSyncEngine: Fix renaming of folder when file are changed (#5195)
Olivier Goffart [Thu, 22 Sep 2016 07:02:47 +0000 (09:02 +0200)]
SyncEngine: Fix renaming of folder when file are changed (#5195)

Two bugs:
 - The change filed are not considered as move, they are re-downloaded
   but the old file was not removed from the database. The change in
   owncloudpropagator.cpp takes care of removing the old entries.

 - Next sync would then remove the file in the server in the old folder
   This was not a problem until we start reusing the sync engine, and
   that the _renamedFolders map is not cleared. We were before deleting
   a non-existing file. But now we delete the actual file.

Also improve the tests to be able to do move on the server.
This include support for file id.

Issue #5192
(cherry picked from commit 85b8ab178e21cf4dcaf792f68c15e55f6e0ee3c2)

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Thu, 22 Sep 2016 00:18:32 +0000 (02:18 +0200)]
[tx-robot] updated from transifex

9 years agoConnectionValidator: properly handle error in status.php (#5188)
Olivier Goffart [Tue, 20 Sep 2016 09:55:43 +0000 (11:55 +0200)]
ConnectionValidator: properly handle error in status.php (#5188)

We wwer enot connecting to the right signal from the check server
job, and therefore we were not catching the condition in which the
json was invalid. We would then never terminate the ConnectionValidator job.

Note that instanceNotFound is also emited if there is a network error.

The log looked like this:

10:25:51.247 OCC::CheckServerJob::finished: status.php from server is not valid JSON!
10:25:51.248 OCC::CheckServerJob::finished: status.php returns:  QMap()   QNetworkReply::NetworkError(NoError)  Reply:  QNetworkReplyHttpImpl(0x2b6a790)
10:25:51.248 OCC::CheckServerJob::finished: No proper answer on  QUrl("http://localhost/~owncloud/status.php")
10:26:23.235 OCC::AccountState::checkConnectivity: ConnectionValidator already running, ignoring "owncloud@localhost"
10:26:55.235 OCC::AccountState::checkConnectivity: ConnectionValidator already running, ignoring "owncloud@localhost"
[...]
(cherry picked from commit ff701bd473242b417e8ef9b987d4593e1495020c)

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Wed, 21 Sep 2016 00:18:30 +0000 (02:18 +0200)]
[tx-robot] updated from transifex

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Tue, 20 Sep 2016 07:12:39 +0000 (09:12 +0200)]
[tx-robot] updated from transifex

9 years agoRevert "FolderWatcher: Act on relative paths #5116 (#5153)"
Olivier Goffart [Mon, 12 Sep 2016 13:02:54 +0000 (15:02 +0200)]
Revert "FolderWatcher: Act on relative paths #5116 (#5153)"

This is not sufficient as it is not working for the Socket API.
Next commit will fix it in another layer.

Also, not ignoring paths that are not inside the folder is wrong
as it might still happen if the name has a different casing

This reverts commit d5a481f13240b50ff3993184152d3d4145ebfde0.

(cherry picked from commit 904cd46f757bf329b719bd815394ff986be99aaf)

9 years agoOS X: Try to fix tray menu not updating correctly #5158 (#5177)
Markus Goetz [Tue, 13 Sep 2016 12:34:22 +0000 (14:34 +0200)]
OS X: Try to fix tray menu not updating correctly #5158 (#5177)

I even had this issue long before 2.3 that submenus suddenly disappeared.
Now we refrain from updating while visible.

9 years agoExcludes: Consider files in hidden folders excluded #5163 (#5173)
ckamm [Tue, 13 Sep 2016 12:14:27 +0000 (14:14 +0200)]
Excludes: Consider files in hidden folders excluded #5163 (#5173)

Previously, we only checked the hiddenness of the target file and
ignored the hiddenness of the containing folders. This lead to
undesired behavior when people synced their home folders and there
was a folder watcher notification for a non-hidden file in one of
the hidden folders.

I'm not fully sure why, but sometimes notifications for .foo/bar were
already ignored, but notifications for .foo/bar/car were not. This may
be because of how we set up the FolderWatchers on Linux.

The new behavior is to check all path components for hiddenness, up
until the base path (but excluding the base path, so using a hidden
folder as a sync folder will work).

9 years agoMerge pull request #5174 from owncloud/fix5116_2
ckamm [Tue, 13 Sep 2016 08:16:05 +0000 (10:16 +0200)]
Merge pull request #5174 from owncloud/fix5116_2

Better fix for #5116

9 years agoFolder: Cannonicalize the path
Olivier Goffart [Mon, 12 Sep 2016 13:17:21 +0000 (15:17 +0200)]
Folder: Cannonicalize the path

This is important because we compare the paths from the file system watcher if it
starts with this path.
Same in the SocketAPI where we need to use cannonical paths in the REGISTER_PATH command,
as the plugin themself will do this comparison.

Issue #5116

9 years agoRevert "FolderWatcher: Act on relative paths #5116 (#5153)"
Olivier Goffart [Mon, 12 Sep 2016 13:02:54 +0000 (15:02 +0200)]
Revert "FolderWatcher: Act on relative paths #5116 (#5153)"

This is not sufficient as it is not working for the Socket API.
Next commit will fix it in another layer.

Also, not ignoring paths that are not inside the folder is wrong
as it might still happen if the name has a different casing

This reverts commit d5a481f13240b50ff3993184152d3d4145ebfde0.

9 years agoadd server capabilities to owncloudcmd
Piotr M [Mon, 12 Sep 2016 11:20:19 +0000 (13:20 +0200)]
add server capabilities to owncloudcmd

9 years agoDolphin Plugin: Use the Application name for the socket path (#5172)
Klaas Freitag [Mon, 12 Sep 2016 12:12:33 +0000 (14:12 +0200)]
Dolphin Plugin: Use the Application name for the socket path (#5172)

do not hardcode.

This should fix #5165

9 years agoFolderWatcher: Act on relative paths #5116 (#5153)
Markus Goetz [Mon, 12 Sep 2016 12:03:11 +0000 (14:03 +0200)]
FolderWatcher: Act on relative paths #5116 (#5153)

(cherry picked from commit d5a481f13240b50ff3993184152d3d4145ebfde0)

9 years agoSet discovery thread priority to low #5017
Christian Kamm [Tue, 5 Jul 2016 11:53:57 +0000 (13:53 +0200)]
Set discovery thread priority to low #5017

(cherry picked from commit bd7ec196443202501d76f12db5f243e1efb7cf57)

9 years agoExcludeFiles: Fix when the folder casing is not the same in the settings and in the FS
Olivier Goffart [Sat, 10 Sep 2016 15:08:52 +0000 (17:08 +0200)]
ExcludeFiles: Fix when the folder casing is not the same in the settings and in the FS

If the folder has different case in the settings and in the FS, we should
not ignore all the files. This is important for the files system watcher.

(cherry picked from commit 98268d102fb343c103cbb4fb28dedd390f3c9ecf)

9 years agoCleanupPollsJob: Fix possible leak
Olivier Goffart [Thu, 14 Jul 2016 07:21:28 +0000 (09:21 +0200)]
CleanupPollsJob: Fix possible leak

Missing deleteLater when the CleanupPollsJob aborts.
This is only a problem if the SyncEngine is kept alive a long time. Which is
usually not the case in the configuration where poll jobs are used.

(cherry picked from commit 34650248985914523f0684c597f0c366b703f8d7)

9 years agoRecall: Copy instead of move recalled file #5150
Christian Kamm [Tue, 6 Sep 2016 08:42:59 +0000 (10:42 +0200)]
Recall: Copy instead of move recalled file #5150

That was an unintentional change in
2662203fb7277d5d1a57cef556279f8cd3b974f5

Also expand the test case to cover this.

(cherry picked from commit af9c4d0e2fe1a42e1faf14779ca5ef1088bd1314)

9 years agoSelective Sync: Fix request loop and show error in view (#5154)
Markus Goetz [Tue, 6 Sep 2016 09:11:03 +0000 (11:11 +0200)]
Selective Sync: Fix request loop and show error in view (#5154)

I got into a situation where the model would endlessly request the directory
contents from the server because we did not notice yet that the server
is actually in maintenance mode while we were expanding the tree view when
changing the tab to the account or when just expanding it by clicking.
(cherry picked from commit 524220d0907713408298a36df18bd04635ce5563)

9 years agoShareLink: Ensure the password line edit is enabled #5117
Christian Kamm [Wed, 17 Aug 2016 13:48:25 +0000 (15:48 +0200)]
ShareLink: Ensure the password line edit is enabled #5117

(cherry picked from commit b541fea793a1249d6833474765e2b7a6574e492c)

9 years agoUpdate owner to be ownCloud GmbH
Daniel Molkentin [Tue, 26 Jul 2016 14:47:44 +0000 (16:47 +0200)]
Update owner to be ownCloud GmbH

Fixes #5079

(cherry picked from commit a83c5598e850730c277f365e38a2348b825351a9)

9 years agoSwitch target version of this branch to 2.2.4
Christian Kamm [Mon, 12 Sep 2016 12:07:33 +0000 (14:07 +0200)]
Switch target version of this branch to 2.2.4

9 years agoFolderWatcher: Act on relative paths #5116 (#5153)
Markus Goetz [Mon, 12 Sep 2016 12:03:11 +0000 (14:03 +0200)]
FolderWatcher: Act on relative paths #5116 (#5153)

9 years agoAllow to disable Shiboleth to build without QtWebkit (#5166)
Olivier Goffart [Sun, 11 Sep 2016 14:14:08 +0000 (16:14 +0200)]
Allow to disable Shiboleth to build without QtWebkit (#5166)

9 years agoExcludeFiles: Fix when the folder casing is not the same in the settings and in the FS
Olivier Goffart [Sat, 10 Sep 2016 15:08:52 +0000 (17:08 +0200)]
ExcludeFiles: Fix when the folder casing is not the same in the settings and in the FS

If the folder has different case in the settings and in the FS, we should
not ignore all the files. This is important for the files system watcher.

9 years agoFolderStatusModel: Fix beginInsertRow/endInsertRow
Olivier Goffart [Wed, 31 Aug 2016 08:16:25 +0000 (10:16 +0200)]
FolderStatusModel:  Fix beginInsertRow/endInsertRow

We need to do the change between the begin and the end call so the selection
don't get broken

9 years agoChunking-NG: Some fixup after feedback from the pull request #5102
Olivier Goffart [Sat, 10 Sep 2016 10:30:14 +0000 (12:30 +0200)]
Chunking-NG: Some fixup after feedback from the pull request #5102

9 years agoSelective Sync: Fix request loop and show error in view (#5154)
Markus Goetz [Tue, 6 Sep 2016 09:11:03 +0000 (11:11 +0200)]
Selective Sync: Fix request loop and show error in view (#5154)

I got into a situation where the model would endlessly request the directory
contents from the server because we did not notice yet that the server
is actually in maintenance mode while we were expanding the tree view when
changing the tab to the account or when just expanding it by clicking.

9 years agoRecall: Copy instead of move recalled file #5150
Christian Kamm [Tue, 6 Sep 2016 08:42:59 +0000 (10:42 +0200)]
Recall: Copy instead of move recalled file #5150

That was an unintentional change in
2662203fb7277d5d1a57cef556279f8cd3b974f5

Also expand the test case to cover this.

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Tue, 6 Sep 2016 00:18:30 +0000 (02:18 +0200)]
[tx-robot] updated from transifex

9 years agoShow the rename target in the client log file. (#5149)
Klaas Freitag [Mon, 5 Sep 2016 11:26:49 +0000 (13:26 +0200)]
Show the rename target in the client log file. (#5149)

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Mon, 5 Sep 2016 00:18:30 +0000 (02:18 +0200)]
[tx-robot] updated from transifex

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sun, 4 Sep 2016 00:18:30 +0000 (02:18 +0200)]
[tx-robot] updated from transifex

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sat, 3 Sep 2016 00:18:31 +0000 (02:18 +0200)]
[tx-robot] updated from transifex

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Fri, 2 Sep 2016 00:18:31 +0000 (02:18 +0200)]
[tx-robot] updated from transifex

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Thu, 1 Sep 2016 00:18:31 +0000 (02:18 +0200)]
[tx-robot] updated from transifex

9 years agoChunking-NG: use new dav URL for the move
Olivier Goffart [Wed, 31 Aug 2016 10:12:34 +0000 (12:12 +0200)]
Chunking-NG: use new dav URL for the move

9 years agoChunking-NG: Qt4 compile
Olivier Goffart [Wed, 3 Aug 2016 15:43:03 +0000 (17:43 +0200)]
Chunking-NG: Qt4 compile