nextcloud-desktop.git
10 years agoTest syncjournaldb: Fix comparison of two QDateTime objects.
Klaas Freitag [Wed, 25 Nov 2015 20:13:50 +0000 (21:13 +0100)]
Test syncjournaldb: Fix comparison of two QDateTime objects.

Only compare full seconds as milliseconds may float.

10 years agoSyncJournalFileRecord: Fix comparison operator
Klaas Freitag [Wed, 25 Nov 2015 20:11:58 +0000 (21:11 +0100)]
SyncJournalFileRecord: Fix comparison operator

Compare only full seconds, as milliseconds can disappear during storage
of the database.

This is needed to fix the syncjournaldb test reliably. And maybe
elsewhere.

Also see
http://www.qtcentre.org/threads/13618-Problem-with-comparing-two-QDateTime-objects

10 years agoNautilusPlugin: Fix behaviour with files with a colon in the name.
Klaas Freitag [Wed, 25 Nov 2015 14:09:56 +0000 (15:09 +0100)]
NautilusPlugin: Fix behaviour with files with a colon in the name.

10 years agoNautilusPlugin: Fix detection of the OK status
Klaas Freitag [Wed, 25 Nov 2015 13:59:37 +0000 (14:59 +0100)]
NautilusPlugin: Fix detection of the OK status

Consider OK+SHW also as ok, and enable the ownCloud actions.

10 years agoNautilusPlugin: Fix detection of top level sync folder.
Klaas Freitag [Wed, 25 Nov 2015 12:32:41 +0000 (13:32 +0100)]
NautilusPlugin: Fix detection of top level sync folder.

10 years agoMerge pull request #4199 from owncloud/permission_dropdown
Roeland Douma [Wed, 25 Nov 2015 13:04:39 +0000 (14:04 +0100)]
Merge pull request #4199 from owncloud/permission_dropdown

[Sharing] Permissions now in dropdown menu

10 years ago[Share] Use more icon
Roeland Jago Douma [Wed, 25 Nov 2015 13:02:45 +0000 (14:02 +0100)]
[Share] Use more icon

10 years agoBlacklist: Treat all 403s the same #4071
Christian Kamm [Wed, 25 Nov 2015 11:49:57 +0000 (12:49 +0100)]
Blacklist: Treat all 403s the same #4071

We can't detect firewall errors due to error message localization.

10 years agoTests: Add a perl test for eml checksums #3235
Christian Kamm [Wed, 25 Nov 2015 11:46:45 +0000 (12:46 +0100)]
Tests: Add a perl test for eml checksums #3235

10 years agoQt patches: Tweak more for Qt 5.4.0
Daniel Molkentin [Wed, 25 Nov 2015 11:42:58 +0000 (12:42 +0100)]
Qt patches: Tweak more for Qt 5.4.0

10 years agoEnsure patches apply cleanly, drop patch 14
Daniel Molkentin [Wed, 25 Nov 2015 10:48:43 +0000 (11:48 +0100)]
Ensure patches apply cleanly, drop patch 14

10 years ago[Sharing] Permissions now in dropdown menu
Roeland Jago Douma [Wed, 25 Nov 2015 10:26:21 +0000 (11:26 +0100)]
[Sharing] Permissions now in dropdown menu

As discusses with jan.

* Detailed permissions displayed in qtoolboxmenu
* Made share rows slightly smaller

Bug fix:

* Do not show delete permissions for file shares

10 years agoAdd more Qt patches
Daniel Molkentin [Wed, 25 Nov 2015 09:40:13 +0000 (10:40 +0100)]
Add more Qt patches

10 years agoBlacklist: Firewall errors are silenced for up to 1h only #4071
Christian Kamm [Wed, 25 Nov 2015 09:39:43 +0000 (10:39 +0100)]
Blacklist: Firewall errors are silenced for up to 1h only #4071

10 years agoShare dialog: Work around painting bug #4189
Christian Kamm [Wed, 25 Nov 2015 09:09:17 +0000 (10:09 +0100)]
Share dialog: Work around painting bug #4189

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

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

10 years agoActivity List: Improve double click handling on filenames #4168
Markus Goetz [Tue, 24 Nov 2015 13:24:18 +0000 (14:24 +0100)]
Activity List: Improve double click handling on filenames #4168

10 years agoRe-apply ee69ab20211720d5d124bf58f35be5b69f84971b
Christian Kamm [Tue, 24 Nov 2015 12:45:02 +0000 (13:45 +0100)]
Re-apply ee69ab20211720d5d124bf58f35be5b69f84971b

10 years agoSettings: Fix "Choose what to sync" #4187
Christian Kamm [Tue, 24 Nov 2015 12:41:00 +0000 (13:41 +0100)]
Settings: Fix "Choose what to sync" #4187

There was a duplicate connect() due to a merge problem (?) in
7e4c0bd5158001dca7d5d7c6c34c7dea21911125

10 years agoSelectiveSync: Show Apply/Cancel less
Christian Kamm [Tue, 24 Nov 2015 12:00:05 +0000 (13:00 +0100)]
SelectiveSync: Show Apply/Cancel less

Before the selective sync status text and apply/cancel buttons
were shown as soon as any folder was expanded. This changes it
to only show when the model is dirty (or a big folder confirmation
is needed).

This is nice because we auto-open the folder list sometimes
and having the apply/cancel buttons visible makes users think a
decision is needed.

10 years agoShare dialog: Adjust layout #4119
Christian Kamm [Tue, 24 Nov 2015 11:30:53 +0000 (12:30 +0100)]
Share dialog: Adjust layout #4119

10 years agoShareDialog: Only link share if capabilities allow #4179
Christian Kamm [Tue, 24 Nov 2015 10:58:10 +0000 (11:58 +0100)]
ShareDialog: Only link share if capabilities allow #4179

10 years agoBlacklist: Clear on successful chunk upload #3934
Christian Kamm [Tue, 24 Nov 2015 09:09:55 +0000 (10:09 +0100)]
Blacklist: Clear on successful chunk upload #3934

10 years agoShare dialog: Don't close on enter
Christian Kamm [Tue, 24 Nov 2015 08:58:18 +0000 (09:58 +0100)]
Share dialog: Don't close on enter

Setting default=false was not enough.

10 years agoShareDialog: Completion uses MatchContains #4123
Christian Kamm [Tue, 24 Nov 2015 08:07:13 +0000 (09:07 +0100)]
ShareDialog: Completion uses MatchContains #4123

For Qt 5.2.0+ only.

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

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

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