Commit graph

239 commits

Author SHA1 Message Date
maxichrome 598365de3b update search shortcut to slash 2022-09-14 15:57:26 -05:00
Oscar Beaumont dd04625a4f properly shutdown the core when using server 2022-09-14 19:02:11 +08:00
maxichrome 9dfa1a43eb move to custom KeybindEvent subclass 2022-09-13 22:41:01 -05:00
maxichrome 746871d0a2 use native/Tauri keybind to open settings 2022-09-13 19:04:51 -05:00
Utku Bakir 230ea4fd84 Update rspc to 0.0.6 2022-09-07 11:55:37 +03:00
Utku Bakir 8290318500 Merge branch 'main' into mobile-library 2022-09-07 10:18:47 +03:00
Brendan Allan 459a44b7ac utilise include instead of with for type safety 2022-09-07 04:09:57 +08:00
Utku Bakir 0c901dbdc1 Formatting rust? 2022-09-06 15:35:30 +03:00
Marc Espín fb76b9c6dc
Disable the cmd window in Windows 2022-09-05 17:42:24 +02:00
Jamie Pine 05bcb6e1b0
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
Oscar Beaumont 1e1bd81c94 settings keyboard shortcut + fix Tauri menu items 2022-08-30 13:49:29 +08:00
Oscar Beaumont 0e1bce0723 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 8fe1c569cb Merge remote-tracking branch 'upstream/main' into SearchBarFeatureAdditions 2022-08-30 12:56:32 +08:00
Oscar Beaumont c7441d1d64
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 a64ac38005 keep dist folder in desktop 2022-08-19 09:03:47 +08:00
Oscar Beaumont 6e27530256 fix Windows support 2022-08-12 14:48:49 +08:00
Oscar Beaumont ea92af57f8
Move Rust backend to rspc (#345)
* move Rust backend to rspc

* move server to Axum + remove parts of old bridge

* move frontend over to @rspc/client

* move core to rspc + update deps

* fix Typescript errors + upgrade deps

* document invalidate_query! macro

* general cleanup + upgrade to PCR 0.6.0

* prisma error handling

* upgrade to rspc 0.0.4

* update vite-plugin-ssr

* fix typescript

* fix builds

* put landing page app name back

* hardcode ffmpeg version on Windows

* rename 'command' to 'mutation' to line up with react-query terminology

* upgrade rspc to v0.0.5 + fix types

* use shared ffmpeg binaries

* general Typescript cleanup

* fix clippy workflow failing due to tauri proc-macro

Co-authored-by: Brendan Allan <brendonovich@outlook.com>
2022-08-03 08:36:03 -07:00
Ericson "Fogo" Soares 85e5eec993
Resumable Jobs + Lefthook Integration (#344)
* Introducing Lefthook for git hooks automation
* TypeScript typechecking and linting
* Rust formatting and linting
* Spellchecking (also corrected spell errors in some files)
* Check links in md files

* Introducing resumable jobs
* Abstractions to pause and resume jobs automatically when application exits and is started
* Changing database to use Bytes for UUID fields
* Changing uuid fields on core to use uuid::Uuid instead of String
* Updating some dependencies and introducing msg_pack serialization to save job state on database

* Fixing some clippy warnings

* Fixing a regression introduced on identifier job, doing too much db accesses concurrently
2022-07-27 00:06:34 -07:00
Jamie Pine 9961c49759
Bunch 'O Features (#336)
* CRUD for tags.

* Implement tags query in open.rs and make some changes to CRUD.

* Tag update.

* Hopefully working get tags.

* added node config + spaces schema

* add missing routes

* begin tag ui

* renaming query names to better fit convention

* tags progress

* tag edit

* fix delete tag description

Co-authored-by: xPolar <polar@polar.blue>
2022-07-17 20:45:04 -07:00
Oscar Beaumont bcdcacf0e5
Merge pull request #321 from voletro/main
Rewrite of setup-system.ps1 for Windows development setup
2022-07-11 11:41:28 +08:00
Oscar Beaumont c685ce5fe9
Library manager (#258) 2022-07-10 19:05:24 -07:00
RockBacon9922 13584d74dd RevertChanges2 2022-07-07 21:50:14 +01:00
RockBacon9922 3ee1e704e1 revert changes 2022-07-07 21:48:56 +01:00
RockBacon9922 a5e4578437 updated shell and added build-mac 2022-07-07 17:53:50 +00:00
Oscar Beaumont d1068f4f0f
fix Tauri Appimage icon 2022-07-07 12:50:43 +08:00
maxichrome 51cf523013
boilerplate for settings menu item 2022-06-27 12:02:23 -05:00
Jamie Pine d11b9d0f15 (chore): added better loggin 2022-06-21 22:53:07 -07:00
Oscar Beaumont f8de1a81bf
fix @rpath/libswiftCore.dylib error + etc (#255)
update Tauri + fix `@rpath/libswiftCore.dylib` error + make Typechecks pass
2022-06-18 17:00:57 -07:00
Jamie Pine 6978928db9
Eng 142 fix interface hot reload (#252)
* fix interface hot reloading

* AppPropsContext exsiting in App.tsx was the issue :D

* type export fix
2022-06-18 01:35:51 -07:00
maxichrome c0184ec9f0
use concise import syntax for macOS theme-lock 2022-06-17 06:14:24 -05:00
maxichrome 84d8648b1a
hotfix: don't import macOS app theme type in main script 2022-06-17 06:11:39 -05:00
maxichrome 52fe17cb89
only use swift_rs on macOS in build script
missed this in #239, silly me
2022-06-17 06:06:45 -05:00
maxichrome 498da6a73e
[macOS] native sidebar blur effect (#239)
* wip rust bindings

* wip rust bindings

* attempt raw objc for window blur -- still nothing

* some minor blurring success...

* Fix macOS sidebar blur

* darken sidebar

* lock to dark theme

* remove commented, unused window-blur lines

* remove xcode user state

* ADD SWIFT WINDOW CODE

* refactor: use swift window code

* remove stupid cas warning

* add webview swift util for reload

* remove objc and cocoa

* remove old unused swift build fix

* simplify swift package fn calls

* enumify app theme

* fix main content view not expanding

* fix sidebar folder item layout

* fix swift version requirement

* fix landing package json

* landing tweaks

* sidebar style tweaks for macOS

Co-authored-by: maxichrome <maxichrome@users.noreply.github.com>
Co-authored-by: Jamie Pine <ijamespine@me.com>
2022-06-15 13:53:42 -07:00
Benjamin Akar 6a9f3f05d5
New team page (#229)
* Wrote blog

* feat: implement new team page

* refactor: reusable link comp

* chore: update images

* perf: compress images

* refactor: update link

* refactor: update icons, remove white border in favor or rounded corners, add investors

* changes to roles

* team changes

* refactor: add a few changes

* style: slightly better styling

* update team images paths

* use proper image element

* update haris to match team style + keep constant

* improve team member styling

* use vite import pattern

* team tweaks

* fix brendan crop

* fix text and gradient color to match brand colors

* engineer not developer!!!

* add annoucement banner since this can not be merged until post annoucement anyway

* fade in stuff

* better copy

* better haris.jpg

* style: slight update to styling

* Update apps/landing/src/pages/team.tsx

* update my image

* chore: remove unused log

* Update team.tsx

* use incorp'd name everywhere

* update team credits

* hoist headings in credits

* consistent marketing copy in cargo

* fix types

* style tweaks

* blog updates

* blog title tweaks

* fix demo

* jj said lets round it up

Co-authored-by: Lu Hill <email@lewie.me>
Co-authored-by: Jamie Pine <ijamespine@me.com>
Co-authored-by: maxichrome <maxichrome@users.noreply.github.com>
Co-authored-by: xPolar <50601857+xPolar@users.noreply.github.com>
2022-06-14 13:13:09 -07:00
Oscar Beaumont 015d5e47f2
fix pnpm desktop dev not working on Linux 2022-06-14 14:24:53 +08:00
maxichrome 56fa6def8f
Add compiler checks for dev tools in production 2022-06-11 19:12:13 -05:00
maxichrome 07992077cb
use tauri pre-dev & pre-build commands 2022-06-10 21:55:53 -05:00
maxichrome 099d4a5ba6
add debug menu items 2022-06-10 21:55:25 -05:00
maxichrome 9eac4eb968
remove jeff menu item comments 2022-06-10 21:55:02 -05:00
maxichrome f0f75a8b02
extract custom menu 2022-06-10 21:54:50 -05:00
maxichrome 7cd5d6abe1
remove linux menu (it's same as fallback) 2022-06-10 21:53:22 -05:00
Benjamin Akar ac7d747671 fix: disappearing icons 2022-06-02 18:45:00 +02:00
Oscar Beaumont 6e0c944d2e remove unused code + cleanup Rust imports 2022-05-30 22:26:59 +08:00
Oscar Beaumont 562efe3c6b build(deps): update dependencies across workspace 2022-05-30 20:45:37 +08:00
maxichrome 2384b21186
Merge remote-tracking branch 'origin/main' into feature/eng-40-implement-context-menu 2022-05-29 16:11:53 -05:00
maxichrome 75989d329f
Merge branch 'main' into fix/windows-borders 2022-05-29 03:57:32 -05:00
maxichrome aa0fb6c2d1
Merge branch 'main' into jamie-unsorted-changes 2022-05-29 02:39:29 -05:00
Koding Dev e670031b4e
fix: windows - window borders 2022-05-29 17:12:59 +10:00
maxichrome bed3be9d65
fix desktop build 2022-05-28 04:44:17 -05:00
maxichrome 16285ce7a6
fix some types (why?! idk) 2022-05-27 02:58:36 -05:00
maxichrome 59bc2ee9db
Merge remote-tracking branch 'origin/main' into jamie-unsorted-changes 2022-05-26 03:22:36 -05:00
Oscar Beaumont 01610e008e
Update package.json license field to GPL-3.0-only (#184) 2022-05-24 14:00:01 -05:00
maxichrome 1918869ad0
Merge branch 'main' into jamie-unsorted-changes 2022-05-23 00:03:45 -05:00
maxichrome f5e0666d11
Format existing code with new conventions 2022-05-22 23:24:43 -05:00
maxichrome a0d0938001
format using tabs 2022-05-22 23:07:35 -05:00
Jamie Pine ce909836e9
deploy landing 2 (#151)
* use NO instead of `false` in toolbar init (#141)

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

* condense cocoa YES/NO in titlebar code

* niceify some menu items

* Update README.md

* Update README.md

* Reorder steps

The steps:
- `$ cd spacedrive`
and
- For Linux or MacOS users run: `chmod +x ./.github/scripts/setup-system.sh && ./.github/scripts/setup-system.sh`
were backwards.

* add typo discussion as dedicated link on the issue page

* clearer message for typos issue option

Co-authored-by: maxichrome <33473181+maxichrome@users.noreply.github.com>
Co-authored-by: maxichrome <maxichrome@users.noreply.github.com>
Co-authored-by: he1d1 <email@lewie.me>
Co-authored-by: Oscar Beaumont <oscar@otbeaumont.me>
2022-05-12 17:13:36 -07:00
maxichrome 21d31ac28c
niceify some menu items 2022-05-11 23:45:38 -05:00
maxichrome 3ab242a8e4
condense cocoa YES/NO in titlebar code 2022-05-11 22:52:54 -05:00
maxichrome 7bd8708e3a
use NO instead of false in toolbar init (#141)
Co-authored-by: maxichrome <maxichrome@users.noreply.github.com>
2022-05-11 19:38:09 -07:00
Jamie Pine e7db951e18 Merge remote-tracking branch 'origin/main' into jamie-unsorted-changes 2022-05-11 19:22:13 -07:00
maxichrome f420bf4192
move focus event to JS with built-in events 2022-05-11 15:50:46 -05:00
Jamie Pine 969b4e8b5d rename 2022-05-11 12:43:04 -07:00
Jamie Pine e88ae9d609 Merge remote-tracking branch 'origin/main' into jamie-unsorted-changes 2022-05-11 11:13:23 -07:00
Jamie Pine 09087202b5 commit 2022-05-11 11:12:35 -07:00
maxichrome db312269ab
Un-revert "fix up macOS fullscreen mode (kinda)"
This reverts commit b21df0e57f.
2022-05-11 13:03:31 -05:00
maxichrome b21df0e57f
Revert "fix up macOS fullscreen mode (kinda)"
This reverts commit 2283f6b01b.
2022-05-11 12:53:46 -05:00
maxichrome 2283f6b01b
fix up macOS fullscreen mode (kinda) 2022-05-11 12:44:32 -05:00
maxichrome c73c175cf0
WIP: fix up window styling 😩 2022-05-11 05:24:03 -05:00
maxichrome 0c16ffffa8
clean & split new window code 2022-05-11 02:27:39 -05:00
maxichrome 77a2888377
use native window controls on macOS 2022-05-11 01:59:03 -05:00
Jamie Pine 9870d58b35 much 2022-05-10 09:03:20 -07:00
Yousef Abu-Salah 593209f232
fix issue #79 (#94) 2022-05-03 21:26:03 -07:00
Brendan Allan 9ad71a2d66
Merge pull request #46 from Brendonovich/new-ci
New CI
2022-05-01 17:37:45 +08:00
Koding Dev 709f71d74b Made "Open data folder" button work 2022-05-01 17:25:52 +08:00
maxichrome 98dbceb90c update github repo url 2022-05-01 12:56:15 +08:00
Brendan Allan 2820a94079 update deps 2022-05-01 12:48:56 +08:00
Brendan Allan c9e76e9a7a tsconfig refactor 2022-05-01 12:17:55 +08:00
Brendan Allan a8c136897d Merge remote-tracking branch 'upstream/main' into new-ci 2022-05-01 09:38:07 +08:00
Brendan Allan b03f3ddf5a Merge remote-tracking branch 'upstream/main' into new-ci 2022-05-01 09:36:12 +08:00
Koding a4637ca48b
fix: icon colors in file explorer (#56)
* Fix icon colors

* readme update

* Fix builds on M1 (#54)

* fix: minor code cleanup

Co-authored-by: Jamie Pine <ijamespine@me.com>
Co-authored-by: Syntax <2079305+TheUltDev@users.noreply.github.com>
2022-04-28 20:40:18 -07:00
Jamie Pine eee8efb99a added semi functional statistics, working macos traffic lights 2022-04-27 19:15:55 -07:00
Jamie Pine 1a6fabbd7d configurable router type 2022-04-27 13:40:19 -07:00
Oscar Beaumont d834fe3b2c feature gated p2p + update deps + pushed bindings 2022-04-27 17:22:26 +08:00
Jamie Pine 7f06af395e fix scroll 2022-04-26 00:40:57 -07:00
Harry Hopkinson d7cbba7a12 Linted Files according to the .prettierrc. 2022-04-24 21:16:55 +01:00
Oscar Beaumont 4263fca88b
Merge branch 'main' into main 2022-04-24 16:06:40 +08:00
Jamie Pine 4d22008fbe improved scrollbars and landing mobile layout 2022-04-24 01:02:35 -07:00
Oscar Beaumont a8696d8faa
@sd/server in Docker and deploy to Kubernetes 2022-04-24 14:55:20 +08:00
Brendan Allan e8e9171433 ci: add dist/.placeholder 2022-04-24 01:17:54 +08:00
Brendan Allan 3f8867fc14 new ci 2022-04-22 18:21:18 +08:00
Brendan Allan a0086891de update icons 2022-04-22 16:59:25 +08:00
Brendan Allan dde429f0a5 windows icon 2022-04-22 15:46:06 +08:00
Brendan Allan 8a91e2f05d
Basic CI (#12)
* ci:

* ci: run ci on ci branch

* ci: update pnpm version

* ci: Standardise naming

* ci: update lockfile

* ci: install ffmpeg on unix ci

* ci: run codegen prep before build

* ci: add libavutil to ubuntu dependencies

* ci: add libavutil-dev to ubuntu dependencies

* ci: dependencies

* ci: fix ubuntu dependencies

* ci: only build frontend with desktop

* ci: setup cmake and vcpkg for windows

* ci: install ffmpeg on windows

* ci: fix windows ffmpeg install

* ci: fix conditional windows ci commands

* ci: remove vcpkg from windows

* ci: optimizations

* ci: use custom rust cache version
2022-04-22 02:26:03 +08:00
Jamie Pine 1d3a090340 hooked up core events, fixed sidebar with + dropdown 2022-04-21 01:54:07 -07:00
Jamie Pine 06aa06c31c icon importing, landing page updates, vite config 2022-04-20 18:57:41 -07:00
Jamie Pine 5c08c211ca upgrade to latest prisma-client-rust 2022-04-20 02:25:50 -07:00
Jamie Pine b00961165e holy mother of hot reload
Co-authored-by: Brendan Allan <brendonovich@outlook.com>
2022-04-20 01:15:28 -07:00
Jamie Pine af9371ca96 pre brendan commit 2022-04-19 22:55:44 -07:00
Jamie Pine 3f29ff2374 better compile setup for hotreload
Co-authored-by: Brendan Allan <brendonovich@outlook.com>
2022-04-19 14:17:04 -07:00
Jamie Pine 3540471bf6 build commands + web app renames 2022-04-18 17:34:39 -07:00