nextcloud-desktop.git
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 agoUpdate README.md
Markus Goetz [Thu, 23 Mar 2017 17:18:36 +0000 (18:18 +0100)]
Update README.md

Fix Jenkins badges

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 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.

9 years agoSyncEngine: fix test regression in TestChunkingNG::testCreateConflictWhileSyncing
Olivier Goffart [Thu, 16 Mar 2017 08:27:17 +0000 (09:27 +0100)]
SyncEngine: fix test regression in TestChunkingNG::testCreateConflictWhileSyncing

In 8ef11a38c99c6a33b175f1ad792ec02b52f88d25, we started blacklisting
SoftError for 0 seconds.  But if the two sync happen with less than
1s interval, we would still prevent them to happen.
So make sure we expire if 0 seconds have expired

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

9 years agoAttempt to fix a crash in FolderStatusModel::slotUpdateDirectories
Olivier Goffart [Wed, 15 Mar 2017 16:17:33 +0000 (17:17 +0100)]
Attempt to fix a crash in FolderStatusModel::slotUpdateDirectories

The backtrace looks like:

  File "atomic_base.h", line 396, in QString::~QString
  File "qlist.h", line 442, in OCC::FolderStatusModel::slotUpdateDirectories

This is the only QList operation, and it may crash if the list is empty.
It can be empty if the propfind returned empty results.
I'm not sure how this can be possible to have an empty list there since
the server is always supposed to return at least one entry, for the directory
itself. But it can happen if a directory was transformed in a file, or
if there is a bug on the server.

9 years agoHttpCreds: Update app passwords url #5605
Christian Kamm [Tue, 14 Mar 2017 14:59:22 +0000 (15:59 +0100)]
HttpCreds: Update app passwords url #5605

See also owncloud/core#27360

9 years agoAccount server version: Helper to create versions
Christian Kamm [Tue, 14 Mar 2017 14:57:57 +0000 (15:57 +0100)]
Account server version: Helper to create versions

Hex literals don't work well with version 10: 0x100000 doesn't do
the right thing.

9 years agoIgnore list editor: adjust the size
Olivier Goffart [Wed, 15 Mar 2017 15:00:48 +0000 (16:00 +0100)]
Ignore list editor: adjust the size

The previous patch on this file made it a bit too big, so make it a bit smaller
For issue #5600

9 years agoUsing different window flags on the connection method dialog (#5614)
Samuel Alfageme [Wed, 15 Mar 2017 14:46:51 +0000 (15:46 +0100)]
Using different window flags on the connection method dialog (#5614)

This is a possible fix for #3850, applying custom window flags (http://doc.qt.io/qt-5.8/qt.html#WindowType-enum) on the connection method dialog. These avoid resizing the dialog and displaying a maximize button on OS X and context help button on Windows.

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

9 years agoAdd more versions to --version #5592
Christian Kamm [Fri, 10 Mar 2017 14:32:25 +0000 (15:32 +0100)]
Add more versions to --version #5592

* Add git revision, if available
* Add SSL runtime version
* Add compile-time Qt version

9 years agoWindows/NTFS: Do not attempt to upload inaccessible files #5544
Christian Kamm [Tue, 7 Mar 2017 10:47:38 +0000 (11:47 +0100)]
Windows/NTFS: Do not attempt to upload inaccessible files #5544

It is possible to create files with filenames that differ
only by case in NTFS, but most operations such as stat and
open only target one of these by default.

When that happens, we want to avoid uploading incorrect data
and give up on the file.

Typically this situation should never occurr during normal use
of Windows. It can happen, however, when a NTFS partition is
mounted in another OS.

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

9 years agoIgnore list editor: adjust the size of the columns in the table
Olivier Goffart [Mon, 13 Mar 2017 16:05:24 +0000 (17:05 +0100)]
Ignore list editor: adjust the size of the columns in the table

So the title of the column is fully visible.
Adjust the default size and the size policy of the label so it behave
correctly as the window get resized

Issue #5600

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

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

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

9 years agoBlacklist: Escalate repeated SoftError to NormalError #5500
Christian Kamm [Mon, 20 Feb 2017 14:05:17 +0000 (15:05 +0100)]
Blacklist: Escalate repeated SoftError to NormalError #5500

9 years agoMerge pull request #5585 from owncloud/add-replace-sync-directory-to-faq
Matthew Setter [Fri, 10 Mar 2017 08:11:38 +0000 (09:11 +0100)]
Merge pull request #5585 from owncloud/add-replace-sync-directory-to-faq

Add explanation of how to replace local sync folder to FAQ

9 years agoRevise the point about starting a clean sync
Matthew Setter [Fri, 10 Mar 2017 07:35:55 +0000 (08:35 +0100)]
Revise the point about starting a clean sync

On review, after feedback from @phil-davis, he's right that users need
to be fully briefed as to the implications of choosing a clean sync —
especially when they have a large amount of data in their account.

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

9 years agoPropagator: Attempt to fix a crash in OwncloudPropagator::scheduleNextJob
Olivier Goffart [Thu, 9 Mar 2017 08:41:36 +0000 (09:41 +0100)]
Propagator: Attempt to fix a crash in OwncloudPropagator::scheduleNextJob

The crash reporter shows many crashes in OwncloudPropagator::scheduleNextJob.
We don't really know what could be the cause, but it's probably because
the _activeJobList contains dangling pointer.
So this patch makes sure to remove all the jobs from this list as they get
destroyed.

9 years agoFix TestSyncEngine::testDirDownloadWithError
Olivier Goffart [Thu, 9 Mar 2017 09:35:58 +0000 (10:35 +0100)]
Fix TestSyncEngine::testDirDownloadWithError

On master, the scheduling is different and the tasks abort in another
order

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

 Conflicts:
src/libsync/owncloudpropagator.cpp

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

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

9 years agoAdd explanation of how to replace local sync folder to FAQ
Matthew Setter [Tue, 7 Mar 2017 14:35:37 +0000 (15:35 +0100)]
Add explanation of how to replace local sync folder to FAQ

This fixes owncloud/documentation/issues/2923.

9 years agoRemove unreachable code #5582
Christian Kamm [Tue, 7 Mar 2017 12:23:21 +0000 (13:23 +0100)]
Remove unreachable code #5582

9 years agoAbstractNetworkJob: Improve redirect handling #5555
Christian Kamm [Fri, 3 Mar 2017 10:20:53 +0000 (11:20 +0100)]
AbstractNetworkJob: Improve redirect handling #5555

* For requests:
  - reuse the original QNetworkRequest, so headers and attributes
    are the same as in the original request
  - determine the original http method from the reply and the request
    attributes
  - keep the original request body around such that it can be sent
    again in case the request is redirected

* Simplify the interface that is used for creating new requests in
  AbstractNetworkJob.

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

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

9 years agoActivityListModel: fix possible crash in slotActivitiesReceived
Olivier Goffart [Mon, 6 Mar 2017 15:14:09 +0000 (16:14 +0100)]
ActivityListModel: fix possible crash in slotActivitiesReceived

Backtrace from the crash reporter:

Crash: EXCEPTION_ACCESS_VIOLATION_READ at 0x401
  File "moc_activitylistmo_M5OEXJ7XGJYTWT.cpp", line 92, in OCC::ActivityListModel::qt_static_metacall
  File "qobject.cpp", line 3730, in QMetaObject::activate
  File "moc_networkjobs_7AMNCW4BBANVRK.cpp", line 1342, in OCC::JsonApiJob::jsonReceived
  File "networkjobs.cpp", line 714, in OCC::JsonApiJob::finished
  File "abstractnetworkjob.cpp", line 207, in OCC::AbstractNetworkJob::slotFinished
  File "moc_abstractnetwor_PFI2TXGQHRE33H.cpp", line 98, in OCC::AbstractNetworkJob::qt_static_metacall
  File "qobject.cpp", line 3730, in QMetaObject::activate
  File "moc_qnetworkreply.cpp", line 367, in QNetworkReply::finished
  File "qnetworkreplyhttpimpl.cpp", line 2100, in QNetworkReplyHttpImplPrivate::finished
  File "qnetworkreplyhttpimpl.cpp", line 279, in QNetworkReplyHttpImpl::abort

My theory is that the AccountState stored in a property of the job was destroyed.
before the job timed out.
Therefore, the qobject_cast within the qvariant_cast would call the metaObject()
virtual function on a dangling pointer.

Fix it by storing a QPointer instead which will track the deletion.

9 years agoPropagator: Fix finished signal of directory being emited twice and causing crash
Olivier Goffart [Mon, 6 Mar 2017 12:07:08 +0000 (13:07 +0100)]
Propagator: Fix finished signal of directory being emited twice and causing crash

When there is a FatalError, we ended up emiting the finished signal for
the directory job several times, which would lead to crashes

Issue #5578

9 years agoNSIS: Don't display link on finish page
Markus Goetz [Mon, 6 Mar 2017 14:40:10 +0000 (15:40 +0100)]
NSIS: Don't display link on finish page

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

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

9 years agoVERSION: master branch is 2.4
Olivier Goffart [Fri, 3 Mar 2017 10:00:33 +0000 (11:00 +0100)]
VERSION: master branch is 2.4

9 years agoMerge branch '2.3'
Olivier Goffart [Fri, 3 Mar 2017 09:57:23 +0000 (10:57 +0100)]
Merge branch '2.3'

 Conflicts:
src/libsync/owncloudpropagator.cpp

9 years ago2.3.0 was released: Update version
Olivier Goffart [Fri, 3 Mar 2017 09:48:47 +0000 (10:48 +0100)]
2.3.0 was released: Update version

9 years agoSslButton: Remove additional ')'
Olivier Goffart [Thu, 2 Mar 2017 08:57:14 +0000 (09:57 +0100)]
SslButton: Remove additional ')'

Regression since 7bfe0613827aa7cee93a77ccbedab9b07ea9ca78
Issue: #5573

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

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

9 years agoUpdate client version from 2.2 to 2.3 (#5568)
Matthew Setter [Wed, 1 Mar 2017 12:26:49 +0000 (13:26 +0100)]
Update client version from 2.2 to 2.3 (#5568)

As the latest version of 2.3, the version information needs to be
updated as well.

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Wed, 1 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 [Tue, 28 Feb 2017 01:18:28 +0000 (02:18 +0100)]
[tx-robot] updated from transifex

9 years agoPotential fix for crash in PropagateDirectory::abort (#5564)
Jocelyn Turcotte [Mon, 27 Feb 2017 16:09:29 +0000 (17:09 +0100)]
Potential fix for crash in PropagateDirectory::abort (#5564)

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

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

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

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

9 years agoDon't abort propagation job abortions synchronously from finished
Jocelyn Turcotte [Fri, 17 Feb 2017 11:57:24 +0000 (12:57 +0100)]
Don't abort propagation job abortions synchronously from finished

This leads to crashes since we changed the connection to the parent
jobs not to be queued anymore.
We don't really need to bubble up the finished state through
parents in that case, and it would also mean that we'd recurse
all the way through leaves as we go up to each parent. So just call
abort directly on the OwncloudPropagator and make sure the abortion
call is posted to the event loop.

9 years agoReduce the connection data used by PropagateDirectory objects
Jocelyn Turcotte [Tue, 14 Feb 2017 11:46:44 +0000 (12:46 +0100)]
Reduce the connection data used by PropagateDirectory objects

Avoid using connections to report up the job tree for signals
that we can directly communicate to the OwncloudPropagator.
This slightly reduces the memory usage and avoid passing those calls
through the whole parent chain.

9 years agoCreate PropagateItemJobs only before starting them
Jocelyn Turcotte [Mon, 13 Feb 2017 22:16:20 +0000 (23:16 +0100)]
Create PropagateItemJobs only before starting them

9 years agoSplit running jobs into a separate vector
Jocelyn Turcotte [Mon, 13 Feb 2017 17:24:34 +0000 (18:24 +0100)]
Split running jobs into a separate vector

9 years agoSplit the subjob logic out of PropagateDirectory
Jocelyn Turcotte [Mon, 13 Feb 2017 16:21:55 +0000 (17:21 +0100)]
Split the subjob logic out of PropagateDirectory

9 years agoReplace WaitForFinishedInParentDirectory with WaitForFinished for directory moves
Jocelyn Turcotte [Mon, 13 Feb 2017 14:57:28 +0000 (15:57 +0100)]
Replace WaitForFinishedInParentDirectory with WaitForFinished for directory moves

In preparation for the PropagateDirectory refactoring, simplify things
by removing WaitForFinishedInParentDirectory, which is currently
implemented as a one-level check.

This value is important for directory items, but is however never
used since a directory CSYNC_INSTRUCTION_RENAME item will always be in
PropagateDirectory::_firstJob, which will have to pass through its own
PropagateDirectory job's parallelism() before reaching the parent's
_subJobs optimization.
Since PropagateDirectory::parallelism can only return WaitForFinished
or FullParallelism, that value is lost. So this commit doesn't
change the behavior for directories, and allow file renames to be
scheduled in parallel across directories (which isn't a problem).

9 years agoFix TestSyncEngine::abortAfterFailedMkdir (again)
Jocelyn Turcotte [Wed, 8 Feb 2017 16:31:13 +0000 (17:31 +0100)]
Fix TestSyncEngine::abortAfterFailedMkdir (again)

It could be possible that _firstJob is marked as finished if
aborted before its parent PropagateDirectory was marked as finished,
allowing a posted scheduleNextJob call to schedule the child job
in-between.

9 years agoVerify that all strings are properly escaped (#5558)
Olivier Goffart [Thu, 23 Feb 2017 13:54:17 +0000 (14:54 +0100)]
Verify that all strings are properly escaped (#5558)

- I checked every occurence of a '%2' and make correct use of the
QString::arg overload that takes several argument instead of chaining
them, because the first argument can contains a '%1'

 - I tried to look for every label that they either use plain text or richtext
and escape the user provided strings in there.

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

9 years agoWizard: Handle PROPFIND redirects #5553
Christian Kamm [Wed, 22 Feb 2017 12:04:26 +0000 (13:04 +0100)]
Wizard: Handle PROPFIND redirects #5553

By default, followRedirects is true for all requests, to transparently
handle redirections. In the wizard, we have special redirect-handling
code though and that was being skipped.

Setting the flag to false allows the wizard to be aware of redirects
and to handle them in the correct way. Tested with the server described
in
https://github.com/owncloud/administration/tree/master/redirectServer

There's a second bug here, where followRedirects always converts
redirected requests to the GET verb. That means redirected PROPFINDs
will never have worked. This change un-breaks them for the wizard only.
There should be no case that previously worked that stops working now.

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

9 years agoMerge pull request #5549 from owncloud/fix-documentation-build-process
Matthew Setter [Tue, 21 Feb 2017 12:52:45 +0000 (13:52 +0100)]
Merge pull request #5549 from owncloud/fix-documentation-build-process

Fix documentation build process

9 years agoMerge branch 'master' into fix-documentation-build-process
Matthew Setter [Tue, 21 Feb 2017 11:07:57 +0000 (12:07 +0100)]
Merge branch 'master' into fix-documentation-build-process

9 years agoRe-add the Makefile for controlling the build process
Matthew Setter [Tue, 21 Feb 2017 10:58:15 +0000 (11:58 +0100)]
Re-add the Makefile for controlling the build process

I'm not sure, why the file was removed, it was there in 2013, but it was
removed. This commit adds it back so that the build process can be
automated in a UNIX environment.

9 years agoUpdate ChangeLog
Markus Goetz [Tue, 21 Feb 2017 10:53:54 +0000 (11:53 +0100)]
Update ChangeLog

9 years agoFix the Sphinx-doc build configuration
Matthew Setter [Tue, 21 Feb 2017 10:49:23 +0000 (11:49 +0100)]
Fix the Sphinx-doc build configuration

I'm not sure what the configuration/setup has been like to date. But as
it stood, it didn't build successfully. Given that, I've created a copy
of doc/conf.py, included in this commit, from the default doc/conf.py.in
and set the appropriate variables as necessary.

NOTE: The build didn't work when the version, release, and latex_logo
values weren't set, either directly or with interpolatable values.

9 years agoMerge pull request #5547 from owncloud/update-docs-build-configuration
Matthew Setter [Tue, 21 Feb 2017 08:37:01 +0000 (09:37 +0100)]
Merge pull request #5547 from owncloud/update-docs-build-configuration

Create a build configuration file

9 years agoMerge pull request #5545 from owncloud/grammar-updates
Matthew Setter [Tue, 21 Feb 2017 08:28:55 +0000 (09:28 +0100)]
Merge pull request #5545 from owncloud/grammar-updates

Fix grammar and spelling errors in the documentation

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

9 years agoMessage Boxes: Force to be more on top #5503 (#5536)
Markus Goetz [Mon, 20 Feb 2017 12:58:35 +0000 (13:58 +0100)]
Message Boxes: Force to be more on top #5503 (#5536)

9 years agoCreate a build configuration file
Matthew Setter [Mon, 20 Feb 2017 10:04:01 +0000 (11:04 +0100)]
Create a build configuration file

This is no different from the default file, conf.py.in, except for the
specification of the logo file.

9 years agoFixed grammar and spelling errors in the documentation
Matthew Setter [Mon, 20 Feb 2017 09:52:22 +0000 (10:52 +0100)]
Fixed grammar and spelling errors in the documentation

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Mon, 20 Feb 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 Feb 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 Feb 2017 01:18:30 +0000 (02:18 +0100)]
[tx-robot] updated from transifex

9 years agoPropagator: Fix t8.pl
Olivier Goffart [Fri, 17 Feb 2017 08:28:20 +0000 (09:28 +0100)]
Propagator: Fix t8.pl

The test sets OWNCLOUD_MAX_PARALLEL to 1 to disable parallelism.
But since the max amount of parallelism is twice as much, that does not
work.
So change the way we compute the hardMaximumActiveJob: Use the value of
OWNCLOUD_MAX_PARALLEL to maximize this amount and base the maximum amount
of transfer jobs on it instead of the other way.

A result of this change is that, in case of bandwidth limit, we keep the
default of 6 non-transfer jobs in parallel. I believe that's fine since
the short jobs do not really use bandwidth, so we can still keep the same
amount of small jobs.

9 years agoRevert "Don't blacklist 507 Insufficent Storage #5346 (#5424)"
Christian Kamm [Fri, 17 Feb 2017 15:21:54 +0000 (16:21 +0100)]
Revert "Don't blacklist 507 Insufficent Storage #5346 (#5424)"

This reverts commit e1f5a49c21826590811710f73e37b7b72e256960.

Retrying uploads with insufficent storage errors frequently leads to
high server traffic. See #5537 for links and a sketch of a correct
solution.

9 years agoRevert "Fix TestSyncEngine::abortAfterFailedMkdir"
Jocelyn Turcotte [Fri, 17 Feb 2017 13:05:47 +0000 (14:05 +0100)]
Revert "Fix TestSyncEngine::abortAfterFailedMkdir"

This reverts commit 1cec2ca13dc35aba6aaf79f42bde9a6dd00143a7
but keeps the reset() -> take() part that is probably the cause
of crashes we've seen in the crash reporter.

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

9 years agoAccessManager: don't set an invalid network configuration on linux (#5538)
Olivier Goffart [Thu, 16 Feb 2017 15:14:55 +0000 (16:14 +0100)]
AccessManager: don't set an invalid network configuration on linux (#5538)

If we call
 setConfiguration(QNetworkConfiguration());
This sets an invalid configuration on the QNAM.
But later, when we really go online because interfaces are discovered,
QNetworkAccessManagerPrivate::_q_onlineStateChanged is called (with isOnline=true).
And this will set the state to disconnected because customNetworkConfiguration is
true, and the networkConfiguration state is disabled.

The workaround we to fix another bug on Windows in which the default network
configuration was not behaving properly.

The issue on linux is hard to reproduce and only happen in some condition,
but it was reproduced on smashbox when they run two owncloudcmd at the same time.

Issues: #4720 , #3600

9 years agoRecent Changes: Fix duplicates #5256
Christian Kamm [Thu, 16 Feb 2017 14:09:06 +0000 (15:09 +0100)]
Recent Changes: Fix duplicates #5256

The transmissionProgress emission when the whole sync finishes
shouldn't look exactly like the one for the last file.

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

9 years agoFolder: Keep files option after aboutToRemoveAllFiles should not clear selective...
Olivier Goffart [Wed, 15 Feb 2017 12:27:41 +0000 (13:27 +0100)]
Folder: Keep files option after aboutToRemoveAllFiles should not clear selective sync list (#5531)

We were removing the wholme journal db when the user wanted to keep all files,
But that would also remove the selective sync lists.
We should only remove the metadata table.

Issue #5484

9 years agoUpdate windows docker file to use 2.3 OBS repo
Roeland Jago Douma [Tue, 14 Feb 2017 12:12:41 +0000 (13:12 +0100)]
Update windows docker file to use 2.3 OBS repo

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Wed, 15 Feb 2017 01:18:29 +0000 (02:18 +0100)]
[tx-robot] updated from transifex

9 years agoMerge remote-tracking branch 'origin/2.3'
Olivier Goffart [Tue, 14 Feb 2017 14:08:10 +0000 (15:08 +0100)]
Merge remote-tracking branch 'origin/2.3'

9 years agoDisable tests uncompatible with Qt4 for that build
Jocelyn Turcotte [Fri, 10 Feb 2017 14:12:03 +0000 (15:12 +0100)]
Disable tests uncompatible with Qt4 for that build

9 years agoFix the UNIT_TESTING build on Windows
Jocelyn Turcotte [Tue, 7 Feb 2017 18:31:55 +0000 (19:31 +0100)]
Fix the UNIT_TESTING build on Windows

- Put all tests in the bin directory so that DLLs can be loaded
- Add missing exports
- Skip tests that use code depending on zlib
- The "GMT" timezone is named differently, use the int constructor instead

5 tests are still failing, it's not really worth fixing at the moment
since no developper is currently using Windows as its main platform.

9 years agoFix FolderManTest on macOS
Jocelyn Turcotte [Thu, 9 Feb 2017 17:17:01 +0000 (18:17 +0100)]
Fix FolderManTest on macOS

On macOS /var is a symlink to /private/var and we have to make sure that we
use the canonical path before and after it enters the code to make sure we
compare paths correctly.