Christian Kamm [Wed, 14 Oct 2015 13:45:44 +0000 (15:45 +0200)]
Propagate: Store computed checksums in db during upload #3735
Christian Kamm [Wed, 14 Oct 2015 13:29:27 +0000 (15:29 +0200)]
Propagate: On download store checksum header in db #3735
Christian Kamm [Wed, 14 Oct 2015 13:03:19 +0000 (15:03 +0200)]
SyncJournal: Add checksumHeader column to metadata table #3735
Christian Kamm [Wed, 14 Oct 2015 13:03:40 +0000 (15:03 +0200)]
Checksums: Improvement in async computation and validation #3735
Christian Kamm [Wed, 14 Oct 2015 11:41:51 +0000 (13:41 +0200)]
Revert "In case of empty checksum type, emit validated."
This reverts commit
b05ca526a46c8a306ccfb4aca0d5cf94881ba14f.
The checksum type setting should not matter for downloads.
Christian Kamm [Wed, 28 Oct 2015 08:53:54 +0000 (09:53 +0100)]
PropagateUpload: Fix double-emission of finished #3844
Christian Kamm [Wed, 28 Oct 2015 08:53:06 +0000 (09:53 +0100)]
Fix compile after pull request merge
It conflicted with the optimization in
f18b40f7e7890a659d20f1d3bbd3125a3089b612
Klaas Freitag [Wed, 28 Oct 2015 08:28:35 +0000 (09:28 +0100)]
Merge pull request #4004 from owncloud/fix_hidden_detection
Fix hidden detection
Olivier Goffart [Mon, 19 Oct 2015 16:53:36 +0000 (18:53 +0200)]
Folder Model: The item needs to be selectable for the currenIndex to appear selected
And we set the current index in AccountSettings::slotLinkActivated
Olivier Goffart [Mon, 19 Oct 2015 16:46:39 +0000 (18:46 +0200)]
Account Settings: A link should make sure all the parents are expanded
Klaas Freitag [Wed, 7 Oct 2015 15:59:33 +0000 (17:59 +0200)]
FolderStatusModel: Check for null argument at start.
Klaas Freitag [Wed, 7 Oct 2015 16:00:21 +0000 (18:00 +0200)]
AccountSettings: Display a link for undecided dirs in the sub text.
This only works in case the index is known. If not, no link is
shown, but we wait for the next update of the model.
Klaas Freitag [Mon, 5 Oct 2015 10:06:26 +0000 (12:06 +0200)]
AccountSettings: Add index to undecided folder to be able to select it.
Klaas Freitag [Tue, 1 Sep 2015 13:37:37 +0000 (15:37 +0200)]
Enable external links in the label.
Klaas Freitag [Tue, 1 Sep 2015 13:37:01 +0000 (15:37 +0200)]
Add slot to handle clicks on folder names.
Olivier Goffart [Tue, 27 Oct 2015 15:07:59 +0000 (16:07 +0100)]
IgnoreFiles: Fix the socket API would not load the new custom ignored files #3496
We did not flush or closed the file after having modified it from the UI.
So when the socket api was reloading it, it wouldn't be able to load
the newly added rules
Olivier Goffart [Tue, 27 Oct 2015 15:06:38 +0000 (16:06 +0100)]
SocketApi: Fix returning ignore for the root item all the time
Olivier Goffart [Tue, 27 Oct 2015 14:10:24 +0000 (15:10 +0100)]
Dolphin integration: fix error icons
Olivier Goffart [Tue, 27 Oct 2015 12:51:56 +0000 (13:51 +0100)]
FolderStatusModel: reset also if a folder was renamed #4011
Olivier Goffart [Tue, 27 Oct 2015 12:42:25 +0000 (13:42 +0100)]
Settings Dialog: don't put padding on the toolbar extension
Otherwise the extension just disapear with some styles (see Issue #3795)
Olivier Goffart [Tue, 27 Oct 2015 11:52:33 +0000 (12:52 +0100)]
FolderDelegate: put the progressbar in place of the remote or local folder #3403 #3569
So the size of the delegate does not change
Olivier Goffart [Tue, 27 Oct 2015 11:12:21 +0000 (12:12 +0100)]
Use the term folder sync connection in more places #3757
Olivier Goffart [Tue, 27 Oct 2015 09:31:54 +0000 (10:31 +0100)]
AccountSettings: don't disable pause when offline (#4010)
Klaas Freitag [Mon, 26 Oct 2015 13:24:05 +0000 (14:24 +0100)]
Discovery: Fix detection of hidden files.
In the discovery phase we want to detect that dot-files are hidden
on Linux and Mac.
This fixes strange behaviour seen in issue #3980
Olivier Goffart [Mon, 26 Oct 2015 11:31:07 +0000 (12:31 +0100)]
Download: Soft errors for error while resuming (#4000)
Olivier Goffart [Mon, 26 Oct 2015 09:06:10 +0000 (10:06 +0100)]
SocketAPI: don't trim the command #3297
Olivier Goffart [Fri, 23 Oct 2015 15:24:45 +0000 (17:24 +0200)]
Folder::wipe: We need to shut the socket API down before removing the DB
Because the DB stays open and locked.
Should fix #3824
Olivier Goffart [Fri, 23 Oct 2015 15:11:19 +0000 (17:11 +0200)]
SyncEngine: remove unused functions
Olivier Goffart [Fri, 23 Oct 2015 15:06:14 +0000 (17:06 +0200)]
Delete all files: make the 'Keep' on by default
On windows, we need to specify at least one AcceptRole.
Otherwise the DestructiveRole might become the default
Issue #3824
Olivier Goffart [Fri, 23 Oct 2015 14:19:40 +0000 (16:19 +0200)]
SettingsDialog: use QWidgetAction for the toolbar so the extension works
When the toolbar is full because there is no enough room, make the extension
of the toolbar work, by using QWidgetAction::createWidget instead of
QToolBar::insertWidget
There should not be prolem when the window is too narrow.
Relates #3832
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
Jenkins for ownCloud [Thu, 22 Oct 2015 06:19:02 +0000 (02:19 -0400)]
[tx-robot] updated from transifex
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