nextcloud-desktop.git
9 years agoRename SyncFileStatus::sharedWithMe to shared
Olivier Goffart [Tue, 15 Nov 2016 12:58:18 +0000 (13:58 +0100)]
Rename SyncFileStatus::sharedWithMe to shared

Last commit for issue #4788 made the meaning to be simply shared
(with the user or from the user)

9 years agoDiscovery: consider also the "shared by me" as shared
Olivier Goffart [Mon, 14 Nov 2016 17:47:58 +0000 (18:47 +0100)]
Discovery: consider also the "shared by me" as shared

The "S" in the permission is only for the "Shared with me" files.
It is only used to show the shared status in the overlay icons.
But we also wish to show the shared status for files that are shared
"by" the users. We can find that out using the 'share-types' webdav
property. If set, then we are sharing the object.
We fake a 'S' in the permission as for our purpose, they mean the same.

Issue #4788

9 years agoFolderStatusDelegate: Fix compiler warning.
Olivier Goffart [Tue, 15 Nov 2016 09:14:50 +0000 (10:14 +0100)]
FolderStatusDelegate: Fix compiler warning.

QStyleOptionProgressBarV2 is deprecated in Qt5.

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

9 years agoMerge pull request #5304 from owncloud/Kawohl-linktocentral
Olivier Goffart [Mon, 14 Nov 2016 11:43:10 +0000 (12:43 +0100)]
Merge pull request #5304 from owncloud/Kawohl-linktocentral

documnetation.

9 years agoMerge pull request #5267 from payload/fix_4608
Olivier Goffart [Mon, 14 Nov 2016 11:35:18 +0000 (12:35 +0100)]
Merge pull request #5267 from payload/fix_4608

nautilus integration: "share" extension for syncing folders

9 years agoMerge pull request #5266 from rmekarni/patch-1
Olivier Goffart [Mon, 14 Nov 2016 11:20:24 +0000 (12:20 +0100)]
Merge pull request #5266 from rmekarni/patch-1

Fix find_library FindCMocka.cmake

9 years agoAdd manifest file on Windows to make the application UAC aware.
Tobias Haeussler [Sat, 29 Oct 2016 20:06:03 +0000 (22:06 +0200)]
Add manifest file on Windows to make the application UAC aware.

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Mon, 14 Nov 2016 01:18:26 +0000 (02:18 +0100)]
[tx-robot] updated from transifex

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

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sat, 12 Nov 2016 01:18:26 +0000 (02:18 +0100)]
[tx-robot] updated from transifex

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

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Thu, 10 Nov 2016 01:18:27 +0000 (02:18 +0100)]
[tx-robot] updated from transifex

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Thu, 10 Nov 2016 00:15:14 +0000 (01:15 +0100)]
[tx-robot] updated from transifex

9 years agoremoved openssl_version variable,
Jonathan Kawohl [Wed, 9 Nov 2016 09:25:32 +0000 (10:25 +0100)]
removed openssl_version variable,

9 years agoadded missing quotes
Jonathan Kawohl [Wed, 9 Nov 2016 07:51:50 +0000 (08:51 +0100)]
added missing quotes

9 years agoadded link to central
Jonathan Kawohl [Mon, 24 Oct 2016 13:45:40 +0000 (15:45 +0200)]
added link to central

9 years agofixing wrong files Revert "fix for https://github.com/owncloud/client/issues/1251"
Jonathan Kawohl [Mon, 24 Oct 2016 13:16:06 +0000 (15:16 +0200)]
fixing wrong files Revert "fix for https://github.com/owncloud/client/issues/1251"

This reverts commit 4f1feab845462a6448626806a39eef44a2c6900e.

9 years agofix for https://github.com/owncloud/client/issues/1251
Jonathan Kawohl [Mon, 24 Oct 2016 13:09:25 +0000 (15:09 +0200)]
fix for https://github.com/owncloud/client/issues/1251

9 years agoadded info on qtkeychain
Jonathan Kawohl [Mon, 24 Oct 2016 07:00:07 +0000 (09:00 +0200)]
added info on qtkeychain

added installation info on qtkeychain

9 years agoCorrecting for PR comments
Jonathan Kawohl [Thu, 20 Oct 2016 11:05:56 +0000 (13:05 +0200)]
Correcting for PR comments

9 years agoupdated link for documentation and added more info to osx build
Jonathan Kawohl [Wed, 19 Oct 2016 09:12:11 +0000 (11:12 +0200)]
updated link for documentation and added more info to osx build

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

9 years agoDoc: Add sync algorithm overview and comments (#5277)
ckamm [Tue, 8 Nov 2016 15:10:55 +0000 (16:10 +0100)]
Doc: Add sync algorithm overview and comments (#5277)

* Doc: Add sync algorithm overview and comments

9 years agoConflicts: Use the local mtime for the conflict file name #5273
Christian Kamm [Tue, 8 Nov 2016 10:22:53 +0000 (11:22 +0100)]
Conflicts: Use the local mtime for the conflict file name #5273

Otherwise local conflict files may be overridden in a restore
situation. See ticket for details.

9 years agoFolderStatusModel: Minor cleanups.
Christian Kamm [Tue, 8 Nov 2016 12:57:03 +0000 (13:57 +0100)]
FolderStatusModel: Minor cleanups.

9 years agoSort folder list alphabetically #5299
Christian Kamm [Tue, 8 Nov 2016 12:30:18 +0000 (13:30 +0100)]
Sort folder list alphabetically #5299

9 years agoTest: Don't fail when DST change is near #5284
Christian Kamm [Tue, 8 Nov 2016 10:13:19 +0000 (11:13 +0100)]
Test: Don't fail when DST change is near #5284

9 years agoNetwork: Add "Accept" header for some firewalls #5298
Christian Kamm [Tue, 8 Nov 2016 10:01:49 +0000 (11:01 +0100)]
Network: Add "Accept" header for some firewalls #5298

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Tue, 8 Nov 2016 01:18:26 +0000 (02:18 +0100)]
[tx-robot] updated from transifex

9 years agoTerminate sync when pausing from context menu #5290
Christian Kamm [Mon, 7 Nov 2016 11:49:29 +0000 (12:49 +0100)]
Terminate sync when pausing from context menu #5290

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Mon, 7 Nov 2016 01:18:26 +0000 (02:18 +0100)]
[tx-robot] updated from transifex

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sun, 6 Nov 2016 01:18:34 +0000 (02:18 +0100)]
[tx-robot] updated from transifex

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

9 years agoMerge remote-tracking branch '2.2' into master
Olivier Goffart [Fri, 4 Nov 2016 15:51:58 +0000 (16:51 +0100)]
Merge remote-tracking branch '2.2' into master

For the reanslation. Now transifex should be updated to update master.
This should normally be the last merge from 2.2

 Conflicts:
mirall.desktop.in
translations/client_sl.ts
translations/client_th.ts

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Fri, 4 Nov 2016 15:41:40 +0000 (16:41 +0100)]
[tx-robot] updated from transifex

9 years agoSyncEngine: disable heuristics for backup restoration for server >= 9.1
Olivier Goffart [Fri, 21 Oct 2016 08:32:19 +0000 (10:32 +0200)]
SyncEngine: disable heuristics for backup restoration for server >= 9.1

The ownCloud 9.1 server has a data-fingerprint property that the admin must
change in case of backup restoration. When this change, the client understands
that a backup was restored, and will generate conflict files and re-upload
new files.

The heuristics based system checks that there is at least two files wose mtime
is put back in the past and no files that goes forward. In that case we ask the
user before creating the conflicts.

This commit disable the heuristics for newer server that have the data-fingerpint.
And change the heuristics to two hours because we want to avoid false positive due
to some clock error, and that 2 hours of lost due to backup restoration is probably
not so bad.

We only ask the user in the heuristics based aproach so in practice this mean that
the "backup-detected" dialog will no longer appear with newer server.

Relates issues #5260, #5109

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

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

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

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

9 years agoMerge pull request #5274 from owncloud/reduce_loops_dirjob
Piotr Mrówczyński [Mon, 31 Oct 2016 21:07:50 +0000 (22:07 +0100)]
Merge pull request #5274 from owncloud/reduce_loops_dirjob

Cache the value of last unfinished job in the PropagateDerectory scheduleNextJob

9 years agoreduce number of loops
Piotr M [Tue, 25 Oct 2016 11:21:03 +0000 (13:21 +0200)]
reduce number of loops

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

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

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

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

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

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

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

9 years agonautilus integration: refactored _connectToSocketServer, removed superfluous check
Gilbert Röhrbein [Tue, 25 Oct 2016 19:45:47 +0000 (21:45 +0200)]
nautilus integration: refactored _connectToSocketServer, removed superfluous check

9 years agonautilus integration: use os.path.join, os.sep and tempfile.gettempdir instead of...
Gilbert Röhrbein [Tue, 25 Oct 2016 18:15:17 +0000 (20:15 +0200)]
nautilus integration: use os.path.join, os.sep and tempfile.gettempdir instead of string concats

9 years agoAccount: Rearrange for readability
Christian Kamm [Tue, 25 Oct 2016 10:04:08 +0000 (12:04 +0200)]
Account: Rearrange for readability

9 years agoMove concatUrl and settingsWithGroup to Utility
Christian Kamm [Tue, 25 Oct 2016 10:04:22 +0000 (12:04 +0200)]
Move concatUrl and settingsWithGroup to Utility

There was little reason to keep them cluttering Account.

9 years agoAccount: Remove wasMigrated/setMigrated
Christian Kamm [Tue, 25 Oct 2016 09:42:03 +0000 (11:42 +0200)]
Account: Remove wasMigrated/setMigrated

It was unused since early in the multi-account work:
a932eac832b442cca763197240f036905dd284da

9 years agoRemove unused functions
Christian Kamm [Tue, 25 Oct 2016 09:33:38 +0000 (11:33 +0200)]
Remove unused functions

Account::changed and AbstractCredentials::changed have not been needed
in a long while.

9 years agoFolderMan: Clean up API
Christian Kamm [Wed, 19 Oct 2016 09:03:13 +0000 (11:03 +0200)]
FolderMan: Clean up API

Many public slots didn't need to be public or slots.

9 years agoFolderMan: Document and clean up folder scheduling
Christian Kamm [Tue, 18 Oct 2016 14:04:25 +0000 (16:04 +0200)]
FolderMan: Document and clean up folder scheduling

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

9 years agoAdd script to create a caja plugin. (#5262)
Marcus Hoffmann [Mon, 24 Oct 2016 13:36:23 +0000 (15:36 +0200)]
Add script to create a caja plugin. (#5262)

Caja is a fork of nautilus maintained by the Mate project.
This adds a script to create a caja plugin from the nautilus plugin.
It replaces all occurences of nautilus with caja (case sensitive).
This is done in the same way the nemo plugin is generated from the nautilus one.

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

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

9 years agonautilus integration: "share" extension for syncing folders
Gilbert Röhrbein [Sat, 22 Oct 2016 21:20:27 +0000 (23:20 +0200)]
nautilus integration: "share" extension for syncing folders

Issue #4608

* folder state is either OK or SYNC usually
* this extension does not know about if a folder is shareable
* a OK folder is shareable
* a SYNC folder could be uploaded or not uploaded
* this commit looks into file entries below this folder
* if one exists with state OK or SYNC
   this folder must have been uploaded
* better would be if the server (gui) tells us
   if the folder is uploaded

9 years agoFix find_library FindCMocka.cmake
Romain Mekarni [Sat, 22 Oct 2016 12:52:27 +0000 (14:52 +0200)]
Fix find_library FindCMocka.cmake

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

9 years agoMerge remote-tracking branch 'origin/2.2' into master
Olivier Goffart [Fri, 21 Oct 2016 08:27:33 +0000 (10:27 +0200)]
Merge remote-tracking branch 'origin/2.2' into master

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

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

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

9 years agoProgress: Reset lastCompletedItem #5256
Christian Kamm [Tue, 18 Oct 2016 10:29:52 +0000 (12:29 +0200)]
Progress: Reset lastCompletedItem #5256

Otherwise progress listeners think it's still the last-completed
item when the next sync starts. This lead to spurious entries in
the "Recent Changes" list.

9 years agoForce a remote discovery when upgrading to this version #5242
Christian Kamm [Tue, 18 Oct 2016 09:15:13 +0000 (11:15 +0200)]
Force a remote discovery when upgrading to this version #5242

A remote discovery will fix up any lingering problems caused by #5190.

9 years agoRemove stale commented code
Christian Kamm [Wed, 12 Oct 2016 08:44:38 +0000 (10:44 +0200)]
Remove stale commented code

These functions don't even exist anymore.

9 years agoSyncEngine: Permission error in subfolder of a folder that cannnot be added is a...
Olivier Goffart [Wed, 12 Oct 2016 16:23:31 +0000 (18:23 +0200)]
SyncEngine: Permission error in subfolder of a folder that cannnot be added is a SoftError

Issue #5059

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

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sun, 16 Oct 2016 23:15:13 +0000 (01:15 +0200)]
[tx-robot] updated from transifex

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

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

9 years agoOS X: Use monochrome tray icon by default (#5229)
Markus Goetz [Fri, 14 Oct 2016 12:26:31 +0000 (14:26 +0200)]
OS X: Use monochrome tray icon by default (#5229)

9 years agoPropagator: Also upload more in parallel (#5230)
Markus Goetz [Fri, 14 Oct 2016 12:23:55 +0000 (14:23 +0200)]
Propagator: Also upload more in parallel (#5230)

Fix for https://github.com/owncloud/client/issues/4986#issuecomment-227071801

This is before we have bundling at some point.

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

9 years agoAdd a note that the source repositories need to be enabled. (#5239)
Klaas Freitag [Thu, 13 Oct 2016 14:22:54 +0000 (16:22 +0200)]
Add a note that the source repositories need to be enabled. (#5239)

* Add a note that the source repositories need to be enabled.

* Fix typo, is => are.

9 years agoQProgressIndicator: update copy from upstream
Olivier Goffart [Thu, 13 Oct 2016 10:02:15 +0000 (12:02 +0200)]
QProgressIndicator: update copy from upstream

Update from commit 05ce8a23cdc12e825532dc6de06c267fb8d48b4f from
https://github.com/dragotin/QProgressIndicator
Which itself is forked from commit e5ba0fd09bfd43b067ee3646d70b294c7efcb558 from
upstream, with additional license header.

It was relicensed to MIT according to
https://github.com/mojocorp/QProgressIndicator/commit/14bb9d10e29407175fdf4b9f03ed9cc7bb124f93

Relates to issues #5180 and #5184

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

9 years agoFixup previous commit
Markus Goetz [Wed, 12 Oct 2016 17:10:56 +0000 (19:10 +0200)]
Fixup previous commit

Thanks @ogoffart for spotting.

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

9 years agoAuto Start: Only set on first account setup, not all later ones
Markus Goetz [Tue, 11 Oct 2016 18:28:14 +0000 (20:28 +0200)]
Auto Start: Only set on first account setup, not all later ones

9 years agosqlite: Update bundled version to 3.14.2
Markus Goetz [Tue, 11 Oct 2016 18:06:43 +0000 (20:06 +0200)]
sqlite: Update bundled version to 3.14.2

For OS X and Windows.

9 years agoSyncEngine: Fix renaming a folder should keep the selective sync state
Olivier Goffart [Mon, 10 Oct 2016 14:55:31 +0000 (16:55 +0200)]
SyncEngine: Fix renaming a folder should keep the selective sync state

Issue #5224

Two problems:

 - In the discovery phase, we need to check the selective sync entries of
   the source path in case of renames.

 - When the rename is done, we need to actually update the black list in the
   database.

9 years agoTestFolderMan: don't pollute user's settings
Olivier Goffart [Tue, 11 Oct 2016 09:55:20 +0000 (11:55 +0200)]
TestFolderMan: don't pollute user's settings

9 years agoAccountManager: do not load invalid account
Olivier Goffart [Tue, 11 Oct 2016 09:46:51 +0000 (11:46 +0200)]
AccountManager: do not load invalid account

Some tests (such as FolderManTest) can polute the config file with invalid
accounts.

(That's because most of the code, (even in libsync) always instentiate a ConfigFile)

9 years agoRemove usused variable
Olivier Goffart [Tue, 11 Oct 2016 08:55:02 +0000 (10:55 +0200)]
Remove usused variable

9 years agoSyncJournalDB: check the return value of the prepare statements in checkConnect
Olivier Goffart [Tue, 11 Oct 2016 07:51:14 +0000 (09:51 +0200)]
SyncJournalDB: check the return value of the prepare statements in checkConnect

Relates to #5199

9 years agoTheme: Fix compiler warning
Olivier Goffart [Tue, 11 Oct 2016 08:29:24 +0000 (10:29 +0200)]
Theme: Fix compiler warning

Relates #5227

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

9 years agoAccoutWizard: Change the set policy of a radio button
Olivier Goffart [Mon, 10 Oct 2016 10:47:59 +0000 (12:47 +0200)]
AccoutWizard: Change the set policy of a radio button

In an attempt to make sure the button next to it don't get too small.

Issue #5209

9 years agoOwnSQL: avoid crashing in SqlQuery::reset_and_clear_bindings
Olivier Goffart [Thu, 22 Sep 2016 09:25:27 +0000 (11:25 +0200)]
OwnSQL: avoid crashing in SqlQuery::reset_and_clear_bindings

The crash reporter shows a lot of crashes in sqlite3_clear_bindings
which seems to indicate that _stmt is null. We should guard against
a null value in order to avoid crashing.

This should only happen if the prepare call fails. We don't usually
check the return value of the prepare call, but if _stmt is null, the
exec call should return false, not true. We check the result of the
exec call, so this should then abort the sync with an error, rather
than crashing.

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

9 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sun, 9 Oct 2016 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 Oct 2016 00:18:33 +0000 (02:18 +0200)]
[tx-robot] updated from transifex

9 years agoTray: Fix crash on startup for non-OSX oses
Christian Kamm [Fri, 7 Oct 2016 11:32:42 +0000 (13:32 +0200)]
Tray: Fix crash on startup for non-OSX oses