nextcloud-desktop.git
10 years agoSyncEngine: keep a static pointer to the codec
Olivier Goffart [Wed, 21 Oct 2015 14:01:44 +0000 (16:01 +0200)]
SyncEngine: keep a static pointer to the codec

The QTextCodec for UTF-8 is not going to change during the application life time.
So no need to look it up for every file

10 years agocsync_statedb: Use the index in csync_statedb_get_below_path
Olivier Goffart [Wed, 21 Oct 2015 13:44:16 +0000 (15:44 +0200)]
csync_statedb: Use the index in csync_statedb_get_below_path

Make an index from the path, and make a query that uses the index

10 years agocsync_update: Don't fetch the etag in the local discovery from the DB
Olivier Goffart [Wed, 21 Oct 2015 12:17:30 +0000 (14:17 +0200)]
csync_update: Don't fetch the etag in the local discovery from the DB

We don't need it, and it's slow.
This saves a lot of DB queries

(Also replaced a strlen>0 with a faster check)

10 years agosqlite: Update to version 3.9.1
Markus Goetz [Wed, 21 Oct 2015 13:55:41 +0000 (15:55 +0200)]
sqlite: Update to version 3.9.1

For OS X and Windows.
This is in line with the tests/benchmarks Olivier is doing on ArchLinux.

10 years agosync-exclude.lst: Remove entries that are hardcoded anyway
Olivier Goffart [Tue, 20 Oct 2015 16:18:21 +0000 (18:18 +0200)]
sync-exclude.lst: Remove entries that are hardcoded anyway

The more item in the sync-exclude.lst, the slower is the sync.
Many items are already hardcoded. Some are files that no longer
exist.

10 years agocsync_exclude: Use PathMatchSpecA instead of PathMatchSpecW
Olivier Goffart [Tue, 20 Oct 2015 15:06:32 +0000 (17:06 +0200)]
csync_exclude: Use PathMatchSpecA instead of PathMatchSpecW

So we avoid lots of memory allocation.
We can work with char* directly since both the pattern and the file
name are in UTF-8 and there is no need to understand unicode for
such pattern.

(In fact, '?' would not match anyore non-ascii characters, but I
don't think that's a problem. I don't think anyone use '?' in its
exclude list. And the two allocations per call to csync_fnmatch are
really worth getting rid of)

10 years agocsync_exclude: Optimize
Olivier Goffart [Tue, 20 Oct 2015 14:46:27 +0000 (16:46 +0200)]
csync_exclude: Optimize

Avoid alocations as much as possible

10 years agoOS X: Use Cocoa Pasteboard instead of QClipBoard #3300
Markus Goetz [Tue, 20 Oct 2015 13:42:14 +0000 (15:42 +0200)]
OS X: Use Cocoa Pasteboard instead of QClipBoard #3300

10 years agoAccount Settings: clear the focus of the "Sign In" button when clicked
Olivier Goffart [Tue, 20 Oct 2015 11:56:35 +0000 (13:56 +0200)]
Account Settings: clear the focus of the "Sign In" button when clicked

So that the focus does not go to the "Remove Account" button instead
which would be wierd

10 years agoTheme: cache the QIcon::fromTheme
Olivier Goffart [Tue, 20 Oct 2015 11:24:11 +0000 (13:24 +0200)]
Theme: cache the QIcon::fromTheme

We are calling that every time we draw the folder delegate.
Which is a lot when the sync is runing and the progress bar is moving

10 years agoLogger: don't call qFormatLog when unessesary
Olivier Goffart [Tue, 20 Oct 2015 11:22:48 +0000 (13:22 +0200)]
Logger: don't call qFormatLog when unessesary

That's a lot of string operations that can be avoided if the log window
is not shown

10 years agoFix compilation warning
Olivier Goffart [Tue, 20 Oct 2015 09:35:25 +0000 (11:35 +0200)]
Fix compilation warning

shibbolethcredentials.h:59:10: warning: 'askFromUser' overrides a member
function but is not marked 'override' [-Winconsistent-missing-override]

10 years agoFolder Model: don't try to fetch data if the account is disconnected
Olivier Goffart [Mon, 19 Oct 2015 16:32:34 +0000 (18:32 +0200)]
Folder Model: don't try to fetch data if the account is disconnected

Now that it expands automatically, it would do lots of query to the
server when the account is disconnected. (all resulting in 401)

10 years agoAccount Settings: Don't expand while clicking on the '...' button
Olivier Goffart [Mon, 19 Oct 2015 16:23:56 +0000 (18:23 +0200)]
Account Settings: Don't expand while clicking on the '...' button

10 years agoAccount Settings: Don't disable double click expanding for sub folders
Olivier Goffart [Mon, 19 Oct 2015 16:12:49 +0000 (18:12 +0200)]
Account Settings: Don't disable double click expanding for sub folders

The root folder open on simple click,  but the sub folder don't, so keep
this behaviour which is the native behaviour

10 years agoAccount Settings: Fix crash for acocunts withour folder
Olivier Goffart [Mon, 19 Oct 2015 16:08:11 +0000 (18:08 +0200)]
Account Settings: Fix crash for acocunts withour folder

Was broken by  027a865fbc1dbee52bb100e488c869383b1e92df

10 years agoDiscovery: Call it "Checking for changes in" in UI
Markus Goetz [Mon, 19 Oct 2015 13:59:16 +0000 (15:59 +0200)]
Discovery: Call it "Checking for changes in" in UI

For #3431

10 years agoVERSION.cmake: fixup
Markus Goetz [Mon, 19 Oct 2015 13:56:45 +0000 (15:56 +0200)]
VERSION.cmake: fixup

10 years agoMerge branch 'master'
Olivier Goffart [Mon, 19 Oct 2015 13:53:58 +0000 (15:53 +0200)]
Merge branch 'master'

10 years agoDolphin shell integration: use the owncloud icons
Olivier Goffart [Mon, 19 Oct 2015 13:53:40 +0000 (15:53 +0200)]
Dolphin shell integration: use the owncloud icons

10 years agoVERSION.cmake: This is git not rc1
Markus Goetz [Mon, 19 Oct 2015 13:51:33 +0000 (15:51 +0200)]
VERSION.cmake: This is git not rc1

10 years agoDolphin Shell Extension: renamove the kf5 in the name
Olivier Goffart [Mon, 19 Oct 2015 13:43:42 +0000 (15:43 +0200)]
Dolphin Shell Extension: renamove the kf5 in the name

10 years agoDolphin shell extention: Remove the KDE4 based plugin
Olivier Goffart [Mon, 19 Oct 2015 13:42:41 +0000 (15:42 +0200)]
Dolphin shell extention: Remove the KDE4 based plugin

10 years agoMerge branch 'dolphin-plugin'
Olivier Goffart [Mon, 19 Oct 2015 13:41:47 +0000 (15:41 +0200)]
Merge branch 'dolphin-plugin'

10 years agoDolphin shell integration: Renames the plugins
Olivier Goffart [Mon, 19 Oct 2015 13:22:27 +0000 (15:22 +0200)]
Dolphin shell integration: Renames the plugins

And put the helper in a shared library so it is shared accross both plugins

10 years agoDolphin shell integration: share code between two plugins
Olivier Goffart [Fri, 11 Sep 2015 10:50:07 +0000 (12:50 +0200)]
Dolphin shell integration: share code between two plugins

10 years agoDolphin shell extention: adapt to the change in KDE Frameworks
Olivier Goffart [Mon, 19 Oct 2015 06:57:25 +0000 (08:57 +0200)]
Dolphin shell extention: adapt to the change in KDE Frameworks

10 years agoETagJob: Depth 0 for server >= 8.1 #3730
Markus Goetz [Fri, 16 Oct 2015 09:52:27 +0000 (11:52 +0200)]
ETagJob: Depth 0 for server >= 8.1 #3730

10 years agoSelectiveSyncTreeView: show the size for the root item (#3755)
Olivier Goffart [Mon, 19 Oct 2015 08:58:54 +0000 (10:58 +0200)]
SelectiveSyncTreeView: show the size for the root item (#3755)

10 years agoMerge branch '2.0'
Olivier Goffart [Mon, 19 Oct 2015 08:57:37 +0000 (10:57 +0200)]
Merge branch '2.0'

 Conflicts:
src/gui/folder.cpp

10 years agocsync: Fix warning the bit field need to be unsigned
Olivier Goffart [Mon, 19 Oct 2015 08:12:45 +0000 (10:12 +0200)]
csync: Fix warning the bit field need to be unsigned

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Mon, 19 Oct 2015 05:15:39 +0000 (01:15 -0400)]
[tx-robot] updated from transifex

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sun, 18 Oct 2015 05:15:40 +0000 (01:15 -0400)]
[tx-robot] updated from transifex

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sat, 17 Oct 2015 06:19:01 +0000 (02:19 -0400)]
[tx-robot] updated from transifex

10 years agoConfig: Use monochrome icons per default on MacOSX.
Klaas Freitag [Fri, 16 Oct 2015 16:55:07 +0000 (18:55 +0200)]
Config: Use monochrome icons per default on MacOSX.

10 years agocsync: fix compilation error with -pedentic
Olivier Goffart [Fri, 16 Oct 2015 09:45:36 +0000 (11:45 +0200)]
csync: fix compilation error with -pedentic

10 years agoSyncEngine: Folders with ignored files should not count when counting none files
Olivier Goffart [Fri, 16 Oct 2015 09:29:35 +0000 (11:29 +0200)]
SyncEngine: Folders with ignored files should not count when counting none files

If there is a any none files, we do not show the dialog saying that all
files have been removed. If a directory contiains ignored files, we still
want to show this message box even if the directory will not be deleted

10 years agoUpdate Changelog and bump version to 2.0.2rc1
Klaas Freitag [Fri, 16 Oct 2015 09:12:50 +0000 (11:12 +0200)]
Update Changelog and bump version to 2.0.2rc1

10 years agoMerge branch '2.0' of github.com:owncloud/mirall into 2.0
Klaas Freitag [Fri, 16 Oct 2015 08:08:27 +0000 (10:08 +0200)]
Merge branch '2.0' of github.com:owncloud/mirall into 2.0

10 years agoPropagator: Reset upload blacklist if a chunk suceeds
Markus Goetz [Fri, 16 Oct 2015 08:05:27 +0000 (10:05 +0200)]
Propagator: Reset upload blacklist if a chunk suceeds

For #3934

10 years agoMerge tag 'v2.0.1' into 2.0
Klaas Freitag [Fri, 16 Oct 2015 08:06:38 +0000 (10:06 +0200)]
Merge tag 'v2.0.1' into 2.0

Version 2.0.1

10 years agoUpdater: remove unused function
Olivier Goffart [Fri, 16 Oct 2015 07:55:51 +0000 (09:55 +0200)]
Updater: remove unused function

It was even throwing a warning because it is an infinite recursion

10 years agocsync_file_stat_s: Save a bit of memory
Olivier Goffart [Fri, 16 Oct 2015 07:55:14 +0000 (09:55 +0200)]
csync_file_stat_s: Save a bit of memory

10 years agoIncreased fileID size to 36 bytes
Hugo Gonzalez Labrador [Sat, 10 Oct 2015 11:26:23 +0000 (13:26 +0200)]
Increased fileID size to 36 bytes

This is the size used by UUIDs

10 years agoMerge pull request #3695 from owncloud/nomkpath3692
Olivier Goffart [Fri, 16 Oct 2015 07:21:15 +0000 (09:21 +0200)]
Merge pull request #3695 from owncloud/nomkpath3692

Folder: Do not create the sync folder if it does not exist #3692

10 years agoShibboleth: Add our base user agent to WebKit
Markus Goetz [Thu, 15 Oct 2015 13:51:23 +0000 (15:51 +0200)]
Shibboleth: Add our base user agent to WebKit

For #3913

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Fri, 16 Oct 2015 06:19:02 +0000 (02:19 -0400)]
[tx-robot] updated from transifex

10 years agoGeneral settings: Align checkbox #3758
Markus Goetz [Thu, 15 Oct 2015 17:15:50 +0000 (19:15 +0200)]
General settings: Align checkbox #3758

10 years agoAccount Settings: Show selective sync buttons after list load
Markus Goetz [Thu, 15 Oct 2015 16:50:54 +0000 (18:50 +0200)]
Account Settings: Show selective sync buttons after list load

Especially nice when having a slower network.
For #3839

10 years agoAccount Settings: Expand selective sync on show #3585
Markus Goetz [Thu, 15 Oct 2015 15:27:38 +0000 (17:27 +0200)]
Account Settings: Expand selective sync on show #3585

10 years agofolderstatusmodel.h: Fix warning
Markus Goetz [Thu, 15 Oct 2015 15:27:29 +0000 (17:27 +0200)]
folderstatusmodel.h: Fix warning

10 years agoVERSION.cmake: master is 2.1
Markus Goetz [Thu, 15 Oct 2015 14:51:29 +0000 (16:51 +0200)]
VERSION.cmake: master is 2.1

10 years agoMerge remote-tracking branch 'origin/2.0'
Christian Kamm [Thu, 15 Oct 2015 13:54:09 +0000 (15:54 +0200)]
Merge remote-tracking branch 'origin/2.0'

10 years agoFix test compile
Christian Kamm [Thu, 15 Oct 2015 13:52:58 +0000 (15:52 +0200)]
Fix test compile

I regularly fix errors in the copies of the test sources that are
made in build/. Refactoring how these tests work could be worthwhile.

10 years agoProgress estimation: Adjust low-transfer detection #3942
Christian Kamm [Thu, 15 Oct 2015 11:28:29 +0000 (13:28 +0200)]
Progress estimation: Adjust low-transfer detection #3942

Progress estimation is usually based on transfer speed. That makes no
sense when we're doing operations like deletes, that need very little
data transfer but nevertheless take a long time.

This hack attempts to detect this case better and switches to a
different estimate.

We should rewrite this to maintain and update estimates for the
transfer speed, per-file overhead and chunk-assembly overhead each
time an item finishes. Then we could provide more consistent progress
estimates without ad-hoc fixes like this one.

Also, there's an issue where resuming a partial download will lead
to exaggerated transfer speed estimates.

10 years agoETag: Allow parsing of weak tags #3946
Christian Kamm [Thu, 15 Oct 2015 12:57:06 +0000 (14:57 +0200)]
ETag: Allow parsing of weak tags #3946

10 years agoSelectiveSync: Increase folder list timeout to 60
Markus Goetz [Thu, 15 Oct 2015 12:30:23 +0000 (14:30 +0200)]
SelectiveSync: Increase folder list timeout to 60

Already done for 2.1 in 05eee16959ab7cc485bee9c273392b84ba57eae8
For #3524

10 years agoDon't show the settings if another instance is started less than 10 secs after the...
Olivier Goffart [Thu, 15 Oct 2015 12:19:46 +0000 (14:19 +0200)]
Don't show the settings if another instance is started less than 10 secs after the apps.

Issue #3273

isSessionRestored was not set correctlty so ignore it

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Thu, 15 Oct 2015 06:19:02 +0000 (02:19 -0400)]
[tx-robot] updated from transifex

10 years agoMerge pull request #3950 from owncloud/revert-3931-phil-davis-3dot-menu-doc-20
Carla Schroder [Wed, 14 Oct 2015 16:04:06 +0000 (09:04 -0700)]
Merge pull request #3950 from owncloud/revert-3931-phil-davis-3dot-menu-doc-20

Revert "Update "..." menu documentation for 2.0"

10 years agoRevert "Update "..." menu documentation for 2.0"
Carla Schroder [Wed, 14 Oct 2015 16:03:08 +0000 (09:03 -0700)]
Revert "Update "..." menu documentation for 2.0"

10 years agoMerge pull request #3661 from rullzer/public_upload
Roeland Douma [Wed, 14 Oct 2015 13:34:25 +0000 (15:34 +0200)]
Merge pull request #3661 from rullzer/public_upload

Allow setting of public upload on link shares

10 years agoAllow setting op public upload on link shares
Roeland Jago Douma [Thu, 20 Aug 2015 11:40:10 +0000 (13:40 +0200)]
Allow setting op public upload on link shares

10 years agoAlso parse capabilitie for public uploads
Roeland Jago Douma [Thu, 20 Aug 2015 11:39:44 +0000 (13:39 +0200)]
Also parse capabilitie for public uploads

10 years agoSelectiveSync: Show in-progress label #3524
Christian Kamm [Tue, 13 Oct 2015 12:10:52 +0000 (14:10 +0200)]
SelectiveSync: Show in-progress label #3524

We now show 'Fetching data...' after a second.

This also increased the timeout to 60s, making the error
condition much less likely.

10 years agoMerge pull request #3923 from owncloud/check_shareapi_available
Roeland Douma [Wed, 14 Oct 2015 10:38:03 +0000 (12:38 +0200)]
Merge pull request #3923 from owncloud/check_shareapi_available

Provide information about share availablity for files

10 years agoAdd SHARE_STATUS socketAPI command
Roeland Jago Douma [Tue, 6 Oct 2015 07:39:24 +0000 (09:39 +0200)]
Add SHARE_STATUS socketAPI command

This command allows to retrieve the share status of a file. In other
words if it can be shared.

10 years agoExtended capabilities API
Roeland Jago Douma [Tue, 6 Oct 2015 07:07:45 +0000 (09:07 +0200)]
Extended capabilities API

* Naming of capabilities is now a bit more consistent

10 years agoAccountSettings: Show disabled 'Add Folder' tooltip on click #3645
Christian Kamm [Wed, 14 Oct 2015 09:34:30 +0000 (11:34 +0200)]
AccountSettings: Show disabled 'Add Folder' tooltip on click #3645

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Wed, 14 Oct 2015 06:19:00 +0000 (02:19 -0400)]
[tx-robot] updated from transifex

10 years agoExcludedFiles: Add test
Christian Kamm [Tue, 13 Oct 2015 13:01:59 +0000 (15:01 +0200)]
ExcludedFiles: Add test

10 years agoExclusion: Fix confusion with relative and absolute paths
Christian Kamm [Tue, 13 Oct 2015 10:53:38 +0000 (12:53 +0200)]
Exclusion: Fix confusion with relative and absolute paths

10 years agoSelectiveSync: Don't adjust removed path
Christian Kamm [Tue, 13 Oct 2015 10:37:27 +0000 (12:37 +0200)]
SelectiveSync: Don't adjust removed path

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Tue, 13 Oct 2015 06:19:01 +0000 (02:19 -0400)]
[tx-robot] updated from transifex

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Mon, 12 Oct 2015 06:18:57 +0000 (02:18 -0400)]
[tx-robot] updated from transifex

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

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sat, 10 Oct 2015 06:19:00 +0000 (02:19 -0400)]
[tx-robot] updated from transifex

10 years agoFileSystem: Reuse the FileInfo object that is created in the caller.
Klaas Freitag [Fri, 9 Oct 2015 11:02:02 +0000 (13:02 +0200)]
FileSystem: Reuse the FileInfo object that is created in the caller.

With that, a lot of stats can be avoided, ie. in SocketAPI

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Fri, 9 Oct 2015 06:18:57 +0000 (02:18 -0400)]
[tx-robot] updated from transifex

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Fri, 9 Oct 2015 05:15:36 +0000 (01:15 -0400)]
[tx-robot] updated from transifex

10 years agoSocketAPI: String concat optimization as learned on QtWS.
Klaas Freitag [Thu, 8 Oct 2015 16:26:30 +0000 (18:26 +0200)]
SocketAPI: String concat optimization as learned on QtWS.

10 years agoPropagatorjobs: Removed superflous semicolon.
Klaas Freitag [Thu, 8 Oct 2015 14:20:42 +0000 (16:20 +0200)]
Propagatorjobs: Removed superflous semicolon.

10 years agoMerge pull request #3931 from owncloud/phil-davis-3dot-menu-doc-20
Daniel Molkentin [Thu, 8 Oct 2015 06:53:41 +0000 (08:53 +0200)]
Merge pull request #3931 from owncloud/phil-davis-3dot-menu-doc-20

Update "..." menu documentation for 2.0

10 years agoUpdate "..." menu documentation for 2.0
Phil Davis [Thu, 8 Oct 2015 06:43:15 +0000 (12:28 +0545)]
Update "..." menu documentation for 2.0

This menu in 2.0.* now has 4 options.
The small screenshot needs updating also. @carlaschroder it is probably best if you take a new screen shot from whatever client version you have been using for screen shots. That way they will all have a consistent look.

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Thu, 8 Oct 2015 06:18:57 +0000 (02:18 -0400)]
[tx-robot] updated from transifex

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Wed, 7 Oct 2015 06:19:00 +0000 (02:19 -0400)]
[tx-robot] updated from transifex

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Wed, 7 Oct 2015 05:15:35 +0000 (01:15 -0400)]
[tx-robot] updated from transifex

10 years agoMerge pull request #3899 from sebasje/sebas/cmake
Klaas Freitag [Tue, 6 Oct 2015 13:36:43 +0000 (15:36 +0200)]
Merge pull request #3899 from sebasje/sebas/cmake

fix multiarch library path for Debian/Ubuntu

10 years agoMerge pull request #3919 from phil-davis/libsynctypos
Klaas Freitag [Tue, 6 Oct 2015 12:49:54 +0000 (14:49 +0200)]
Merge pull request #3919 from phil-davis/libsynctypos

libsync comment and message typos for master

10 years agoMerge pull request #3920 from phil-davis/guitypos
Klaas Freitag [Tue, 6 Oct 2015 12:46:00 +0000 (14:46 +0200)]
Merge pull request #3920 from phil-davis/guitypos

GUI comment and message typos for master

10 years agoMerge pull request #3922 from RealRancor/backport_3916_2.0
Klaas Freitag [Tue, 6 Oct 2015 12:42:40 +0000 (14:42 +0200)]
Merge pull request #3922 from RealRancor/backport_3916_2.0

Backport #3916 to 2.0 - thanks

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

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Tue, 6 Oct 2015 05:15:38 +0000 (01:15 -0400)]
[tx-robot] updated from transifex

10 years agoBackport #3916 to 2.0
RealRancor [Mon, 5 Oct 2015 14:22:11 +0000 (16:22 +0200)]
Backport #3916 to 2.0

10 years agoGUI comment and message typos for master
Phil Davis [Mon, 5 Oct 2015 04:21:19 +0000 (10:06 +0545)]
GUI comment and message typos for master

10 years agolibtypos comment and message typos for master
Phil Davis [Mon, 5 Oct 2015 03:20:09 +0000 (09:05 +0545)]
libtypos comment and message typos for master

10 years agoMerge pull request #3916 from RealRancor/fix_rst_syntax
Klaas Freitag [Sun, 4 Oct 2015 15:59:45 +0000 (17:59 +0200)]
Merge pull request #3916 from RealRancor/fix_rst_syntax

Fix linkname in architecture.rst.

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sun, 4 Oct 2015 06:18:56 +0000 (02:18 -0400)]
[tx-robot] updated from transifex

10 years agoFix linkname in architecture.rst.
RealRancor [Sat, 3 Oct 2015 19:42:23 +0000 (21:42 +0200)]
Fix linkname in architecture.rst.

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sat, 3 Oct 2015 06:19:01 +0000 (02:19 -0400)]
[tx-robot] updated from transifex