Commit Graph

304 Commits

Author SHA1 Message Date
Nikita Galaiko
28fd4d1127 better test 2023-04-21 12:51:42 +02:00
Nikita Galaiko
3690b99537 correctly handle unicode diffs 2023-04-21 12:51:42 +02:00
Nikita Galaiko
6827ab6a00 better log messages 2023-04-21 12:51:42 +02:00
Nikita Galaiko
1f6c703869 cargo update 2023-04-21 12:51:42 +02:00
Nikita Galaiko
0c089e18c2 support partially staged files 2023-04-21 09:59:40 +02:00
Nikita Galaiko
848b6b5dc7 add comments 2023-04-20 10:48:16 +02:00
Nikita Galaiko
2c87b383ba newline 2023-04-20 10:48:16 +02:00
Nikita Galaiko
5736009c4c on file change: flush session if head changed 2023-04-20 10:48:16 +02:00
Nikita Galaiko
4e51eb1f80 refuse to flush session when dir is not there 2023-04-20 10:48:16 +02:00
Nikita Galaiko
1f4bf04f98 rm extra prints 2023-04-20 09:14:34 +02:00
Nikita Galaiko
5ea9c5282a log reindex failure 2023-04-20 09:14:34 +02:00
Nikita Galaiko
eb050fe428 stop debug tantivy logs 2023-04-20 09:14:34 +02:00
Nikita Galaiko
80c72dbf8a avoid overflow when checking session ts 2023-04-20 08:47:00 +02:00
Nikita Galaiko
92b1c00e58 fix deltas calcuation & add more tests 2023-04-19 20:04:37 +02:00
Nikita Galaiko
8af8bc2806 bring back session/wd usage 2023-04-19 17:12:23 +02:00
Nikita Galaiko
14bcfaa94d handle file deletion 2023-04-19 15:47:20 +02:00
Nikita Galaiko
c374ccd6f8 event loop 2023-04-19 12:24:39 +02:00
Nikita Galaiko
224784a9f2 strict filter path 2023-04-19 08:14:27 +02:00
Nikita Galaiko
c0048936aa fix deltas calcultion 2023-04-18 19:21:47 +02:00
Nikita Galaiko
e926032e05 impl repo locking 2023-04-18 16:46:31 +02:00
Nikita Galaiko
2ceeebfe2e handle empty deltas 2023-04-18 16:04:54 +02:00
Nikita Galaiko
b949b95adf do not return binary files 2023-04-18 15:28:34 +02:00
Nikita Galaiko
a9e9c1f361 run migrations 2023-04-18 15:28:34 +02:00
Nikita Galaiko
8ca339cf00 use reference when getting session reader 2023-04-18 15:28:34 +02:00
Nikita Galaiko
3d76bbe5ca more tests 2023-04-18 15:28:34 +02:00
Nikita Galaiko
84ab87db01 fix git alternate 2023-04-18 15:28:34 +02:00
Nikita Galaiko
be8b3e7560 add more tests 2023-04-18 15:28:34 +02:00
Nikita Galaiko
56ae8a9888 add list session deltas tests 2023-04-18 15:28:34 +02:00
Nikita Galaiko
d3a181a620 use new code 2023-04-18 15:28:34 +02:00
Nikita Galaiko
34046606ef implement flushing 2023-04-18 15:28:34 +02:00
Nikita Galaiko
807d68bc38 remove unused deps 2023-04-18 15:28:34 +02:00
Nikita Galaiko
0b3ad99a7c init flushing 2023-04-18 15:28:34 +02:00
Nikita Galaiko
198f5b55df cleanup gb_repository interface 2023-04-18 15:28:34 +02:00
Nikita Galaiko
da4ff14a34 make sure current session is created 2023-04-18 15:28:34 +02:00
Nikita Galaiko
f53397cf28 better structure 2023-04-18 15:28:34 +02:00
Nikita Galaiko
6f4336ff4c add more listeners 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
Kiril Videlov
5d7064a6a1 🔨 Refactor terminal route and connection logic
- Improved terminal experience by handling 'Close' messages and reloading the page
- Added logic to send a Close message to the websocket when EOF is reached
- Changed the `terminal` function to a reactive declaration and added a `setupTerminal` function call
2023-04-18 00:06:43 +02:00
idonahue
45b1ceb398 Added icons 2023-04-13 13:39:03 +02:00
Scott Chacon
8af108c734 update the rest of the icons 2023-04-13 09:40:25 +02:00
Ian Donahue
1df8f4bfeb Added icons 2023-04-12 23:27:16 +02:00
Nikita Galaiko
4fc2f424e8 data migration preparations 2023-04-12 16:03:15 +02:00
Nikita Galaiko
f8c04842e5 pty: save pty input as-is 2023-04-12 08:15:51 +02:00
Nikita Galaiko
eee42bfd44 pty: use different port for dev 2023-04-12 08:15:51 +02:00
Kiril Videlov
1cb7c9827a GitButler does not track files larger than 100K
It can still show these files on the commit page though
2023-04-11 16:52:41 +02:00
Kiril Videlov
2b71cfd2ef 🔨 Refactor repository diffing
- Update repository diffs to include untracked content
- Recurse into untracked directories
- Include ignored files in diffs

[src-tauri/src/repositories/repository.rs]
- Include untracked content in diffs
- Recurse into untracked directories
- Include ignored files in diffs
2023-04-11 15:31:59 +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
2ecf0dbadd pty: run reader in a separate thread 2023-04-11 10:59:14 +02:00
Nikita Galaiko
771166968e pty-ws: log error when fail to listen 2023-04-11 10:59:14 +02:00