Commit Graph

74 Commits

Author SHA1 Message Date
Scott Chacon
3392ca0b97
tree writing fixes (#586)
Tree writing (for commits and unapply vbranch stashing) now is tested and works properly for new and removed files as well as hunk level modifications per branch.
2023-07-02 15:48:44 +02:00
Scott Chacon
1cdd19f073 move files between lanes 2023-06-21 09:42:07 +02:00
Scott Chacon
e59691d15f
CLI and APIs binary for simple virtual branch manipulation (#425)
Here we're squash-merging a branch that adds a new cli tool and some basic APIs for manipulating the data format of virtual branches as used by the frontend.

* simple cli for showing data, including vbranches
* can set and show the remote target default
* basic list, new and move in API for frontend

---------

Co-authored-by: Kiril Videlov <kiril@videlov.com>
Co-authored-by: Nikita Galaiko <nikita@galaiko.rocks>
2023-06-20 14:33:02 +02:00
Nikita Galaiko
38fb0132ec update dependencies 2023-06-16 09:29:26 +02:00
Nikita Galaiko
695ef1a00e bump git2 2023-06-07 14:27:12 +02:00
Nikita Galaiko
6744016ffe add basic dispatchers tests 2023-06-02 14:31:35 +02:00
Nikita Galaiko
fef2f97b20 rm crossbeam_channel dependency 2023-06-01 16:02:10 +02:00
Nikita Galaiko
63a576d5a6 make file_change and ticket async 2023-05-31 11:35:04 +02:00
Nikita Galaiko
2fb8fe3389 use single connection to database 2023-05-23 10:27:01 +02:00
Nikita Galaiko
e083922114 remove unused code 2023-05-17 14:33:31 +02:00
Nikita Galaiko
6a0701be5e do not store duplicated file contents 2023-05-17 14:33:31 +02:00
Nikita Galaiko
403ad202fc use sqlite hooks to emit events 2023-05-17 14:33:31 +02:00
Nikita Galaiko
47cf663301 add sqlite skeleton 2023-05-17 14:33:31 +02:00
Nikita Galaiko
e2781591c1 bump deps 2023-05-16 08:20:07 +02:00
Nikita Galaiko
8d81e45f8b bump tauri 2023-05-12 12:48:07 +02:00
dependabot[bot]
f48db1c7cd Bump anyhow from 1.0.70 to 1.0.71 in /src-tauri
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.70 to 1.0.71.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.70...1.0.71)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-12 12:23:23 +02:00
Nikita Galaiko
72888bbf07 add rust api to fetch feedback archives 2023-05-12 11:51:55 +02:00
dependabot[bot]
cf681f7b53 Bump tokio from 1.27.0 to 1.28.0 in /src-tauri
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.27.0 to 1.28.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.27.0...tokio-1.28.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-11 08:06:33 +02:00
dependabot[bot]
d0041f81f6 Bump git2 from 0.16.1 to 0.17.1 in /src-tauri
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.16.1 to 0.17.1.
- [Changelog](https://github.com/rust-lang/git2-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/git2-rs/compare/0.16.1...0.17.1)

---
updated-dependencies:
- dependency-name: git2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-11 08:06:10 +02:00
dependabot[bot]
0417e36bcc Bump uuid from 1.3.1 to 1.3.2 in /src-tauri
Bumps [uuid](https://github.com/uuid-rs/uuid) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/uuid-rs/uuid/releases)
- [Commits](https://github.com/uuid-rs/uuid/compare/1.3.1...1.3.2)

---
updated-dependencies:
- dependency-name: uuid
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-08 15:16:55 +02:00
dependabot[bot]
648c4507ec Bump tauri from 1.2.4 to 1.2.5 in /src-tauri
Bumps [tauri](https://github.com/tauri-apps/tauri) from 1.2.4 to 1.2.5.
- [Release notes](https://github.com/tauri-apps/tauri/releases)
- [Commits](https://github.com/tauri-apps/tauri/compare/tauri-v1.2.4...tauri-v1.2.5)

---
updated-dependencies:
- dependency-name: tauri
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-08 15:01:37 +02:00
Nikita Galaiko
92ec2a52a2 Revert "tauri 1.3"
This reverts commit 7a0b25e9dc.
2023-05-05 09:59:49 +02:00
Nikita Galaiko
7a0b25e9dc tauri 1.3 2023-05-04 10:22:41 +02:00
Nikita Galaiko
559074ff20 store session_id hash mapping 2023-05-03 08:15:11 +02:00
Nikita Galaiko
a06c234e0c better sentry setup 2023-04-21 16:10:06 +02:00
Nikita Galaiko
1f6c703869 cargo update 2023-04-21 12:51:42 +02:00
Nikita Galaiko
e926032e05 impl repo locking 2023-04-18 16:46:31 +02:00
Nikita Galaiko
807d68bc38 remove unused deps 2023-04-18 15:28:34 +02:00
Nikita Galaiko
6988aef8e6 figure out a way to do concurrency 2023-04-18 15:28:34 +02:00
Nikita Galaiko
4fefeb26c0 define file change listener 2023-04-18 15:28:34 +02:00
Nikita Galaiko
f8c04842e5 pty: save pty input as-is 2023-04-12 08:15:51 +02:00
Ian Donahue
bc636c3786 Revert "Merge branch 'master' into ian/gb-187-cmdpal-icons-for-repository-and-files"
This reverts commit 6b74d3f0f9, reversing
changes made to 57e6db78ad.
2023-04-11 11:37:08 +02:00
Nikita Galaiko
decd0511ba pty: server side prettyfy 2023-04-11 10:59:14 +02:00
Nikita Galaiko
57dfd89a28 return http error from handshake 2023-04-06 16:31:54 +02:00
Nikita Galaiko
9b2ea25a7a cleanup terminal 2023-04-06 11:17:09 +02:00
Scott Chacon
35f28cbc94
Add a Terminal (#49)
This implements a simple terminal frontend using Xterm and backend using portable_pty. It will not yet record, but it should keep a separate terminal per project, resize properly, change directories to the project, etc.

https://docs.rs/portable-pty/latest/portable_pty/
2023-04-05 10:10:07 +02:00
dependabot[bot]
7a6787ff5a Bump openssl from 0.10.45 to 0.10.48 in /src-tauri
Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.45 to 0.10.48.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.45...openssl-v0.10.48)

---
updated-dependencies:
- dependency-name: openssl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-28 16:22:30 +02:00
Nikita Galaiko
e92c924b45
log tauri commands execution time 2023-03-22 15:02:16 +01:00
Nikita Galaiko
80e3e9fd28
make watchers async 2023-03-22 07:51:58 +01:00
Nikita Galaiko
3a95bc792d use fslock for syncronization 2023-03-14 09:04:56 +01:00
Nikita Galaiko
76773aec0b
drop difference 2023-03-08 17:22:42 +01:00
Nikita Galaiko
5dfde966ab replace diffing library 2023-03-07 17:10:48 +01:00
Nikita Galaiko
41824e2c85 add deltas index writer 2023-03-06 08:23:15 +01:00
Nikita Galaiko
1ff419a8c8 display errors when adding project 2023-02-27 10:11:09 +01:00
Nikita Galaiko
e549e99c05 cache images locally 2023-02-24 13:29:09 +01:00
Nikita Galaiko
97048983cf
drop yrs 2023-02-22 17:16:10 +01:00
Nikita Galaiko
b0bb3b00f4
commit deps for dev build 2023-02-21 12:10:36 +01:00
Nikita Galaiko
c9ab7fa14f
fix config path 2023-02-20 16:51:48 +01:00
Nikita Galaiko
0562bcae5d
test deltas read/write 2023-02-20 12:41:09 +01:00
Nikita Galaiko
b1d6c2fee3 dynamic release versioning 2023-02-17 16:09:24 +01:00