Commit Graph

370 Commits

Author SHA1 Message Date
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
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
fc6ad28b24 add new brand font font to some screens in the app
IBM Plex Sans
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
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
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
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
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
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
Arnab Chakraborty
feab71f84a Disabled social logins on mobile 2024-09-15 02:20:09 -04:00
Arnab Chakraborty
4d662b2ff6 Get sd core to compile on mobile + deps update 2024-09-13 14:16:01 -04:00
Ericson Soares
01008c2569 Merge branch 'main' of github.com:spacedriveapp/spacedrive into eng-1828-migration-to-new-cloud-api-system 2024-08-27 17:01:58 -03:00
ameer2468
4b787cc8f9 [MOB-116] Fix Drawer appearing & visual improvements (#2691)
* Fixes, visual improvements, and more

* rename const
2024-08-26 11:09:32 +00:00
Ericson Soares
6ef5e36cf2 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
81fe5f4ef2 First autoformat of the PR 2024-08-20 20:52:21 +03:00
ameer2468
6348f81d8a [MOB-101] Improve object renaming UX (#2683)
Improve object renaming ux

cleanup

remove unused imports
2024-08-20 09:34:29 +00:00
Arnab Chakraborty
e08a2e8fde Merge branch 'main' into eng-1828-migration-to-new-cloud-api-system 2024-08-17 18:40:09 +03:00
Vítor Vasconcellos
ba0ecb6fa2 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
Arnab Chakraborty
efb153288a Merge branch 'main' into eng-1828-migration-to-new-cloud-api-system 2024-08-17 00:37:56 +03:00
Arnab Chakraborty
6e48a75d5a Update to Expo SDK 51 (#2665)
* Update to Expo SDK 51

* Fix `moti` version issue & update iOS runner

* Update pnpm-lock.yaml

* Update .gitignore

* Update mobile-ci.yml

* Hopefully this fixes Maestro?
2024-08-16 20:02:03 +00:00
Vítor Vasconcellos
01d61631d7 Merge remote-tracking branch 'origin/main' into eng-1828-migration-to-new-cloud-api-system 2024-08-15 18:16:13 -03:00
Vítor Vasconcellos
6672c6cffc Remove unused code and update rust deps (#2662)
* Remove deps-generator app
 - It is broken for quite a while and not being used

* Remove unused code and unused deps

* auto format

* Restore incorrectly removed files
 - Remove aws deps and test code using it

* Replace winapi-util with windows-rs
 - Adjust some deps versions

* Autoformat

* Update rand, remove unused dep

* Fix image crate due to changes in pdf-renderer
 - Dont use default features in reqwest
 - Use native-tls tauri

* Remove incorrect notice about blake3
2024-08-15 17:09:03 +00:00
Ericson Soares
1aa459ad23 Revamping crypto subcrate 2024-08-14 16:51:16 -03:00
Arnab Chakraborty
139ba6e1a4 [ENG-1854] Migrate to Tauri v2 Release Candidate (#2654)
* Migrate to Tauri v2 Release Canidate

* Formatting

* Update pnpm

* Update all tauri deps (js and rust) to Release Candidate 2
 - A lot of misc fixes due to changes in the new versions of tauri, rspc and specta

* Recreate pnpm-lock

* Fix pnpm-lock

* Formatting

* Use 10 chars SHA for git deps
 - Update a couple of rust dependencies
 - Add taplo for toml auto formatting
 - Adjust some formatting configurations
 - Updated prettier and its plugins

* Fix formatter settings

* Minor improvements to Cargo.toml format

---------

Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com>
2024-08-14 18:22:46 +00:00
Arnab Chakraborty
019b157d9f Merge branch 'rocky/tauri-v2-rc' into eng-1828-migration-to-new-cloud-api-system 2024-08-13 13:51:52 +03:00
Vítor Vasconcellos
8b3574d7a6 Use 10 chars SHA for git deps
- Update a couple of rust dependencies
 - Add taplo for toml auto formatting
 - Adjust some formatting configurations
 - Updated prettier and its plugins
2024-08-12 17:49:31 -03:00
Arnab Chakraborty
f9e7ea7302 Make sure Java version running is 17 for Android 2024-08-12 21:26:37 +03:00
Arnab Chakraborty
c930b417ef Update ShowPassword.tsx 2024-08-03 21:25:47 +03:00