internxt / drive-desktop

https://internxt.com/drive
GNU Affero General Public License v3.0
168 stars 21 forks source link

[_] fix: ensure newer files are included #492

Closed JoanVicens closed 5 months ago

JoanVicens commented 6 months ago

To avoid prs that depend on other prs. This one removes the StorageApp for the RemoteSyncManager and changes the checkpoint of files and folders to be 6 hours before the last updated item.

The StorageApp has been deleted and instead of managing the lastFilesSyncAt and lastFoldersSyncAt, we take advantage of the local database to query those values. This avoids showing the onboarding window on every login, the reset of the selected language, and the creation of new devices after logging out and back in.

When fetching the items we check for items 6 hours previous to the latest one saved to avoid missing some items when the backend does not return them on the synchronization.

sonarcloud[bot] commented 5 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud