Commit Graph
444 Commits
Author SHA1 Message Date
James PineandEricson Fogo Soares a9ee1036c6 Added local devices endpoint
Co-authored-by: Ericson "Fogo" Soares <ericson.ds999@gmail.com>
2025-01-03 17:56:41 -08:00
Arnab Chakraborty 152d1c7e07 Save email address for re-login
It saves the email address in the login form so we don't have users always type in their email when they have to log in.
2024-12-15 17:53:46 -05:00
Arnab Chakraborty 58e7151e19 Move Auth Tokens storage from Local Storage to custom encrypted .sdks file (#2831)
* Initial encryption functions

* Storage of encrypted tokens & working login

* Add customized `tauri-plugin-cors-fetch`

We need to have it in our crates folder due to the dependency of `sd-crypto` for the handling of cookies.

* Lint
2024-12-14 19:49:50 -05:00
Ericson Soares 8b3e9a1408 Update deps 2024-12-10 12:22:46 -03:00
Jamie Pine 30c06e4cbc Implement speed testing for volumes, enhancing event handling and state management. Update VolumeManagerActor and associated logic 2024-11-04 07:12:51 -08:00
James Pine b1d5ab6bef Introduce VolumeFingerprint and related types, improving type safety and consistency across the module 2024-11-03 19:22:47 -08:00
Jamie Pine 9541c9c5fa Refactor volume management to include library awareness, enhance fingerprint handling, and improve system volume interactions 2024-11-03 04:03:21 -08:00
Jamie Pine c78901634d Refactor volume management to streamline event handling, state updates, and improve watcher interactions within the system 2024-11-03 00:29:57 -07:00
Jamie Pine 25436df10d Implement volume tracking, unmounting, and event subscriptions; enhance volume API with new types and improve UI handling 2024-10-31 23:54:44 -07:00
Jamie Pine 57891a8e90 Enhance volume management: add volume watcher, optimize volume APIs, and integrate volume speed tests with refined types and event handling 2024-10-31 21:36:35 -07:00
Jamie Pine b0be5d062d Refactor volume handling to replace storage statistics with volume management; adjust related API and schema accordingly 2024-10-24 15:29:32 -07:00
Jamie Pine 157f543b94 Merge branch 'eng-1828-migration-to-new-cloud-api-system' into eng-294-volume-awareness 2024-10-23 21:34:16 -07:00
Vítor Vasconcellos 7e7dd8fbde Merge remote-tracking branch 'origin/main' into eng-1828-migration-to-new-cloud-api-system 2024-10-21 14:40:59 -03:00
Vítor Vasconcellos cc7c9d5793 Improve file thumbnails and Quick Preview (+ some code clean-up and rust deps update) (#2758)
* Update rspc, prisma-client-rust, axum and tanstack-query
 - Deleted some unused examples and fully commented out frontend code
 - Implement many changes required due to the updates
 - Update most rust dependencies

* Re-enable p2p

* Fix server

* Auto format

* Fix injected script format
 - Update some github actions
 - Update pnpm lock file

* Fix devtools showing up when app opens
 - Fix million complaining about Sparkles component

* Fix sd-server

* Fix and improve thumbnails rendering
 - Fix core always saying a new thumbnail was generated even for files that it skiped thumbnail generation
 - Rewrite FileThumb and improve related components

* Ignore tmp files when running prettier

* Improve FileThumb component performance
 - Rework useExplorerDraggable and useExplorerItemData hooks due to reduce unecessary re-renders

* More fixes for thumb component
 - A couple of minor performance improvements to frontend code

* auto format

* Fix Thumbnail and QuickPreview

* Fix logic for when to show 'fail to load original' error message in QuickPreview
 - Updated prisma-client-rust, libp2p, tauri, tauri-specta, rspc and hyper

* Fix type checking
 - Format scripts

* Add script prettier config

* Fix serde missing feature
 - Use rust-libp2p spacedrive fork again
 - Update rspc

* Autoformat + fix pnpm lock

* Fix thumbnail first load again

* Autoformat

* autoformat

* Fix rust-libp2p fork url again?

* Remove usePathsInfiniteQuery hook

* Update tauri 2.0.6
2024-10-21 15:47:40 +00:00
Jamie Pine d5f864dc99 volume awareness init 2024-10-17 14:13:26 -07:00
Ericson Soares 951f47bbad Some minor tweaks 2024-10-15 03:59:07 -03:00
Lynx 36f6ebcfec Merge branch '0.5.0-dev' into eng-1828-migration-to-new-cloud-api-system 2024-10-14 20:49:12 -07:00
Lynx 9ff1062699 fix onboarding prerelease screen 2024-10-14 18:57:15 -07:00
Ericson Soares 068e072aea Forgot to call needed function 2024-10-11 23:20:57 -03:00
Arnab Chakraborty 6c0c0e020f Merge branch 'main' into eng-1828-migration-to-new-cloud-api-system 2024-10-09 23:14:00 -04:00
Ericson Soares 3208ef5dd2 Change database to use device id on everything instead of pub_id 2024-10-07 22:38:45 -03:00
Lynx 4cfa0e781e Add no telemetry option and improve analytics code clarity (#2740)
* Refactor analytics configuration to use `configureAnalyticsProperties` instead of `initPlausible` for improved clarity

* format & add comment explaining analytics ping code
if any people reviewing source for their own verification of its purpose, this should make it much clearer what this does

* refactor Setting to use named function so its references can be source-peeked

* add basic support for 'none' telemetry option
changing the option in the Select dropdown breaks things right now, gotta figure out why

* fix usePlausibleEvent sending old telemetry level preference property to submitPlausibleEvent

* Fall back fo 'unknown' instead of '0.1.0' for app version stats

* Better explain the purpose of more things in submitPlausibleEvent

* organize and clean up internationalization file keys

* fix lowercase connect/connecting key names in code

* add no-telemetry option to onboarding

* Only display error report button if telemetry is enabled

* Add explainer to Sentry plugin for Vite

* Fix onboarding selection in both interface and mobile

* Add more explanation and checks to usePlausible to never send data unless allowed

* add support for onLoad to transform data from persisted mutable stores

* update some analytics explainers on mobile

* add telemetry state migration

* add migration for telemetry state from explorer layout key in persisted store

* fix cypress test for onboarding privacy page

* remove some accidentally included console.log statements

* Add localized analytics preference names

* Use localized telemetry preference names in Settings

* use cleaner text wrapping in settings

* Update the telemetry setting title

* fix telemetry typo

* update mobile no-analytics text

* remove telemetry override option

* eslint: disable no-empty-object-type for PlausibleOptions

the reason is commented
2024-10-07 22:00:38 +00:00
Vítor Vasconcellos a223fa0a8b Merge remote-tracking branch 'origin/main' into eng-1828-migration-to-new-cloud-api-system 2024-10-06 23:36:06 -03:00
Vítor Vasconcellos cdc50140b0 [ENG-1928] Update to tauri 2.0.1 stable (#2752)
* Update to tauri 2.0.0 stable
 - Update a some othe dependencies
 - Autoformat rust and toml files

* Fix clippy complain

* Update tauri 2.0.1
 - Update rspc
 - Update some frontend files due changes in rspc
 - Update some frontend build dependencies

* Revert babel update

* Fix code typing typing and style + a couple of bugs

* More type fixes
2024-10-05 21:17:30 +00:00
Ericson Soares 556e760efa Update schema 2024-10-01 15:18:28 -03:00
Ericson Soares ce548b5dde Update schema and deps 2024-10-01 14:46:27 -03:00
Arnab Chakraborty efbecd4c61 Fix type errors & add notif logging on mobile 2024-09-30 11:35:59 -04:00
Ericson Soares 9848bae878 Update cloud schema 2024-09-28 00:52:27 -03:00
Arnab Chakraborty 67973e82fc wip 2024-09-27 23:20:10 -04:00
Ericson Soares 618e49f63d Some specta renaming on cloud services routes 2024-09-26 22:47:41 -03:00
Arnab Chakraborty 9ecde77c9c Working on p2p stuff 2024-09-23 00:02:00 -04:00
Arnab Chakraborty 46a944ccc9 Work on getting request_join working
Currently have debug routes on how the flow of joining a sync group works, and there a few bugs internally still giving us issues.
2024-09-22 11:03:44 -04:00
Ericson Soares 1025aa980e Comment old auth stuff on frontend 2024-09-20 00:58:16 -03:00
Arnab Chakraborty 6f3d45c464 Disabled social logins on mobile 2024-09-15 02:20:09 -04:00
Arnab Chakraborty 8ce9a95301 Working device registration and listing 2024-09-13 09:01:10 -04:00
Arnab Chakraborty 0251cbc4ea Device routes & registering of device (mostly)
Still wip though
2024-09-11 00:52:40 -04:00
Arnab Chakraborty 53308d5fba Fix token parsing + start of device registering 2024-09-09 19:23:38 -04:00
Ericson Soares 9f8005c479 Relating tables to device 2024-09-06 23:53:35 -03:00
Ericson Soares 872ca1deec Receiver actor for cloud sync 2024-09-04 01:50:22 -03:00
Arnab Chakraborty d6e2fac7d9 Updated core.ts file 2024-08-28 14:45:22 -04:00
Ericson Soares 4bf8db02f7 Make core compile again 2024-08-27 17:01:42 -03:00
Ericson Soares 873b94cbe6 Merge branch 'main' of github.com:spacedriveapp/spacedrive into eng-1828-migration-to-new-cloud-api-system 2024-08-20 23:06:12 -03:00
Arnab Chakraborty 6b85ebd4d4 Working Social Login buttons in prod
For google at least.
2024-08-20 20:47:10 +03:00
Arnab Chakraborty 094f626659 Auth callback route 2024-08-20 12:43:24 +03:00
ameer2468 caa2886dd4 [ENG-1866] Overview: fix storage progress device value (#2678)
Fix storage device value
2024-08-19 18:27:06 +00:00
Arnab Chakraborty e2c150d8ea Working deep links 2024-08-19 16:55:16 +03:00
Arnab Chakraborty 026bfeac4a Merge branch 'main' into eng-1828-migration-to-new-cloud-api-system 2024-08-17 18:40:09 +03:00
Vítor Vasconcellos 287a809de0 Fix release workflow (#2668)
* Fix frontend bundle upload
 - Update pnpm

* Revert incorrect removal of fontenf packaging job

* Fix tauri not building updater bundles

* Ensure release action is executed when PRs modify the publish-artifacts action

* Fix unused argument for patchTauri function

* Couple for format fixes

* tauri requires building the app bundle to build the updater
2024-08-17 08:29:32 +00:00
Vítor Vasconcellos f2f39a2a46 Format files due to update to prettier and eslint (#2667) 2024-08-17 02:50:56 +00:00
9e09d92f03 [ENG-1159] Report progress when copying files (#2538)
* Copy ephemeral files by chunks

* Improving buffered writer

* Report progress

* Copy and emit progress as two separated tasks

* Simplify for-if-return with `Iterator::any`

* Docs and use structured tracing

* Simplify code using paths

* wip

* wip

* wip

* wip

* Add report of messages while copying files

* Add info field to job report

* Group paths from OldFileCopierJobStep into a single struct

* Improve progress information

* Remove the need for synchronization

* Error handling for copy

* Clean up frontend

* Make watcher only consider new files

* Fix concurrent renaming of multiple files that have the same name

* Add documentation for file strategist

* Remove editions to ephemeral file copies

* Remove experimental/nightly features from Cargo.toml

* Fix no-case-declarations

* Remove dead comments

* Format code

* Use "Duplicate" instead of "Copy" in the frontend messages

* Remove inline always to make clippy happy

* icons for deleter and copier

* Fix JobManager for copy jobs
 - Fix some types definitions

* Fix Job icon choosing logic
 - Fix Copier job showing two progress bars

* Log which files are not formatted in the Type and style check CI

* fmt

* Forgot an import

* autoformat

---------

Co-authored-by: ameer2468 <33054370+ameer2468@users.noreply.github.com>
Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com>
2024-08-17 02:00:59 +00:00