nextcloud-desktop.git
10 years agoConnectivity: Improve reconnecting after network change/disconnect #4167
Markus Goetz [Mon, 23 Nov 2015 20:47:30 +0000 (21:47 +0100)]
Connectivity: Improve reconnecting after network change/disconnect #4167

10 years agoPropagateLocalRemove: Add debug
Markus Goetz [Mon, 23 Nov 2015 18:33:49 +0000 (19:33 +0100)]
PropagateLocalRemove: Add debug

Was not in log so far

10 years agoActivities: Only emit debug when actually refreshing
Markus Goetz [Mon, 23 Nov 2015 18:08:28 +0000 (19:08 +0100)]
Activities: Only emit debug when actually refreshing

10 years agoChecksums: Reuse the discovery checksum where possible
Christian Kamm [Mon, 23 Nov 2015 12:44:49 +0000 (13:44 +0100)]
Checksums: Reuse the discovery checksum where possible

10 years agoPermissions: Keep more user permissions
Christian Kamm [Mon, 23 Nov 2015 12:23:19 +0000 (13:23 +0100)]
Permissions: Keep more user permissions

t4.pl discovered that it'd needlessly override permissions sometimes

10 years agoRename files
Christian Kamm [Mon, 23 Nov 2015 11:09:25 +0000 (12:09 +0100)]
Rename files

10 years agocsync_update: Remove disabled inode check
Christian Kamm [Mon, 23 Nov 2015 11:01:42 +0000 (12:01 +0100)]
csync_update: Remove disabled inode check

10 years agoChecksums: Don't reupload if size and checksum are unchanged #3235
Christian Kamm [Mon, 23 Nov 2015 10:53:06 +0000 (11:53 +0100)]
Checksums: Don't reupload if size and checksum are unchanged #3235

* Compute the content checksum (in addition to the optional
  transmission checksum) during upload (.eml files only)

* Add hook to compute and compare the checksum in csync_update

* Add content checksum to database, remove transmission checksum

10 years agoAdd an experimental ProppatchJob #3235
Christian Kamm [Thu, 12 Nov 2015 10:20:45 +0000 (11:20 +0100)]
Add an experimental ProppatchJob #3235

10 years agoShareLink: Always initialize expire date #4075
Christian Kamm [Mon, 23 Nov 2015 08:42:16 +0000 (09:42 +0100)]
ShareLink: Always initialize expire date #4075

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Mon, 23 Nov 2015 07:18:23 +0000 (02:18 -0500)]
[tx-robot] updated from transifex

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sun, 22 Nov 2015 07:18:42 +0000 (02:18 -0500)]
[tx-robot] updated from transifex

10 years agoDolphin plugin: build by default
Olivier Goffart [Sat, 21 Nov 2015 11:14:20 +0000 (12:14 +0100)]
Dolphin plugin: build by default

10 years agoDolphin plugin: build with QStringBuilder
Olivier Goffart [Sat, 21 Nov 2015 11:14:03 +0000 (12:14 +0100)]
Dolphin plugin: build with QStringBuilder

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sat, 21 Nov 2015 07:18:42 +0000 (02:18 -0500)]
[tx-robot] updated from transifex

10 years agoowncloudcmd: Don't do a check that file are older than 2s (#4160)
Olivier Goffart [Fri, 20 Nov 2015 14:14:22 +0000 (15:14 +0100)]
owncloudcmd:  Don't do a check that file are older than 2s (#4160)

This is required for the smashbox test to pass

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Fri, 20 Nov 2015 07:18:48 +0000 (02:18 -0500)]
[tx-robot] updated from transifex

10 years agoActivityWidget: display if the server does not support acitivities.
Klaas Freitag [Thu, 19 Nov 2015 15:00:22 +0000 (16:00 +0100)]
ActivityWidget: display if the server does not support acitivities.

If the server does not have the activities app enabled, it says so now.
Fix for #4163

10 years agoNetworkJobs: JSON network job now reports OCS reply code.
Klaas Freitag [Thu, 19 Nov 2015 14:59:10 +0000 (15:59 +0100)]
NetworkJobs: JSON network job now reports OCS reply code.

The signal jsonReceived() now not only delivers the raw json string, but
also the status code that came as OCS reply.

Also, fixed a typo in the signals name (recieved => received).

10 years agoShareDialog: remove the "Premissions" label and adjust the size of the scrollarea...
Olivier Goffart [Thu, 19 Nov 2015 11:32:50 +0000 (12:32 +0100)]
ShareDialog: remove the "Premissions" label and adjust the size of the scrollarea (#3737)

10 years agoShareDialog: show an error if the sharing API is disabled (#4126)
Olivier Goffart [Thu, 19 Nov 2015 11:00:53 +0000 (12:00 +0100)]
ShareDialog:  show an error if the sharing API is disabled (#4126)

10 years agoFix compilation warning
Olivier Goffart [Thu, 19 Nov 2015 09:50:52 +0000 (10:50 +0100)]
Fix compilation warning

10 years agoSharing: document that the two Type enum are linked
Olivier Goffart [Thu, 19 Nov 2015 09:50:21 +0000 (10:50 +0100)]
Sharing: document that the two Type enum are linked

10 years agoShareDialog: Keep default server permissions by default (#4152)
Olivier Goffart [Thu, 19 Nov 2015 09:38:51 +0000 (10:38 +0100)]
ShareDialog: Keep default server permissions by default (#4152)

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

10 years agoMerge pull request #4162 from owncloud/phil-davis-patch-1
Klaas Freitag [Thu, 19 Nov 2015 06:36:44 +0000 (07:36 +0100)]
Merge pull request #4162 from owncloud/phil-davis-patch-1

tagLastSuccessfullETagRequest comment wording

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Thu, 19 Nov 2015 06:15:40 +0000 (01:15 -0500)]
[tx-robot] updated from transifex

10 years agotagLastSuccessfullETagRequest comment wording
Phil Davis [Thu, 19 Nov 2015 05:17:15 +0000 (11:02 +0545)]
tagLastSuccessfullETagRequest comment wording

Improve this to say what I think it means.

10 years agoMerge git://github.com/NvanAdrichem/client into 2.1, pull #4060
Klaas Freitag [Wed, 18 Nov 2015 16:00:19 +0000 (17:00 +0100)]
Merge git://github.com/NvanAdrichem/client into 2.1, pull #4060

10 years agoMerge pull request #4159 from owncloud/fix_3490
Klaas Freitag [Wed, 18 Nov 2015 15:55:53 +0000 (16:55 +0100)]
Merge pull request #4159 from owncloud/fix_3490

csync updater: Handle file firewall reply codes correctly: Ignore the files.

Fixes #3490

10 years agoFolderStatusModel: add hints for translators (#4158)
Olivier Goffart [Wed, 18 Nov 2015 14:40:07 +0000 (15:40 +0100)]
FolderStatusModel: add hints for translators (#4158)

10 years agoActivity Widget: Fix runtime warning
Olivier Goffart [Wed, 18 Nov 2015 14:29:16 +0000 (15:29 +0100)]
Activity Widget: Fix runtime warning

Fix the warning:
 QLayout: Attempting to add QLayout "" to OCC::ActivitySettings "", which already has a layout

It was caused because one layout was created with the wrong parent

10 years agocsync_update: refactor a bit and remove redundant code.
Klaas Freitag [Wed, 18 Nov 2015 14:28:03 +0000 (15:28 +0100)]
csync_update: refactor a bit and remove redundant code.

10 years agocsync_update: Add missing comment about 403 forbidden handling.
Klaas Freitag [Mon, 12 Oct 2015 15:10:01 +0000 (17:10 +0200)]
csync_update: Add missing comment about 403 forbidden handling.

10 years agoSyncEngine: Handle 403 Forbidden properly.
Klaas Freitag [Mon, 12 Oct 2015 15:06:49 +0000 (17:06 +0200)]
SyncEngine: Handle 403 Forbidden properly.

A 403 is a reply code sent from the file firewall to indicate that
this directory is forbidden to use for the user.

The patch handles it by setting the state to IGNORED.

This addresses #3490

10 years agoActivity View: Update only if visible and when becoming visible #4083
Markus Goetz [Wed, 18 Nov 2015 14:25:29 +0000 (15:25 +0100)]
Activity View: Update only if visible and when becoming visible #4083

10 years agoConnectivity: Also accept SyncEngine etag as received ETag
Markus Goetz [Wed, 18 Nov 2015 13:50:43 +0000 (14:50 +0100)]
Connectivity: Also accept SyncEngine etag as received ETag

Avoids requests on startup.
For #3964

10 years agoMerge remote-tracking branch 'origin/depclean' into 2.1
Klaas Freitag [Wed, 18 Nov 2015 13:43:41 +0000 (14:43 +0100)]
Merge remote-tracking branch 'origin/depclean' into 2.1

Conflicts:
cmake/modules/QtVersionAbstraction.cmake

10 years agoMerge remote-tracking branch 'origin/patches_list' into 2.1
Klaas Freitag [Wed, 18 Nov 2015 13:33:32 +0000 (14:33 +0100)]
Merge remote-tracking branch 'origin/patches_list' into 2.1

10 years agoConnectivity: Decrease debug logging
Markus Goetz [Wed, 18 Nov 2015 11:13:03 +0000 (12:13 +0100)]
Connectivity: Decrease debug logging

For #3964

10 years agoUse the configuration value of remotePollInterval rather than hardcoded.
Klaas Freitag [Tue, 20 Oct 2015 07:25:42 +0000 (09:25 +0200)]
Use the configuration value of remotePollInterval rather than hardcoded.

10 years agoAccountState: Avoid ConnectionCheck if ETag job was just done.
Klaas Freitag [Mon, 19 Oct 2015 09:50:26 +0000 (11:50 +0200)]
AccountState: Avoid ConnectionCheck if ETag job was just done.

This patch lets a successful etag job check mark a timestamp.
If next time a connection check is requested, it is checked if
the last ETag happened within the last 30 seconds and if so the
connection check can be checked.

This way we avoid half of the PROPFINDs if all goes well.

10 years agoShareDialog: Remove Qt4 incompatible property of QScrollView.
Klaas Freitag [Wed, 18 Nov 2015 08:58:09 +0000 (09:58 +0100)]
ShareDialog: Remove Qt4 incompatible property of QScrollView.

10 years agoActivityWidget: Make compile with Qt4
Klaas Freitag [Tue, 17 Nov 2015 17:07:26 +0000 (18:07 +0100)]
ActivityWidget: Make compile with Qt4

10 years agoRemove spacer that would constrain a vertical resize
Daniel Molkentin [Wed, 18 Nov 2015 09:04:43 +0000 (10:04 +0100)]
Remove spacer that would constrain a vertical resize

Fixes #4157

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Wed, 18 Nov 2015 07:18:50 +0000 (02:18 -0500)]
[tx-robot] updated from transifex

10 years agoActivityWidget: No progress indic. for non connected accounts.
Klaas Freitag [Tue, 17 Nov 2015 14:05:54 +0000 (15:05 +0100)]
ActivityWidget: No progress indic. for non connected accounts.

10 years agoActivityWidget: Detect new items in the list to refetch the activities.
Klaas Freitag [Tue, 17 Nov 2015 13:46:13 +0000 (14:46 +0100)]
ActivityWidget: Detect new items in the list to refetch the activities.

On refresh, remove the activity list object from the models list.

10 years agoActivityWidget: Always combine the final activity list.
Klaas Freitag [Tue, 17 Nov 2015 13:44:48 +0000 (14:44 +0100)]
ActivityWidget: Always combine the final activity list.

In cases where the activity app is not activated on the server, the
returned list of activities is empty, so it is better this way.

10 years agoMerge remote-tracking branch 'origin/2.0'
Daniel Molkentin [Tue, 17 Nov 2015 11:57:31 +0000 (12:57 +0100)]
Merge remote-tracking branch 'origin/2.0'

10 years agoDocumentation: Fix PDF logo, version number
Daniel Molkentin [Tue, 17 Nov 2015 11:55:41 +0000 (12:55 +0100)]
Documentation: Fix PDF logo, version number

10 years agoShareDialog: softer line separator (#3737)
Olivier Goffart [Tue, 17 Nov 2015 10:58:35 +0000 (11:58 +0100)]
ShareDialog: softer line separator (#3737)

10 years agoActivities: Fix on Mac #4083
Markus Goetz [Tue, 17 Nov 2015 10:53:49 +0000 (11:53 +0100)]
Activities: Fix on Mac #4083

10 years agoConnectivity: Improve log output
Markus Goetz [Tue, 17 Nov 2015 10:02:15 +0000 (11:02 +0100)]
Connectivity: Improve log output

10 years agoQNAM: Use invalid configuration instead of default configuration
Markus Goetz [Tue, 17 Nov 2015 09:56:57 +0000 (10:56 +0100)]
QNAM: Use invalid configuration instead of default configuration

For #3969 and others.

10 years agogui: Fix some icons in highdpi
Olivier Goffart [Tue, 17 Nov 2015 09:48:45 +0000 (10:48 +0100)]
gui: Fix some icons in highdpi

QIcon does not need to use Theme::hidpiFileName because QIcon takes care
of the @2x images

10 years agoSharedDialog: Fix the delete icon on windows and mac (#3737)
Olivier Goffart [Tue, 17 Nov 2015 09:40:45 +0000 (10:40 +0100)]
SharedDialog: Fix the delete icon on windows and mac (#3737)

10 years agoShareDialog: remove the search button (#3737)
Olivier Goffart [Tue, 17 Nov 2015 09:24:35 +0000 (10:24 +0100)]
ShareDialog:  remove the search button (#3737)

10 years agoActivityWidget: fix compiler warnings
Olivier Goffart [Tue, 17 Nov 2015 08:54:38 +0000 (09:54 +0100)]
ActivityWidget: fix compiler warnings

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Tue, 17 Nov 2015 07:19:08 +0000 (02:19 -0500)]
[tx-robot] updated from transifex

10 years agoAdd the set of currently used patches
Daniel Molkentin [Mon, 16 Nov 2015 17:34:52 +0000 (18:34 +0100)]
Add the set of currently used patches

10 years agoMerge branch 'master' of github.com:owncloud/mirall
Klaas Freitag [Mon, 16 Nov 2015 17:16:58 +0000 (18:16 +0100)]
Merge branch 'master' of github.com:owncloud/mirall

10 years agoAcitivityWidget: Moved timespan-in-words method to utility.
Klaas Freitag [Mon, 16 Nov 2015 17:08:25 +0000 (18:08 +0100)]
AcitivityWidget: Moved timespan-in-words method to utility.

Also added a second parameter, fixed plural translation and added
a less-than-a-minute-ago term.

10 years agoShareDialog: add a QScrollArea (issue #4125 )
Olivier Goffart [Mon, 16 Nov 2015 16:59:24 +0000 (17:59 +0100)]
ShareDialog: add a QScrollArea (issue #4125 )

10 years agoGeneral Settings page: Remove the add account button.
Klaas Freitag [Mon, 16 Nov 2015 16:07:05 +0000 (17:07 +0100)]
General Settings page: Remove the add account button.

It is now in the toolbox on the account page.

10 years agoMerge branch 'newactivity'
Klaas Freitag [Mon, 16 Nov 2015 16:02:05 +0000 (17:02 +0100)]
Merge branch 'newactivity'

10 years agoActivityWidget: Show the subject in the Tooltip.
Klaas Freitag [Mon, 16 Nov 2015 15:44:52 +0000 (16:44 +0100)]
ActivityWidget: Show the subject in the Tooltip.

the original text might be elided.

10 years agoMerge pull request #4139 from owncloud/account_toolbox
Klaas Freitag [Mon, 16 Nov 2015 14:53:30 +0000 (15:53 +0100)]
Merge pull request #4139 from owncloud/account_toolbox

AccountSettings: Add a toolbox button for the account specific actions.

10 years agoAccountSettings: Address jans suggestions in #4139
Klaas Freitag [Mon, 16 Nov 2015 14:50:32 +0000 (15:50 +0100)]
AccountSettings: Address jans suggestions  in #4139

- Changed sequence of menu items
- lowercased entries
- removed the "Account" from entries, its in the toolbox button already
- added a little space between toolbox button label and the rectangle.

10 years agoAdded some documentation.
Klaas Freitag [Mon, 16 Nov 2015 14:38:08 +0000 (15:38 +0100)]
Added some documentation.

10 years agoActivityWidget: open local file in file manager if exists.
Klaas Freitag [Mon, 16 Nov 2015 14:31:24 +0000 (15:31 +0100)]
ActivityWidget: open local file in file manager if exists.

10 years agoShareDialog: fix auto completion to actualy auto complete
Olivier Goffart [Mon, 16 Nov 2015 13:18:01 +0000 (14:18 +0100)]
ShareDialog: fix auto completion to actualy auto complete

10 years agoActivityWidget: Show the local path in a tooltip.
Klaas Freitag [Mon, 16 Nov 2015 14:07:02 +0000 (15:07 +0100)]
ActivityWidget: Show the local path in a tooltip.

Note that the activity has also entries of files that are not synced so
that not every activity entry has to have a local pendant.

Also, one activity entry can reference multiple files, so only the first
one is shown.

10 years agoFolderman: Added method to find local files for a rel. server path.
Klaas Freitag [Mon, 16 Nov 2015 14:04:59 +0000 (15:04 +0100)]
Folderman: Added method to find local files for a rel. server path.

10 years agoMerge pull request #4133 from owncloud/sharedialog_uit_improvements
Roeland Douma [Mon, 16 Nov 2015 12:36:00 +0000 (13:36 +0100)]
Merge pull request #4133 from owncloud/sharedialog_uit_improvements

[Sharedialog] Fix UI stuff

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Mon, 16 Nov 2015 07:18:48 +0000 (02:18 -0500)]
[tx-robot] updated from transifex

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sat, 14 Nov 2015 07:19:03 +0000 (02:19 -0500)]
[tx-robot] updated from transifex

10 years agoAccountSettings: Add a toolbox button for the account specific actions.
Klaas Freitag [Fri, 13 Nov 2015 13:50:07 +0000 (14:50 +0100)]
AccountSettings: Add a toolbox button for the account specific actions.

Also move the 'Add Account' button from the General Tab, where it
is not properly found, to the new account toolbox.

10 years agoActivityDelegate: Gray out font if account is not connected.
Klaas Freitag [Fri, 13 Nov 2015 11:48:25 +0000 (12:48 +0100)]
ActivityDelegate: Gray out font if account is not connected.

This gives a visual indication of the account not being connected
and as a result maybe outdated activity data.

10 years ago[Sharing] Delete animation when share is removed
Roeland Jago Douma [Fri, 13 Nov 2015 10:03:51 +0000 (11:03 +0100)]
[Sharing] Delete animation when share is removed

10 years ago[Sharedialog] Fix UI stuff
Roeland Jago Douma [Fri, 13 Nov 2015 09:27:26 +0000 (10:27 +0100)]
[Sharedialog] Fix UI stuff

Implemented suggestions form
https://github.com/owncloud/client/issues/3737#issuecomment-156036279

* Removed Shares text
* Permissions now next to username
* Simplified permissions by default
* Button to get more detailed permissions

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Fri, 13 Nov 2015 07:19:01 +0000 (02:19 -0500)]
[tx-robot] updated from transifex

10 years agoActivityWidget: Take the account state (connected or not) in account.
Klaas Freitag [Thu, 12 Nov 2015 16:52:00 +0000 (17:52 +0100)]
ActivityWidget: Take the account state (connected or not) in account.

Display the activity entries in a different mode if the account is not
longer connected.

10 years agoAccountManager: new method to return AccountStatePtr from the name.
Klaas Freitag [Thu, 12 Nov 2015 16:50:00 +0000 (17:50 +0100)]
AccountManager: new method to return AccountStatePtr from the name.

It uses the Account displayName to destinguish.

10 years agoActivityWidget: implement removeAccount.
Klaas Freitag [Thu, 12 Nov 2015 14:39:07 +0000 (15:39 +0100)]
ActivityWidget: implement removeAccount.

10 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Thu, 12 Nov 2015 07:19:14 +0000 (02:19 -0500)]
[tx-robot] updated from transifex

10 years agosync excludes: Add .directory files to be ignored
Klaas Freitag [Wed, 11 Nov 2015 16:26:50 +0000 (17:26 +0100)]
sync excludes: Add .directory files to be ignored

10 years agoCMake version abstractions: Remove some dependencies.
Klaas Freitag [Wed, 11 Nov 2015 14:24:02 +0000 (15:24 +0100)]
CMake version abstractions: Remove some dependencies.

That lets us get rid of the hard dependency on Qt tools which are
not easily available everywhere.

10 years agoNSIS: Include Qt bearer management DLLs #3969
Markus Goetz [Wed, 11 Nov 2015 14:19:15 +0000 (15:19 +0100)]
NSIS: Include Qt bearer management DLLs #3969

10 years agoGeneralSettings: Remove references to protocolwidget.
Klaas Freitag [Wed, 11 Nov 2015 13:49:11 +0000 (14:49 +0100)]
GeneralSettings: Remove references to protocolwidget.

The ProtocolWidget is now the Activitytab Widget

10 years agoTray tooltip: Use aliasGui #4096
Christian Kamm [Wed, 11 Nov 2015 13:35:56 +0000 (14:35 +0100)]
Tray tooltip: Use aliasGui #4096

10 years agoSharing: Fix crash with share deletion #4111
Christian Kamm [Wed, 11 Nov 2015 12:28:20 +0000 (13:28 +0100)]
Sharing: Fix crash with share deletion #4111

The problem was that Share could be deleted *before*
the OcsShareJob itself finished. Since Share was the
parent of the network job, its object would be deleted
too early.

In general, it's unnecessary to assign parents to the OcsJobs
because they delete themselves when finished.

10 years agoShare dialog: Initialize expected expire date #4075
Christian Kamm [Wed, 11 Nov 2015 12:01:12 +0000 (13:01 +0100)]
Share dialog: Initialize expected expire date #4075

10 years agoRecent Activity: Don't reset for no reason #3889
Christian Kamm [Wed, 11 Nov 2015 11:47:27 +0000 (12:47 +0100)]
Recent Activity: Don't reset for no reason #3889

10 years agoForward-declare QModelIndex. Fixes Qt4 builds.
Daniel Molkentin [Wed, 11 Nov 2015 10:51:33 +0000 (11:51 +0100)]
Forward-declare QModelIndex. Fixes Qt4 builds.

10 years agoRecent Activity: Filter metadata updates #3963
Christian Kamm [Wed, 11 Nov 2015 10:19:04 +0000 (11:19 +0100)]
Recent Activity: Filter metadata updates #3963

10 years agoFolderMan: Fix infinite wait on pause #4093
Christian Kamm [Wed, 11 Nov 2015 09:56:19 +0000 (10:56 +0100)]
FolderMan: Fix infinite wait on pause #4093

If a folder was paused while being the next item in the scheduling
queue, the whole scheduling could get stuck.

This also fixes the progress information of paused folders possibly
getting stuck.

10 years agoFix OwnSql test
Christian Kamm [Wed, 11 Nov 2015 08:41:44 +0000 (09:41 +0100)]
Fix OwnSql test

3993a7f636f0a06b71eb3cc97cdb7a9818c02221 added asserts for failing
prepare() calls

10 years agoFix csync_exclude test
Christian Kamm [Wed, 11 Nov 2015 08:38:39 +0000 (09:38 +0100)]
Fix csync_exclude test

The exclude file was reorganized in
b6aa18bfbcbbb26442c6b250cb39ddc420545fc1

10 years agoSyncJournalFileRecord: Remove unused mode field
Christian Kamm [Wed, 11 Nov 2015 08:32:13 +0000 (09:32 +0100)]
SyncJournalFileRecord: Remove unused mode field