Commit Graph

879 Commits

Author SHA1 Message Date
Arnab Chakraborty
be20d3d4fd Fix iOS builds 2024-11-01 20:40:27 -04:00
Vítor Vasconcellos
3d58f4b470 Autoformat 2024-10-21 14:49:02 -03: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
Vítor Vasconcellos
124fe5b0b0 Remove obsolete settings cloud page
- Fixed some typings
 - Update vite
2024-10-19 08:06:11 -03:00
Arnab Chakraborty
1f0525c8ee Autoformatting 2024-10-14 22:49:46 -04:00
Arnab Chakraborty
1bfaed39b0 Add sync status to mobile 2024-10-14 22:46:13 -04:00
Arnab Chakraborty
bc1ee54456 Merge branch '0.5.0-dev' into eng-1828-migration-to-new-cloud-api-system 2024-10-14 21:22:38 -04:00
Arnab Chakraborty
b7c150ca84 Merge branch 'main' into 0.5.0-dev 2024-10-14 21:20:28 -04:00
Arnab Chakraborty
99d453797b Sync profile page & Update mobile device names
DO NOT TRY ANDROID. IT IS BROKEN AND PANICKING ON CORE WHEN COMPILED.
2024-10-14 21:18:28 -04:00
James Pine
19825d4391 add tauri plugin clipboard manager for pasting credentials (not impl yet) 2024-10-12 01:01:17 -07:00
ameer2468
81147e21a2 cleanup auth, sync join modal, and more 2024-10-11 17:56:01 +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
Arnab Chakraborty
bc6d2f4b5b Fix Android builds failing to compile (#2755)
Update Cargo.toml
2024-10-08 22:25:55 +00:00
Lynx
2f07f0dece update release status show in onboarding to beta 2024-10-07 16:19:14 -07: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
Lynx
a08c890f86 Merge branch '0.5.0-dev' into eng-1828-migration-to-new-cloud-api-system 2024-10-07 13:31:25 -07: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
Lynx
0f6cd766ce Merge remote-tracking branch 'origin/main' into 0.5.0-dev 2024-10-06 15:14:30 -07: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
Arnab Chakraborty
2c0d94abc4 Merge branch 'main' into eng-1828-migration-to-new-cloud-api-system 2024-10-03 22:23:31 -04:00
lynx
4467e8af8d fix classname ordering with new font changes 2024-10-03 06:28:54 -07:00
lynx
58437f8b8d fix new app icon image sizes 2024-10-03 06:28:54 -07:00
lynx
458e05ea60 add new brand font font to some screens in the app
IBM Plex Sans
2024-10-03 06:28:54 -07:00
lynx
5919409db0 Update logos for beta 2024-10-03 06:28:54 -07:00
Ericson Soares
8833bbd4f5 Fix sync group join 2024-10-02 03:09:20 -03:00
Ericson Soares
556e760efa Update schema 2024-10-01 15:18:28 -03:00
Consoli
8ce9f30121 Remove dependency on once_cell and use std types (#2746)
* Remove dependency on once_cell and use std types

* Bump MSRV across the project to 1.81

* Cargo fmt

* Update rust-toolchain to 1.81
2024-09-30 21:19:59 +00:00
Arnab Chakraborty
7f6cb9e777 Fix join sync group on mobile 2024-09-30 17:12:07 -04:00
Arnab Chakraborty
efbecd4c61 Fix type errors & add notif logging on mobile 2024-09-30 11:35:59 -04:00
Ericson Fogo Soares
1cde3300b6 Update tauri and some deps 2024-09-28 16:34:31 -03:00
Arnab Chakraborty
e4edbee965 Working p2p relay backend 2024-09-28 04:01:06 -04:00
Arnab Chakraborty
67973e82fc wip 2024-09-27 23:20:10 -04:00
Ericson Soares
c2e080d1c1 Merge branch 'main' of github.com:spacedriveapp/spacedrive into eng-1828-migration-to-new-cloud-api-system 2024-09-26 00:06:21 -03:00
Consoli
aff2eddcb0 Use mimalloc as the global memory allocator (#2723)
* Experimenting with mimalloc as the global allocator for desktop

* Format toml file
2024-09-25 19:18:37 +00:00
Ericson Soares
87fcba06bb Merge branch 'main' of github.com:spacedriveapp/spacedrive into eng-1828-migration-to-new-cloud-api-system 2024-09-25 00:27:57 -03:00
Arnab Chakraborty
1a712493fb Fix cors issue & start auto bootstrapping cloud 2024-09-23 22:56:59 -04:00
Ameer Al Ashhab
9792d9ea81 [MOB-123,122,121] Fix & improve navigation issues (#2718)
* Fix drawer opening on initial pages only and location in settings to take you to edit location

* fix ts
2024-09-23 19:53:01 +00:00
ameer2468
2b5a6e98a9 improve auth ui 2024-09-23 22:16:55 +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
0306eb9e66 Formatting 2024-09-19 00:36:16 -04:00
Arnab Chakraborty
eff9ba9280 Add SystemConfiguration to SDCore podspec 2024-09-18 23:47:50 -04:00
Arnab Chakraborty
ac07f001ac Merge branch 'main' into eng-1828-migration-to-new-cloud-api-system 2024-09-18 22:30:54 -04:00
Arnab Chakraborty
6ac688b42b Lots of changes
- Constant for Auth server URL
- Modify config to save Pretty Name of device
- Properly list devices from Cloud Backend
2024-09-18 22:28:38 -04:00
Arnab Chakraborty
1b5b4b51e8 Refactor getAccessToken to return refreshToken 2024-09-18 00:37:13 -04:00
Arnab Chakraborty
656463e4de Custom Access Token functions & Constant URL
Constant URL for the auth server
2024-09-17 23:16:46 -04:00
Arnab Chakraborty
f333d55d77 Remove unused commented code 2024-09-17 13:36:19 -04:00
Arnab Chakraborty
1666229719 Get access token from storage in mobile 2024-09-17 12:10:51 -04:00