Commit Graph

351 Commits

Author SHA1 Message Date
Nikita Galaiko
0c7c444bb5 improve reindex detection for bookmarks 2023-06-02 14:31:35 +02:00
Nikita Galaiko
89cfe4bc9d watcher/handler: log events 2023-06-02 14:31:35 +02:00
Nikita Galaiko
2f61c409eb make a separate reindex event 2023-06-02 14:31:35 +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
a8fa48c929 fully async dispatcher 2023-06-01 15:43:34 +02:00
Nikita Galaiko
6efd814c6e simplify dispatcher 2023-06-01 14:59:06 +02:00
Nikita Galaiko
705e0b4ffb more logs to file watcher 2023-06-01 09:15:24 +02:00
Nikita Galaiko
63a576d5a6 make file_change and ticket async 2023-05-31 11:35:04 +02:00
Nikita Galaiko
e79c4f9f5f cargo fmt 2023-05-31 10:52:07 +02:00
Nikita Galaiko
ecf3194125 fix some warnings 2023-05-31 10:52:07 +02:00
Nikita Galaiko
b686053ee8 stop generating snippets in rust 2023-05-29 14:24:49 +02:00
Nikita Galaiko
9e73226702 custom snippet generator 2023-05-29 14:24:49 +02:00
Nikita Galaiko
86209c04a5 only index bookmark if changed 2023-05-29 14:24:49 +02:00
Nikita Galaiko
6b5e101f64 ngram tokenizer 2023-05-29 14:24:49 +02:00
Nikita Galaiko
3517cb5339 index bookmarks to the same search document as deltas 2023-05-29 14:24:49 +02:00
Nikita Galaiko
2f2285cf40 update test for bookmarks search 2023-05-29 14:24:49 +02:00
Nikita Galaiko
9102dd706b index ngrams for bookmark notes 2023-05-29 14:24:49 +02:00
Nikita Galaiko
afa4c397d8 setup ngram search 2023-05-29 14:24:49 +02:00
Nikita Galaiko
165fe531c4 create search index for bookmarks 2023-05-29 14:24:49 +02:00
Kiril Videlov
ebf22ec9f1 oops remove unused thing 2023-05-23 14:43:23 +02:00
Kiril Videlov
f2dbf05434 push after cloud has been enabled 2023-05-23 14:38:23 +02:00
Nikita Galaiko
2fb8fe3389 use single connection to database 2023-05-23 10:27:01 +02:00
Nikita Galaiko
37efa4e48a remove db hooks 2023-05-22 16:56:10 +02:00
Nikita Galaiko
0fb7aaede4 add button to player frame filename 2023-05-22 16:56:10 +02:00
Nikita Galaiko
beca54115b display bookmark status in the sessions list 2023-05-22 16:56:10 +02:00
Nikita Galaiko
490f3ba657 add bookmark modal 2023-05-22 16:56:10 +02:00
Nikita Galaiko
a261060403 rm printlns 2023-05-22 16:56:10 +02:00
Nikita Galaiko
7a58558c07 sqlite: use WAL mode 2023-05-19 16:15:46 +02:00
Nikita Galaiko
9fe324996d allow to delete bookmarks 2023-05-19 16:15:46 +02:00
Nikita Galaiko
fd00c76f6f aggregate deltas when reading from database 2023-05-19 14:12:06 +02:00
Nikita Galaiko
5031e6ba12 simplify project file change 2023-05-19 14:12:06 +02:00
Nikita Galaiko
45efa9e10e rm app/ dir 2023-05-19 12:59:57 +02:00
Nikita Galaiko
6c24282dcc save bookmarks into sessions 2023-05-19 10:57:50 +02:00
Nikita Galaiko
612261cc0a init bookmarks package 2023-05-19 10:57:50 +02:00
Nikita Galaiko
0e89f15a62 make db transaction callback return result 2023-05-19 10:57:50 +02:00
Nikita Galaiko
fc32525d85 do not index sessions twice when fetching 2023-05-17 14:33:31 +02:00
Nikita Galaiko
e083922114 remove unused code 2023-05-17 14:33:31 +02:00
Nikita Galaiko
9ae8f7f4ea add project_id to files and deltas 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
7a810a17c2 save all data into database 2023-05-17 14:33:31 +02:00
Nikita Galaiko
e89a6b63e8 allow to publish events to watchers 2023-05-17 14:33:31 +02:00
Nikita Galaiko
09ea70e8a3 deltas searcher args fix 2023-05-17 14:33:31 +02:00
Nikita Galaiko
5dce8bb430 rm get_session_reader method 2023-05-17 14:33:31 +02:00
Nikita Galaiko
405983e135 rm get_session_writer method 2023-05-17 14:33:31 +02:00
Nikita Galaiko
6c0a105934 create databases for sessions,deltas,files 2023-05-17 14:33:31 +02:00
Nikita Galaiko
47cf663301 add sqlite skeleton 2023-05-17 14:33:31 +02:00
Nikita Galaiko
d6f5b3120c move reader writer to root 2023-05-16 13:31:04 +02:00
Nikita Galaiko
a1a3aaeb41 export sessionreader as reader 2023-05-16 13:31:04 +02:00