]> dgit.raspbian.org Git - nextcloud-desktop.git/log
nextcloud-desktop.git
11 years agoShareDialog: Connect the proper DateEdit signal.
Klaas Freitag [Wed, 11 Mar 2015 14:46:05 +0000 (15:46 +0100)]
ShareDialog: Connect the proper DateEdit signal.

11 years agoShareDialog: If the password is empty, disable button
Klaas Freitag [Wed, 11 Mar 2015 13:57:55 +0000 (14:57 +0100)]
ShareDialog: If the password is empty, disable button

11 years agoShareDialog: Consider if resharing is not allowed on a share.
Klaas Freitag [Wed, 11 Mar 2015 13:09:31 +0000 (14:09 +0100)]
ShareDialog: Consider if resharing is not allowed on a share.

If a file or directory is shared without resharing permission, the
share dialog displays an error. This is not the optimal solution, but
best for now, as we do not have the permissions available for the file
manager plugin.

This fixes #2923

11 years agoSocketAPI: If filename has a trailing slash, remove it.
Klaas Freitag [Wed, 11 Mar 2015 13:09:06 +0000 (14:09 +0100)]
SocketAPI: If filename has a trailing slash, remove it.

The SyncJournal stores the the names of directories without trailing slash.

11 years agodoc: Added snippet about custom WebDAV properties.
Klaas Freitag [Wed, 11 Mar 2015 09:29:58 +0000 (10:29 +0100)]
doc: Added snippet about custom WebDAV properties.

11 years agoLnk: Work around QFile::rename() #2792
Christian Kamm [Wed, 11 Mar 2015 09:51:36 +0000 (10:51 +0100)]
Lnk: Work around QFile::rename() #2792

QFile::rename() fails if the source file is a shortcut to a file
or directory that does not exist.

11 years agoShrink sizeof(SyncFileItem) by 20%
Jocelyn Turcotte [Wed, 11 Mar 2015 10:41:42 +0000 (11:41 +0100)]
Shrink sizeof(SyncFileItem) by 20%

Move all small fields together in the struct and make them use bitfields.
Also remove the unused log::_other_remotePerm field.

11 years agoDisable parallel uploads for server versions <= 8.0.2
Olivier Goffart [Wed, 11 Mar 2015 10:31:51 +0000 (11:31 +0100)]
Disable parallel uploads for server versions <= 8.0.2

Issue #2938

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

11 years agoOutput a more sensible error message for auth errors
Klaas Freitag [Tue, 10 Mar 2015 11:14:14 +0000 (12:14 +0100)]
Output a more sensible error message for auth errors

11 years agoRevert "SetupW: Display proper error messages if password or user was wrong."
Klaas Freitag [Tue, 10 Mar 2015 10:17:35 +0000 (11:17 +0100)]
Revert "SetupW: Display proper error messages if password or user was wrong."

This reverts commit 396f38598fa7f9e04adc4bd9a963fbd8f95a5161.

This adds redundant code and potentially breaks Shibboleth

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

11 years agoRevert "Propagator: Delete job on finish"
Markus Goetz [Mon, 9 Mar 2015 15:19:16 +0000 (16:19 +0100)]
Revert "Propagator: Delete job on finish"

Needs a bit more thinking.

This reverts commit 8746914f3b5ca659b2726c609703597a81810af4.

11 years agoPropagator: Use QBA for responseTimestamp instead of QString
Markus Goetz [Mon, 9 Mar 2015 14:52:52 +0000 (15:52 +0100)]
Propagator: Use QBA for responseTimestamp instead of QString

11 years agoPropagator: Delete job on finish
Markus Goetz [Mon, 9 Mar 2015 14:41:13 +0000 (15:41 +0100)]
Propagator: Delete job on finish

11 years agoMake win32 build work again.
Klaas Freitag [Mon, 9 Mar 2015 14:14:55 +0000 (15:14 +0100)]
Make win32 build work again.

11 years agoShareDialog: Made it less "webbish" for better usability.
Klaas Freitag [Mon, 9 Mar 2015 13:33:02 +0000 (14:33 +0100)]
ShareDialog: Made it less "webbish" for better usability.

- Check the share checkbox automatically on open of the dialog
- Use the date picker with popping up calendar
- Proper initial size
- no resizing and appearing and disappearing.

Fixes probably #2917, also #2764

11 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Mon, 9 Mar 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, 7 Mar 2015 07:18:24 +0000 (02:18 -0500)]
[tx-robot] updated from transifex

11 years agoFix a crash in the crash reporter on OSX
Jocelyn Turcotte [Fri, 6 Mar 2015 18:11:51 +0000 (19:11 +0100)]
Fix a crash in the crash reporter on OSX

The install_name of dependent libraries need to be updated
like we do for cmd and gui.

11 years agoAdd a gen_sym_files script for OSX
Jocelyn Turcotte [Fri, 6 Mar 2015 18:06:38 +0000 (19:06 +0100)]
Add a gen_sym_files script for OSX

This attempts to replicate what i686-w64-mingw32-gen_sym_files
is doing for us with MinGW by parsing the output of otool -L
to get the library name actually used by the executable.

11 years agoSetupW: Display proper error messages if password or user was wrong.
Klaas Freitag [Fri, 6 Mar 2015 15:36:21 +0000 (16:36 +0100)]
SetupW: Display proper error messages if password or user was wrong.

If the password or user was wrong during setup, the client showed a
ConnectionClosed error instead of a proper Username or password wrong
message. This was because in HTTPCredentials::slotAuthentication, the
reply is closed, and a property is set to indicate the auth problem.

This patch now checks at all occurences of networkErrors if it might
have been an authentication problem, and displays something useful.

There is a good chance that this is a sufficient fix for
owncloud/enterprise#556

11 years agoPush version to beta3
Klaas Freitag [Fri, 6 Mar 2015 15:35:20 +0000 (16:35 +0100)]
Push version to beta3

11 years agoTheme: Return the correct version string from version()
Klaas Freitag [Thu, 5 Mar 2015 16:09:54 +0000 (17:09 +0100)]
Theme: Return the correct version string from version()

11 years agowin32: libproxy is not needed
Daniel Molkentin [Fri, 6 Mar 2015 14:47:12 +0000 (15:47 +0100)]
win32: libproxy is not needed

11 years agoSyncEngine: Show a debug msg only when relevant
Markus Goetz [Fri, 6 Mar 2015 08:28:50 +0000 (09:28 +0100)]
SyncEngine: Show a debug msg only when relevant

11 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Fri, 6 Mar 2015 07:18:35 +0000 (02:18 -0500)]
[tx-robot] updated from transifex

11 years agoPropagate: Don't retry direct download on abort
Markus Goetz [Thu, 5 Mar 2015 20:56:39 +0000 (21:56 +0100)]
Propagate: Don't retry direct download on abort

11 years agoETags: For Folder and RequestEtagJob, always use Concatenation
Markus Goetz [Thu, 5 Mar 2015 16:49:12 +0000 (17:49 +0100)]
ETags: For Folder and RequestEtagJob, always use Concatenation

11 years agoDiscovery: Change abort code a bit
Markus Goetz [Thu, 5 Mar 2015 15:50:33 +0000 (16:50 +0100)]
Discovery: Change abort code a bit

Now pressing pause in the UI will not show an error to the user.

11 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Thu, 5 Mar 2015 07:18:52 +0000 (02:18 -0500)]
[tx-robot] updated from transifex

11 years agoAdd OWNCLOUDSYNC_EXPORT prefix to make windows build.
Klaas Freitag [Wed, 4 Mar 2015 12:50:55 +0000 (13:50 +0100)]
Add OWNCLOUDSYNC_EXPORT prefix to make windows build.

11 years agoBump version to 1.8.0 beta2.
Klaas Freitag [Wed, 4 Mar 2015 11:29:17 +0000 (12:29 +0100)]
Bump version to 1.8.0 beta2.

11 years agoPropagateUpload: also read the OC-ErrorString header from the poll job
Olivier Goffart [Wed, 4 Mar 2015 11:00:25 +0000 (12:00 +0100)]
PropagateUpload:  also read the OC-ErrorString header from the poll job

11 years agoPropagateUpload: add a few comments
Olivier Goffart [Wed, 4 Mar 2015 07:42:24 +0000 (08:42 +0100)]
PropagateUpload: add a few comments

11 years agoFix missing symbols on XP
Jocelyn Turcotte [Wed, 4 Mar 2015 08:50:02 +0000 (09:50 +0100)]
Fix missing symbols on XP

Import a fix from libcrashreporter-qt that should remove
usage of symbols not available in XP's msvcrt.dll

This should help solving #2907 with the crash reporter enabled.

11 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Wed, 4 Mar 2015 07:18:30 +0000 (02:18 -0500)]
[tx-robot] updated from transifex

11 years agoPropagator: Don't use 0,0 progress signals.
Markus Goetz [Tue, 3 Mar 2015 16:46:13 +0000 (17:46 +0100)]
Propagator: Don't use 0,0 progress signals.

They seemed to have messed up the calculation sometimes for
the last chunk.

11 years agosetup wizard: use a PROPFIND instead of a GET on the webdav url
Olivier Goffart [Tue, 3 Mar 2015 15:01:41 +0000 (16:01 +0100)]
setup wizard: use a PROPFIND instead of a GET on the webdav url

In order to initiate the conneciton, we should not send a GET on the
webdav URL because that is not a valid webdav command on a collection.

Issue #2911

11 years agoDiscoveryJob: Fix progress display.
Klaas Freitag [Tue, 3 Mar 2015 15:00:45 +0000 (16:00 +0100)]
DiscoveryJob: Fix progress display.

This fixes #2909

11 years agoFix build of the legacy propagator
Olivier Goffart [Tue, 3 Mar 2015 09:05:38 +0000 (10:05 +0100)]
Fix build of the legacy propagator

11 years agoDo not ask for the password when the check server job times up
Olivier Goffart [Tue, 3 Mar 2015 07:33:59 +0000 (08:33 +0100)]
Do not ask for the password when the check server job times up

QNetworkReply::OperationCanceledError may be both because of anthentication
error (because the HTTPCredentials abort the reply) or because of a timeout
(the timer abort the reply). We should only ask for the password if the
reply was canceled because the password was wrong.

11 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Tue, 3 Mar 2015 07:18:28 +0000 (02:18 -0500)]
[tx-robot] updated from transifex

11 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Tue, 3 Mar 2015 06:15:17 +0000 (01:15 -0500)]
[tx-robot] updated from transifex

11 years agoDiscovery: Free some memory before propagate (#2902)
Markus Goetz [Mon, 2 Mar 2015 14:08:21 +0000 (15:08 +0100)]
Discovery: Free some memory before propagate (#2902)

11 years agoDiscovery: Free some memory on VIO dir close (#2902)
Markus Goetz [Mon, 2 Mar 2015 13:09:01 +0000 (14:09 +0100)]
Discovery: Free some memory on VIO dir close (#2902)

11 years agoLsColJob: one must now specify the properties
Olivier Goffart [Mon, 2 Mar 2015 10:00:37 +0000 (11:00 +0100)]
LsColJob: one must now specify the properties

So the discovery phase don't ask for the quota, and the selective sync
don't ask for all the other properties

Issue #2906

11 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sun, 1 Mar 2015 07:18:29 +0000 (02:18 -0500)]
[tx-robot] updated from transifex

11 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sat, 28 Feb 2015 07:18:39 +0000 (02:18 -0500)]
[tx-robot] updated from transifex

11 years agoUpdate Windows cross build instructions for 1.8
Daniel Molkentin [Fri, 27 Feb 2015 16:13:14 +0000 (17:13 +0100)]
Update Windows cross build instructions for 1.8

11 years agolibowncloudsync: Don't link to Qt SQL and Qt XML
Markus Goetz [Fri, 27 Feb 2015 15:20:08 +0000 (16:20 +0100)]
libowncloudsync: Don't link to Qt SQL and Qt XML

For issue #2901 ..

11 years agoFileSystem: Remove QFileInfo based implementations.
Klaas Freitag [Fri, 27 Feb 2015 14:27:49 +0000 (15:27 +0100)]
FileSystem: Remove QFileInfo based implementations.

QFileInfo has to be refreshed if the underlying file has been
modified in between. That is dangerous so ckamm and me decided
to eliminate the QFileInfo based implementations.

This was triggered by a bug that the client uploaded files that
it should not have.

11 years agoEnsure good sync state if in-progress folder is deleted. #2896
Christian Kamm [Fri, 27 Feb 2015 09:42:59 +0000 (10:42 +0100)]
Ensure good sync state if in-progress folder is deleted. #2896

The slotFolderSyncFinished() didn't reliably trigger because
the folder was being deleted before the syncFinished signal could
fire.

11 years agoInform user about ignored long files. #2882
Christian Kamm [Fri, 27 Feb 2015 10:25:03 +0000 (11:25 +0100)]
Inform user about ignored long files. #2882

11 years agoToken Auth: Allow empty token
Markus Goetz [Fri, 27 Feb 2015 10:54:28 +0000 (11:54 +0100)]
Token Auth: Allow empty token

Just username/password. The received token will automatically be stored
inside the QNetworkCookieJar.

11 years agoMerge pull request #2900 from rullzer/qt-4.8-fix
Daniel Molkentin [Fri, 27 Feb 2015 07:56:40 +0000 (08:56 +0100)]
Merge pull request #2900 from rullzer/qt-4.8-fix

static member QFileInfo::exists is not available on 4.8

11 years agostatic member QFileInfo::exists is not available on 4.8
Roeland Jago Douma [Fri, 27 Feb 2015 07:43:33 +0000 (08:43 +0100)]
static member QFileInfo::exists is not available on 4.8

11 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Fri, 27 Feb 2015 07:18:29 +0000 (02:18 -0500)]
[tx-robot] updated from transifex

11 years agocsync_exclude: Ignore files where the filename length is > 254 chars.
Klaas Freitag [Thu, 26 Feb 2015 16:09:49 +0000 (17:09 +0100)]
csync_exclude: Ignore files where the filename length is > 254 chars.

This is for example HFS+ and others. It fixes #2882

11 years agoSocketAPI: Append trailing slash for directories in UPDATE_VIEW.
Klaas Freitag [Thu, 26 Feb 2015 15:40:48 +0000 (16:40 +0100)]
SocketAPI: Append trailing slash for directories in UPDATE_VIEW.

This fixes #2233

11 years agoPropagator: Let network propagator job understand a new header OC-ErrorString
Olivier Goffart [Thu, 26 Feb 2015 14:52:07 +0000 (15:52 +0100)]
Propagator: Let network propagator job understand a new header OC-ErrorString

This allows the server to send a readable error string in many cases

11 years agoRemove mention of allprop #2865
Christian Kamm [Thu, 26 Feb 2015 11:36:11 +0000 (12:36 +0100)]
Remove mention of allprop #2865

11 years agoPropagator: Upload files with future timestamps. #2880
Christian Kamm [Thu, 26 Feb 2015 10:00:06 +0000 (11:00 +0100)]
Propagator: Upload files with future timestamps. #2880

11 years agoSharing: Fix for folders containing &. #2892
Christian Kamm [Thu, 26 Feb 2015 08:40:54 +0000 (09:40 +0100)]
Sharing: Fix for folders containing &. #2892

11 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Thu, 26 Feb 2015 07:18:35 +0000 (02:18 -0500)]
[tx-robot] updated from transifex

11 years agoAdd proper copyright headers to some files, fixes #2869
Klaas Freitag [Wed, 25 Feb 2015 16:00:27 +0000 (17:00 +0100)]
Add proper copyright headers to some files, fixes #2869

11 years agoShareDialog: Improve some GUI, fix #2850
Klaas Freitag [Wed, 25 Feb 2015 12:44:12 +0000 (13:44 +0100)]
ShareDialog: Improve some GUI, fix #2850

This improves some wording and fixes some show/hide issues with password
setting.

11 years agoSharedialog: Add a Share button.
Klaas Freitag [Wed, 25 Feb 2015 12:41:44 +0000 (13:41 +0100)]
Sharedialog: Add a Share button.

11 years agoCrash Reporter: fix submit URL
Daniel Molkentin [Wed, 25 Feb 2015 11:33:08 +0000 (12:33 +0100)]
Crash Reporter: fix submit URL

11 years agoshell_integration: Remove OwnCloud from public strings on OSX
Jocelyn Turcotte [Wed, 25 Feb 2015 11:10:36 +0000 (12:10 +0100)]
shell_integration: Remove OwnCloud from public strings on OSX

Also removed it from commented out logs just in case.

11 years agoHandle 503 due to maintenance more gracefully. #2884
Christian Kamm [Wed, 25 Feb 2015 08:49:39 +0000 (09:49 +0100)]
Handle 503 due to maintenance more gracefully. #2884

11 years agoDiscovery: Distinguish 503 Storage not available. #2884
Christian Kamm [Wed, 25 Feb 2015 07:57:39 +0000 (08:57 +0100)]
Discovery: Distinguish 503 Storage not available. #2884

11 years agoSocketAPI: Don't mark .lnk files as ignored on windows. #2447
Christian Kamm [Wed, 25 Feb 2015 10:55:48 +0000 (11:55 +0100)]
SocketAPI: Don't mark .lnk files as ignored on windows. #2447

11 years agolnk files: Fix exists() calls. #2792
Christian Kamm [Wed, 25 Feb 2015 09:51:05 +0000 (10:51 +0100)]
lnk files: Fix exists() calls. #2792

11 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Wed, 25 Feb 2015 07:18:31 +0000 (02:18 -0500)]
[tx-robot] updated from transifex

11 years agoDiscovery: Fix handling of 503 on a folder. #2884
Christian Kamm [Wed, 25 Feb 2015 06:55:06 +0000 (07:55 +0100)]
Discovery: Fix handling of 503 on a folder. #2884

11 years agoRemove extra ; to silence warning.
Christian Kamm [Wed, 25 Feb 2015 06:14:05 +0000 (07:14 +0100)]
Remove extra ; to silence warning.

11 years agoDiscovery: Preserve the error message.
Klaas Freitag [Tue, 24 Feb 2015 10:00:24 +0000 (11:00 +0100)]
Discovery: Preserve the error message.

11 years agoSome minor cleanups.
Klaas Freitag [Tue, 24 Feb 2015 09:58:51 +0000 (10:58 +0100)]
Some minor cleanups.

11 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Tue, 24 Feb 2015 07:18:32 +0000 (02:18 -0500)]
[tx-robot] updated from transifex

11 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Tue, 24 Feb 2015 06:15:20 +0000 (01:15 -0500)]
[tx-robot] updated from transifex

11 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Mon, 23 Feb 2015 07:18:25 +0000 (02:18 -0500)]
[tx-robot] updated from transifex

11 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sun, 22 Feb 2015 07:18:23 +0000 (02:18 -0500)]
[tx-robot] updated from transifex

11 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sun, 22 Feb 2015 06:15:16 +0000 (01:15 -0500)]
[tx-robot] updated from transifex

11 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sat, 21 Feb 2015 07:18:23 +0000 (02:18 -0500)]
[tx-robot] updated from transifex

11 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sat, 21 Feb 2015 06:15:14 +0000 (01:15 -0500)]
[tx-robot] updated from transifex

11 years agoDon't translate dummy strings
Daniel Molkentin [Thu, 19 Feb 2015 10:34:15 +0000 (11:34 +0100)]
Don't translate dummy strings

11 years agoActivity view: Always add date
Daniel Molkentin [Thu, 19 Feb 2015 09:45:29 +0000 (10:45 +0100)]
Activity view: Always add date

Fixes #2223

11 years agoUpdate GetGitRevisionDescription.cmake
Olivier Goffart [Fri, 20 Feb 2015 09:09:47 +0000 (10:09 +0100)]
Update GetGitRevisionDescription.cmake

From https://github.com/rpavlik/cmake-modules

11 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Fri, 20 Feb 2015 07:18:35 +0000 (02:18 -0500)]
[tx-robot] updated from transifex

11 years agoShow the settings also when no arguments are passed
Jocelyn Turcotte [Thu, 19 Feb 2015 15:54:34 +0000 (16:54 +0100)]
Show the settings also when no arguments are passed

sendMessage would only be called if there were options to
be sent to the running application.
Fix the issue by having explicitly named messages and always
send the show settings message.

Issue #2374

11 years agoAdd a NO_MSG_HANDLER cmake option
Jocelyn Turcotte [Thu, 19 Feb 2015 15:49:39 +0000 (16:49 +0100)]
Add a NO_MSG_HANDLER cmake option

This allows QDebug to output to stdout or OutputDebugString
to ease development.

11 years agoSyncEngine: Fix move would re-upload the file
Olivier Goffart [Thu, 19 Feb 2015 14:00:37 +0000 (15:00 +0100)]
SyncEngine: Fix move would re-upload the file

Because SyncJournalDb::postSyncCleanup was deleting the entries in the database

11 years agolibsync: Fix qWarning in SyncEngine::slotJobCompleted saying we cannot find the sync...
Olivier Goffart [Thu, 19 Feb 2015 12:13:45 +0000 (13:13 +0100)]
libsync: Fix qWarning in SyncEngine::slotJobCompleted saying we cannot find the sync item when moving

We need to compare against the original file name, that's why it's there

11 years agoMerge branch 'master' into 1.8
Olivier Goffart [Thu, 19 Feb 2015 10:32:16 +0000 (11:32 +0100)]
Merge branch 'master' into 1.8

11 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Thu, 19 Feb 2015 07:19:25 +0000 (02:19 -0500)]
[tx-robot] updated from transifex

11 years agoshell_integration: Fix a crash on explorer startup
Jocelyn Turcotte [Wed, 18 Feb 2015 16:19:59 +0000 (17:19 +0100)]
shell_integration: Fix a crash on explorer startup

There is a race condition that can initialize the RemotePathChecker
instance concurrently on the same address and cause a crash when locking
the mutex. The reason is that local static initialization is not
thread-safe with MSVC2013.

Fix the issue by using call_once to initialize a static unique_ptr
instead.

This could be related to some reports of issue #2836.

11 years agoSyncEngine: better merge of the renames node
Olivier Goffart [Tue, 17 Feb 2015 17:40:17 +0000 (18:40 +0100)]
SyncEngine: better merge of the renames node

The same file is on the two sync trees under different names in case of a rename
We must therefore use the rename target as the key in the _syncItemMap to ensure
that the trees are correctly merged.

Also use the same UTF-8 decoding for the target than for the actual file in order
to catch invalid utf-8 in the rename target

11 years agoSyncFileItem::operator<: must return false when two items are equal
Olivier Goffart [Tue, 17 Feb 2015 17:22:22 +0000 (18:22 +0100)]
SyncFileItem::operator<: must return false when two items are equal

Fixes #2852

11 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Wed, 18 Feb 2015 07:18:34 +0000 (02:18 -0500)]
[tx-robot] updated from transifex