1
0
mirror of https://github.com/chylex/Nextcloud-Desktop.git synced 2024-11-05 17:42:46 +01:00
Commit Graph

14959 Commits

Author SHA1 Message Date
Kevin Ottens
78da725ac3
Merge pull request #2598 from nextcloud/bump_version_3.0.3
Bump version to 3.0.3
2020-10-29 11:30:42 +01:00
Kevin Ottens
571e2a1fdb
Bump version to 3.0.3
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-10-29 11:28:47 +01:00
Nextcloud bot
4f9c2a5c65
[tx-robot] updated from transifex 2020-10-28 03:41:56 +00:00
Nextcloud bot
90195646f0
[tx-robot] updated from transifex 2020-10-27 03:41:36 +00:00
Kevin Ottens
a20454f9f7
Merge pull request #2592 from nextcloud/backport/2582/stable-3.0
[stable-3.0] Also output the event flags in the debug logs
2020-10-26 14:20:15 +01:00
Kevin Ottens
f1842447b2 Also output the event flags in the debug logs
When we skip a watcher event on mac, we log the file path but not the
event flags which came with it. Let's add it, it should help figure out
what's going on with #2578.

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-10-26 13:15:59 +00:00
Nextcloud bot
d9971f9535
[tx-robot] updated from transifex 2020-10-26 03:36:50 +00:00
Nextcloud bot
31f9af23ac
[tx-robot] updated from transifex 2020-10-25 03:38:19 +00:00
Nextcloud bot
3f33475569
[tx-robot] updated from transifex 2020-10-24 03:38:33 +00:00
Nextcloud bot
02bdf69aa8
[tx-robot] updated from transifex 2020-10-23 03:37:58 +00:00
Nextcloud bot
ce40c11149
[tx-robot] updated from transifex 2020-10-22 03:38:23 +00:00
Kevin Ottens
72812831ed
Merge pull request #2577 from nextcloud/backport/2575/stable-3.0
[stable-3.0] Expose branding values to qtquick
2020-10-21 14:43:04 +02:00
Kevin Ottens
d1e08ef2d5 Use the Theme colors for the header part of the window
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-10-21 12:21:22 +00:00
Kevin Ottens
cf18844c5a Expose Theme on the QML side
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-10-21 12:21:22 +00:00
Kevin Ottens
2499ec3312 Expose the branding related members of Theme as properties
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-10-21 12:21:22 +00:00
Kevin Ottens
3539d6c2c8 Don't hardcode the color of text in the header
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-10-21 12:21:22 +00:00
Kevin Ottens
6b511f8749 Get rid of ncBlueHover
Use a similar trick of a semi-transparent rectangle on top when the
mouse area is hovered. This way it will always work whatever is the
background color.

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-10-21 12:21:22 +00:00
Camila
76f83b4715
Merge pull request #2576 from nextcloud/backport/2572/stable-3.0
[stable-3.0] Avoid depth infinity propfind for e2ee
2020-10-21 14:11:36 +02:00
Kevin Ottens
eb1ec74095 Don't use depth infinity anymore to get the folders e2ee status
This way we avoid the expensive SQL query on the server at the price of
more round-trips since we're doing the recursive traversal by hand now.

Also it turns out this depth was used for all the other propfind calls
during sync when we want fresher information regarding a folder. This
was very inefficient in all cases and won't happen anymore.

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-10-21 11:58:50 +00:00
Kevin Ottens
9c25dc5363 Make sure jobs don't outlive ClientSideEncryption
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-10-21 11:58:50 +00:00
Kevin Ottens
36274d6f65 Factor out the logic to start a new e2ee status job
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-10-21 11:58:50 +00:00
Kevin Ottens
ce7319e32a Mention the folder we listed in the debug logs
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-10-21 11:58:50 +00:00
Kevin Ottens
41db853d36 Change the way we store the job result
If there's more than one job we need to unite the maps not simply overwrite
them.

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-10-21 11:58:50 +00:00
Kevin Ottens
507e9e3559 Start managing a list of GetFolderEncryptStatusJob
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-10-21 11:58:50 +00:00
Kevin Ottens
0e4ff6929e Add a way to know which folder was listed for encrypted status
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-10-21 11:58:50 +00:00
Nextcloud bot
463ebd1df8
[tx-robot] updated from transifex 2020-10-21 03:38:47 +00:00
Kevin Ottens
78f6d9f044
Merge pull request #2570 from nextcloud/backport/2568/stable-3.0
[stable-3.0] Fix crash when clicking on folder with status 403 in the main dialog.
2020-10-20 17:20:53 +02:00
Camila San
cc6ec22e5f Fix crash when clicking on folder with status 403 in the main dialog.
LsColJob was still being used after delete was called.

Signed-off-by: Camila San <hello@camila.codes>
2020-10-20 14:39:05 +00:00
Nextcloud bot
c831bfbc63
[tx-robot] updated from transifex 2020-10-20 03:37:49 +00:00
Kevin Ottens
d8017eccce
Merge pull request #2567 from nextcloud/backport/2551/stable-3.0
[stable-3.0] Fix share dialog animation for enforced password policy
2020-10-19 17:28:08 +02:00
Kevin Ottens
4b9d9e3020 Stop the animation if we got an error message
Otherwise it would spin forever while we know we're not doing any work
anymore since we got a message from the server.

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-10-19 15:10:44 +00:00
Kevin Ottens
cecb95548f Inform _emptyShareLinkWidget of linkShareRequiresPassword signals
All the other ShareLinkWidgets process that signal (which allows to
display error messages for instance) but not that one for some reason.
That being said it might need to deal with an enforced password
situation.

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-10-19 15:10:44 +00:00
Kevin Ottens
bee8dbc471 Emit last to avoid use after delete crash
It turns out the shareDeleted() signal is connected to a function
cleaning up the ShareLinkWidget holding the last shared pointer to the
Share object. Since we use member variables for calling updateFolder()
this would lead to using deleted objects.

Just swap the call and the signal to have everything back in order.

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-10-19 15:10:44 +00:00
Nextcloud bot
9722ac6ab8
[tx-robot] updated from transifex 2020-10-17 03:37:36 +00:00
Nextcloud bot
ad7daf6998
[tx-robot] updated from transifex 2020-10-16 03:38:12 +00:00
Nextcloud bot
76621647f7
[tx-robot] updated from transifex 2020-10-15 03:36:56 +00:00
Michael Schuster
6979b12488
[stable-3.0] Update comments
Everyone uses their private mail, so ensure people can get in touch.

Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-10-15 02:23:49 +02:00
Nextcloud bot
9ed2e15788
[tx-robot] updated from transifex 2020-10-14 03:41:00 +00:00
Nextcloud bot
72d8d44e29
[tx-robot] updated from transifex 2020-10-13 03:39:09 +00:00
Kevin Ottens
1a068ae170
Merge pull request #2533 from nextcloud/backport/2530/stable-3.0
[stable-3.0] Repair the Windows build
2020-10-12 13:08:49 +02:00
Kevin Ottens
ec9b495071 Export the WordList functions
Now that they are used from gui/ they need to be properly exported so
that linking doesn't fail when visibility is activated (only on our
Windows build it seems).

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-10-12 09:56:06 +00:00
Nextcloud bot
d202868ba0
[tx-robot] updated from transifex 2020-10-12 03:36:34 +00:00
Nextcloud bot
d721cebbcb
[tx-robot] updated from transifex 2020-10-11 03:34:46 +00:00
Nextcloud bot
1b288f2714
[tx-robot] updated from transifex 2020-10-10 03:41:09 +00:00
Nextcloud bot
6f897a6a58
[tx-robot] updated from transifex 2020-10-09 03:36:05 +00:00
Nextcloud bot
1598d90534
[tx-robot] updated from transifex 2020-10-08 03:36:22 +00:00
Michael Schuster
c0be82a1d1
Merge pull request #2524 from nextcloud/backport/2520/stable-3.0
[stable-3.0] Handle ask for optional password capability
2020-10-07 17:09:25 +02:00
Kevin Ottens
25bfee8854 If askForOptionalPassword is enabled preset a random password
This is the same approach used on the server side. Turns out I quite
like it, this avoids popping up a dialog to the user and since she won't
know the password she'll have to set a new one anyway or disable it.

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-10-07 13:32:39 +00:00
Kevin Ottens
dfd3da9e8b Since we must ask for a password this can't be a default public link
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-10-07 13:32:39 +00:00
Kevin Ottens
4fbc8e5c42 Add sharePublicLinkAskOptionalPassword to Capabilities
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-10-07 13:32:39 +00:00