Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[_] feat: add time metadata to placeholders #379

Merged

Conversation

JoanVicens
Copy link
Contributor

Adds the changes of internxt/node-win#17

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@JoanVicens JoanVicens merged commit 0d8d23b into feat/win-sync-engine Sep 28, 2023
1 check failed
@JoanVicens JoanVicens deleted the feat/add-time-metadata-to-placeholders branch September 28, 2023 12:06
JoanVicens added a commit that referenced this pull request Nov 24, 2023
* [_] Sync engine bindings (#347)

Implements 
 - notifyDeleteCompletionCallback
 - notifyRenameCallback

* fix: set tooltip as standbay on window load

* fix: disable backups

* fix: spawn sync engine when firts sync ends

* fix: recreate widget after logout login secuence

* feat: version bump

* [_] test: make test work on windows (#348)

* [PB-942] fix: system language not selected (#350)

* fix: set system default as preferred language if not present

* fix: ensure sync engine is running to wait for it to stop

* fix: avoid recreating widget on login after a logut

* [🧪] run test on ci (#355)

* chore: undo type overwrite

* chore: clean up unused code

* fix

* [PB-944] Feat: include file size on placeholder (#352)

* feat: add size to placholder data

* feat: use all files listener

* feat: added tree builder service

* feat: use tree builder

* [_] feat: create folder placeholders (#357)

* feat: add field folder uuid

* feat: added tree builder service

* feat: add slash to folders path when creating its placeholder

* chore: clean unused code

* chore: remove unused imports

* [_] feat: block deletion until is finished (#351)

* feat: add file finder

* feat: block deletion util is done

* chore: rename

* feat: return result via callback

* feat: upload files

* [_] feat: separate callbacks (#360)

* [_] chore: refactor (#361)

* chore: open root folder when onboarding is finished

* fix: avoid destroying the tray

* chore: run test on ubuntu

* chore: add script to install only virtual drive

* chore: enforce type safety

* fix: precommit script

* [_] fix: thumbnail resize (#370)

* chore(deps-dev): bump electron from 25.1.0 to 25.8.1 (#371)

Bumps [electron](https://github.com/electron/electron) from 25.1.0 to 25.8.1.
- [Release notes](https://github.com/electron/electron/releases)
- [Changelog](https://github.com/electron/electron/blob/main/docs/breaking-changes.md)
- [Commits](electron/electron@v25.1.0...v25.8.1)

---
updated-dependencies:
- dependency-name: electron
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: refactor

* fix

* [_] feat: download on fetch data (#367)

* feat: set icon for root folder (#368)

* [_] fix: app crashes loading the localhost (#364)

* feat: retry file search

* lint fixes

* [_] chore: rename webdav worker to sync-engine (#373)

* chore: rename

* chore: reuse trim logic

* [_] update upload (#376)

* feat: update icons (#377)

* chore: version 2.0.0-a06

* chore: delete cached content file uploader

* chore: remove local cache and cloner

* fix: if the sync root is not the new one set it

* [PB-1011] chore: ignore file and folder creation error on traverser (#380)

* chore: register the provider with a correct guid

* [PB-1012] feat: reupload on change (#378)

* feat: reupload file when edited

* feat: add initial delay to upload

* chore: add todo

* fix: default system theme

* re-enabled realtime sockets

* fix rename problem when having two disks

* added file rename reporting

* fixed reporting changes events

* added tray icon changes by events

* [_] feat: folders placeholders (#383)

* feat: create empty folders

* feat: upload folders with contents

* feat: delete folder flattering the contents on trash

* fix: update updated at on trash

* chore: rename delete controller

* feat: delete files with a delay

* feat: block file deletion there is a folder being deleted

* fix: normalize path on http foler reposiotry

* feat: queue folder deletion

* feat: delete only the deleted folder

* feat: recreate file placeholder on delete error

* feat: create folder plachedor when deletion fails

* feat: folder rename

* test: fix folder deleter

* test: folder deletion fallback

* test: fix http file repo test

* test: update folder path creator

* fix: ts fixes

* [_] feat: add time metadata to placeholders (#379)

* feat: add tiem metadata to placeholder

* chore: use PlaceholderCreator on files module

* feat: use use case to print the placeholder tree

* chor: comment sync manager logs

* fix: file upload on existing path (#384)

* feat: uregister when user logs out (#385)

* test: added override file on creation test

* test: file deleter

* chore: veresio bump

* fix: folder deletion trashed check

* fix: notify widget file upload has finished after its being added

* add callback in progress event

* remove code smell and async unnecessary

* add path in callback progress event

* remove sync unnecessary

* [PB-1029] fix: folder creation with name (#387)

* fixes

* add chunksize with a new verion

* chore: use file and folder specific method to create placeholders

* feat: show internxt window when a download starts

* add status callback in fetch data

* rollback

* wip: add download final cycle

* fix: final download cycle

* fix test

* [] fix: ignore file creation after move (#389)

* fix: move files

* feat: use event history

* []: Feat: update local folder with remote changes (#381)

* chore: remove log

* fix: update the files when the path changes

* chore: version bump

* fix: download race condition

* chore: add trash logs

* [_] feat: delete file on remote update (#393)


* feat: delete files and folders

* fixes

* fix: throw error when creating a file that was moved

* fix: await for unregister sync root (#395)

* chore: store events before publication (#396)

* chore: notify file downloaded when it finishes

* fix: notify downloaded once

* chore: remove console.log

* fix: relaunch-when-closed-unexpectedly

* fix: show file deletion errors in issues window

* chore: disable report button on issues

* chore: version bump

* fix: increase the dealay on realtime updates

* fix: skip traverse deleted or trashed folders

* fix: test

* fix: tsc

* added placeholder trim id

* added refresh placeholders on real time sync

* wip: abort progresss

* fixed errordetails and types check

* Revert "fixed errordetails and types check"

This reverts commit 80fe378.

* fix: revert cancel management

* fix: revert cancel management

* feat/break-stopped-hydration

* wip

* feat: release 2.0.0

* chore: add certificate

* feat: add retrive all files use case

* feat: add retrive all files use case

* feat: include start with bindings reloading

* fix: logout management

* fix: include unsync items deletion

* fix: ignore files missing folder id

* fix: ignore remote folders

* chore: version bump

* changed tray icons with white-filled new ones

* fixed some file download envent calls

* fixed tray status event listeners

* remove progress when file download starts

* [PB-1151] fix: improve malicious file name detection (#413)

* feat: unify traverser in one use case

* fix: traverser instantacion

* [_] chore: generate trees (#414)

* add notificationCallback, show error size limit from node-win in client

* chore: use fileRepositoryFactory

* fix: import missing functions

* feat: delet downloaded files from temp folder

* add icon path

* removed finish notification before hidrating file

* chore: version bump

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: larry-internxt <[email protected]>
Co-authored-by: Larry <[email protected]>
Co-authored-by: migueldev01 <[email protected]>
Co-authored-by: Andres Pinto <[email protected]>
Co-authored-by: Carlos González <[email protected]>
Co-authored-by: Carlos González <[email protected]>
Co-authored-by: miguelsw <[email protected]>
JoanVicens added a commit to internxt/drive-desktop-linux that referenced this pull request May 7, 2024
* feat: add tiem metadata to placeholder

* chore: use PlaceholderCreator on files module

* feat: use use case to print the placeholder tree
JoanVicens added a commit to internxt/drive-desktop-linux that referenced this pull request May 7, 2024
* [_] Sync engine bindings (internxt#347)

Implements 
 - notifyDeleteCompletionCallback
 - notifyRenameCallback

* fix: set tooltip as standbay on window load

* fix: disable backups

* fix: spawn sync engine when firts sync ends

* fix: recreate widget after logout login secuence

* feat: version bump

* [_] test: make test work on windows (internxt#348)

* [PB-942] fix: system language not selected (internxt#350)

* fix: set system default as preferred language if not present

* fix: ensure sync engine is running to wait for it to stop

* fix: avoid recreating widget on login after a logut

* [🧪] run test on ci (internxt#355)

* chore: undo type overwrite

* chore: clean up unused code

* fix

* [PB-944] Feat: include file size on placeholder (internxt#352)

* feat: add size to placholder data

* feat: use all files listener

* feat: added tree builder service

* feat: use tree builder

* [_] feat: create folder placeholders (internxt#357)

* feat: add field folder uuid

* feat: added tree builder service

* feat: add slash to folders path when creating its placeholder

* chore: clean unused code

* chore: remove unused imports

* [_] feat: block deletion until is finished (internxt#351)

* feat: add file finder

* feat: block deletion util is done

* chore: rename

* feat: return result via callback

* feat: upload files

* [_] feat: separate callbacks (internxt#360)

* [_] chore: refactor (internxt#361)

* chore: open root folder when onboarding is finished

* fix: avoid destroying the tray

* chore: run test on ubuntu

* chore: add script to install only virtual drive

* chore: enforce type safety

* fix: precommit script

* [_] fix: thumbnail resize (internxt#370)

* chore(deps-dev): bump electron from 25.1.0 to 25.8.1 (internxt#371)

Bumps [electron](https://github.com/electron/electron) from 25.1.0 to 25.8.1.
- [Release notes](https://github.com/electron/electron/releases)
- [Changelog](https://github.com/electron/electron/blob/main/docs/breaking-changes.md)
- [Commits](electron/electron@v25.1.0...v25.8.1)

---
updated-dependencies:
- dependency-name: electron
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: refactor

* fix

* [_] feat: download on fetch data (internxt#367)

* feat: set icon for root folder (internxt#368)

* [_] fix: app crashes loading the localhost (internxt#364)

* feat: retry file search

* lint fixes

* [_] chore: rename webdav worker to sync-engine (internxt#373)

* chore: rename

* chore: reuse trim logic

* [_] update upload (internxt#376)

* feat: update icons (internxt#377)

* chore: version 2.0.0-a06

* chore: delete cached content file uploader

* chore: remove local cache and cloner

* fix: if the sync root is not the new one set it

* [PB-1011] chore: ignore file and folder creation error on traverser (internxt#380)

* chore: register the provider with a correct guid

* [PB-1012] feat: reupload on change (internxt#378)

* feat: reupload file when edited

* feat: add initial delay to upload

* chore: add todo

* fix: default system theme

* re-enabled realtime sockets

* fix rename problem when having two disks

* added file rename reporting

* fixed reporting changes events

* added tray icon changes by events

* [_] feat: folders placeholders (internxt#383)

* feat: create empty folders

* feat: upload folders with contents

* feat: delete folder flattering the contents on trash

* fix: update updated at on trash

* chore: rename delete controller

* feat: delete files with a delay

* feat: block file deletion there is a folder being deleted

* fix: normalize path on http foler reposiotry

* feat: queue folder deletion

* feat: delete only the deleted folder

* feat: recreate file placeholder on delete error

* feat: create folder plachedor when deletion fails

* feat: folder rename

* test: fix folder deleter

* test: folder deletion fallback

* test: fix http file repo test

* test: update folder path creator

* fix: ts fixes

* [_] feat: add time metadata to placeholders (internxt#379)

* feat: add tiem metadata to placeholder

* chore: use PlaceholderCreator on files module

* feat: use use case to print the placeholder tree

* chor: comment sync manager logs

* fix: file upload on existing path (internxt#384)

* feat: uregister when user logs out (internxt#385)

* test: added override file on creation test

* test: file deleter

* chore: veresio bump

* fix: folder deletion trashed check

* fix: notify widget file upload has finished after its being added

* add callback in progress event

* remove code smell and async unnecessary

* add path in callback progress event

* remove sync unnecessary

* [PB-1029] fix: folder creation with name (internxt#387)

* fixes

* add chunksize with a new verion

* chore: use file and folder specific method to create placeholders

* feat: show internxt window when a download starts

* add status callback in fetch data

* rollback

* wip: add download final cycle

* fix: final download cycle

* fix test

* [] fix: ignore file creation after move (internxt#389)

* fix: move files

* feat: use event history

* []: Feat: update local folder with remote changes (internxt#381)

* chore: remove log

* fix: update the files when the path changes

* chore: version bump

* fix: download race condition

* chore: add trash logs

* [_] feat: delete file on remote update (internxt#393)


* feat: delete files and folders

* fixes

* fix: throw error when creating a file that was moved

* fix: await for unregister sync root (internxt#395)

* chore: store events before publication (internxt#396)

* chore: notify file downloaded when it finishes

* fix: notify downloaded once

* chore: remove console.log

* fix: relaunch-when-closed-unexpectedly

* fix: show file deletion errors in issues window

* chore: disable report button on issues

* chore: version bump

* fix: increase the dealay on realtime updates

* fix: skip traverse deleted or trashed folders

* fix: test

* fix: tsc

* added placeholder trim id

* added refresh placeholders on real time sync

* wip: abort progresss

* fixed errordetails and types check

* Revert "fixed errordetails and types check"

This reverts commit 80fe378.

* fix: revert cancel management

* fix: revert cancel management

* feat/break-stopped-hydration

* wip

* feat: release 2.0.0

* chore: add certificate

* feat: add retrive all files use case

* feat: add retrive all files use case

* feat: include start with bindings reloading

* fix: logout management

* fix: include unsync items deletion

* fix: ignore files missing folder id

* fix: ignore remote folders

* chore: version bump

* changed tray icons with white-filled new ones

* fixed some file download envent calls

* fixed tray status event listeners

* remove progress when file download starts

* [PB-1151] fix: improve malicious file name detection (internxt#413)

* feat: unify traverser in one use case

* fix: traverser instantacion

* [_] chore: generate trees (internxt#414)

* add notificationCallback, show error size limit from node-win in client

* chore: use fileRepositoryFactory

* fix: import missing functions

* feat: delet downloaded files from temp folder

* add icon path

* removed finish notification before hidrating file

* chore: version bump

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: larry-internxt <[email protected]>
Co-authored-by: Larry <[email protected]>
Co-authored-by: migueldev01 <[email protected]>
Co-authored-by: Andres Pinto <[email protected]>
Co-authored-by: Carlos González <[email protected]>
Co-authored-by: Carlos González <[email protected]>
Co-authored-by: miguelsw <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant