Commit Graph

906 Commits

Author SHA1 Message Date
Arnab Chakraborty
e2c150d8ea Working deep links 2024-08-19 16:55:16 +03:00
Arnab Chakraborty
026bfeac4a Merge branch 'main' into eng-1828-migration-to-new-cloud-api-system 2024-08-17 18:40:09 +03:00
Vítor Vasconcellos
287a809de0 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
Vítor Vasconcellos
f2f39a2a46 Format files due to update to prettier and eslint (#2667) 2024-08-17 02:50:56 +00:00
Consoli
9e09d92f03 [ENG-1159] Report progress when copying files (#2538)
* Copy ephemeral files by chunks

* Improving buffered writer

* Report progress

* Copy and emit progress as two separated tasks

* Simplify for-if-return with `Iterator::any`

* Docs and use structured tracing

* Simplify code using paths

* wip

* wip

* wip

* wip

* Add report of messages while copying files

* Add info field to job report

* Group paths from OldFileCopierJobStep into a single struct

* Improve progress information

* Remove the need for synchronization

* Error handling for copy

* Clean up frontend

* Make watcher only consider new files

* Fix concurrent renaming of multiple files that have the same name

* Add documentation for file strategist

* Remove editions to ephemeral file copies

* Remove experimental/nightly features from Cargo.toml

* Fix no-case-declarations

* Remove dead comments

* Format code

* Use "Duplicate" instead of "Copy" in the frontend messages

* Remove inline always to make clippy happy

* icons for deleter and copier

* Fix JobManager for copy jobs
 - Fix some types definitions

* Fix Job icon choosing logic
 - Fix Copier job showing two progress bars

* Log which files are not formatted in the Type and style check CI

* fmt

* Forgot an import

* autoformat

---------

Co-authored-by: ameer2468 <33054370+ameer2468@users.noreply.github.com>
Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com>
2024-08-17 02:00:59 +00:00
myung03
2b240b6231 quick refactor for list/device item 2024-08-16 14:31:33 -07:00
Vítor Vasconcellos
df1f503867 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
Arnab Chakraborty
ea521095a3 Deep linking wip
Pop up shows but doesn't pull focus on the app and actually doesn't receive events
2024-08-15 00:46:27 +03:00
Ericson Soares
3b9acc9fe2 Merge with main 2024-08-14 17:50:39 -03:00
Ericson Soares
0cf6f278eb Revamping crypto subcrate 2024-08-14 16:51:16 -03:00
Arnab Chakraborty
8cfbd374e3 [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
myung03
98f7e2ba1e added min width for list and device items 2024-08-13 19:13:22 -07:00
myung03
ed166310c7 added device info to "Libraries" in settings 2024-08-13 16:40:44 -07:00
Lkhsss
5fcdf7f7f0 Update Chinese Translations (#2656)
* Update Chinses tanstation

Chinese will be used in different ways in different places.If it's just a translation program or a word-for-word translation, it's going to be very stiff. Call me if you need a translator.<a href="mailto:lkhsss1019@gmail.com">lkhsss1019@gmail.com</a>

1.[fix] `"direction": "方向",`to`"direction": "次序",`
2.[fix]`"ascending": "上升",`to`"ascending": "升序",`
3.[fix]`"item_size": "项目大小"`,to`"item_size": "图标大小",`
.........etc   太多了数不过来了。。。

## I Need Some Help
Please send me a screenshot of where these entries are in the app so I can best translate them!(Better tell me where they are in the app.)
- failed_to_open_file_with
- file_from
- file_one
- file_picker_not_supported
- for_library
- image
- incoming_spacedrop
- indexed_new_files
- indexer_rules_error
- indexer_rules_not_available
- accept_files
- app_crashed_description
- collection
- directories
- directory
- do_the_thing
- dont_have_any
- dotfile
- ends_with
- erase
- erase_a_file
- erase_a_file_description
- file_picker_not_supported
- files_many
- for_library
- gitignore
- hosted_locations
- my_sick_location

* Change some translations...
2024-08-13 11:06:56 +00: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