Commit graph

17539 commits

Author SHA1 Message Date
Matthieu Gallien
d4081c99a7 prevent updating files when that would result in invalid mtime
ensure that we never try to sync a file with a sync that would result in
setting it up to an invalid mtime

test a recovery scenario with plain old sync folder and virtual files

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-03-17 23:28:02 +00:00
Matthieu Gallien
b8ff1525f7 let error during update of metadata of virtual files propagate to users
errors duing update of metadata of virtual files are being ignored and
not propagated to users to be shonw in main dialog

ensure they are real errors from sync engine point of view and let them
be taken into account

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-03-17 23:28:02 +00:00
Matthieu Gallien
541447723a remove all usage of QDateTime::toTime_t() to avoid overflow
QDateTime::toTime_t() can overflow if called with a date outside its
domain of working

this method is obsolete and QDateTime::toSecsSinceEpoch() is the
replacement

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-03-17 23:28:02 +00:00
Matthieu Gallien
a7adca84e2 remove wrong assert that is blocing the run of debug client
if the server has files with invalid modtime this assert will trigger
even though the code is handling the situation

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-03-17 23:28:02 +00:00
Matthieu Gallien
d2b67ffea2
Merge pull request #4200 from nextcloud/feature/talk-reply
Feature/Talk Reply v1
2022-03-17 23:36:33 +01:00
Camila
73bae8cd30
Add TalkReply class and tests.
- Add struct TalkNotificationData to handle token and messageId.
- Handle chat and call notifications with the new struct.
- Add talk token and messageId to data roles in ActivityListModel.
- Add Talk Reply component to the ActivityList.
- User Loader to display the TalkReply component.
- Move Talk Reply from ActivityItem to ActivityItemContent due to PR #4186.
- Use TextField instead of Text.
- Disable send reply button instead of changing border color when field is empty.

Signed-off-by: Camila <hello@camila.codes>
2022-03-17 17:50:33 +01:00
Claudio Cambra
9957287518
Merge pull request #4351 from nextcloud/updateSubmodule
old submodule url does not work anylonger
2022-03-17 14:35:43 +01:00
Tobias Kaminsky
2458c93bd8
Merge branch 'master' into updateSubmodule 2022-03-17 14:12:54 +01:00
Claudio Cambra
253f4bb280
Merge pull request #4316 from nextcloud/bugfix/mac-local-socket
Implement local socket to communicate with finder extension
2022-03-17 13:00:09 +01:00
Claudio Cambra
628ee10008 Implement local socket to communicate with finder extension
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-03-17 11:46:57 +00:00
Claudio Cambra
6aefe8f2e3
Merge pull request #4189 from nextcloud/feature/activity_thumbnails
Add thumbnails for files in the activity view
2022-03-17 11:57:06 +01:00
Claudio Cambra
65f2bada3e Add thumbnails for files in the activity view
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-03-17 10:46:09 +00:00
tobiasKaminsky
ebe8e5368f
old submodule url does not work anylonger
see https://github.blog/2021-09-01-improving-git-protocol-security-github/

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-03-17 08:27:29 +01:00
Nextcloud bot
315ebb0462
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-17 04:02:29 +00:00
Claudio Cambra
6faf7540eb
Merge pull request #4237 from nextcloud/feature/accent-color
Add support for server color theming by using server color as accent
2022-03-16 15:46:54 +01:00
Claudio Cambra
f585b8bd48 Add support for server color theming by using server color as accent
color

Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-03-16 13:57:45 +01:00
Claudio Cambra
454ae37e8d
Merge pull request #4334 from nextcloud/bugfix/fileactivitydialog
Fix file activity dialog
2022-03-16 09:18:16 +01:00
Claudio Cambra
02f3a1aed6 File activity dialog now works for all file actions activities (e.g. deleted files)
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-03-16 08:38:14 +01:00
Nextcloud bot
c94e7595a5
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-16 03:59:41 +00:00
Matthieu Gallien
f4669285f9
Merge pull request #4329 from nextcloud/buigfix/linecount-tray-activity
Increase maximum text line count in tray activity items to two lines
2022-03-15 12:31:36 +01:00
Claudio Cambra
ead4cc6fe3 Increase max line of text in activity item text to two
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-03-15 09:22:11 +00:00
Nextcloud bot
b010e545dd
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-15 04:19:23 +00:00
Matthieu Gallien
351d50ede6
Merge pull request #4326 from nextcloud/bugfix/fileactivitydialog-center
Ensure file activity dialog appears in centre of screen
2022-03-14 09:47:38 +01:00
Claudio Cambra
2f795df701 Ensure file activity dialog appears in centre of screen
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-03-13 22:11:26 +00:00
Nextcloud bot
124a6e0526
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-11 03:56:55 +00:00
Matthieu Gallien
58d24453db
Merge pull request #4340 from nextcloud/bugfix/preventOpenGLContextLosses
properly ask Qt to create qml opengl surface with proper options
2022-03-10 18:16:40 +01:00
Matthieu Gallien
11e7ebd5fa properly ask Qt to create qml opengl surface with proper options
should prevent context losses error with some opengl drivers

should prevent corruptions to occur with come opengl drivers

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-03-10 14:19:46 +00:00
Nextcloud bot
0f14e16268
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-10 03:59:56 +00:00
Claudio Cambra
8ebdd5bd8c
Merge pull request #3714 from nextcloud/ci/bumpCmakeVersionRequirement
require cmake 3.16
2022-03-09 15:35:07 +01:00
Matthieu Gallien
75bcc9a24e require cmake 3.16
close #3572

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-03-09 13:07:48 +00:00
Matthieu Gallien
4e5ef728bc
Merge pull request #4292 from nextcloud/bugfix/group-folder-files-erased-when-rename-or-delete-folder
Do not remove files from a Group folder and its nested folders when it is renamed or removed while not allowed.
2022-03-09 11:43:08 +01:00
alex-z
01eb050cd8 Do not remove files from a Group folder and its nested folders whe it is renamed or removed while not allowed.
Signed-off-by: alex-z <blackslayer4@gmail.com>
2022-03-09 10:54:39 +02:00
Nextcloud bot
c347b4713a
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-09 03:53:25 +00:00
Nextcloud bot
f0a3563f11
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-08 03:56:47 +00:00
Nextcloud bot
bc3278377f
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-07 03:53:53 +00:00
Nextcloud bot
75a7cf15b5
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-06 03:53:27 +00:00
Nextcloud bot
7a620d640a
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-05 03:53:09 +00:00
rakekniven
57c3ffa6d2
Merge pull request #4320 from nextcloud/rakekniven-patch-1 2022-03-04 14:16:06 +01:00
rakekniven
8aa3ab3d37
Merge branch 'master' into rakekniven-patch-1 2022-03-04 12:22:31 +01:00
Nextcloud bot
8885a264a0
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-04 03:54:38 +00:00
Camila
8d65f225d1
Merge pull request #4322 from nextcloud/bugfix/help
Add 'Help' action back.
2022-03-03 15:30:41 +01:00
Camila
2c20f81a53 Add 'Help' action back.
I think it was a mistake that caused this.

Signed-off-by: Camila <hello@camila.codes>
2022-03-03 11:16:09 +00:00
Nextcloud bot
a6f2112732
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-03 03:54:19 +00:00
Claudio Cambra
fe3011cefd
Merge pull request #4279 from nextcloud/bugfix/simplify-current-screen
Simplify currentScreen in systray.cpp
2022-03-02 14:44:59 +01:00
Claudio Cambra
f6b377ab17 Simplify currentScreen
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-03-02 13:37:30 +00:00
Claudio Cambra
f45acc3986
Merge pull request #4247 from nextcloud/bugfix/mac-notch-height
No longer assume status bar height, calculate, fixing notch borking
2022-03-02 13:37:37 +01:00
Claudio Cambra
655a2e1c39 No longer assume status bar height, calculate, fixing notch borking
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-03-02 13:22:55 +01:00
Nextcloud bot
be21f036ff
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-02 04:16:36 +00:00
rakekniven
9174eeec57 Merge branch 'master' into rakekniven-patch-1 2022-03-01 16:10:48 +01:00
Nextcloud bot
23e96a80f3
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-01 03:53:23 +00:00