]> dgit.raspbian.org Git - nextcloud-desktop.git/log
nextcloud-desktop.git
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

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

9 years agoDoc: Update to new sync journal db name #5662
Christian Kamm [Tue, 4 Apr 2017 08:49:26 +0000 (10:49 +0200)]
Doc: Update to new sync journal db name #5662

9 years agoTransfers: Show a decimal for single digit MB rates #4428
Christian Kamm [Tue, 4 Apr 2017 07:54:06 +0000 (09:54 +0200)]
Transfers: Show a decimal for single digit MB rates #4428

9 years agoShareDialog: Hide the detailed permissions if there is only one #5655
Christian Kamm [Tue, 28 Mar 2017 09:15:53 +0000 (11:15 +0200)]
ShareDialog: Hide the detailed permissions if there is only one #5655

9 years agoShareDialog: Margin and spacing refinements #5627
Christian Kamm [Tue, 28 Mar 2017 09:05:24 +0000 (11:05 +0200)]
ShareDialog: Margin and spacing refinements #5627

9 years agoShareDialog: Fix thumbnail size #5654
Christian Kamm [Tue, 28 Mar 2017 09:04:57 +0000 (11:04 +0200)]
ShareDialog: Fix thumbnail size #5654

9 years agoowncloudcmd docs: Mention required sync-exclude.lst #5679
Christian Kamm [Tue, 4 Apr 2017 07:38:23 +0000 (09:38 +0200)]
owncloudcmd docs: Mention required sync-exclude.lst #5679

9 years agoImprove http error messages; cleanup
Christian Kamm [Thu, 23 Mar 2017 14:53:22 +0000 (15:53 +0100)]
Improve http error messages; cleanup

By default QNetworkReply::errorString() often produces messages like
   "Error downloading <url> - server replied: <reason>"
but the "downloading" part invariably confuses people since the
error might very well have been produced by a PUT request.

This commit produces clearer error messages for HTTP errors.

Additionally:
* Remove some unnecessary null checks from slots connected to
  network job signals and document that these signals never send
  null replies.
* There was a bug where AbstractNetworkJob::_timedout wasn't
  set when derived classes overrode slotTimeout. We now ensure
  it's always set by disallowing overrides of slotTimeout.
  Instead it now calls onTimedOut, which allows custom handling.
* Several subclasses declared errorString, isTimedOut. Move
  these to AbstractNetworkJob.
* Unify handling of OC-ErrorString (via the new, general
  Job::errorString)
* Add documentation in various places.

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

9 years agoFixing a duplicate in the build instructions
Samuel Alfageme [Mon, 3 Apr 2017 12:49:41 +0000 (14:49 +0200)]
Fixing a duplicate in the build instructions

- The duplicate and some typos were introduced in 42aed56a5a92a32b86e2bdd1c6e9d75e27728c8b
- Also fixes some minor format issues. There's a lot of notes in this docs, we should refactor some.

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Mon, 3 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, 2 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, 1 Apr 2017 00:18:36 +0000 (02:18 +0200)]
[tx-robot] updated from transifex

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

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

9 years agoChunking NG: Also send OC-Total-Length on MOVE
Markus Goetz [Wed, 29 Mar 2017 16:23:48 +0000 (18:23 +0200)]
Chunking NG: Also send OC-Total-Length on MOVE

For https://github.com/owncloud/core/issues/26988

9 years agocomplete url when using themed wizardUrlPostfix
Roeland Jago Douma [Wed, 29 Mar 2017 15:33:32 +0000 (17:33 +0200)]
complete url when using themed wizardUrlPostfix

Before we would only open the part of the url that the users entered.
Now if the wizardUrlPostfix is used this is should be appended to that
when opening the browser on the result page.

9 years agoRemoved the coverity badge
Samuel Alfageme [Wed, 29 Mar 2017 15:26:10 +0000 (17:26 +0200)]
Removed the coverity badge

Following the discussion on https://github.com/owncloud/client/commit/da45d99b8fed9a37df8031433e11eb574c28a8df
Also updated the link to the current building instructions.

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

9 years agoPropagateDownload: fix possible crash
Olivier Goffart [Tue, 28 Mar 2017 13:21:59 +0000 (15:21 +0200)]
PropagateDownload: fix possible crash

Backtrace looks like this:
Crash: EXCEPTION_ACCESS_VIOLATION_READ at 0x0
  File "propagatedownload.cpp", line 234, in OCC::GETFileJob::slotReadyRead
  File "moc_propagatedownl_CA5CFSHZDTX34X.cpp", line 86, in OCC::GETFileJob::qt_static_metacall
  File "qobject.cpp", line 495, in QMetaCallEvent::placeMetaCall
  File "qobject.cpp", line 1256, in QObject::event
  File "qapplication.cpp", line 3804, in QApplicationPrivate::notify_helper

GETFileJob::slotReadyRead can be called with a QueuedConnection when the
bendwith manager is involved. In that case, if the QNAM was reset
in between, the reply might have been destroyed.
(This is only speculation based on the backtrace)

9 years agoAccountState: Attempt to fix a crash
Olivier Goffart [Tue, 28 Mar 2017 13:11:58 +0000 (15:11 +0200)]
AccountState: Attempt to fix a crash

Backtrace from the crash reporter:

Crash: EXCEPTION_ACCESS_VIOLATION_READ at 0x21
  File "qcoreapplication.cpp", line 1281, in QCoreApplication::postEvent
  File "qobject.cpp", line 2125, in QObject::deleteLater
  File "connectionvalidator.cpp", line 240, in OCC::ConnectionValidator::reportResult
  File "connectionvalidator.cpp", line 206, in OCC::ConnectionValidator::slotAuthFailed
  File "moc_connectionvalidator.cpp", line 127, in OCC::ConnectionValidator::qt_static_metacall
  File "qobject.cpp", line 3716, in QMetaObject::activate
  File "moc_networkjobs.cpp", line 653, in OCC::PropfindJob::finishedWithError
  File "networkjobs.cpp", line 570, in OCC::PropfindJob::finished

I believe the problem is caused because 'this' was deleted in ConnectionValidator::reportResult
as the signal connectionResult gets emited. The AccountState::slotConnectionValidatorResult
slot does indeed call slotInvalidCredentials which might call {Shibboleth,Http}Credentials::fetchFromKeychain
which might emit fetched directly, which will call AccountState::slotCredentialsFetched
which deletes the _connectionValidator

So use deleteLater when deleting the _connectionValidator, hoping this helps

9 years agoMerge branch 'dynamic_chunking'
Christian Kamm [Tue, 28 Mar 2017 09:35:01 +0000 (11:35 +0200)]
Merge branch 'dynamic_chunking'

9 years agodynamic chunking: cleanup, fixes, improvements
Christian Kamm [Fri, 24 Mar 2017 14:01:50 +0000 (15:01 +0100)]
dynamic chunking: cleanup, fixes, improvements

* make target duration a client option instead of a capability
* simplify algorithm for determining chunk size significantly
* preserve chunk size for the whole propagation, not just per upload
* move options to SyncOptions to avoid depending on ConfigFile
  in the propagator
* move chunk-size adjustment to after a chunk finishes, not when
  a new chunk starts

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

9 years agodynamic chunking prototype
Piotr M [Wed, 7 Dec 2016 21:35:50 +0000 (22:35 +0100)]
dynamic chunking prototype

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

9 years agoVERSION: 2.3.1 was release, this branch is now for 2.3.2
Olivier Goffart [Sat, 25 Mar 2017 08:06:08 +0000 (09:06 +0100)]
VERSION: 2.3.1 was release, this branch is now for 2.3.2

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sat, 25 Mar 2017 01:18:28 +0000 (02:18 +0100)]
[tx-robot] updated from transifex

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sat, 25 Mar 2017 00:15:15 +0000 (01:15 +0100)]
[tx-robot] updated from transifex

9 years agoUpdate CMakeLists.txt
Jürgen Weigert [Fri, 24 Mar 2017 16:49:20 +0000 (17:49 +0100)]
Update CMakeLists.txt

remove doc-man target in doc/CMakeLists.txt https://github.com/owncloud/client/issues/2153

9 years agoDocumented the usage of environment variables.
ajasja [Sat, 18 Mar 2017 23:12:07 +0000 (00:12 +0100)]
Documented the usage of environment variables.

In particular the `OWNCLOUD_CHUNK_SIZE` as requested per #2449.
I looked through the code and it seems the env vars override the conf file, but I'm not 100 % sure.
The `OWNCLOUD_CRITICAL_FREE_SPACE_BYTES` and `OWNCLOUD_FREE_SPACE_BYTES` are now mentioned in two places.

9 years agoShareDialog: Make "can edit" partially checked sometimes #5642
Christian Kamm [Wed, 22 Mar 2017 12:22:22 +0000 (13:22 +0100)]
ShareDialog: Make "can edit" partially checked sometimes #5642

Previously the check box was checked if *any* of its sub-permissions
were granted. This can hide the fact that only a limited subset of them
are actually granted.

The new behavior is to display as "partially checked" if only some
of the sub-permissions are available. Clicking the check box itself
still toggles between granting all or none of them.

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Fri, 24 Mar 2017 01:18:28 +0000 (02:18 +0100)]
[tx-robot] updated from transifex

9 years agoUpdate README.md
Markus Goetz [Thu, 23 Mar 2017 17:18:36 +0000 (18:18 +0100)]
Update README.md

Fix Jenkins badges

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Thu, 23 Mar 2017 01:18:37 +0000 (02:18 +0100)]
[tx-robot] updated from transifex

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Wed, 22 Mar 2017 01:18:28 +0000 (02:18 +0100)]
[tx-robot] updated from transifex

9 years agoWizards: Never propose an existing folder for syncing #5597
Christian Kamm [Mon, 20 Mar 2017 13:28:32 +0000 (14:28 +0100)]
Wizards: Never propose an existing folder for syncing #5597

9 years agoWizard: Remove unused oldLocalFolder property
Christian Kamm [Mon, 20 Mar 2017 12:25:14 +0000 (13:25 +0100)]
Wizard: Remove unused oldLocalFolder property

9 years agoowncloudsetuppage.ui: Remove that file, it is unused
Olivier Goffart [Tue, 21 Mar 2017 13:59:03 +0000 (14:59 +0100)]
owncloudsetuppage.ui: Remove that file, it is unused

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Tue, 21 Mar 2017 01:18:29 +0000 (02:18 +0100)]
[tx-robot] updated from transifex

9 years agoFixing a typo on an issue reference
Samuel Alfageme [Mon, 20 Mar 2017 12:37:01 +0000 (13:37 +0100)]
Fixing a typo on an issue reference
(cherry picked from commit ed03cdf45a696161c4a4f94eaa9eda80559b36d2)

9 years agoFix incorrect documentation for the ownCloud command-line client
Matthew Setter [Mon, 20 Mar 2017 14:48:24 +0000 (15:48 +0100)]
Fix incorrect documentation for the ownCloud command-line client

This fixes #5609.

9 years agoIncluding some info on the proxy config. in the docs.
Samuel Alfageme [Fri, 17 Mar 2017 12:16:38 +0000 (13:16 +0100)]
Including some info on the proxy config. in the docs.

This was a request of @michaelstingl to document how to configure the proxy manually via the .cfg file for config provisioning purposes.
- Restructured the bullet points into 3 different tables; I believe it's a cleaner approach; maybe this is also applicable to other sections.
- Would be logical to include also settings on proxy auth?

9 years agoFolder::showSyncResultPopup: Fix undefined behavior when there is no errors
Olivier Goffart [Thu, 16 Mar 2017 15:30:28 +0000 (16:30 +0100)]
Folder::showSyncResultPopup: Fix undefined behavior when there is no errors

When there is no errors  _syncResult.firstItemError() is NULL, and accessing
it's _file member is an undefined behavior. (Thankfully, createGuiLog did not
use the string when the count was 0, but we are not supposed to create
null references.

Found with the UB sanitizer:

src/gui/folder.cpp:348:49: runtime error: member access within null pointer of type 'OCC::SyncFileItem'
src/gui/folder.cpp:348:19: runtime error: reference binding to null pointer of type 'const QString'

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Mon, 20 Mar 2017 01:18:28 +0000 (02:18 +0100)]
[tx-robot] updated from transifex

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sun, 19 Mar 2017 01:18:28 +0000 (02:18 +0100)]
[tx-robot] updated from transifex

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sat, 18 Mar 2017 01:18:35 +0000 (02:18 +0100)]
[tx-robot] updated from transifex

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Fri, 17 Mar 2017 01:18:36 +0000 (02:18 +0100)]
[tx-robot] updated from transifex

9 years agoMerge remote-tracking branch 'origin/2.3'
Olivier Goffart [Thu, 16 Mar 2017 13:35:08 +0000 (14:35 +0100)]
Merge remote-tracking branch 'origin/2.3'

 Conflicts:
src/libsync/owncloudpropagator.h

9 years agoActivityListModel: attempt to fix a crash.
Olivier Goffart [Thu, 16 Mar 2017 13:25:08 +0000 (14:25 +0100)]
ActivityListModel: attempt to fix a crash.

The backtrace seems to indicate that the account is invalid.
I don't know how this can happen, maybe the account's display
name was changed while the app is running?

Backtrace:
Crash: EXC_BAD_ACCESS / KERN_INVALID_ADDRESS at 0x18
  Module "owncloud", in OCC::AccountState::account
  Module "owncloud", in OCC::ActivityListModel::data
  Module "owncloud", in OCC::ActivityItemDelegate::paint
  Module "QtWidgets", in QListView::paintEvent
  Module "QtWidgets", in QWidget::event
  Module "QtWidgets", in QFrame::event
  Module "QtWidgets", in QAbstractScrollArea::viewportEvent
  Module "QtWidgets", in QAbstractItemView::viewportEvent
  Module "QtWidgets", in QAbstractScrollAreaFilter::eventFilter
  Module "QtCore", in QCoreApplicationPrivate::sendThroughObjectEventFilters

9 years agoPropagator: change order of destruction
Olivier Goffart [Thu, 16 Mar 2017 13:19:36 +0000 (14:19 +0100)]
Propagator: change order of destruction

The destructor of the PropagateItemJob will access the propagator's
_activeJobList. So the _rootJob needs to be destroyed before it.
Order of destruction is the reverse of the order of the members in
the class. So put it at the end so it can be destroyed first.

(This made TestSyncEngine::testDirDownloadWithError crash sometimes
in the master branch)

9 years agoChangeLog for 2.3.1
Markus Goetz [Thu, 16 Mar 2017 13:19:23 +0000 (14:19 +0100)]
ChangeLog for 2.3.1

9 years agoMerge remote-tracking branch 'origin/2.3'
Olivier Goffart [Thu, 16 Mar 2017 12:51:53 +0000 (13:51 +0100)]
Merge remote-tracking branch 'origin/2.3'

 Conflicts:
src/libsync/owncloudpropagator.cpp

9 years agoAbout: Show the runtime versions of Qt and OpenSSL #5592
Christian Kamm [Thu, 16 Mar 2017 09:57:23 +0000 (10:57 +0100)]
About: Show the runtime versions of Qt and OpenSSL #5592

I didn't want to touch this visible translated string in a
patch release so I just switched the data.

For Qt versions before 5, we continue to show the build-time version
of OpenSSL but it's clearly marked as such.