Commit graph

19875 commits

Author SHA1 Message Date
Dries Mys
e9aa97682c Remove warning when querying pin state on non-placeholder file
F.ex. Folder::slotWatchedPathChanged calls this function on non-
placeholder files to check if the ignored file is already assigned an
Excluded pin state. Note that it is allowed to set the pin state to
Excluded on non-placeholder files.

Signed-off-by: Dries Mys <dries.mys@my-dreams.be>
2023-07-20 13:44:55 +02:00
Dries Mys
76376aa052 Set VFS PinState to Excluded for ignored files.
Setting PinState to Excluded ensures the syncing icon is not shown for ignored items.
If the PinState is not set to Excluded, also all parent directories are shown as being synced, which is very inconvenient for the end user as it seems that some folder are never fully synced by Nextcloud which isn't the case.
As long as .lnk files are not converted to placeholder files, also set them to Excluded to hide the syncing icon.

Closes #5524
Closes #5594

Co-authored-by: Matthieu Gallien <matthieu_gallien@yahoo.fr>
Signed-off-by: Dries Mys <dries.mys@my-dreams.be>
2023-07-20 13:44:55 +02:00
Nextcloud bot
7524853561
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-20 02:35:26 +00:00
Nextcloud bot
2579af56e1
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-19 02:35:31 +00:00
Claudio Cambra
1f9329c4fd
Merge pull request #5885 from nextcloud/bugfix/sharing-api-disabled-share-view
Disable share view completely when server does not support/has disabled file sharing
2023-07-18 15:58:13 +02:00
Claudio Cambra
d6125ca3a1 Swap folder nullness assert for return
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-07-18 15:49:17 +02:00
Claudio Cambra
c1b2e07e8c Compress share page tab button width and height when sharing API is disabled
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-07-18 15:49:17 +02:00
Claudio Cambra
bccdb0e8f7 Make swipeIndex properties readonly
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-07-18 15:49:17 +02:00
Claudio Cambra
98ec8ff302 Fix background of tabbar in file details page
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-07-18 15:49:17 +02:00
Claudio Cambra
3fda519050 Do not handle setting page to sharing page if sharing not available
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-07-18 15:49:17 +02:00
Claudio Cambra
ea5397865d Do not display sharing entry if sharing is not available on server
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-07-18 15:49:17 +02:00
Claudio Cambra
4bcff7d991 Set sharingAvailable property in FileDetails from Folder account capabilities
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-07-18 15:49:17 +02:00
Claudio Cambra
38d82dfb5f Add sharingAvailable property to FileDetails class
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-07-18 15:49:17 +02:00
Matthieu Gallien
c6436c4c46
Merge pull request #4977 from tomdereub/patch-1
windows reserved word silently excluded - csync exclude.cpp
2023-07-18 14:32:23 +02:00
tomdereub
6aacf4ddac Adapt test 2
Signed-off-by: tomdereub <pbtom@lamonerie.net>
2023-07-18 10:57:17 +02:00
tomdereub
d353f08be2 Adapt test to silent exclusion
Signed-off-by: tomdereub <pbtom@lamonerie.net>
2023-07-18 10:57:17 +02:00
tomdereub
39e59a1c79 windows reserved word silently excluded - csync exclude.cpp
Proposal to solve https://github.com/nextcloud/desktop/issues/3826, by excluding silently windows reserved word like $RECYCLE.BIN.

Signed-off-by: tomdereub <pbtom@lamonerie.net>
2023-07-18 10:57:17 +02:00
Matthieu Gallien
871812d346
Merge pull request #5879 from nextcloud/bugfix/fix-incorrect-seen-chat-notifications-removal
Fix crash and incorrect implementation of seen chat notofications removal
2023-07-18 10:56:31 +02:00
Matthieu Gallien
5991e780f5
try to force use of python 3.8 for windows as required by craft
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-07-18 09:57:14 +02:00
alex-z
6ea828936f
Fix crash in _finalList removal loop. Fix incorrect implementation of seen chat notifications removal. Improved notifications fetch code to avoid multiple calls from different threads.
Signed-off-by: alex-z <blackslayer4@gmail.com>
2023-07-18 09:57:13 +02:00
Nextcloud bot
dec95970e7
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-18 02:34:16 +00:00
Matthieu Gallien
5ab548324e
Merge pull request #5848 from nextcloud/feature/detect-captive-portal
Added new state and new job to check if /index.php/204 is being redirected
2023-07-17 12:21:38 +02:00
alex-z
71f1d1aad4 Added new state and new job to check if /index.php/204 is being redirected.
Signed-off-by: alex-z <blackslayer4@gmail.com>
2023-07-17 11:31:15 +02:00
Nextcloud bot
6c12a221ff
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-17 02:32:21 +00:00
Nextcloud bot
6ad8e0422f
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-16 02:34:35 +00:00
Nextcloud bot
36832f4feb
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-15 02:33:50 +00:00
Nextcloud bot
360c127ad8
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-14 02:37:15 +00:00
Joas Schilling
a51103ce39
Merge pull request #5886 from nextcloud/ci/sign-drone-master
chore(CI): Sign .drone.yml file
2023-07-13 13:20:59 +02:00
Joas Schilling
c2d39fcacb
chore(CI): Sign .drone.yml file
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-13 11:41:35 +02:00
Nextcloud bot
1ca301f5e6
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-13 02:40:14 +00:00
Matthieu Gallien
d648fa14e9
Merge pull request #5841 from nextcloud/bugfix/lockedFileShouldBeReadOnly
always propagate locked status to read-only or read/write for real file
2023-07-12 14:26:38 +02:00
Matthieu Gallien
bc28bc43c3 set read only/read file on the newly downloaded file
will fix behavior on windows by properly setting the new temp file just
downloaded have the proper state (read only or read/write) and not the
already existing file that will be replaced by the newly odwnloaded one

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-07-12 13:42:34 +02:00
Matthieu Gallien
845c66666e fix failing tests by using FileSystem::setFileReadOnlyWeak
we try to preserve complex existing permissions unless the client is
required to change them significantly

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-07-12 13:42:31 +02:00
Matthieu Gallien
505021af03 enable debug log for some automated tests
should help investigate failure for automated tests

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-07-12 13:41:53 +02:00
Matthieu Gallien
0039ffd7da always propagate locked status to read-only or read/write for real file
make sure that a file locked that would not be modifiable by the
current client is read-only on storage

also make sure we make a file read/write when modification can happen
again

Close #5537

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-07-12 13:41:46 +02:00
Nextcloud bot
cb4ec73787
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-12 02:28:10 +00:00
Nextcloud bot
a28249b501
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-11 02:40:24 +00:00
Matthieu Gallien
f38d9743ed
Merge pull request #5864 from nextcloud/addLinkToBinaries
add link in readme to nextcloud-releases correct page with binaries
2023-07-11 00:30:16 +02:00
Matthieu Gallien
022ab45e14 add link in readme to nextcloud-releases correct page with binaries
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-07-10 18:04:50 +02:00
Matthieu Gallien
e25c59e0ae
Merge pull request #5871 from nextcloud/bugfix/bulkUploadEmptyFiles
fix bulk upload of empty files
2023-07-10 17:56:07 +02:00
Matthieu Gallien
5540f7f0f4
do not use a mirror for KDE's Craft binary cache
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-07-10 15:15:34 +02:00
Matthieu Gallien
8cd1a30c40 fix bulk upload of empty files
force an empty body when we bulk upload empty files

force a "valid" checksum to be computed for empty files as bulk upload
server side expects a checksum even for empty files

Close #5824

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-07-10 10:38:39 +02:00
Nextcloud bot
0bb0491a9d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-10 02:41:16 +00:00
Nextcloud bot
645e2d8eed
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-09 02:41:53 +00:00
Nextcloud bot
fd98ee79bf
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-08 02:36:58 +00:00
Nextcloud bot
eea254bde8
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-07 02:33:31 +00:00
allexzander
4cc1395529
Merge pull request #5851 from nextcloud/feature/remove-seen-talk-notifications
Remove seen Talk notificatios from Tray window.
2023-07-06 10:00:30 +02:00
alex-z
b56200e0d7 Remove seen Talk notificatios from Tray window.
Signed-off-by: alex-z <blackslayer4@gmail.com>
2023-07-06 09:15:26 +02:00
Nextcloud bot
88b4c7ebeb
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-06 02:38:12 +00:00
Nextcloud bot
bf0a39c71d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-04 02:35:52 +00:00