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

12647 Commits

Author SHA1 Message Date
Camila San
b1667f48d3 Fix context menu wording.
Signed-off-by: Camila San <hello@camila.codes>
2019-09-13 23:50:49 +02:00
Bani Azarael
33f9ae827f Revert to "Refactor for hardcoded strings"
2be6d1a4fe645df34f369bf467ecdd201daeccf9
2019-09-13 23:48:19 +02:00
Bani Azarael
ef4541f834 Refactor for hardcoded strings 2019-09-13 23:33:08 +02:00
Bani Azarael
1b6a9bf128 Get logical drives available on Windows 2019-09-13 23:18:36 +02:00
Bani Azarael
7956f2846b Fix duplicate files
Add an ignored list for not creation
2019-09-13 23:18:00 +02:00
Bani Azarael
12a5f2d16a Change VolName on Windows 2019-09-13 23:17:26 +02:00
Bani Azarael
817e92ab7a Unmount when removing account 2019-09-13 22:45:03 +02:00
Bani Azarael
f4cd3b95c5 Fix logout on Windows 2019-09-13 22:41:33 +02:00
Bani Azarael
a106f89d29 Improvements for VfsWindows 2019-09-13 22:35:49 +02:00
Bani Azarael
322b2fe3a5 Indent lines | Remove unused variables and qDebug 2019-09-13 21:52:22 +02:00
Bani Azarael
33520fdee8 Add changes to moveFileAtPath on Windows 2019-09-13 21:51:49 +02:00
Camila San
706cfe88d0 Fixes syncing in sub directories.
Signed-off-by: Camila San <hello@camila.codes>
2019-02-04 15:10:29 +01:00
Camila San
653c10be86 Fixes deleting of files in sub folder.
Signed-off-by: Camila San <hello@camila.codes>
2019-01-28 10:59:42 +01:00
Camila San
b38b821480
Fix wording.
See PR #1043.

Signed-off-by: Camila San <hello@camila.codes>
2019-01-25 14:07:19 +01:00
Bani Azarael
723b8907f2 Show enabled ContextMenu for Mac
* Add relative path for database
* Enable items on context menu
2019-01-24 15:38:21 -06:00
zkoria
27d639a986 test Clean local folder case. 2019-01-24 12:47:39 -06:00
Camila San
8499df8a7c Fixes conflicting files.
Signed-off-by: Camila San <hello@camila.codes>
2019-01-24 10:19:40 +01:00
Camila San
80ba3adc33 Does not change the file mode when user touches it.
- Always sync the file but do not change mode.

Signed-off-by: Camila San <hello@camila.codes>
2019-01-22 20:12:04 +01:00
zkoria
c149465f80 update socketapi.cpp 2019-01-21 22:50:10 -06:00
Camila San
cd1c5922d1 Fixes syncing of files in sub directories.
- Paths were being set in the wrong way in the local file tree.
- TODO: refactor it. It can be done better.

Signed-off-by: Camila San <hello@camila.codes>
2019-01-22 01:50:44 +01:00
zkoria
483630667b update socketapi.cpp 2019-01-21 16:44:40 -06:00
Camila San
f746c74bf8 Makes sure to set all files touched by the user to offline.
- After setting to offline, sync it.

Signed-off-by: Camila San <hello@camila.codes>
2019-01-21 00:06:52 +01:00
zkoria
63a591b5fd activate CleanLocalFolder case. 2019-01-18 13:45:22 -06:00
zkoria
8ba1fdb642 update Sync Icons for Win (2). 2019-01-18 03:45:36 -06:00
zkoria
5bb63b93cc update Sync Icons for Win. 2019-01-17 19:54:36 -06:00
Camila San
1c1111fb7b Fixes syncing of files in directories.
- Folders that are set to online get their files ignored by the sync
engine.
- Minor change: remove qdebug message from csync.

Signed-off-by: Camila San <hello@camila.codes>
2019-01-17 13:32:27 +01:00
Camila San
cd6225d418 Fixes deleting of files in the server.
- Also correctly add calls for syncing in the correct places.

Signed-off-by: Camila San <hello@camila.codes>
2019-01-17 00:36:53 +01:00
Camila San
848993baab Merge branch 'filestreaming-v5' of https://github.com/nextcloud/desktop into filestreaming-v5 2019-01-16 13:27:54 +01:00
Camila San
06b32222a4
Only syncs offline files.
- Checks if files are offline before downloading it.
- Updates last access once syncing is done.
- In vfs_windows calls for syncing only where is needed: openfile,
delete and write (WIP)

Signed-off-by: Camila San <hello@camila.codes>
2019-01-16 01:27:51 +01:00
Camila San
37028c7e19 Only syncs offline files.
- Checks if files are offline before downloading it.
- Updates last access once syncing is done.
- In vfs_windows calls for syncing only where is needed: openfile,
delete and write (WIP)

Signed-off-by: Camila San <hello@camila.codes>
2019-01-15 22:42:17 +01:00
Camila San
3536c55ae4 Fixes syncing files in subfolders.
Signed-off-by: Camila San <hello@camila.codes>
2019-01-15 20:34:14 +01:00
Camila San
f337125818 Removes last slash from path to folder.
- Extra slash in the end was causing error when trying to open and read
dir on Windows.

Signed-off-by: Camila San <hello@camila.codes>
2019-01-15 16:15:29 +01:00
zkoria
80dfe2a703 fixpath 2019-01-14 12:57:11 -06:00
Camila San
c89d3d97bc To test: fixes wrong file path.
- For the database we needed to use the relative path to the file.
- Fixes path before we do requests to the sync engine.

Signed-off-by: Camila San <hello@camila.codes>
2019-01-14 17:36:06 +01:00
zkoria
9035995cda Tranfor virtual path to real path. 2019-01-11 13:17:22 -06:00
zkoria
e7470fd57b Sync Icons for Win 2019-01-10 18:25:18 -06:00
zkoria
aba6ebece7 End points createFile, moveFile, createDirectory, moveDirectory 2019-01-10 11:39:48 -06:00
Bani Azarael Mejia Flores
ffa35c183c Sync Icons for Mac 2019-01-03 16:25:42 -06:00
Camila San
f848e21768 Do not overwrite the instruction given by FUSE.
- The instruction given by fuse was overwritten with 'new'.

Signed-off-by: Camila San <hello@camila.codes>
2019-01-03 09:48:34 -08:00
Camila San
8ca06ff0ec Fixes crash on the first run.
- SyncJournalDb instance was null when _syncJournalDb variable was
created in SyncWrapper.

Signed-off-by: Camila San <hello@camila.codes>
2019-01-03 06:17:28 -08:00
Camila San
b886bb9c15 Uses local discovery method for opening local directory.
Signed-off-by: Camila San <hello@camila.codes>
2018-12-28 17:16:06 +01:00
Camila San
181bbebd6f Fixes check if file gets excluded by _csync_detect_update on Windows.
- The code os commented out because of the changes made to search the
file in the folder.

Signed-off-by: Camila San <hello@camila.codes>
2018-12-24 14:06:54 -08:00
Camila San
98c8fa21c9 Fixes exception "directory or file invalid" on Windows.
- Refactores solution to get file information on Windows.
- Do not update the local tree again after finishing sync.

Signed-off-by: Camila San <hello@camila.codes>
2018-12-24 07:10:09 -08:00
Camila San
6eb4986e11 Replaces Qt::DirectConnection for Qt::QueuedConnection.
- The sync engine needed to run in the main thread not in the FUSE
thread.

Signed-off-by: Camila San <hello@camila.codes>
2018-12-18 06:49:24 -08:00
Camila San
c19ecb3c8b
Replaces timeout value for ULONG_MAX in discovery remote phase.
Signed-off-by: Camila San <hello@camila.codes>
2018-12-07 15:13:52 +01:00
Camila San
4d8dfae25f
Removes logic that cleaned up trail slash in the beginning of the path.
It wasn't necessary.

Signed-off-by: Camila San <hello@camila.codes>
2018-12-07 15:13:28 +01:00
Camila San
dbe3b662db
Removes repeated call to schedule sync.
Signed-off-by: Camila San <hello@camila.codes>
2018-12-06 14:28:04 +01:00
Roeland Jago Douma
4d57f27c51
Do not fetch activities if they are not enabled
Fixes #788
Fixes #834

If the activity app is not enabled we should not try to fetch the
activities at all.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-06 14:18:35 +01:00
Hitss
79a2b0488f
2 Update windows trigger openFile. 2018-12-05 11:04:26 +01:00
Hitss
73e79fd40f
Update windows trigger openFile. 2018-12-05 11:04:06 +01:00