nextcloud-desktop.git
9 years agoUpgrade some qCDebug to qCInfo or qCWarning
Jocelyn Turcotte [Thu, 30 Mar 2017 11:46:20 +0000 (13:46 +0200)]
Upgrade some qCDebug to qCInfo or qCWarning

Use qCInfo for anything that has general value for support and
development. Use qCWarning for any recoverable error and qCCritical
for anything that could result in data loss or would identify a serious
issue with the code.

Issue #5647

9 years agoUse Qt logging categories for logging
Jocelyn Turcotte [Tue, 9 May 2017 12:24:11 +0000 (14:24 +0200)]
Use Qt logging categories for logging

This gives more insight about the logs and allow setting fine-tuned
logging rules. The categories are set to only output Info by default
so this allows us to provide more concise logging while keeping the
ability to extract more information for a specific category when
developping or debugging customer issues.

Issue #5647

9 years agoImprove the logging message pattern
Jocelyn Turcotte [Tue, 28 Mar 2017 13:56:07 +0000 (15:56 +0200)]
Improve the logging message pattern

Add the log level and category name in the output. Only output the
thread ID and function name for qCDebug statements as they are not
necessary for general use and make the log harder to read.

Also make sure that the message pattern is set when NO_MSG_HANDLER is
used. Using an environment variable should have priority over it anyway.

9 years agoRemove the unused folderwatcher_qt implementation
Jocelyn Turcotte [Tue, 28 Mar 2017 18:55:29 +0000 (20:55 +0200)]
Remove the unused folderwatcher_qt implementation

9 years agoChangeLog: 2.4 until now
Markus Goetz [Thu, 11 May 2017 10:03:52 +0000 (12:03 +0200)]
ChangeLog: 2.4 until now

9 years agoDetect maintenance mode #4485
Christian Kamm [Mon, 8 May 2017 10:39:08 +0000 (12:39 +0200)]
Detect maintenance mode #4485

When we first detect a 503 (probably from a PROPFIND) and enter the
ServiceUnavailable state, we new trigger a status.php query that will
switch the state to MaintenanceMode if necessary.

9 years agoSharing: Fix UI glitch when sharing is disabled
Markus Goetz [Mon, 8 May 2017 18:57:18 +0000 (20:57 +0200)]
Sharing: Fix UI glitch when sharing is disabled

9 years agoSharing: Optionally show warning that links are public
Markus Goetz [Thu, 4 May 2017 09:31:24 +0000 (11:31 +0200)]
Sharing: Optionally show warning that links are public

For https://github.com/owncloud/enterprise/issues/1914

9 years agoMerge branch 2.3 into master
Jocelyn Turcotte [Tue, 9 May 2017 16:23:01 +0000 (18:23 +0200)]
Merge branch 2.3 into master

9 years agoUpdate release_template.md
Markus Goetz [Tue, 9 May 2017 11:12:22 +0000 (13:12 +0200)]
Update release_template.md

9 years agoVERSION.cmake: This is 2.3.3 now
Markus Goetz [Tue, 9 May 2017 10:23:52 +0000 (12:23 +0200)]
VERSION.cmake: This is 2.3.3 now

9 years agoRemove stray debug output
Christian Kamm [Tue, 9 May 2017 08:37:40 +0000 (10:37 +0200)]
Remove stray debug output

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Tue, 9 May 2017 00:18:36 +0000 (02:18 +0200)]
[tx-robot] updated from transifex

9 years agoUse QTemporaryDir in TestOwnSql
Jocelyn Turcotte [Mon, 8 May 2017 17:17:30 +0000 (19:17 +0200)]
Use QTemporaryDir in TestOwnSql

This will improve the cleanup and possibly help for #5366.

9 years agoJenkinsfile: Also use 4 parallel jobs for linux builds
Jocelyn Turcotte [Mon, 8 May 2017 16:36:11 +0000 (18:36 +0200)]
Jenkinsfile: Also use 4 parallel jobs for linux builds

9 years agoFavor QtKeychain installed together with Qt
Jocelyn Turcotte [Mon, 8 May 2017 16:19:29 +0000 (18:19 +0200)]
Favor QtKeychain installed together with Qt

By default we will look in /usr/lib, which would prevent us from
using a different path for Qt as QtKeychain depends on Qt itself.

9 years agoUpdate release_template.md
Markus Goetz [Mon, 8 May 2017 18:34:57 +0000 (20:34 +0200)]
Update release_template.md

9 years agoUpdate release_template.md
Markus Goetz [Mon, 8 May 2017 15:01:37 +0000 (17:01 +0200)]
Update release_template.md

9 years agoUpdate release_template.md
Markus Goetz [Mon, 8 May 2017 14:17:07 +0000 (16:17 +0200)]
Update release_template.md

9 years agoChangeLog: 2.3.2
Markus Goetz [Mon, 8 May 2017 13:50:09 +0000 (15:50 +0200)]
ChangeLog: 2.3.2

9 years agoRemove 3rdparty qjson #5710
Christian Kamm [Wed, 26 Apr 2017 10:41:30 +0000 (12:41 +0200)]
Remove 3rdparty qjson #5710

9 years agoPort PollJob responses to Qt5's QJson #5710
Christian Kamm [Wed, 26 Apr 2017 10:40:32 +0000 (12:40 +0200)]
Port PollJob responses to Qt5's QJson #5710

9 years agoSwitch JsonApiJob to Qt5's QJson #5710
Christian Kamm [Wed, 26 Apr 2017 10:15:33 +0000 (12:15 +0200)]
Switch JsonApiJob to Qt5's QJson #5710

9 years agoSharing: Switch from QtJson to Qt5's QJson #5710
Christian Kamm [Wed, 26 Apr 2017 09:38:10 +0000 (11:38 +0200)]
Sharing: Switch from QtJson to Qt5's QJson #5710

9 years agoDiscovery: Increase the MAX_DEPTH and show deep folder as ignored
Olivier Goffart [Fri, 28 Apr 2017 11:16:19 +0000 (13:16 +0200)]
Discovery: Increase the MAX_DEPTH and show deep folder as ignored

Before this patch, to deep folder would just be ignored, without any feedback.
This patch makes it so deep folder are properly shown as ignored in the UI.

Also increase the MAX_DEPTH

Issue: #1067

9 years agoSelective Sync: Open sub folder context menu #5596
Markus Goetz [Wed, 26 Apr 2017 18:03:55 +0000 (20:03 +0200)]
Selective Sync: Open sub folder context menu #5596

9 years agoExclude list: remove .htaccess
Olivier Goffart [Fri, 5 May 2017 11:35:40 +0000 (13:35 +0200)]
Exclude list: remove .htaccess

As per issue #5701, if the server does not support it, let the server
show return an error, but we should not blacklist it localy

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Mon, 8 May 2017 00:18:29 +0000 (02:18 +0200)]
[tx-robot] updated from transifex

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

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

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Fri, 5 May 2017 00:18:28 +0000 (02:18 +0200)]
[tx-robot] updated from transifex

9 years agoDownloads: Remove empty temporary if disk space full #5746
Christian Kamm [Thu, 4 May 2017 13:12:14 +0000 (15:12 +0200)]
Downloads: Remove empty temporary if disk space full #5746

9 years agoSSL error handling: Remove unnecessary confusing code
Christian Kamm [Thu, 27 Apr 2017 08:13:55 +0000 (10:13 +0200)]
SSL error handling: Remove unnecessary confusing code

I'm confident this is unnecessary. The original bug in #3283 was
to call ignoreSslErrors() without an argument in the 'accept'
case, which meant ignoring *all* subsequent SSL errors.

With that fixed, explicitly aborting the reply and resetting QNAM
is not needed since not ignoring the error will lead to the SSL
handshake failing.

See also:
  75b38d1a2ffe57d0f1eb3ebb8c5f30b8b2a185e4 (workaround introduced)
  89376e14d6135a6f39a6df99d54fde253573575c (real fix)
  76ce5adbf02af052ab8d7596b8ded75c7d4d7fcb (cherry-pick of workaround)

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Thu, 4 May 2017 00:18:38 +0000 (02:18 +0200)]
[tx-robot] updated from transifex

9 years agoWizard: Don't show not-so-useful result page #5726
Markus Goetz [Wed, 26 Apr 2017 16:31:12 +0000 (18:31 +0200)]
Wizard: Don't show not-so-useful result page #5726

Better immediately show the settings dialog where people can see what's going on.
They can go to sync folder or webinterface from there.

9 years agoBetter words for the error message when one cannot create the database.
Olivier Goffart [Fri, 28 Apr 2017 09:57:02 +0000 (11:57 +0200)]
Better words for the error message when one cannot create the database.

Issue #5291

9 years agoMerge pull request #5741 from owncloud/add-checksum-details
Matthew Setter [Wed, 3 May 2017 11:32:21 +0000 (13:32 +0200)]
Merge pull request #5741 from owncloud/add-checksum-details

Document the checksums addition in 10.0

9 years agoIncrease the clarity of the checksum statements
Matthew Setter [Wed, 3 May 2017 11:17:09 +0000 (13:17 +0200)]
Increase the clarity of the checksum statements

This comes after discussion and feedback with @phil-davis.

9 years agoShare dialog: Add option to copy/email direct links #5627
Christian Kamm [Tue, 2 May 2017 10:58:01 +0000 (12:58 +0200)]
Share dialog: Add option to copy/email direct links #5627

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Wed, 3 May 2017 00:18:29 +0000 (02:18 +0200)]
[tx-robot] updated from transifex

9 years agoDocument the checksums addition in 10.0
Matthew Setter [Tue, 2 May 2017 10:46:33 +0000 (12:46 +0200)]
Document the checksums addition in 10.0

This commit documents the new checksums addition in 10.0, specifically
in the desktop client. This fixes owncloud/documentation/issues/2964.

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

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Mon, 1 May 2017 00:18:29 +0000 (02:18 +0200)]
[tx-robot] updated from transifex

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

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sat, 29 Apr 2017 00:18:29 +0000 (02:18 +0200)]
[tx-robot] updated from transifex

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Fri, 28 Apr 2017 00:18:30 +0000 (02:18 +0200)]
[tx-robot] updated from transifex

9 years agoWhen creating explorer favorite use more specific windows functions (#5690)
Luca Lorenzetto [Thu, 27 Apr 2017 08:34:07 +0000 (10:34 +0200)]
When creating explorer favorite use more specific windows functions (#5690)

Fixes https://github.com/owncloud/client/issues/2719

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Thu, 27 Apr 2017 00:18:30 +0000 (02:18 +0200)]
[tx-robot] updated from transifex

9 years agoMove check for mono icons into separate function
Tommy Sparber [Mon, 10 Oct 2016 10:38:05 +0000 (12:38 +0200)]
Move check for mono icons into separate function

9 years agoSqlDatabase: Ask freeSpace for directory, fix for Windows
Christian Kamm [Wed, 26 Apr 2017 08:12:26 +0000 (10:12 +0200)]
SqlDatabase: Ask freeSpace for directory, fix for Windows

See owncloud/enterprise#1955

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Wed, 26 Apr 2017 00:18:39 +0000 (02:18 +0200)]
[tx-robot] updated from transifex

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Tue, 25 Apr 2017 00:18:37 +0000 (02:18 +0200)]
[tx-robot] updated from transifex

9 years agoChangeLog for 2.3.2
Markus Goetz [Mon, 24 Apr 2017 10:08:36 +0000 (12:08 +0200)]
ChangeLog for 2.3.2

9 years agotemplates > .github and create release_template (#5590)
Michael Stingl [Mon, 24 Apr 2017 09:54:53 +0000 (11:54 +0200)]
templates > .github and create release_template (#5590)

9 years agoMerge remote-tracking branch 'origin/2.3'
Christian Kamm [Mon, 24 Apr 2017 08:32:53 +0000 (10:32 +0200)]
Merge remote-tracking branch 'origin/2.3'

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Mon, 24 Apr 2017 00:18:29 +0000 (02:18 +0200)]
[tx-robot] updated from transifex

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sun, 23 Apr 2017 00:18:28 +0000 (02:18 +0200)]
[tx-robot] updated from transifex

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sat, 22 Apr 2017 00:18:28 +0000 (02:18 +0200)]
[tx-robot] updated from transifex

9 years agoRemove all conditional checks for Qt 4.x (#5505)
Kiril Vladimiroff [Fri, 21 Apr 2017 16:13:32 +0000 (19:13 +0300)]
Remove all conditional checks for Qt 4.x (#5505)

9 years agoSharing multiple public links: Depend on new capability
Christian Kamm [Fri, 21 Apr 2017 12:08:00 +0000 (14:08 +0200)]
Sharing multiple public links: Depend on new capability

See owncloud/core#27709: files_sharing/public/multiple

9 years agoMerge pull request #5695 from ckamm/sharedialog-multiplelinkshares
ckamm [Fri, 21 Apr 2017 08:17:55 +0000 (10:17 +0200)]
Merge pull request #5695 from ckamm/sharedialog-multiplelinkshares

Multiple link shares and UI adjustments for share dialog

9 years agoShareDialog: Review fixes
Christian Kamm [Wed, 12 Apr 2017 09:09:20 +0000 (11:09 +0200)]
ShareDialog: Review fixes

* Allow creating nameless shares
* Display token as name for nameless shares
  (both to be consistent with server)
* Allow changing a share's name by editing it in the table
* Minor adjustments

9 years agoShareDialog: Add support for multiple public link shares #5655
Christian Kamm [Wed, 5 Apr 2017 07:38:46 +0000 (09:38 +0200)]
ShareDialog: Add support for multiple public link shares #5655

Starting from oC 10.0.0 having several public link shares with
different attributes for a path will be supported. This adds
functionality to create, edit and delete these public link shares.

The behavior is currently gated by server version, but should be
adapted to use a capability as soon as one is introduced, see
owncloud/core#27622.

The UI reduces to a single-share version when talking to older servers.

Testing scenarios:
* Link sharing is disabled (by capability, not by theme)
* Required passwords
* Required expiry
* Forbidden 'allow upload' for folders
* New and old servers

9 years agoRename ShareWidget to ShareUserLine
Christian Kamm [Tue, 4 Apr 2017 13:05:08 +0000 (15:05 +0200)]
Rename ShareWidget to ShareUserLine

There will probably be a ShareLinkLine too, due to #5655

9 years agoShareDialog: Use a tab widget #5655
Christian Kamm [Tue, 4 Apr 2017 12:41:25 +0000 (14:41 +0200)]
ShareDialog: Use a tab widget #5655

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

9 years agoRemoved Magic Numbers in propagator #5685 (#5705)
Kaustubh Welankar [Thu, 20 Apr 2017 09:14:53 +0000 (14:44 +0530)]
Removed Magic Numbers in propagator #5685 (#5705)

9 years agoRequire Qt5
Olivier Goffart [Thu, 13 Apr 2017 11:02:00 +0000 (13:02 +0200)]
Require Qt5

9 years agoDisable Qt4 CI
Dominik Schmidt [Tue, 4 Apr 2017 13:53:22 +0000 (15:53 +0200)]
Disable Qt4 CI

9 years agoFix a crash in ProxyAuthHandler (#5711)
ckamm [Thu, 20 Apr 2017 07:21:33 +0000 (09:21 +0200)]
Fix a crash in ProxyAuthHandler (#5711)

See
https://sentry.io/owncloud/desktop-win-and-mac/issues/243433178/activity/
https://sentry.io/owncloud/desktop-win-and-mac/issues/234182688/activity/

The problem was that an account's QNetworkAccessManager can be deleted
when reentering the event loop.

9 years agoFolderStatusModel: Fix crash for empty relativePath (#5713)
ckamm [Thu, 20 Apr 2017 07:16:55 +0000 (09:16 +0200)]
FolderStatusModel: Fix crash for empty relativePath (#5713)

The problem was that split("", SkipEmptyParts) is the empty list.

See
https://sentry.io/owncloud/desktop-win-and-mac/issues/251167186/

9 years agoSome Dialogs: Bring to top on tray click #5515 #5566 (#5664)
Markus Goetz [Thu, 20 Apr 2017 06:55:44 +0000 (08:55 +0200)]
Some Dialogs: Bring to top on tray click #5515 #5566 (#5664)

On my OS X, it might get hidden under other apps while I opened it and then want to quickly
verify something in another app.

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Thu, 20 Apr 2017 00:18:30 +0000 (02:18 +0200)]
[tx-robot] updated from transifex

9 years agoServer: Parse version from capabilities too #5691 (#5698)
Markus Goetz [Wed, 19 Apr 2017 09:02:03 +0000 (11:02 +0200)]
Server: Parse version from capabilities too #5691 (#5698)

Newer servers will have the option of hiding version, versionstring, edition
and productname. They will always send the full information in the capabilities.

9 years agoadded owncloudcmd bandwidth limit parameter (#5707)
dheule [Wed, 19 Apr 2017 08:32:36 +0000 (10:32 +0200)]
added owncloudcmd bandwidth limit parameter (#5707)

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Wed, 19 Apr 2017 00:18:38 +0000 (02:18 +0200)]
[tx-robot] updated from transifex

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

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Mon, 17 Apr 2017 00:18:28 +0000 (02:18 +0200)]
[tx-robot] updated from transifex

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sun, 16 Apr 2017 00:18:27 +0000 (02:18 +0200)]
[tx-robot] updated from transifex

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sat, 15 Apr 2017 00:18:27 +0000 (02:18 +0200)]
[tx-robot] updated from transifex

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Fri, 14 Apr 2017 00:18:37 +0000 (02:18 +0200)]
[tx-robot] updated from transifex

9 years agoMerge remote-tracking branch 'origin/avatar_pics'
Olivier Goffart [Thu, 13 Apr 2017 09:40:27 +0000 (11:40 +0200)]
Merge remote-tracking branch 'origin/avatar_pics'

Also fix compilation because of 22370fdbdadd06f0cacd249a8d7a32f0d3c1374e

Pull request #5482

9 years agoMerge remote-tracking branch 'origin/2.3'
Olivier Goffart [Thu, 13 Apr 2017 08:19:35 +0000 (10:19 +0200)]
Merge remote-tracking branch 'origin/2.3'

 Conflicts:
VERSION.cmake

9 years agoAccountSettings: Sync with clean discovery on Ctrl-F6 #5666
Christian Kamm [Wed, 12 Apr 2017 13:25:26 +0000 (15:25 +0200)]
AccountSettings: Sync with clean discovery on Ctrl-F6 #5666

9 years agoAccountSettings: Easier access to selected folder alias
Christian Kamm [Wed, 12 Apr 2017 13:24:54 +0000 (15:24 +0200)]
AccountSettings: Easier access to selected folder alias

9 years agoowncloudcmd: return code depend on sync result
Olivier Goffart [Fri, 31 Mar 2017 09:13:18 +0000 (11:13 +0200)]
owncloudcmd: return code depend on sync result

Issue #3936

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

9 years agoAvatar: macOS support
Markus Goetz [Wed, 12 Apr 2017 15:55:28 +0000 (17:55 +0200)]
Avatar: macOS support

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

9 years agoShareDialog: Reenable user input textedit on error #5694
Christian Kamm [Tue, 11 Apr 2017 13:50:32 +0000 (15:50 +0200)]
ShareDialog: Reenable user input textedit on error #5694

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Tue, 11 Apr 2017 00:18:28 +0000 (02:18 +0200)]
[tx-robot] updated from transifex

9 years agoWizard: Improve folder creation (2)
Markus Goetz [Mon, 10 Apr 2017 14:15:28 +0000 (16:15 +0200)]
Wizard: Improve folder creation (2)

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Mon, 10 Apr 2017 00:18:28 +0000 (02:18 +0200)]
[tx-robot] updated from transifex

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sun, 9 Apr 2017 00:18:27 +0000 (02:18 +0200)]
[tx-robot] updated from transifex

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sat, 8 Apr 2017 00:18:38 +0000 (02:18 +0200)]
[tx-robot] updated from transifex

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Fri, 7 Apr 2017 23:15:19 +0000 (01:15 +0200)]
[tx-robot] updated from transifex

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Fri, 7 Apr 2017 00:18:29 +0000 (02:18 +0200)]
[tx-robot] updated from transifex

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Thu, 6 Apr 2017 00:18:28 +0000 (02:18 +0200)]
[tx-robot] updated from transifex

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Wed, 5 Apr 2017 23:15:15 +0000 (01:15 +0200)]
[tx-robot] updated from transifex

9 years agoWizard: Improve folder creation
Markus Goetz [Wed, 5 Apr 2017 14:55:36 +0000 (16:55 +0200)]
Wizard: Improve folder creation