nextcloud-desktop.git
10 years agoBring back the automatic authentication popups
Jocelyn Turcotte [Thu, 21 Jan 2016 12:33:03 +0000 (13:33 +0100)]
Bring back the automatic authentication popups

Users have complained that they don't see the notification when it is
shown and are not aware that their files aren't syncing.

Remove the non-interactive credentials fetch logic and add make sure
that the shibboleth popup will flash in the taskbar instead.
This will still not allow the popup to show in front in all cases,
but this is a compromise that we have to chose.

This reverts commit dcb687929f1323e9fea8a9e4bd48cdd3fa8312d9.
Issue https://github.com/owncloud/enterprise/issues/990

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Fri, 22 Jan 2016 07:18:44 +0000 (02:18 -0500)]
[tx-robot] updated from transifex

10 years agoWin Admin: Added script to create stable toolchain prj. in OBS
Klaas Freitag [Thu, 21 Jan 2016 10:40:16 +0000 (11:40 +0100)]
Win Admin: Added script to create stable toolchain prj. in OBS

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Thu, 21 Jan 2016 07:18:29 +0000 (02:18 -0500)]
[tx-robot] updated from transifex

10 years agoSyncEngine: fix inode after move if the file has moved on the file system
Olivier Goffart [Wed, 20 Jan 2016 12:44:30 +0000 (13:44 +0100)]
SyncEngine: fix inode after move if the file has moved on the file system

This is the fix for issue #4370

Step to reproduce the bug:
 1) have lots of files in directory "dir1"
 2) do mkdir dir2 && mv dir1/* dir2
 3) DURING the sync (which takes time because of the many moves) do mkdir dir3 && mv dir2/* dir3/
 4) observe that files are PUT in the next sync

The problem is that SyncJournalFileRecord::SyncJournalFileRecord will fail to
get the inode after the forst move because the files are already moved on the
filesystem.  Normaly it should use the inode from the discovery phase in that
case but that is not working because it comes from the remote node in case of
moves, so the code in SyncEngine::treewalkFile would not set the inode.

Test in https://github.com/owncloud/smashbox/pull/143

10 years agoSharing: Allow only one share dialog per path #3184
Christian Kamm [Wed, 20 Jan 2016 12:17:54 +0000 (13:17 +0100)]
Sharing: Allow only one share dialog per path #3184

10 years agoShare dialog: Error reporting with password policy #4209
Christian Kamm [Tue, 19 Jan 2016 13:03:13 +0000 (14:03 +0100)]
Share dialog: Error reporting with password policy #4209

10 years agoShare dialog: Remove unintended spinner when password required
Christian Kamm [Tue, 19 Jan 2016 12:37:06 +0000 (13:37 +0100)]
Share dialog: Remove unintended spinner when password required

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Wed, 20 Jan 2016 07:18:29 +0000 (02:18 -0500)]
[tx-robot] updated from transifex

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Wed, 20 Jan 2016 06:15:17 +0000 (01:15 -0500)]
[tx-robot] updated from transifex

10 years agoAccountSettings: fix Add Folder button size #4373
Olivier Goffart [Tue, 19 Jan 2016 16:39:43 +0000 (17:39 +0100)]
AccountSettings:  fix Add Folder button size #4373

10 years agoWin: Fix filesystem detection for exFAT workaround #2701
Christian Kamm [Tue, 19 Jan 2016 08:58:00 +0000 (09:58 +0100)]
Win: Fix filesystem detection for exFAT workaround #2701

10 years agoAdd mac system tray fix as deployed on the build machine
Daniel Molkentin [Mon, 18 Jan 2016 15:16:28 +0000 (16:16 +0100)]
Add mac system tray fix as deployed on the build machine

Fixes #3918

10 years agoChangelog for 2.1.1
Markus Goetz [Mon, 18 Jan 2016 12:34:00 +0000 (13:34 +0100)]
Changelog for 2.1.1

10 years agoshell: Update binaries to fix the Directory Opus warning
Jocelyn Turcotte [Mon, 18 Jan 2016 10:37:19 +0000 (11:37 +0100)]
shell: Update binaries to fix the Directory Opus warning

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Mon, 18 Jan 2016 07:18:25 +0000 (02:18 -0500)]
[tx-robot] updated from transifex

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sun, 17 Jan 2016 07:18:45 +0000 (02:18 -0500)]
[tx-robot] updated from transifex

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sat, 16 Jan 2016 07:18:48 +0000 (02:18 -0500)]
[tx-robot] updated from transifex

10 years agoUpload: Chunk size can be changed in the config file
Olivier Goffart [Fri, 15 Jan 2016 12:16:52 +0000 (13:16 +0100)]
Upload: Chunk size can be changed in the config file

Added a new "chunkSize" entry in the General group of the owncloud.cfg
which can be set to the size, in bytes, of the chunks.

This allow user with hude bandwidth to select more optimal chunk size

Issue #4354

10 years agocsync_private: Fix comment about size of file id buffer
Klaas Freitag [Fri, 15 Jan 2016 11:14:16 +0000 (12:14 +0100)]
csync_private: Fix comment about size of file id buffer

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Fri, 15 Jan 2016 07:18:51 +0000 (02:18 -0500)]
[tx-robot] updated from transifex

10 years agoOS X shell: Don't allow sharing sync roots #3505
Jocelyn Turcotte [Thu, 14 Jan 2016 15:24:29 +0000 (16:24 +0100)]
OS X shell: Don't allow sharing sync roots #3505

10 years agoWindows shell: Remove unneeded Winsock code #4356
Jocelyn Turcotte [Thu, 14 Jan 2016 14:02:56 +0000 (15:02 +0100)]
Windows shell: Remove unneeded Winsock code #4356

10 years agoWindows: Fix the progress text being cut but a few pixels
Jocelyn Turcotte [Thu, 14 Jan 2016 12:01:18 +0000 (13:01 +0100)]
Windows: Fix the progress text being cut but a few pixels

QFontMetrics::boundingRect doesn't return the right size for this
font size for some reason, while it works well if we remove the
smaller point size adjustment for the progress font.

To avoid having to debug the font system in Qt just increase the
existing +2px adjustment to +5px so that it renders fine.

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Thu, 14 Jan 2016 07:19:05 +0000 (02:19 -0500)]
[tx-robot] updated from transifex

10 years agoSyncEngine: For server older than 8.1, ignore invalid char in new directories
Olivier Goffart [Wed, 13 Jan 2016 16:49:41 +0000 (17:49 +0100)]
SyncEngine: For server older than 8.1, ignore invalid char in new directories

Server older than 8.1 cannot cope with invalid char in the filename
so we must not send them from the client. We were already checking
for new files, but not for renames or new directories.

https://github.com/owncloud/enterprise/issues/1009

10 years agoFolderDelegate: fix positions and margin
Olivier Goffart [Wed, 13 Jan 2016 10:57:15 +0000 (11:57 +0100)]
FolderDelegate: fix positions and margin

 - Fix the margin of the progressbar to let some room for the '...' button

 - Fix the size of the "Add Folder" button

10 years agoFix the folder option button click
Jocelyn Turcotte [Wed, 13 Jan 2016 10:42:49 +0000 (11:42 +0100)]
Fix the folder option button click

The height adjustment done to place the button in the middle of the
non-error area was only done for rendering. Make sure that we do the
same adjustment when mapping click events as well.

Also replace some wrong occurences of aliasMargin*2 for margin.

10 years agoConfigFile: Create the directory when using --confdir and it does not exist
Olivier Goffart [Wed, 13 Jan 2016 09:31:02 +0000 (10:31 +0100)]
ConfigFile: Create the directory when using --confdir and it does not exist

Previously we would fail to start if the directory was not existing.
This was working for relative directory, but it should also work for
absolute ones

https://github.com/owncloud/enterprise/issues/970

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Wed, 13 Jan 2016 07:19:20 +0000 (02:19 -0500)]
[tx-robot] updated from transifex

10 years agoSharing: feedback when there is no result while searching for an user #4348
Olivier Goffart [Tue, 12 Jan 2016 13:35:35 +0000 (14:35 +0100)]
Sharing: feedback when there is no result while searching for an user #4348

10 years agoSharing: Display the error from the server when trying to share with users or group
Olivier Goffart [Tue, 12 Jan 2016 12:19:33 +0000 (13:19 +0100)]
Sharing: Display the error from the server when trying to share with users or group

10 years agoWindows: Update the overlay icon graphics #3105
Jocelyn Turcotte [Tue, 12 Jan 2016 09:38:17 +0000 (10:38 +0100)]
Windows: Update the overlay icon graphics #3105

The bug seems to be in Windows when it upscales an smaller icon for
HiDPI displays. It works fine if we provide a 256x256 size in the
ico files.

Use the new square icons also used on OS X that removes the share badge
and instead has a share icon only for the OK state. This means that we
can also remove 3 icons and release 3 slots in the registry for
overlay icons (only the first few are actually loaded by explorer).

This also adds a script that uses ImageMagick to convert our SVG icons
to Windows ico files. Since ImageMagick seems to have issue doing
proper antialiasing with pixels on the edge of icons, this also
slightly scale the icons to leave 2px on each edge, out of its
logical 128px width.

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Tue, 12 Jan 2016 07:19:07 +0000 (02:19 -0500)]
[tx-robot] updated from transifex

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Tue, 12 Jan 2016 06:15:38 +0000 (01:15 -0500)]
[tx-robot] updated from transifex

10 years agoActivities: Fix color when row is selected
Markus Goetz [Mon, 11 Jan 2016 15:52:05 +0000 (16:52 +0100)]
Activities: Fix color when row is selected

10 years agoMerge pull request #4338 from owncloud/mtimes
Markus Goetz [Mon, 11 Jan 2016 15:44:56 +0000 (16:44 +0100)]
Merge pull request #4338 from owncloud/mtimes

add note re mtime syncing

10 years agoWindows: Fix HiDPI #3414
Jocelyn Turcotte [Mon, 11 Jan 2016 14:27:13 +0000 (15:27 +0100)]
Windows: Fix HiDPI #3414

Use QT_DEVICE_PIXEL_RATIO=auto on Qt<=5.5 to enable automatic
scale factor settings on Windows. Also move the existing
Qt::AA_EnableHighDpiScaling logic to use the equivalent
QT_AUTO_SCREEN_SCALE_FACTOR=1 environment variable just to
keep the 5.5 and >=5.6 code at the same place.

10 years agoNSIS: Escape line endings for NSIS correctly.
Klaas Freitag [Mon, 11 Jan 2016 14:36:24 +0000 (15:36 +0100)]
NSIS: Escape line endings for NSIS correctly.

This is supposed to fix #3519

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Mon, 11 Jan 2016 07:19:09 +0000 (02:19 -0500)]
[tx-robot] updated from transifex

10 years agocsync-tests: Added some directory wildcard tests.
Klaas Freitag [Sun, 10 Jan 2016 11:03:28 +0000 (12:03 +0100)]
csync-tests: Added some directory wildcard tests.

This was to verify client issue #1558

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sun, 10 Jan 2016 07:19:07 +0000 (02:19 -0500)]
[tx-robot] updated from transifex

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sun, 10 Jan 2016 06:15:43 +0000 (01:15 -0500)]
[tx-robot] updated from transifex

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sat, 9 Jan 2016 07:19:19 +0000 (02:19 -0500)]
[tx-robot] updated from transifex

10 years agoOS X: Don't install legacy Finder plugin on >= 10.10 #3587 (v2)
Markus Goetz [Fri, 8 Jan 2016 16:53:54 +0000 (17:53 +0100)]
OS X: Don't install legacy Finder plugin on >= 10.10 #3587 (v2)

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Fri, 8 Jan 2016 07:19:04 +0000 (02:19 -0500)]
[tx-robot] updated from transifex

10 years agoPropagation: Fix dir <-> file changes propagating to server #4302
Christian Kamm [Wed, 6 Jan 2016 09:01:22 +0000 (10:01 +0100)]
Propagation: Fix dir <-> file changes propagating to server #4302

* Ensure every time a file becomes a directory or the other way around
  the item is flagged as INSTRUCTION_TYPE_CHANGE.
* Delete the badly-typed entity if necessary in the propagation jobs.

10 years agoPropagator: Remove warning when moving out of deleted folder
Christian Kamm [Thu, 7 Jan 2016 09:04:04 +0000 (10:04 +0100)]
Propagator: Remove warning when moving out of deleted folder

10 years agoFix the rendering of the red error box text
Jocelyn Turcotte [Thu, 7 Jan 2016 16:56:14 +0000 (17:56 +0100)]
Fix the rendering of the red error box text

QPainter::drawText uses the top of the font for the y position of its
rect argument, but uses the baseline when using a point argument.

Also use the margin variable that matches the font used instead of
the aliasMargin and make sure that the margin is only added between
the box and the text once.

10 years agoSettingsDialog: show "Account" for the tab name for branded client
Olivier Goffart [Thu, 7 Jan 2016 16:58:23 +0000 (17:58 +0100)]
SettingsDialog: show "Account" for the tab name for branded client

https://github.com/owncloud/enterprise/issues/863

10 years agoOnly clean the Not Synced list for the current account #3171
Jocelyn Turcotte [Thu, 7 Jan 2016 15:14:12 +0000 (16:14 +0100)]
Only clean the Not Synced list for the current account #3171

10 years agoHttpCredentials::slotAuthentication: fix comment
Olivier Goffart [Thu, 7 Jan 2016 13:58:02 +0000 (14:58 +0100)]
HttpCredentials::slotAuthentication:  fix comment

The recent revert did no fix the comment

10 years agoHTTP creds: Fix GUI blocking for 5 seconds when entering wrong password
Olivier Goffart [Thu, 7 Jan 2016 13:14:32 +0000 (14:14 +0100)]
HTTP creds:  Fix GUI blocking for 5 seconds when entering wrong password

The Qt HTTP thread calls authenticationRequired (indirectly) using a
BlockingQueuedConnection. So when we call invalidateToken from slot
connected to this signal and end up calling QNAM::clearAccessCache which
waits on the thread for 5 seconds

Backtraces:

Qt HTTP thread:
 #0  0x00007ffff20c707f in pthread_cond_wait@@GLIBC_2.3.2 ()
 #1  0x00007ffff43f0c0b in QWaitConditionPrivate::wait
 #2  QWaitCondition::wait
 #3  0x00007ffff43ea06b in QSemaphore::acquire
 #4  0x00007ffff45dcf6f in QMetaObject::activate
[...]
 #9  0x00007ffff45dd607 in QMetaObject::activate
 #10 0x00007ffff4edbaf7 in QHttpNetworkReply::authenticationRequired
 #11 0x00007ffff4e0b2b4 in QHttpNetworkConnectionPrivate::handleAuthenticateChallenge
 #12 0x00007ffff4e10753 in QHttpNetworkConnectionChannel::handleStatus
 #13 0x00007ffff4e11cc9 in QHttpNetworkConnectionChannel::allDone
 #14 0x00007ffff4e14605 in QHttpProtocolHandler::_q_receiveReply

Main Thread:
 #0  0x00007ffff20c7428 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
 #1  0x00007ffff43f0b56 in QWaitConditionPrivate::wait_relative (time=5000, this=0x136c580)
 #2  QWaitConditionPrivate::wait (time=5000, this=0x136c580)
 #3  QWaitCondition::wait (this=this@entry=0x136c788, mutex=mutex@entry=0x136c760, time=time@entry=5000)
 #4  0x00007ffff43efa6e in QThread::wait (this=<optimized out>, time=time@entry=5000)
 #5  0x00007ffff4e1edd3 in QNetworkAccessManagerPrivate::clearCache
 #6  0x00007ffff7b6fb03 in OCC::HttpCredentials::invalidateToken()
 #7  0x000000000057adb4 in OCC::AccountState::slotInvalidCredentials()
 #8  0x000000000057ac76 in OCC::AccountState::slotConnectionValidatorResult(OCC::ConnectionValidator::Status, QStringList const&) ()
 #9  0x00000000005ab45c in OCC::AccountState::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)
 #10 0x00007ffff45dcd30 in QMetaObject::activate
 #11 0x00007ffff7b78671 in OCC::ConnectionValidator::connectionResult(OCC::ConnectionValidator::Status, QStringList) ()
 #12 0x00007ffff7ae2514 in OCC::ConnectionValidator::reportResult(OCC::ConnectionValidator::Status) ()
 #13 0x00007ffff7ae39b7 in OCC::ConnectionValidator::slotAuthFailed(QNetworkReply*) ()
 #14 0x00007ffff7b784a9 in OCC::ConnectionValidator::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) ()
 #15 0x00007ffff45dcd30 in QMetaObject::activate
 #16 0x00007ffff7b766dc in OCC::AbstractNetworkJob::networkError(QNetworkReply*)
 #17 0x00007ffff7af9f6e in OCC::AbstractNetworkJob::slotFinished()
 #18 0x00007ffff7b7654d in OCC::AbstractNetworkJob::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) ()
 #20 0x00007ffff45dd607 in QMetaObject::activate
 #21 0x00007ffff4edd143 in QNetworkReply::finished
 #22 0x00007ffff4e3fec7 in QNetworkReplyHttpImplPrivate::finished
 #23 0x00007ffff4e41818 in QNetworkReplyHttpImpl::close
 #24 0x00007ffff7b7047b in OCC::HttpCredentials::slotAuthentication(QNetworkReply*, QAuthenticator*) ()
 #25 0x00007ffff7b79092 in OCC::HttpCredentials::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) ()
 #27 0x00007ffff45dd607 in QMetaObject::activate
 #28 0x00007ffff4e1d6fb in QNetworkAccessManager::authenticationRequired
 #29 0x00007ffff4e1ea07 in QNetworkAccessManagerPrivate::authenticationRequired
 #30 0x00007ffff4e3c784 in QNetworkReplyHttpImplPrivate::httpAuthenticationRequired

Another case of Main Thread:
 #5  0x00007ffff4e1edd3 in QNetworkAccessManagerPrivate::clearCache
 #6  0x00007ffff7b6fb03 in OCC::HttpCredentials::invalidateToken()
 #7  0x000000000057b1e4 in OCC::AccountState::slotInvalidCredentials() ()
 #8  0x00000000005abb8a in OCC::AccountState::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) ()
 #9  0x00007ffff45dcd30 in QMetaObject::activate
 #10 0x00007ffff7b76ed5 in OCC::Account::invalidCredentials() ()
 #11 0x00007ffff7ad55f5 in OCC::Account::handleInvalidCredentials()
 #12 0x00007ffff7afa69a in OCC::AbstractNetworkJob::slotFinished()
 #13 0x00007ffff7b7654d in OCC::AbstractNetworkJob::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) ()
 #15 0x00007ffff45dd607 in QMetaObject::activate
 #16 0x00007ffff4edd143 in QNetworkReply::finished
 #17 0x00007ffff4e3fec7 in QNetworkReplyHttpImplPrivate::finished
 #18 0x00007ffff4e41818 in QNetworkReplyHttpImpl::close
 #19 0x00007ffff7b7047b in OCC::HttpCredentials::slotAuthentication(QNetworkReply*, QAuthenticator*) ()
 #20 0x00007ffff7b79092 in OCC::HttpCredentials::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) ()
 #22 0x00007ffff45dd607 in QMetaObject::activate
 #23 0x00007ffff4e1d6fb in QNetworkAccessManager::authenticationRequired

10 years agoFix crash when deleting account while sync is running #4337
Christian Kamm [Thu, 7 Jan 2016 12:54:26 +0000 (13:54 +0100)]
Fix crash when deleting account while sync is running #4337

10 years agoFix RTL languages in sync dialog #4336
Olivier Goffart [Thu, 7 Jan 2016 12:37:46 +0000 (13:37 +0100)]
Fix RTL languages in sync dialog #4336

10 years agoKeep only active entries in the Not Synced list #3171
Jocelyn Turcotte [Wed, 6 Jan 2016 17:39:32 +0000 (18:39 +0100)]
Keep only active entries in the Not Synced list #3171

Now that we have a separate list for files that could not be synced,
we can make sure that it only shows entries for files that are still
not in sync with the server. This allows the user to treat this list
as action items in order to get everything synced, including the
blacklist.

Simply remove the keep-errors logic that was used when the lists were
merged to achieve this result.

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Thu, 7 Jan 2016 07:19:23 +0000 (02:19 -0500)]
[tx-robot] updated from transifex

10 years agoDocument all owncloudcmd switches in man page/doc
Daniel Molkentin [Wed, 6 Jan 2016 21:33:39 +0000 (22:33 +0100)]
Document all owncloudcmd switches in man page/doc

Fixes #4290

10 years agoadd note re mtime syncing
Carla Schroder [Wed, 6 Jan 2016 20:45:23 +0000 (12:45 -0800)]
add note re mtime syncing

10 years agoUpdate German translation
Daniel Molkentin [Wed, 6 Jan 2016 16:00:45 +0000 (17:00 +0100)]
Update German translation

Changes performed on transifex.

Resolves #4255

10 years agoTranslation cleanups
Daniel Molkentin [Wed, 6 Jan 2016 15:50:59 +0000 (16:50 +0100)]
Translation cleanups

- Disambiguation
- Remove potentially illigitmate concatenations

10 years agoWork around layouting issue for RTL languages
Daniel Molkentin [Wed, 6 Jan 2016 11:51:25 +0000 (12:51 +0100)]
Work around layouting issue for RTL languages

This has been fixed in the meanwhile, but we are still shipping
with Qt 5.4. Also, some Linux Distros will still have older Qt
versions.

Addresses issue #4301

10 years agoDon't show parent folders in the error list #3796
Jocelyn Turcotte [Wed, 6 Jan 2016 11:35:36 +0000 (12:35 +0100)]
Don't show parent folders in the error list #3796

The error status of children should only be used for the etag logic.
The SocketApi uses a path matching system to do this and the UI should
report errors only for individual involved files/directories.

10 years agoBring back the red box for errors #3796
Jocelyn Turcotte [Wed, 6 Jan 2016 09:56:07 +0000 (10:56 +0100)]
Bring back the red box for errors #3796

This use the previous code by resetting the progress to hide
the progress back and then return errors in the FolderErrorMsg
data role of the folder model.

This also remove the unused FolderRemotePath role, remove FolderStatus
in favor of invalidating all roles in dataChanged and make sure
that the SyncRunning role is transfered properly from the SyncResult
to show the warning icon during sync.

10 years agoRevert "HTTP Creds: Do not send the password at every request"
Markus Goetz [Wed, 6 Jan 2016 10:22:35 +0000 (11:22 +0100)]
Revert "HTTP Creds:  Do not send the password at every request"

We need this for #4326

This reverts commit ae17f58b80208df0e6318dbabbfabd7ae842332e.

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Wed, 6 Jan 2016 07:19:20 +0000 (02:19 -0500)]
[tx-robot] updated from transifex

10 years agoOS X: Don't install legacy Finder plugin on >= 10.10 #3587
Markus Goetz [Tue, 5 Jan 2016 16:43:23 +0000 (17:43 +0100)]
OS X: Don't install legacy Finder plugin on >= 10.10 #3587

10 years agoRename SyncFileStatus::STATUS_SYNC to STATUS_UPTODATE
Jocelyn Turcotte [Tue, 5 Jan 2016 14:28:01 +0000 (15:28 +0100)]
Rename SyncFileStatus::STATUS_SYNC to STATUS_UPTODATE

Also use STATUS_UPDATED instead to match SyncFileItem::Success in the SocketAPI.

10 years agoDebug: Attempt to make log more useful
Markus Goetz [Tue, 5 Jan 2016 14:11:46 +0000 (15:11 +0100)]
Debug: Attempt to make log more useful

10 years agoFix OK statuses not being broadcasted during a sync #3944
Jocelyn Turcotte [Tue, 5 Jan 2016 14:03:23 +0000 (15:03 +0100)]
Fix OK statuses not being broadcasted during a sync #3944

Since the presence of any path in SyncEngine::_syncedItems
would translate in a SYNC status, platforms that don't refresh
all their status cache after an UPDATE_VIEW message like OS X
or Windows would keep displaying that status even after all
files are successfully synchronized.

- Read SyncFileItem::_status to determine the status to display mid-sync
- Match moved paths also to _renameTarget since this might be the
  path to match
- Make sure that PropagateDirectory jobs also set SyncFileItem::_status
  properly

10 years agoOS X: Also show desktop notifications when app is active
Markus Goetz [Tue, 5 Jan 2016 12:32:46 +0000 (13:32 +0100)]
OS X: Also show desktop notifications when app is active

10 years agoWindows: Fix deleting and replacing of read-only files #4308
Christian Kamm [Tue, 5 Jan 2016 10:58:18 +0000 (11:58 +0100)]
Windows: Fix deleting and replacing of read-only files #4308

10 years agoPropagator: Deal with directories becoming files #4302
Christian Kamm [Tue, 22 Dec 2015 12:02:02 +0000 (13:02 +0100)]
Propagator: Deal with directories becoming files #4302

Note, in particular the revised order of directory deletion jobs.

10 years agoPropagator: Deal with files becoming directories #4302
Christian Kamm [Tue, 22 Dec 2015 10:26:07 +0000 (11:26 +0100)]
Propagator: Deal with files becoming directories #4302

This needed adjustments in reconcile, to mark the item as SYNC
as well as additions to the LocalMkdir job.

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Tue, 5 Jan 2016 08:04:45 +0000 (03:04 -0500)]
[tx-robot] updated from transifex

10 years agoFix a missing sync-exclude.lst file not failing the sync
Jocelyn Turcotte [Mon, 4 Jan 2016 15:46:53 +0000 (16:46 +0100)]
Fix a missing sync-exclude.lst file not failing the sync

After c3cf6aef7dbafb9133903b52c5919eccd4821a25 the invokeMethod calls
should be adjusted to pass the new method arguments.

The result was currently a passing sync with this error message on
the console:
QMetaObject::invokeMethod: No such method OCC::Folder::slotSyncFinished()

10 years agoOS X: Fix alignment of "Copy" button in protocol #4207
Markus Goetz [Mon, 4 Jan 2016 15:15:32 +0000 (16:15 +0100)]
OS X: Fix alignment of "Copy" button in protocol #4207

10 years agoDolphin integration: use system icons for labels in KDE
Grigorii Horos [Fri, 4 Dec 2015 13:40:15 +0000 (15:40 +0200)]
Dolphin integration: use system icons for labels in KDE

Cherry-picked from https://github.com/owncloud/client/pull/4252

10 years agoSocketAPI: SHARE: Fix the paths when creating the share dialog
Olivier Goffart [Mon, 4 Jan 2016 10:57:51 +0000 (11:57 +0100)]
SocketAPI: SHARE: Fix the paths when creating the share dialog

The socket api uses native folder separator. We need to use QDir::cleanPath
for anything else so we only work with '/' everywhere else in the code

This fixes the sharing dialog on window.

Issue #4311

10 years agoRemove bearer plugins
Daniel Molkentin [Mon, 4 Jan 2016 10:54:11 +0000 (11:54 +0100)]
Remove bearer plugins

Causes regressions due to constant Wifi scanning

10 years agoEnable HiDpi scaling with Qt 5.6
Daniel Molkentin [Mon, 4 Jan 2016 10:49:03 +0000 (11:49 +0100)]
Enable HiDpi scaling with Qt 5.6

10 years agoEnsure Qt translator does always get loaded.
Daniel Molkentin [Mon, 4 Jan 2016 10:47:11 +0000 (11:47 +0100)]
Ensure Qt translator does always get loaded.

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Mon, 4 Jan 2016 07:19:22 +0000 (02:19 -0500)]
[tx-robot] updated from transifex

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sun, 3 Jan 2016 07:19:00 +0000 (02:19 -0500)]
[tx-robot] updated from transifex

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Thu, 31 Dec 2015 07:19:14 +0000 (02:19 -0500)]
[tx-robot] updated from transifex

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Tue, 29 Dec 2015 07:18:39 +0000 (02:18 -0500)]
[tx-robot] updated from transifex

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Mon, 28 Dec 2015 07:19:02 +0000 (02:19 -0500)]
[tx-robot] updated from transifex

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Fri, 25 Dec 2015 07:19:06 +0000 (02:19 -0500)]
[tx-robot] updated from transifex

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Wed, 23 Dec 2015 07:19:07 +0000 (02:19 -0500)]
[tx-robot] updated from transifex

10 years agoDo not use nullptr, old compilers die on it.
Klaas Freitag [Tue, 22 Dec 2015 14:07:51 +0000 (15:07 +0100)]
Do not use nullptr, old compilers die on it.

10 years agoMove version to 2.1.1 git.
Klaas Freitag [Tue, 22 Dec 2015 10:18:20 +0000 (11:18 +0100)]
Move version to 2.1.1 git.

10 years agoshell integration: Create a plugin for nemo out of the nautilus one.
Klaas Freitag [Tue, 22 Dec 2015 10:05:00 +0000 (11:05 +0100)]
shell integration: Create a plugin for nemo out of the nautilus one.

10 years agoBackport of #4245
Klaas Freitag [Tue, 22 Dec 2015 09:26:13 +0000 (10:26 +0100)]
Backport of #4245

10 years agogui: Word Wrap in QInputDialog (#4197)
Olivier Goffart [Mon, 21 Dec 2015 14:35:45 +0000 (15:35 +0100)]
gui: Word Wrap in QInputDialog (#4197)

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Tue, 22 Dec 2015 07:19:06 +0000 (02:19 -0500)]
[tx-robot] updated from transifex

10 years agocsync_vio_local_stat: Win: fetch mtime and size if not previously fetched
Olivier Goffart [Mon, 21 Dec 2015 13:25:30 +0000 (14:25 +0100)]
csync_vio_local_stat: Win: fetch mtime and size if not previously fetched

Since owncloud 2.1, csync_vio_local_stat was optimized because readdir
would already fetch most of the info.  This works for the discovery,
but not later.  And we used this function later for symliks and co.

So this fixes the .lnk on windows

Issue #4300

10 years agoPropagateLocalRemove: Make it possible to remove read only files (#4277)
Olivier Goffart [Mon, 21 Dec 2015 12:25:10 +0000 (13:25 +0100)]
PropagateLocalRemove: Make it possible to remove read only files (#4277)

10 years agoSystray: Use the original name for the rename notification #4295
Olivier Goffart [Mon, 21 Dec 2015 10:06:39 +0000 (11:06 +0100)]
Systray: Use the original name for the rename notification #4295

Otherwise it shows twice as "newname was renamed to newname".
Because _file is set to the new name in PropagateLocalRename::start

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Mon, 21 Dec 2015 07:18:42 +0000 (02:18 -0500)]
[tx-robot] updated from transifex

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sat, 19 Dec 2015 07:19:06 +0000 (02:19 -0500)]
[tx-robot] updated from transifex