989 Commits

Author SHA1 Message Date
Oscar Beaumont
dba39047ae fix major bugs in p2p PR 2022-10-07 05:51:40 +08:00
Oscar Beaumont
2d2d7223d2 merge in P2P code 2022-10-07 05:32:45 +08:00
Jamie Pine
1d9590c1cf Magic bytes 🪄
Co-authored-by: Brendan Allan <brendonovich@outlook.com>
2022-10-05 13:16:22 -07:00
Jamie Pine
1739ba8ffa Object Kind (#397)
* add temp custom icons and tweak styles

* tweaks

* - added Object type structs
- added extension enums with variant macros
- improved explorer rendering
- added database migration hotfix

* - added dev only data folder
- improved explorer image loading

* macros do rule !

* remove baselining

Co-authored-by: Brendan Allan <brendonovich@outlook.com>
2022-10-04 20:34:41 -07:00
Brendan Allan
8267cb6f65 bump rust cache key 2022-10-05 10:46:56 +08:00
Brendan Allan
9957f535ac format web 2022-10-05 10:05:25 +08:00
Brendan Allan
414b8eb47d Use turborepo for desktop & web apps (#399)
* add turborepo

* give docs a package.json

* tabs not spaces

* tabs not spaces
2022-10-04 18:59:28 -07:00
Brendan Allan
49d4dbb0dd Improve CI Speed (#398)
* use different cache

* cache prisma client in rustfmt

* cleanup prettier config

* build server image in sub-action

* server image + prisma client custom actions

* remove lefthoook checks that are in ci

* fix build-server-image

* rename Clippy job

* rename build core job

* use custom rust caching action

* fix rust cache shared key

* cleanup custom action job names

* remove platform check in clippy ci

* setup pnpm in clippy ci

* update mobile package name

* make ios compiling conditional

* use pnpm cache

* run clippy in release

* force use release for all jobs
2022-10-04 18:45:54 -07:00
Brendan Allan
05ba8e81ea update pcr version 2022-10-05 04:20:59 +08:00
Jamie Pine
b9ce8e9f57 Rename Files to Objects (#396)
* backend rename complete

* finalize Object refactor frontend
+ remove some exhaustive dep suppression
+ FIX INVALIDATE QUERY BUG
2022-10-04 09:16:49 -07:00
Brendan Allan
74b42bf45c [ENG-84] Sync library (#394)
* new sql lib stuff

* add sync stuff + rename all crates

* build sd-core

* add sync/example/dist to source

* fix sync example in monorepop

* appease clippy

* update lockfile

* update commit hooks

* fix typescript

* fix typescript build

* please rustfmt
2022-10-04 05:25:12 -07:00
Brendan Allan
93907f7c0b please rustfmt 2022-10-04 20:07:05 +08:00
Brendan Allan
aafba4a7bf run rustfmt in ci 2022-10-04 20:03:49 +08:00
Brendan Allan
ba5c3fe660 db:gen in core 2022-10-04 18:42:40 +08:00
Brendan Allan
72069411bf move prisma schema and migrations to /core (#392)
* move prisma schema and migrations to /core

* fix prisma updates
2022-10-04 02:32:46 -07:00
Oscar Beaumont
51490ba5f4 Merge pull request #388 from spacedriveapp/fix-prisma-codegen-cache
expand prisma client cache key
2022-10-02 01:30:58 +08:00
Jamie Pine
b670c49fca Fix readme licence badge 2022-09-30 20:51:46 -07:00
Jamie Pine
06c1c4fba7 removed stray dependency causing build issue 2022-09-29 21:24:42 -07:00
Jamie Pine
6796262619 Added crates folder (#389)
* restructure core for crates folder

- improve naming consistency
- added placeholder files for near future code
- added docs

* - removed all typescript from core
- moved rspc bindings to client

* remove useless git ignore & rustfmt
2022-09-29 21:02:29 -07:00
Oscar Beaumont
3d001800b9 bump Typescript target to ESNext 2022-09-30 00:33:43 +08:00
Brendan Allan
8a7cf83f46 use proper workflow syntax 2022-09-28 11:42:05 +08:00
Brendan Allan
0f8d6b75e9 expand prisma client cache key 2022-09-28 11:39:04 +08:00
Oscar Beaumont
8dc6301063 Eng 243 documentation on landing (#386)
* Updated roadmap

* Color timeline to show where we are up to

* roadmap improvements

* roadmap changes

* docs init

* progress on docs

* support metadata (name & ordering)

* fix prod build

* fix lock

* fix perender

* docs progress

* added "slots" to markdown parser

* refactor to support sections

* more docs progress

* fixes

* added empty docs

* killer opening paragraph

* fix Heroicon imports & page rendering

* tweaks

* next doc

* fix build

* fix ssg failure

* fix prod build for REAL

it was the bubbles

* fix next doc api

* it's the bubbles

* wip: docs mobile

* doc nav tweak

* doc menu ui

* fix next doc in pre-render

* react-borger-menu

* fix build

* fix height and padding

* mobile docs nav styles

* oooh super cool transition

* fix button state glitch + big headings

* refactor layout

* docs mobile nav bar style

* fix min width & height

* Merge remote-tracking branch 'refs/remotes/origin/main'

Conflicts:
	docs/architecture/spaces.md
	docs/developers/architecture/spaces.md

* placeholder docs

* correct pre styles + env setup guide

* search coming soon

* docs cleanup

* resolved cargo

* reorder docs + add image

Co-authored-by: Lu Hill <email@lewie.me>
Co-authored-by: Jamie Pine <ijamespine@me.com>
2022-09-27 19:48:42 -07:00
Brendan Allan
0f064eb66f make rust 1.64 requirement more concrete 2022-09-27 12:28:32 +08:00
Mohammed Bajuaifer
b40353e7a3 [Eng 200] enter on keyboard doesn't cause modal to submit (#382)
* Add form tag to enable submission when clicking enter

* invalidate library queries when adding/removing

* using useQueryHook to invalidate queries

* Bump Rust version on Contributing

* Fix form double firing

Co-authored-by: Utku Bakir <74243531+utkubakir@users.noreply.github.com>
2022-09-25 23:35:25 -07:00
Ericson "Fogo" Soares
07d9b121f5 Video thumbnails (#376)
* Preparing some scaffolding for video thumbnails

* Implemented thumbnail generation for videos
* Propagating errors of `Node` creation
* Using ffmpeg feature gate

* Introducing ffmpegthumbnailer-rs as a subcrate on core

* - rename to thumbnailer
- fix explorer thumbnail bug
- add more supported video types
- re-fix explorer performance

* remove nested licence

Co-authored-by: Jamie Pine <ijamespine@me.com>
2022-09-24 01:21:13 -07:00
Brendan Allan
a7c3816419 Use feature gated database branch of PCR (#387)
use feature gating branch of pcr
2022-09-22 23:40:15 -07:00
Brendan Allan
1c85505c03 extract long type to please clippy 2022-09-23 14:17:29 +08:00
Brendan Allan
69a6de65d5 remove needs: typescript from rust ci 2022-09-23 13:53:56 +08:00
Brendan Allan
2f9a7c306c typo fixes 2022-09-23 13:46:23 +08:00
Brendan Allan
18079ba378 Use PCR for migrations (#385)
* use pcr migrations branch

* use 0.6.2 branch with migrations

* use latest prisma stuff

* allow force reset of db in dev

* remove .spacedrive file

* update rspc in apps/server

* use rspc 0.0.5 in all crates

* add os to prisma client cache key

* add runner os to clippy prisma cache
2022-09-22 00:50:21 -07:00
Jamie Pine
0512843a03 fix readme 2022-09-15 12:58:33 -07:00
Vikram Srinivas
ca05cca09d Update README.md (#384) 2022-09-15 10:10:32 -07:00
maxichrome
cdb0810162 Merge pull request #383 from spacedriveapp/use-rust-shortcuts 2022-09-15 04:12:08 -05:00
maxichrome
74c8fe8bee Merge remote-tracking branch 'origin/main' into use-rust-shortcuts 2022-09-15 02:19:30 -05:00
maxichrome
c381618bf5 Merge remote-tracking branch 'origin/main' into use-rust-shortcuts 2022-09-15 02:15:40 -05:00
maxichrome
d44ec44e07 use defaultprops type arg in inputcontainer 2022-09-15 01:56:02 -05:00
maxichrome
e78906fa6f update search bar shortcut to Cmd/Ctrl+F 2022-09-15 01:55:51 -05:00
Oscar Beaumont
5d457a47aa Merge pull request #375 from spacedriveapp/eng-237-explorer-performance-2
Explorer performance
2022-09-15 14:08:52 +08:00
Oscar Beaumont
5f9a3459b5 Merge remote-tracking branch 'origin/main' into eng-237-explorer-performance-2 2022-09-15 12:45:05 +08:00
maxichrome
bc8972faa4 hide search key hint when value present 2022-09-14 16:54:57 -05:00
maxichrome
bf50c61332 Merge remote-tracking branch 'origin/main' into use-rust-shortcuts 2022-09-14 15:59:59 -05:00
maxichrome
58f339304d update search shortcut to slash 2022-09-14 15:57:26 -05:00
maxichrome
43be1f2dd6 reposition top bar keybind check comment 2022-09-14 12:22:32 -05:00
maxichrome
1d8e858ad7 use clearer name for DOM keybind handler 2022-09-14 12:22:12 -05:00
Oscar Beaumont
3338506119 properly shutdown the core when using server 2022-09-14 19:02:11 +08:00
maxichrome
06175a6450 add silly react import to app layout bc it needs it 2022-09-13 22:41:20 -05:00
maxichrome
5671fc0e60 move to custom KeybindEvent subclass 2022-09-13 22:41:01 -05:00
maxichrome
40194bec47 reconfigure search bar keybind
- also prevents interference with other text boxes on Esc
2022-09-13 19:05:42 -05:00
maxichrome
0d55f3c9e2 add typings for keybind event 2022-09-13 19:05:12 -05:00