Commit Graph

893 Commits

Author SHA1 Message Date
myung03
ed166310c7 added device info to "Libraries" in settings 2024-08-13 16:40:44 -07:00
Arnab Chakraborty
e80fd01dfc Merge branch 'rocky/tauri-v2-rc' into eng-1828-migration-to-new-cloud-api-system 2024-08-13 13:51:52 +03:00
Arnab Chakraborty
8f6100e5bc Remove keyring crate
We found a different solution, as the keyring crate isn't supported on Android
2024-08-12 20:26:11 +03:00
Vítor Vasconcellos
5fa70ebba0 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
2024-08-10 00:11:52 -03:00
Arnab Chakraborty
0406a6b9f7 Working signout button
Turns out, I forgot an await
2024-08-09 18:25:27 +03:00
Arnab Chakraborty
1ab176c31f Working Popout to default browser + Signout button
Signout button should be working, and popout is working great
2024-08-08 11:10:44 +03:00
Arnab Chakraborty
ed3dd7c69b Proper state change for showing logged out page 2024-08-08 01:46:27 +03:00
Arnab Chakraborty
da44a4e5fc Mocked Device data for UI 2024-08-08 01:46:08 +03:00
Arnab Chakraborty
e2d1862766 Migrate all cloud routes to the new API system
All cloud routes are now migrated to the new system in the backend.

The old routes are still available, as the frontend has not been modified to use the new ones yet.
2024-08-07 17:55:22 +03:00
Arnab Chakraborty
0beee744b2 Completed cloud.devices rspc route
Everything is done except "hello", "register", and "update", which are being handled by Ericson
2024-08-07 01:17:38 +03:00
Arnab Chakraborty
386248f853 Working example for new API system
A working example to fetch data from the new cloud services system.
2024-08-06 12:47:53 +03:00
Arnab Chakraborty
5bb9316de3 Refresh to update auth state on desktop 2024-08-04 16:54:24 +03:00
Ericson Soares
e3209171c2 Merge branch 'eng-1828-migration-to-new-cloud-api-system' of github.com:spacedriveapp/spacedrive into eng-1828-migration-to-new-cloud-api-system 2024-08-02 18:54:50 -03:00
Ericson Soares
4b8b0b007c Merge branch 'main' of github.com:spacedriveapp/spacedrive into eng-1828-migration-to-new-cloud-api-system 2024-08-02 18:54:03 -03:00
pr
d654d085d8 Dim pure white text & increase keybind text size in keybind list (#2643)
* Dim ink white & increase keybind text size in keybind list

* Update menu ink colour tint

* Update sidebar ink colour tint

* Update app ink colour tint

---------

Co-authored-by: Lynx <141365347+iLynxcat@users.noreply.github.com>
2024-08-02 21:23:00 +00:00
Arnab Chakraborty
5315216928 Working Auth on Mobile
You can now log in to the new Auth system from your mobile device.

WARNING: Currently, password rendering isn't hashed. It is being worked on.
2024-08-03 00:22:26 +03:00
Arnab Chakraborty
4bb61c502d Show profile info if logged in 2024-07-31 23:31:40 +03:00
Arnab Chakraborty
1516c9780a Merge branch 'main' into eng-1828-migration-to-new-cloud-api-system 2024-07-31 15:21:26 +03:00
Matthew Yung
710a7ba903 [ENG-1707] Fix bug causing both quick preview and search closing with esc (#2646)
fix bug with quick preview and search closing with esc
Co-authored-by: Lynx <iLynxcat@users.noreply.github.com>
2024-07-31 09:20:11 +00:00
Arnab Chakraborty
3bbbf779fe Update to vite ^5.2.0 (#2645)
Fixes weird binary issue with esbuild versions clashing across deps.
2024-07-30 16:39:31 +00:00
Arnab Chakraborty
83f79edfc1 Cleanup cookieHandler.ts 2024-07-30 16:35:16 +03:00
Arnab Chakraborty
c36b6d2571 Actually fetch data from rspc 2024-07-30 16:32:44 +03:00
Arnab Chakraborty
70452ec841 wip: Getting User Data from backend 2024-07-30 11:00:59 +03:00
Vítor Vasconcellos
72677dc48d Merge branch 'main' into eng-1828-migration-to-new-cloud-api-system 2024-07-28 16:30:25 -03:00
Vítor Vasconcellos
1813bef30c Fix inconsistencies and update project's gitignore (#2642)
* Improve gitignore

* Update pnpm
2024-07-28 11:25:35 +00:00
Arnab Chakraborty
a071419908 Working auth key storage in Keychain
Credentials like the auth access token are stored in the user's Keychain instead of in localStorage for security reasons.
2024-07-27 20:48:15 +03:00
Arnab Chakraborty
9bc00cd33c wip: Use Keychain instead of Localhost for Storage
We store auth creds in the actual keychain of the device and not in localstorage.

Currently works, but will fail if we move completely away from localStorage.
2024-07-26 23:58:44 +03:00
Matthew Yung
c1801f8929 [ENG-1791] Fix right-click sometimes opening native context menu (#2637)
resolve native context menu opening bug
2024-07-26 12:20:12 +00:00
Arnab Chakraborty
0be5d37f80 WIP 3rd Party Logins 2024-07-25 16:39:25 +03:00
ameer2468
7b973c31fa Make show password a component 2024-07-25 13:07:19 +03:00
Arnab Chakraborty
6c0c810d6a Add Supertoken login page 2024-07-25 00:17:33 +03:00
ameer2468
f5316e4389 clean up 2024-07-24 18:51:33 +03:00
ameer2468
2d41c47a92 new form for login 2024-07-24 18:40:56 +03:00
Arnab Chakraborty
1fecf6d034 Merge branch 'main' into eng-1828-migration-to-new-cloud-api-system 2024-07-24 13:48:47 +03:00
Matthew Yung
e60e3a7cf9 [ENG-1806] Add zoom shortcuts and pinch to quick preview (#2635)
* added pinch + shortcut support for zoom

* fix tailwind styles

* pnpm autoformat
2024-07-24 09:44:25 +00:00
Arnab Chakraborty
039d836569 Merge branch 'main' into eng-1828-migration-to-new-cloud-api-system 2024-07-23 14:04:43 +03:00
Arnab Chakraborty
0db7b02d3b Change service subdomain url from app to api 2024-07-23 13:41:30 +03:00
Artsiom Voitas
4c5c274344 Translate Top Bar and new Overview to Russian and Belarusian (#2628)
* translated new overview section and added pluralized kinds

* Updated keys

* updated sorting
2024-07-23 07:42:31 +00:00
Lynx
415aa55021 Fix style-check CI job and patch tailwindcss-animate (#2631)
* Remove explicit ref in checkout for type and style check CI job

This was breaking checkouts for PRs from forks

* add tailwindcss-animate patch to remove duplicate utility class

* use new `animate-duration` for animations

* Run fixed `pnpm autoformat`
2024-07-23 06:39:58 +00:00
ameer2468
a3fcbd60df [ENG-1830] Change sidebar toggle shortcut (#2625)
* Change sidebar shortcut to cmd/ctrl + s

* tooltip icon
2024-07-22 14:50:14 +00:00
ameer2468
dbc6d7edc2 [ENG-1825] Show thumb image if original is not available (#2617)
* show thumb image if original is not available

* remove space

* formatting
2024-07-19 22:33:07 +00:00
Arnab Chakraborty
5a0a08c6ba Fix specific keybinds (#2616)
* Fix actual event emits

* Hide file menu

* Add duplicate

* comment out menu shortcuts until emission of events are handled

---------

Co-authored-by: ameer2468 <33054370+ameer2468@users.noreply.github.com>
2024-07-19 15:08:07 +00:00
Matthew Yung
185d8120c6 [ENG-1827] Update common.json (#2612)
update common.json
2024-07-17 23:38:52 +00:00
Arnab Chakraborty
88ebca70a8 Hide Sync Tab via Feature Flag (#2611) 2024-07-17 21:47:19 +00:00
Matthew Yung
c68f30b55a [ENG-1238] Improving job manager feedback and usability (#2607)
* calculate jobs eta

* calculate eta for single + group jobs

* fix issue with clearing running job groups

* clear completed with error tasks

* error handling for ETA

* fix typeerrors and minor styling for ETA

* fix clearing all jobs & types

* Update JobGroup.tsx

* Update JobGroup.tsx

---------

Co-authored-by: ameer2468 <33054370+ameer2468@users.noreply.github.com>
2024-07-17 14:41:06 +00:00
Ericson "Fogo" Soares
2d19fad2eb [ENG-1793] Introduce error handling for sd-core-sync crate (#2556)
* Error handling for sd-core-sync crate
Also a bunch of tweaks and fixes

* Update core.ts

* Auto format

* Comment out background_processing_percentage on frontend too
 - Update rust version in contributing

* Trying to avoid data loss on actor stop

* Stronger linter on sync generator

* Stronger lint on sync subcrate

* Clean back tasks.json file

* TS typechecking

* Autoformat

* Add more verbose errors for Cloud REST API

* Removing some comments

Copilot is fun sometimes lol

* Properly stopping actors

* Fix ingest stop

* Racing on stop for actors

* Error conversion from merge with main

---------

Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com>
Co-authored-by: Arnab Chakraborty <11457760+Rocky43007@users.noreply.github.com>
2024-07-16 22:30:35 +00:00
Boxuan Zhang
fdcc471a48 Repaired some translation errors in Chinese(Simp) and Chinese(Trad) (#2609)
Repair some translation errors in Chinese(Simp) and Chinese(Trad)
2024-07-16 19:31:52 +00:00
Ericson "Fogo" Soares
345b2e1b63 [ENG-1824] Fix Library Statistics (#2601)
* Done

* Updating storage statistics on volume watcher

* Don't sum up directories sizes for statistics

* storage bar ui changes

* changed storage bar colour gradient

* implemented loading state for statistics

* Fix migration

* Solving crashing and removing sleep

* Properly using useState I guess, not a TS dev

* fixed some ui issues

* Fixing reactivity issue

---------

Co-authored-by: myung03 <matthewyungisworking@gmail.com>
2024-07-16 15:17:53 +00:00
ameer2468
f337aaae92 [ENG-1818] Fix missing caret when a file is selected in pathbar (#2604)
* fix missing caret when a file is selected in pathbar

* formatting
2024-07-12 14:42:57 +00:00
Lynx
f45dff5d3c Fix misspelled "vacuum" (#2595) 2024-07-09 19:28:06 +00:00