Commit Graph

1559 Commits

Author SHA1 Message Date
Brendan Allan
3bf95b2993 add CreateLibraryDialog to sidebar dropdown 2022-10-21 11:26:15 +08:00
Brendan Allan
276cf43a70 disable dropdown storybook 2022-10-21 10:30:19 +08:00
Brendan Allan
d4ad33e9c1 refactor dropdown 2022-10-21 10:29:50 +08:00
Brendan Allan
4ed63cc85d use custom tailwind styled function (#426)
* use custom tailwind styled function

* update pnpm lock

* fix landing vite config
2022-10-20 17:34:40 -07:00
Jamie Pine
3d0994f5df some esm vite plugin thing (#425) 2022-10-20 16:21:50 -07:00
Brendan Allan
d4d019680c use padding="thin" 2022-10-21 04:14:54 +08:00
Brendan Allan
bb5629c5c8 remove tauricon 2022-10-20 03:51:35 +08:00
Brendan Allan
584a5f1321 update pnpm-lock 2022-10-19 18:47:55 +08:00
Brendan Allan
8b5a16ffb7 sync docs 2022-10-19 14:44:09 +08:00
Brendan Allan
8fa7b1e5e1 UI refactor (#418)
button refactor

Co-authored-by: Jamie Pine <32987599+jamiepine@users.noreply.github.com>
2022-10-18 21:24:47 -07:00
Oscar Beaumont
52fa68357e Merge pull request #419 from spacedriveapp/fix-reactivity
upgrade rspc + fix reactivity + add in disabled Normi code
2022-10-18 23:10:37 +08:00
Oscar Beaumont
6404c30d28 Merge remote-tracking branch 'origin/main' into fix-reactivity 2022-10-18 22:16:15 +08:00
Oscar Beaumont
e76bce4036 Merge pull request #420 from spacedriveapp/cas-hotfix
hotfix: re-import `cas.rs` from `eng-245`
2022-10-18 22:14:23 +08:00
Oscar Beaumont
55b2f0a783 Merge remote-tracking branch 'origin/main' into fix-reactivity 2022-10-18 22:09:33 +08:00
Oscar Beaumont
c4a12bd1a7 use React.PropsWithChildren 2022-10-18 22:04:19 +08:00
Oscar Beaumont
5f4003e8b1 purge unused dependencies 2022-10-18 21:52:00 +08:00
Oscar Beaumont
7ab2795b18 Removing import React from mobile 2022-10-18 20:58:05 +08:00
Oscar Beaumont
17c7201cd7 🎉 Fix core on Android 2022-10-18 20:57:17 +08:00
brxken128
ec759a8f86 re-import cas.rs from eng-245 2022-10-18 13:44:31 +01:00
jake
a65c59726d [ENG-245] Object Validator Job (#414)
* use `.to_hex()` for blake3 hashes

* move file hashing function+fix large stack alloc

* init validator job

* change branch name

* add object validator job

* formatting

Co-authored-by: Jamie Pine <ijamespine@me.com>
2022-10-18 05:39:33 -07:00
Jamie Pine
da67bde72d fix video thumb and inspector scroll 2022-10-18 00:00:33 -07:00
Jamie Pine
8c2175d156 ui cleanup 2022-10-17 23:38:41 -07:00
Jamie Pine
b8bc9abbb6 improvements to key manager ui 2022-10-17 21:01:40 -07:00
Oscar Beaumont
6e0285e7f7 Merge remote-tracking branch 'origin/main' into fix-reactivity 2022-10-18 11:29:02 +08:00
Oscar Beaumont
30c02c1e52 upgrade rspc + fix reactivity + add in disabled Normi code 2022-10-18 04:45:37 +08:00
Oscar Beaumont
c5c01a1317 PR #416
Co-authored-by: PyRo1121 <o.latham@me.com>
2022-10-18 02:23:23 +08:00
Oscar Beaumont
83efc10a0f Merge pull request #417 from spacedriveapp/mobile-pnpm
put mobile in pnpm workspace
2022-10-18 01:45:29 +08:00
Brendan Allan
60df0aaa53 add postinstall script for react-native-codegen 2022-10-17 23:42:32 +08:00
Brendan Allan
f32dd89111 minor refactors 2022-10-17 22:23:01 +08:00
Brendan Allan
76ae07a754 put mobile in pnpm workspace 2022-10-17 21:27:14 +08:00
Jamie Pine
80f7fb4751 Merge branch 'main' of https://github.com/spacedriveapp/spacedrive 2022-10-17 01:37:05 -07:00
Jamie Pine
40657b62b4 Merge branch 'main' of https://github.com/spacedriveapp/spacedrive 2022-10-17 01:36:05 -07:00
Jamie Pine
bf99e8200c - added explorer options panel
- added Select ui component
- added tailwind-radix
2022-10-17 01:32:36 -07:00
Oscar Beaumont
d195e71db5 Merge pull request #415 from spacedriveapp/general-fixes
general fixes
2022-10-17 11:47:18 +08:00
Oscar Beaumont
f0925d84ca Merge remote-tracking branch 'origin/main' into general-fixes 2022-10-17 11:46:45 +08:00
Jamie Pine
1e5d70571e fix settings suspense 2022-10-16 02:48:58 -07:00
Jamie Pine
708e8ae92d improve dialog animation + move to ui lib 2022-10-15 22:11:25 -07:00
Jamie Pine
0aee464ee9 mockup: key manager ui
- thanks AndrewTech for help with react spring +  radix combo
2022-10-15 21:40:10 -07:00
Oscar Beaumont
6af6a4fcfa fix Rust + Clippy warnings 2022-10-15 05:48:07 +08:00
Oscar Beaumont
c7bfa3b00c move from try to try_exists for explicit error handling 2022-10-15 05:18:42 +08:00
Oscar Beaumont
3dd3bc0838 fix hot reload + move navigate() to <Link /> 2022-10-15 03:56:55 +08:00
jake
06b9720988 CAS ID Improvements (#413)
* remove `ring` dependency and use `sha2` instead

* use BLAKE3 and include full file checksum

* update schema comments
2022-10-13 15:31:47 -07:00
jake
911feec014 [ENG-256] Crypto Crate Refinements (#410)
* add experimental preview media support

* clippy+formatting

* add support for mk/pvm nonces

* fix cursor positioning+size deserialization bug

* clippy+formatting

* cleanup code and add `decrypt_preview_media()`

* update comment

* remove `Mode` from `Keyslot`

* use little-endian `usize` for media length

* remove memory objects

* remove mode enum

* add `.zeroize()` to `Protected<>`

* remove `Mode` ser/de

* refactor, remove `Mode`, add helper functions

* formatting

* remove unused error

* update comments/docs

* comments, fix large files, insane performance

* doc updates and fix decrypt zeroize

* revert to 1048576 byte `BLOCK_SIZE`

* `Keyslot` and `PreviewMedia` constructors now handle encryption

* add metadata item with associated functions

* update comments, clean up useless items

* add metadata support within the header

* remove stray 128 in length calcs

* include metadata in header ser/de

* fmt+clippy

* rework keyslot decryption

* formatting

* api changes, code cleanup

* docs for `stream.rs`

* massive documentation re-write

* mark expensive doc test as ignore

* minor api tweaks

* add examples

* formatting+linting

* finalise documentation and add more examples

* formatting
2022-10-13 15:25:42 -07:00
Oscar Beaumont
d9e348f21b update rspc to version with fixed httpz rev
Main was broken because it was pulling httpz from main and I have been refactoring it.
2022-10-13 15:03:43 +08:00
Jamie Pine
b1cedc75a4 (hotfix) p2p preventing compile 2022-10-08 11:30:17 -07:00
jake
0db9603823 [ENG-250] Crypto Library (#400)
* add crypto crate with some functionality

* formatting

* add `argon2id` parameter levels

* add descriptive comments

* add stream decryption objects

* add `StreamEncryptor` struct

* add `StreamDecryptor`

* general cleanup

* add `thiserror` and error handling

* add header structs

* add basic serialization functionality

* advance serialization

* finish serialization

* clean up serialization and use `impl`

* finalise deserialization

* add stream helper functions and remove old code

* add AAD creation and retrieval

* add important comment

* add `ChaCha20Rng` as a CSPRNG

* cleanup and crate-wide clippy lints

* apply nursery lints

* add in-memory encryption objects

* rename `utils` to `objects`

* move (de)serialization rules to separate file

* add header-write helper function

* add password hash helper function

* add `decrypt_master_key` function

* cleanup, formatting, linting

* move keyslots to separate file, and rename them

* add basic comments

* remove `secrecy` dependency and import `protected`

* add `to_array` helper function

* `sd_crypto` -> `sd-crypto`

* remove manual drops

* add clippy allows

* add `new()` for `Keyslot` and `FileHeader`

* remove license

* zeroize read buffer on error

* magic bytes are now `ballapp`

Co-authored-by: Brendan Allan <brendonovich@outlook.com>
Co-authored-by: Jamie Pine <32987599+jamiepine@users.noreply.github.com>
2022-10-07 07:31:40 -07:00
Jamie Pine
5ff3d5fecb Merge branch 'main' of https://github.com/spacedriveapp/spacedrive 2022-10-06 18:10:08 -07:00
Jamie Pine
2b85431e1b sd extensions crate
Co-authored-by: Brendan Allan <brendonovich@outlook.com>
2022-10-06 18:10:03 -07:00
Oscar Beaumont
98366a89b4 Merge pull request #401 from spacedriveapp/merge-p2p-code
P2P code
2022-10-07 07:47:42 +08:00
Oscar Beaumont
450ad0daa2 merge duplicate prettier config and format repo with it 2022-10-07 07:45:15 +08:00