Commit Graph

270 Commits

Author SHA1 Message Date
Nikita Galaiko
32329ecb81
update session lastTs before flushing 2023-02-21 12:02:17 +01:00
Nikita Galaiko
290d80ca1a
handle missing ctime [2] 2023-02-20 15:54:34 +01:00
Nikita Galaiko
5dc7a51b98
handle missing ctime 2023-02-20 15:35:21 +01:00
Nikita Galaiko
b8cb8660d5
display seconds 2023-02-20 15:16:32 +01:00
Nikita Galaiko
e69165f8bc
create signature when commiting 2023-02-20 15:16:24 +01:00
Nikita Galaiko
fe1c2fc577
create signature when making test commit 2023-02-20 15:12:58 +01:00
Nikita Galaiko
929562d80f
fix list_files 2023-02-20 14:02:55 +01:00
Nikita Galaiko
ec06b264d2
test repository open 2023-02-20 13:37:44 +01:00
Nikita Galaiko
efaba6b342
more session tests 2023-02-20 13:09:41 +01:00
Nikita Galaiko
ab803a12a1
add sessions test and fix list order 2023-02-20 13:03:28 +01:00
Nikita Galaiko
2e0f757cd9
use ms timestamps everywhere 2023-02-20 12:41:33 +01:00
Nikita Galaiko
bd2c5b5809
use real fs in deltas tests 2023-02-20 12:41:10 +01:00
Nikita Galaiko
137f73848f
refactor sessions mod 2023-02-20 12:41:09 +01:00
Nikita Galaiko
0562bcae5d
test deltas read/write 2023-02-20 12:41:09 +01:00
Nikita Galaiko
ea9fa3dca4
say session does not exist if meta does not exist 2023-02-20 12:41:09 +01:00
Kiril Videlov
a0b6e82795 Remove sorting of sessions by timestamp in rust 2023-02-20 10:19:06 +01:00
Scott Chacon
31a01ac693 think I fixed scrolling, changed time to start+duration, fixed ordering of sessions when pushing to commit vector 2023-02-18 15:47:08 +01:00
Nikita Galaiko
eeec46c092
ignore non-utf8 files when calculating deltas 2023-02-17 16:04:22 +01:00
Nikita Galaiko
e1c47af20d
handle deltas calculation when file is removed 2023-02-17 15:18:32 +01:00
Nikita Galaiko
37a9a6a17c
move to project-id based namespacing 2023-02-17 10:50:30 +01:00
Nikita Galaiko
e1597c7963
push to git remote 2023-02-16 16:19:09 +01:00
Nikita Galaiko
1b8984c357
make git watcher fetch project on every iteration 2023-02-16 15:30:55 +01:00
Nikita Galaiko
dfa16066c1
make watchers into a struct 2023-02-16 15:30:55 +01:00
Nikita Galaiko
723823bccd
module isolation 2023-02-16 15:30:55 +01:00
Nikita Galaiko
de0dd25c90
project settings page 2023-02-16 12:16:24 +01:00
Nikita Galaiko
bc6ac42a71
make watchers use anyhow 2023-02-15 16:57:22 +01:00
Nikita Galaiko
d2b85e614d
refactor users api to make it rust-first 2023-02-15 16:30:52 +01:00
Nikita Galaiko
a68e520f4d
projects update api 2023-02-15 15:44:47 +01:00
Nikita Galaiko
93e20b042f
update app name in every place 2023-02-14 16:26:17 +01:00
Nikita Galaiko
782a814245
change app title depending on dev/release 2023-02-14 16:20:43 +01:00
Nikita Galaiko
cb90c84413
use anyhow lib for error context 2023-02-14 13:11:41 +01:00
Nikita Galaiko
db8ed8e58f
remove extensive error descriptions 2023-02-14 12:41:37 +01:00
Scott Chacon
51e981a54e make the whole directory before writing the delta file 2023-02-14 11:17:52 +01:00
Nikita Galaiko
51bae9bf36
change list_files logic
now list_files will always return files state on the beginning of a
session
2023-02-14 09:35:09 +01:00
Kiril Videlov
2a2f8bc7fe Refactor list_files() to use session base commit
- Ensure files are always listed from the session base commit
- Simplify the `list_files()` function by removing the `match` statement
2023-02-13 20:44:25 +01:00
Nikita Galaiko
62f0a4e914
treat current session just like any other session 2023-02-13 16:46:26 +01:00
Nikita Galaiko
e38a062dfa
is dev_mode in rust part 2023-02-13 12:36:56 +01:00
Nikita Galaiko
57ad560900
store complete logs directory inside session 2023-02-13 10:47:43 +01:00
Nikita Galaiko
fc4ba28317
do not parse reflog types into enums, just expose it directly 2023-02-13 09:55:50 +01:00
Nikita Galaiko
2843be38a7
update tray text when app is closed via red button 2023-02-10 15:46:44 +01:00
Nikita Galaiko
bcc93167c0
make app run in background 2023-02-10 15:39:57 +01:00
Nikita Galaiko
35e2059a2f
use reflog for session activity 2023-02-10 15:10:30 +01:00
Nikita Galaiko
4c5f52ee6d
store empty deltas anyway 2023-02-10 13:23:04 +01:00
Nikita Galaiko
7fcf60a735
skip non-blobs 2023-02-10 13:19:34 +01:00
Nikita Galaiko
7400dbe9bf
deltas, session apis working 2023-02-10 11:03:57 +01:00
Nikita Galaiko
ab352b0e4e
frontend successfully lists sessions !! 2023-02-09 15:53:12 +01:00
Nikita Galaiko
006682dc68
looks like flushing to git works !!! 2023-02-09 13:42:25 +01:00
Nikita Galaiko
bc11efbae8
setup sentry 2023-02-09 12:14:49 +01:00
Nikita Galaiko
3c678bd248
error refactor 2023-02-09 11:05:54 +01:00
Nikita Galaiko
e35580dcdd
refactor & fixes for file watching 2023-02-09 10:52:00 +01:00
Nikita Galaiko
6afc274323
drop chrono 2023-02-08 14:25:37 +01:00
Nikita Galaiko
aa0008d901
merge git watcher 2023-02-08 14:10:22 +01:00
Nikita Galaiko
5b6b92da9e
define some rust errors 2023-02-07 15:44:02 +01:00
Nikita Galaiko
2792e072b1
rm unused import 2023-02-07 14:32:00 +01:00
Nikita Galaiko
66d526acd4
connect ui to rust crdts 2023-02-07 14:19:29 +01:00
Nikita Galaiko
1240389532
emit events on file change 2023-02-07 11:11:42 +01:00
Nikita Galaiko
2eab889720
create tauri command to list deltas 2023-02-07 10:06:44 +01:00
Scott Chacon
10906820b6 I think this should work 2023-02-07 09:48:51 +01:00
Nikita Galaiko
02debd1e84
crdt tests & fixes 2023-02-07 08:31:08 +01:00
Nikita Galaiko
d0a7940b9a
some comments 2023-02-07 08:00:54 +01:00
Nikita Galaiko
9dc978b068
start persisting deltas 2023-02-06 17:27:25 +01:00
Nikita Galaiko
e31efd43a1
merge delta_watcher 2023-02-06 15:23:02 +01:00
Nikita Galaiko
2d65c6808d
crdt: unexport 2023-02-06 10:52:04 +01:00
Nikita Galaiko
980607ad96
rust crdt package 2023-02-06 10:40:53 +01:00
Nikita Galaiko
549f49f012
init rust file watching 2023-02-05 17:22:45 +01:00
Nikita Galaiko
163155c319
load project files when it opens 2023-02-03 15:20:55 +01:00
Nikita Galaiko
1e26d05e69
remember window size and position 2023-02-03 14:30:15 +01:00
Nikita Galaiko
bf04ed9e76
setup logger 2023-02-03 14:28:57 +01:00
Nikita Galaiko
6c6dab0872
better types 2023-01-31 16:33:32 +01:00
Nikita Galaiko
9aa96f488f
simple tauri example 2023-01-31 15:55:57 +01:00