Commit Graph

1151 Commits

Author SHA1 Message Date
Vítor Vasconcellos
177763c536 Autoformat 2024-10-21 14:49:02 -03:00
Vítor Vasconcellos
73cb22075f 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
ea92383b78 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
3e763295f2 Remove obsolete settings cloud page
- Fixed some typings
 - Update vite
2024-10-19 08:06:11 -03:00
Arnab Chakraborty
960e7c4ef5 Autoformatting 2024-10-14 22:49:46 -04:00
Arnab Chakraborty
b7ce861ace Add sync status to mobile 2024-10-14 22:46:13 -04:00
Arnab Chakraborty
8a1ee22a24 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
6d67a880e0 Merge branch 'main' into 0.5.0-dev 2024-10-14 21:20:28 -04:00
Arnab Chakraborty
c7e87f0862 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
b49a3cfae8 add tauri plugin clipboard manager for pasting credentials (not impl yet) 2024-10-12 01:01:17 -07:00
ameer2468
27a23d279d cleanup auth, sync join modal, and more 2024-10-11 17:56:01 +03:00
Arnab Chakraborty
0133173069 Merge branch 'main' into eng-1828-migration-to-new-cloud-api-system 2024-10-09 23:14:00 -04:00
Arnab Chakraborty
d0dc8bbae9 Fix Android builds failing to compile (#2755)
Update Cargo.toml
2024-10-08 22:25:55 +00:00
Lynx
a2283012cd update release status show in onboarding to beta 2024-10-07 16:19:14 -07:00
Lynx
a3048fbd10 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
26f7b5d670 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
8134160671 Merge remote-tracking branch 'origin/main' into eng-1828-migration-to-new-cloud-api-system 2024-10-06 23:36:06 -03:00
Lynx
f5d2420d63 Merge remote-tracking branch 'origin/main' into 0.5.0-dev 2024-10-06 15:14:30 -07:00
Vítor Vasconcellos
7cd0556f15 [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
d5d94fd99e Merge branch 'main' into eng-1828-migration-to-new-cloud-api-system 2024-10-03 22:23:31 -04:00
lynx
0c9e05c0ae fix classname ordering with new font changes 2024-10-03 06:28:54 -07:00
lynx
b20f0771d5 fix new app icon image sizes 2024-10-03 06:28:54 -07:00
lynx
fc6ad28b24 add new brand font font to some screens in the app
IBM Plex Sans
2024-10-03 06:28:54 -07:00
lynx
f61f7bd08b Update logos for beta 2024-10-03 06:28:54 -07:00
Ericson Soares
b53bd44531 Fix sync group join 2024-10-02 03:09:20 -03:00
Ericson Soares
bc093a2b43 Update schema 2024-10-01 15:18:28 -03:00
Consoli
0f10476ae2 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
de82f0350d Fix join sync group on mobile 2024-09-30 17:12:07 -04:00
Arnab Chakraborty
25c02c431d Fix type errors & add notif logging on mobile 2024-09-30 11:35:59 -04:00
Ericson Fogo Soares
f329a955b6 Update tauri and some deps 2024-09-28 16:34:31 -03:00
Arnab Chakraborty
cec8c9ea86 Working p2p relay backend 2024-09-28 04:01:06 -04:00
Arnab Chakraborty
264e3f7613 wip 2024-09-27 23:20:10 -04:00
Ericson Soares
e071008fd0 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
ab8832b243 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
628495e6e7 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
564e9acfb4 Fix cors issue & start auto bootstrapping cloud 2024-09-23 22:56:59 -04:00
Ameer Al Ashhab
81a1294ed1 [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
bc2ddc620f improve auth ui 2024-09-23 22:16:55 +03:00
Arnab Chakraborty
9d52280c08 Working on p2p stuff 2024-09-23 00:02:00 -04:00
Arnab Chakraborty
e581f79e83 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
9658c5d0f0 Comment old auth stuff on frontend 2024-09-20 00:58:16 -03:00
Arnab Chakraborty
16b1fd7e03 Formatting 2024-09-19 00:36:16 -04:00
Arnab Chakraborty
efc6704775 Add SystemConfiguration to SDCore podspec 2024-09-18 23:47:50 -04:00
Arnab Chakraborty
68cda79cc1 Merge branch 'main' into eng-1828-migration-to-new-cloud-api-system 2024-09-18 22:30:54 -04:00
Arnab Chakraborty
60e1258efe 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
337c7c2025 Refactor getAccessToken to return refreshToken 2024-09-18 00:37:13 -04:00
Arnab Chakraborty
4e4e964d48 Custom Access Token functions & Constant URL
Constant URL for the auth server
2024-09-17 23:16:46 -04:00
Arnab Chakraborty
117c1a1860 Remove unused commented code 2024-09-17 13:36:19 -04:00
Arnab Chakraborty
c6f531522b Get access token from storage in mobile 2024-09-17 12:10:51 -04:00
Vítor Vasconcellos
3bbea40446 [ENG-1840, ENG-1842] Add native dependencies for iOS (#2693)
* Implement dowload of mobile native deps
 - Add a spinner animation to `pnpm prep`
 - Change abandoned dependency @iarna/toml with smol-toml
 - Validate cargo config.toml after generating it from mustache template
 - Disabled HTTP2 downloads with udici, it is very broken

* Initial ios native deps xcframework logic

* Remove logic for handling dynamic iOS libs, using static libs now

* Fix PATH in build-rust.sh
 - Remove app.json

* Restore crates/images/src/pdf.rs

* minor fix .editorconfig

* Finally ios successfully compiles with ffmpeg enabled
 - Change SDCore.podspec to add extra libraries required by ffmpeg
 - Fix heif linking for ios in config.toml template
 - Add symlink logic for extra libraries required to compile ios in build-rust.sh
2024-09-17 02:27:42 +00:00