Commit Graph

406 Commits

Author SHA1 Message Date
Brendan Allan
93907f7c0b please rustfmt 2022-10-04 20:07:05 +08:00
Oscar Beaumont
b250ab6861 bundle splitting and performance optimisations 2022-10-02 01:37:35 +08:00
Oscar Beaumont
fc1c6d0906 upgrade rspc 2022-10-02 01:16:11 +08: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
Brendan Allan
0f064eb66f make rust 1.64 requirement more concrete 2022-09-27 12:28:32 +08: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
1c85505c03 extract long type to please clippy 2022-09-23 14:17:29 +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
maxichrome
c381618bf5 Merge remote-tracking branch 'origin/main' into use-rust-shortcuts 2022-09-15 02:15:40 -05:00
maxichrome
e78906fa6f update search bar shortcut to Cmd/Ctrl+F 2022-09-15 01:55:51 -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
Oscar Beaumont
3338506119 properly shutdown the core when using server 2022-09-14 19:02:11 +08:00
maxichrome
5671fc0e60 move to custom KeybindEvent subclass 2022-09-13 22:41:01 -05:00
maxichrome
c5a0a2699c use native/Tauri keybind to open settings 2022-09-13 19:04:51 -05:00
maxichrome
9e090e437c ignore server library data 2022-09-13 18:49:45 -05:00
Utku Bakir
a21fb007f7 Update rspc to 0.0.6 2022-09-07 11:55:37 +03:00
Utku Bakir
fa44b40fca Fix everything after rspc update 2022-09-07 10:49:27 +03:00
Utku Bakir
8e8a57da2f Merge branch 'main' into mobile-library 2022-09-07 10:18:47 +03:00
Brendan Allan
e9336a1417 utilise include instead of with for type safety 2022-09-07 04:09:57 +08:00
Brendan Allan
d3665b8ccd rename getAll to list 2022-09-07 00:21:41 +08:00
Brendan Allan
1fd7f40ab0 fix everything after rebase 2022-09-06 22:34:39 +08:00
Utku Bakir
1a0d80645f Formatting rust? 2022-09-06 15:35:30 +03:00
Utku Bakir
76052995f9 Bindings 2022-09-06 15:33:35 +03:00
Utku Bakir
fa7208a2ef Merge branch 'main' into mobile-library 2022-09-06 15:30:09 +03:00
Utku Bakir
00edc37633 Switch to Valtio 2022-09-06 15:26:08 +03:00
Marc Espín
5d2bbec632 Disable the cmd window in Windows 2022-09-05 17:42:24 +02:00
Utku Bakir
f5eb24e411 Change relative path to ~ 2022-09-05 00:30:34 +03:00
Jamie Pine
d621145f49 Assignable Tags (#370)
* Tag queries + Identifier bug fix

- added empty pages for docs
- added non-functional "New Library" button to sidebar
- to accomplish above, moved dialog logic to component folder
- fixed Identifier bug where location id was not considered in the orphan files query, meaning it would attempt to identify many non-existent paths and fail to create the legitimate ones

* (fix) maintain file item aspect ratio in grid view
(fix) get tag query + get all tags

* codegen

* resurrected context menu

* fix window flash

* remove location based thumb sorting + update react on landing

* add is_archived to location

* improved context menu

* assign tag + refactor explorer store

Co-authored-by: maxichrome <maxichrome@users.noreply.github.com>

* assign/unassign tags from context menu

* fix lint

* keep context menu open on tag change

* fix brendan feedback + merge main

* fix type

* codegen

* style changes

* revert windows size and xcode proj

* remove outdated doc

* coming sooooooon

* updated release notes

* release notes

* dashes > dots

* clean up docs

* more docs!

* restore entitlements

* remove unused util

* regenerated migrations post merge
- some additional error handling added to migration runner, needs more work!

* refactor explorer to support tags

* fix error and revert explorer bg color

* put it in a box they said

* revert location id store removal

* upgrade hero icons + style tweaks

Co-authored-by: maxichrome <maxichrome@users.noreply.github.com>
2022-09-04 13:00:24 -07:00
Utku Bakir
6fb6fdb904 Fix Reanimated bug & Finalize Create Lib 2022-09-04 16:26:20 +03:00
Utku Bakir
28a0e1fdc9 Update bindings =_= 2022-09-04 15:28:20 +03:00
Utku Bakir
e185ea0b8f Merge branch 'main' into mobile-library 2022-09-04 15:26:17 +03:00
Utku Bakir
0bfdd85cde Library menu & create library modal 2022-09-04 15:14:28 +03:00
Ericson "Fogo" Soares
ddd638723a Introducing Indexer rules (#363)
* Introducing indexer rules for the indexer job
* Solving a minor race condition at `Worker::spawn`
* Many refactors at database accesses with prisma
* Documenting some features of indexer rules

* Updating to new prisma rev

* Updating photo

* Some documentation tweaks

* fix note editing

* Implementing some requested changes
* Fixing unit tests on walk function
* Using rsps::Error::with_cause instead of new

* Introducing a compoung unique key between `node_id` and `local_path` at `locations` table

Co-authored-by: Oscar Beaumont <oscar@otbeaumont.me>
2022-09-01 16:38:26 -07:00
Utku Bakir
43d53bae53 Align color with desktop & start library selector 2022-09-01 16:21:12 +03:00
Utku Bakir
17f6b4bf93 Init libraries with rspc + fix feedback stuff 2022-09-01 13:45:25 +03:00
Utku Bakir
be295276d7 Merge branch 'main' into mobile-library 2022-08-30 18:35:17 +03:00
Utku Bakir
c30c10deb4 Dialog & fixed relative imports 2022-08-30 18:21:32 +03:00
Oscar Beaumont
8d0f6b88b7 Merge pull request #314 from berbaroovez/feature/Tooltip
Tool Tips added
2022-08-30 21:37:50 +08:00
Oscar Beaumont
3ff5bf54d9 add more tooltips 2022-08-30 15:01:24 +08:00
Oscar Beaumont
1a6d3d1d37 settings keyboard shortcut + fix Tauri menu items 2022-08-30 13:49:29 +08:00
Oscar Beaumont
c936982d60 Merge branch 'main' of https://github.com/spacedriveapp/spacedrive into eng-193-add-menu-item-for-opening-settings 2022-08-30 13:13:56 +08:00
Oscar Beaumont
6e89a61ea5 Merge remote-tracking branch 'upstream/main' into SearchBarFeatureAdditions 2022-08-30 12:56:32 +08:00
Oscar Beaumont
624a7c12c1 remove phantom file + update rspc bindings
A PR must have been merged incorrect introducing this file which is not used.
2022-08-30 10:50:08 +08:00
Oscar Beaumont
b01887c5ab Rustify mobile (#361)
* Refactor navigation flow & types

* Remove drawer screen wrapper

* Remove DrawerItem + cleanup

* Switch to JS Stack Nav & header animations

* [WIP] Spacedrive core on Android & IOS

* Update Podfile and cleanup Contributing guide.

* Remove @sd/core from mobile

* File Modal

* Prettify File Modal & Add date-fns

* IOS subscriptions

* Update package versions

* Custom header for stack screens

* android subscriptions

* Animate Drawer button & template for Search screen

* Search header

* Fix Search icon being weird

* Merge branch 'main' into rustify-mobile

* fix rspc dep + setup script for mobile

* Less margin on header

* Move shared assets & drawer logo for mobile

* support for IOS simulator

* add type safe rspc hooks to mobile

* Cleanup PR & Update packages

* Updated bindings from main

* Update lefthook.yml

* Remove `tag` folder from core
The `tag` folder came back from the dead. Maybe it got confused in merge conflict?

* update pnpm lockfile + fix tsc errors

* fix asset import

Co-authored-by: Utku Bakir <74243531+utkubakir@users.noreply.github.com>
2022-08-29 04:59:09 -07:00
Brendan Allan
08d88f5d10 Merge pull request #359 from spacedriveapp/update-pcr
Update Prisma Client Rust
2022-08-20 21:48:44 +08:00
Brendan Allan
3372e02a79 keep dist folder in desktop 2022-08-19 09:03:47 +08:00
Utku
4961ef3447 Merge branch 'main' into eslint-config 2022-08-12 10:39:21 +03:00
Oscar Beaumont
07aeb31712 fix Windows support 2022-08-12 14:48:49 +08:00
Utku Bakir
ab432d4dd0 Fix types - Mobile 2022-08-11 12:22:58 +03:00