]>
dgit.raspbian.org Git - nextcloud-desktop.git/log
Olivier Goffart [Wed, 28 Oct 2015 12:25:49 +0000 (13:25 +0100)]
Propagator: Keep a meaningfull error with old server and invalid file names
We changed the discovery code not to ignore files whose filename contains
charachter invalid on windows. (Because newer versions of the server
supports them)
Servers older than 8.1 will just say "Bad Request" as an error and it's a
regression against previous client version. So keep nice error even with
older server.
Relates to #3736
Christian Kamm [Thu, 29 Oct 2015 10:59:11 +0000 (11:59 +0100)]
Hidden files: Consider .* hidden everywhere #4023
This seems to be the only place where we did this only on
non-windows OSes.
ckamm [Thu, 29 Oct 2015 09:40:24 +0000 (10:40 +0100)]
Merge pull request #3951 from ckamm/checksum
Checksums stored in database #3735
Christian Kamm [Thu, 29 Oct 2015 08:48:36 +0000 (09:48 +0100)]
--version also shows Qt version
That makes it much easier for people reporting bugs.
Christian Kamm [Thu, 29 Oct 2015 08:35:42 +0000 (09:35 +0100)]
Propagator: Add blacklisting of disk space errors #2939
Daniel Molkentin [Wed, 28 Oct 2015 19:42:53 +0000 (20:42 +0100)]
State application name in update notification
Fixes #4020
Markus Goetz [Wed, 28 Oct 2015 16:03:47 +0000 (17:03 +0100)]
ChangeLog: Mention propagator removal
Christian Kamm [Wed, 28 Oct 2015 13:42:44 +0000 (14:42 +0100)]
Checksum: Don't lose it on metadata update #3735
Also improve tests.
Christian Kamm [Wed, 28 Oct 2015 13:22:29 +0000 (14:22 +0100)]
Checksum: Fixes after review
Christian Kamm [Wed, 28 Oct 2015 10:00:03 +0000 (11:00 +0100)]
Checksum: Put checksum type into separate column #3735
Olivier Goffart [Wed, 28 Oct 2015 12:24:57 +0000 (13:24 +0100)]
Fix Qt4 compilation
Markus Goetz [Wed, 28 Oct 2015 10:25:02 +0000 (11:25 +0100)]
sync-exclude.lst: More likely matching files first
Markus Goetz [Wed, 28 Oct 2015 10:18:44 +0000 (11:18 +0100)]
Exclude: Add .fuse_hidden #3999
No matter if we sync hidden files or not, those are files we should not sync
Markus Goetz [Wed, 28 Oct 2015 10:06:50 +0000 (11:06 +0100)]
Merge branch 'kill_legacy_propagator'
Markus Goetz [Wed, 28 Oct 2015 09:59:02 +0000 (10:59 +0100)]
legacy propagator: Remove more code
Christian Kamm [Wed, 28 Oct 2015 09:04:15 +0000 (10:04 +0100)]
csync tests: Remove unused function
Christian Kamm [Wed, 28 Oct 2015 08:59:33 +0000 (09:59 +0100)]
Checksum: Disallow ADLER32, use Adler32 #3735
Christian Kamm [Thu, 15 Oct 2015 07:54:01 +0000 (09:54 +0200)]
Checksum: Fix recomputation when forced in cfg file #3735
Don't recompute the checksum on each upload when the server does not
advertise supporting checksums.
Christian Kamm [Thu, 15 Oct 2015 07:39:49 +0000 (09:39 +0200)]
Checksum: Add env variables to disable #3735
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
Olivier Goffart [Thu, 22 Oct 2015 15:57:34 +0000 (17:57 +0200)]
Network Settings: Adjust the bandwidth limit option with old Qt
- Disable the whole group box
- Add a tooltip explaining why it is disabled
- Make sure it is disabled in the settings in case of upgrade
- Do a runtime check in case the running Qt is greater
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 14:58:32 +0000 (16:58 +0200)]
Remove legacy propagator and neon
The code was already uneeded/unbuilt on Windows and OS X.
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