Commit Graph

1141 Commits

Author SHA1 Message Date
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
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
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
Arnab Chakraborty
e9c08e3f08 Formatting 2024-09-06 10:24:34 -04:00
Arnab Chakraborty
5ae87e37ce Working Tauri fetch in prod
It finally works!
2024-09-06 09:53:37 -04:00
Arnab Chakraborty
e8183f15d6 Merge branch 'main' into eng-1828-migration-to-new-cloud-api-system 2024-09-06 08:50:46 -04:00
Arnab Chakraborty
33a75c3b34 Update Tauri Version & Try fixing CORS issues 2024-08-30 07:36:11 -04:00
Arnab Chakraborty
55f02aa8ed Fixed ipc errors 2024-08-28 16:42:25 -04:00
Madion Konig
7f05ade433 Add "Duplicate current tab" keybind (#2679)
* Implemented duplicating current tab

* prettier fixes

* Disable non-functional "New window" menu shortcut
This was preventing "Duplicate current tab" from firing

* use proper casing in RedirectPath type name

* Revert locale changes from "Implemented duplicating current tab"

This partially reverts commit a822f54569.

There were unrelated changes to locale files that should be scoped to their own PR.

* SImplify new location definition

* Remove accidentally committed change lol

* Use cmd-shift-t for duplicate same tab

* Remove navToSettings shortcut

* remove references to now-missing navToSettings keybind

---------

Co-authored-by: lynx <141365347+iLynxcat@users.noreply.github.com>
2024-08-28 18:11:46 +00:00
Ericson Soares
cbef19f756 More tweaks on sync subcrate and other fixes 2024-08-27 23:45:05 -03: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