]>
dgit.raspbian.org Git - nextcloud-desktop.git/log
Olivier Goffart [Fri, 23 Oct 2015 13:13:15 +0000 (15:13 +0200)]
FolderStatusModel: fix getting the size of the folder in the selective sync (#3986)
Regressed since
d610693af104e98f934878f228f6da57a2380fb2 . The problem
is that the _size vector contains the pathToRemove and that it was removed
before.
Reorganize a bit the code so there is only one loop that has still all the
information.
Olivier Goffart [Thu, 22 Oct 2015 00:29:27 +0000 (02:29 +0200)]
csync_vio: reuse the information from readdir in stat
On unix we don't safe much (otherwise csync would have been
designed differently).
On windows however, the readdir already fetch all the info, so we
can as well use it.
We still have to query for the file id but we might optimize that later
Daniel Molkentin [Thu, 22 Oct 2015 14:20:59 +0000 (16:20 +0200)]
Revert "Settings dialog: remove the close button #3713"
This reverts commit
ebee6f0bc266bd68809a3f553bce14bde5116fdf .
Unix window managers do not have a reliable way of hinting buttons,
so we need the close button.
Olivier Goffart [Thu, 22 Oct 2015 10:31:52 +0000 (12:31 +0200)]
csync_exclude: Don't ignore invalid char client side (#3736)
If the server does not support it, then the server will reply with an error
Olivier Goffart [Thu, 22 Oct 2015 10:23:44 +0000 (12:23 +0200)]
test/CMakeLists.txt: remove comments
Olivier Goffart [Wed, 21 Oct 2015 23:13:35 +0000 (01:13 +0200)]
Folder: set csync verbosity to 0 if the Logger is not there
csync_log was still accounting for 8% of the local discovery (because
of vsnprintf and asprintf)
Olivier Goffart [Wed, 21 Oct 2015 22:20:13 +0000 (00:20 +0200)]
Logger: speedup the sync discovery when the log is innactive
The sync throw a lot of log message, and QDateTime::fromCurrentTime is
quite expensive. So don't call it if it's not needed.
Daniel Molkentin [Wed, 21 Oct 2015 16:49:58 +0000 (18:49 +0200)]
Merge remote-tracking branch 'origin/2.0'
Daniel Molkentin [Wed, 21 Oct 2015 16:49:38 +0000 (18:49 +0200)]
Merge pull request #3982 from owncloud/20-update
update 3-dot menu
Carla Schroder [Wed, 21 Oct 2015 16:44:38 +0000 (09:44 -0700)]
update 3-dot menu
Olivier Goffart [Wed, 21 Oct 2015 16:40:04 +0000 (18:40 +0200)]
Sharing: change coding style of enum
From all upper case to camel case
This hopefully fix the Windows build which fails because DELETE seems
to be a macro
Roeland Douma [Wed, 21 Oct 2015 14:55:59 +0000 (16:55 +0200)]
Merge pull request #3773 from owncloud/split_sharedialog
Split sharedialog code
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
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
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)
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.
Daniel Molkentin [Wed, 21 Oct 2015 07:48:18 +0000 (09:48 +0200)]
set version suffix back to git
Jenkins for ownCloud [Wed, 21 Oct 2015 06:19:02 +0000 (02:19 -0400)]
[tx-robot] updated from transifex
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.
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)
Olivier Goffart [Tue, 20 Oct 2015 14:46:27 +0000 (16:46 +0200)]
csync_exclude: Optimize
Avoid alocations as much as possible
Markus Goetz [Tue, 20 Oct 2015 13:45:47 +0000 (15:45 +0200)]
Merge tag 'v2.0.2-rc2' into 2.0
Second RC of ownCloud Client 2.0.2
Markus Goetz [Tue, 20 Oct 2015 13:42:14 +0000 (15:42 +0200)]
OS X: Use Cocoa Pasteboard instead of QClipBoard #3300
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
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
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
Markus Goetz [Tue, 20 Oct 2015 11:00:55 +0000 (13:00 +0200)]
Revert libqsqlite changes for now
QtWebKit depends on it unfortunately
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]
Klaas Freitag [Tue, 20 Oct 2015 09:30:00 +0000 (11:30 +0200)]
Bump version to RC2
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)
Olivier Goffart [Mon, 19 Oct 2015 16:23:56 +0000 (18:23 +0200)]
Account Settings: Don't expand while clicking on the '...' button
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
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
Markus Goetz [Mon, 19 Oct 2015 13:59:16 +0000 (15:59 +0200)]
Discovery: Call it "Checking for changes in" in UI
For #3431
Markus Goetz [Mon, 19 Oct 2015 13:56:45 +0000 (15:56 +0200)]
VERSION.cmake: fixup
Olivier Goffart [Mon, 19 Oct 2015 13:53:58 +0000 (15:53 +0200)]
Merge branch 'master'
Olivier Goffart [Mon, 19 Oct 2015 13:53:40 +0000 (15:53 +0200)]
Dolphin shell integration: use the owncloud icons
Markus Goetz [Mon, 19 Oct 2015 13:51:33 +0000 (15:51 +0200)]
VERSION.cmake: This is git not rc1
Olivier Goffart [Mon, 19 Oct 2015 13:43:42 +0000 (15:43 +0200)]
Dolphin Shell Extension: renamove the kf5 in the name
Olivier Goffart [Mon, 19 Oct 2015 13:42:41 +0000 (15:42 +0200)]
Dolphin shell extention: Remove the KDE4 based plugin
Olivier Goffart [Mon, 19 Oct 2015 13:41:47 +0000 (15:41 +0200)]
Merge branch 'dolphin-plugin'
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
Olivier Goffart [Fri, 11 Sep 2015 10:50:07 +0000 (12:50 +0200)]
Dolphin shell integration: share code between two plugins
Olivier Goffart [Mon, 19 Oct 2015 06:57:25 +0000 (08:57 +0200)]
Dolphin shell extention: adapt to the change in KDE Frameworks
Markus Goetz [Fri, 16 Oct 2015 09:52:27 +0000 (11:52 +0200)]
ETagJob: Depth 0 for server >= 8.1 #3730
Markus Goetz [Mon, 19 Oct 2015 11:56:36 +0000 (13:56 +0200)]
CMake/NSIS: We don't need QtSql (more)
Markus Goetz [Mon, 19 Oct 2015 11:46:13 +0000 (13:46 +0200)]
CMake/NSIS: We don't need QtSql
The NSIS change also had a redundant libsqlite3 DLL entry
Klaas Freitag [Mon, 19 Oct 2015 10:26:42 +0000 (12:26 +0200)]
Theme: Revert logic of singleAccount switch.
To use the same logic as the other clients and unify ownBrander
implementations, the switch is now called multiAccount() rather
than singleAccount() with a reverse logic.
Desktop Client stays with the default of having multiaacount
enabled.
Note that existing brandings need to rename the switch.
https://github.com/owncloud/ownbrander/issues/443
Olivier Goffart [Mon, 19 Oct 2015 08:58:54 +0000 (10:58 +0200)]
SelectiveSyncTreeView: show the size for the root item (#3755)
Olivier Goffart [Mon, 19 Oct 2015 08:57:37 +0000 (10:57 +0200)]
Merge branch '2.0'
Conflicts:
src/gui/folder.cpp
Olivier Goffart [Mon, 19 Oct 2015 08:12:45 +0000 (10:12 +0200)]
csync: Fix warning the bit field need to be unsigned
Jenkins for ownCloud [Mon, 19 Oct 2015 05:15:39 +0000 (01:15 -0400)]
[tx-robot] updated from transifex
Jenkins for ownCloud [Sun, 18 Oct 2015 05:15:40 +0000 (01:15 -0400)]
[tx-robot] updated from transifex
Jenkins for ownCloud [Sat, 17 Oct 2015 06:19:01 +0000 (02:19 -0400)]
[tx-robot] updated from transifex
Klaas Freitag [Fri, 16 Oct 2015 16:55:07 +0000 (18:55 +0200)]
Config: Use monochrome icons per default on MacOSX.
Roeland Jago Douma [Fri, 16 Oct 2015 10:51:24 +0000 (12:51 +0200)]
Typos
Roeland Jago Douma [Fri, 16 Oct 2015 10:48:48 +0000 (12:48 +0200)]
Use overloaded functions
Olivier Goffart [Fri, 16 Oct 2015 09:45:36 +0000 (11:45 +0200)]
csync: fix compilation error with -pedentic
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
Klaas Freitag [Fri, 16 Oct 2015 09:12:50 +0000 (11:12 +0200)]
Update Changelog and bump version to 2.0.2rc1
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
Markus Goetz [Fri, 16 Oct 2015 08:05:27 +0000 (10:05 +0200)]
Propagator: Reset upload blacklist if a chunk suceeds
For #3934
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
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
Olivier Goffart [Fri, 16 Oct 2015 07:55:14 +0000 (09:55 +0200)]
csync_file_stat_s: Save a bit of memory
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
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
Markus Goetz [Thu, 15 Oct 2015 13:51:23 +0000 (15:51 +0200)]
Shibboleth: Add our base user agent to WebKit
For #3913
Roeland Jago Douma [Fri, 16 Oct 2015 06:28:13 +0000 (08:28 +0200)]
Now only 1 constructor to ocssharejob
* Pass the share_id to the functions that need it
Jenkins for ownCloud [Fri, 16 Oct 2015 06:19:02 +0000 (02:19 -0400)]
[tx-robot] updated from transifex
Roeland Jago Douma [Fri, 16 Oct 2015 06:09:57 +0000 (08:09 +0200)]
Move permissions to OcsShareJob
Roeland Jago Douma [Thu, 15 Oct 2015 20:27:55 +0000 (22:27 +0200)]
Remove unused members
Roeland Jago Douma [Thu, 15 Oct 2015 20:18:22 +0000 (22:18 +0200)]
Thumbnailjob fixes
* Comments
* Use the path of the abstractnetworkjob
Roeland Jago Douma [Thu, 15 Oct 2015 19:58:16 +0000 (21:58 +0200)]
Now add parameters in a less crappy way
Roeland Jago Douma [Thu, 15 Oct 2015 18:54:52 +0000 (20:54 +0200)]
OCSJob -> OcsJob and more docs
Roeland Jago Douma [Thu, 15 Oct 2015 18:34:56 +0000 (20:34 +0200)]
Added setPublicUpload to OcsShareJob
Roeland Jago Douma [Mon, 7 Sep 2015 11:50:01 +0000 (13:50 +0200)]
Split sharing code
There is now a generic OCSJob which must be inherited by other jobs. This is in
prepartion for the other OCS job that will come (for the Sharee API endpoint
for example).
More logic is moved from the sharedialog to the OcsShareJob. So in the GUI code
we now only say what we want (a new share, set the password etc). And the code
in libsync will make that happen. Error handling is for now still done in the
GUI part.
For now the ocsjob and ocssharejob live in gui but probabaly we should
create a libshare or libocs at some point.
Markus Goetz [Thu, 15 Oct 2015 17:15:50 +0000 (19:15 +0200)]
General settings: Align checkbox #3758
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
Markus Goetz [Thu, 15 Oct 2015 15:27:38 +0000 (17:27 +0200)]
Account Settings: Expand selective sync on show #3585
Markus Goetz [Thu, 15 Oct 2015 15:27:29 +0000 (17:27 +0200)]
folderstatusmodel.h: Fix warning
Markus Goetz [Thu, 15 Oct 2015 14:51:29 +0000 (16:51 +0200)]
VERSION.cmake: master is 2.1
Christian Kamm [Thu, 15 Oct 2015 13:54:09 +0000 (15:54 +0200)]
Merge remote-tracking branch 'origin/2.0'
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.
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.
Christian Kamm [Thu, 15 Oct 2015 12:57:06 +0000 (14:57 +0200)]
ETag: Allow parsing of weak tags #3946
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
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
Jenkins for ownCloud [Thu, 15 Oct 2015 06:19:02 +0000 (02:19 -0400)]
[tx-robot] updated from transifex
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"
Carla Schroder [Wed, 14 Oct 2015 16:03:08 +0000 (09:03 -0700)]
Revert "Update "..." menu documentation for 2.0"
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
Roeland Jago Douma [Thu, 20 Aug 2015 11:40:10 +0000 (13:40 +0200)]
Allow setting op public upload on link shares
Roeland Jago Douma [Thu, 20 Aug 2015 11:39:44 +0000 (13:39 +0200)]
Also parse capabilitie for public uploads
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.
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
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.
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
Christian Kamm [Wed, 14 Oct 2015 09:34:30 +0000 (11:34 +0200)]
AccountSettings: Show disabled 'Add Folder' tooltip on click #3645
Jenkins for ownCloud [Wed, 14 Oct 2015 06:19:00 +0000 (02:19 -0400)]
[tx-robot] updated from transifex