Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2022-11-09properly escape a path when creating a test file during testsMatthieu Gallien
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-11-07new autotest to ensure that we delete folders despite blacklist errorsMatthieu Gallien
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-10-31Add testing for SortedShareModelClaudio Cambra
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2022-10-31Moved all server mocking code for share model test to independent ↵Claudio Cambra
ShareTestUtils file Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2022-10-31Add testing for ShareeModelClaudio Cambra
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2022-10-31Add a suite of tests for ShareModelClaudio Cambra
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com> Test ShareModel error handling Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com> Improve testing of user/group shares in ShareModel Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com> Add testing for maximum share expire date enforcement in ShareModel Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2022-10-17Update tests.Camila
Signed-off-by: Camila <hello@camila.codes>
2022-10-11add extra tests for lock files to better capture desired behaviorMatthieu Gallien
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-10-11test that files soon to be expired will be synced automaticallyMatthieu Gallien
try to ensure that we properly sync again files for which lock has expired Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-10-04VFS Windows: Display the sharing state and lock state in the 'Status' column ↵allexzander
of Windows Explorer Signed-off-by: allexzander <blackslayer4@gmail.com>
2022-10-04Check local file locked and unlocked correctly in testlocaldiscoveryClaudio Cambra
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-10-04add [[nodiscard]] attribute via clang-tidyMatthieu Gallien
ran run-clang-tidy-14.py -header-filter='.*' -checks='-*,modernize-use-nodiscard' -fix under linux with most part of our code covered Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-10-04fix [[nodiscard]] single warningMatthieu Gallien
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-10-04apply modernize-use-using via clang-tidyci/useUsingMatthieu Gallien
ran run-clang-tidy-14.py -header-filter='.*' -checks='-*,modernize-use-using' -fix Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-09-29Update tests to follow 'Reply' change of primary action.Camila
Signed-off-by: Camila <hello@camila.codes>
2022-09-29Fix 'Reply' action primary property.Camila
Primary is set to true when object type is 'room' or 'chat' and it set to false when object type is 'call'. Signed-off-by: Camila <hello@camila.codes>
2022-09-26Remove sorting code in activitylistmodel as not needed with ↵Claudio Cambra
sortedactivitylistmodel Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-09-17Fix deprecation warnings.allexzander
Signed-off-by: allexzander <blackslayer4@gmail.com>
2022-09-17Do not ignore return values for SyncJournalDB in unit tests.allexzander
Signed-off-by: allexzander <blackslayer4@gmail.com>
2022-09-13Refactor ActivityListModel population mechanismsClaudio Cambra
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-09-10Make sure Folder is deleted from the list and the SyncJournalDB is closed ↵alex-z
for every folder of the account that has been removed. Signed-off-by: alex-z <blackslayer4@gmail.com>
2022-09-10Check folder invalidity reson when deciding to enable or disable the ↵alex-z
'Finish' button in a Wizard page. Signed-off-by: alex-z <blackslayer4@gmail.com>
2022-09-05fix build of windows virtual files automated testsMatthieu Gallien
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-08-10Make UserStatusSelector a dismissible page pushed onto the tray windowClaudio Cambra
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-08-08ensure SyncEngine use an initialized instance of SyncOptionsMatthieu Gallien
will prevent nextcloudcmd command line client from ignoring the settings handled by SyncOptions Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-07-29Implement COM Dll for CfApi shell extensins. Implement Thumbnail Provider.alex-z
Signed-off-by: alex-z <blackslayer4@gmail.com>
2022-07-12Properly adapt the userstatusselectormodel, eliminate hacks, make code more ↵Claudio Cambra
declarative Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-06-24Make client language gender-neutral and more clearClaudio Cambra
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-06-10Fail build when Windows tests fail. Use GH Actions to build and run Windows ↵alex-z
tests. Create coverage and uppload it to codecov.io. Signed-off-by: alex-z <blackslayer4@gmail.com>
2022-05-16if an exclude file is deleted, skip it and remove it from internal listMatthieu Gallien
ignore files can be removed: not an error so adjust tests Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-05-16Allow manual renaming of files and folders with spaces. Allow uploading ↵alex-z
invalid file name via the InvalidFileName dialog. Signed-off-by: alex-z <blackslayer4@gmail.com>
2022-05-16Fix notifications not being shown when they should beClaudio Cambra
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-05-12Do not replace strings in action links coming from the notification api.Camila
Signed-off-by: Camila <hello@camila.codes>
2022-05-02allow lock/unlock of files from files explorer integrationMatthieu Gallien
add new commands to the contextual menu provided by our files explorer plugins to allow locking/unlocking a file Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-05-02add automated tests for LockFileJob to validate proper behaviorMatthieu Gallien
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-05-02fetch and store in sync database information abot lock state of filesMatthieu Gallien
fetch lock properties from server decode them and store them in sync database test to ensure we do properly handle those properties Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-05-02detect capabilities for lock/unlock of filesMatthieu Gallien
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-04-06Update ActivityListModel tests.Camila
Signed-off-by: Camila <hello@camila.codes>
2022-04-06avoid deleting renamed file with spaces in nameMatthieu Gallien
ensure that normal sync engine will nto delete new file renamed due to trailing/leading spaces in name rename before upload in the same job to avoid having invalid state in local desktop client database to ensure any subsequent run of the sync engine will not make wrong decisions Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-03-28Fix dark mode stuff relating to unified search, fix macOS auto dark/light ↵Claudio Cambra
theme switching not always working, fix Windows detection of dark/light theme switching Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-03-18ensure discovery phase will not try to upload files with invalid mtimeMatthieu Gallien
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-03-18add new tests dedicated for recovery scenario of wrong mtime on serverMatthieu Gallien
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-03-18prevent updating files when that would result in invalid mtimeMatthieu Gallien
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-18remove all usage of QDateTime::toTime_t() to avoid overflowMatthieu Gallien
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-17Add TalkReply class and tests.Camila
- 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-17Add thumbnails for files in the activity viewClaudio Cambra
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-03-16File activity dialog now works for all file actions activities (e.g. deleted ↵Claudio Cambra
files) Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-03-09Do not remove files from a Group folder and its nested folders whe it is ↵bugfix/group-folder-files-erased-when-rename-or-delete-folderalex-z
renamed or removed while not allowed. Signed-off-by: alex-z <blackslayer4@gmail.com>
2022-02-25Fix review comments.alex-z
Signed-off-by: alex-z <blackslayer4@gmail.com>
2022-02-25Unit tests for new files restore logic when the parent folder is removed on ↵alex-z
the server. Signed-off-by: alex-z <blackslayer4@gmail.com>