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
Nikita Galaiko
59352d3247
extract deltas reader
2023-05-16 13:31:04 +02:00
Nikita Galaiko
92e4e7604e
extract text document to mod
2023-05-16 13:31:04 +02:00
Nikita Galaiko
15538de760
project: add description
2023-05-15 15:38:37 +02:00
Nikita Galaiko
72888bbf07
add rust api to fetch feedback archives
2023-05-12 11:51:55 +02:00
Nikita Galaiko
1774ec4073
index sessions in background after fetch
2023-05-10 14:29:13 +02:00
Nikita Galaiko
f91061cc53
fetch project on update
2023-05-10 14:29:13 +02:00
Nikita Galaiko
fb1e8c807d
unify event data
2023-05-10 14:29:13 +02:00
Nikita Galaiko
de8178d1b6
make event fields private
2023-05-10 14:29:13 +02:00
Nikita Galaiko
9eaef82393
send new sessions on fetch
2023-05-10 14:29:13 +02:00
Nikita Galaiko
a47b0dda1f
Add event_sender to App and update function signatures
...
Implemented the addition of an event_sender property to the App struct which is used by the start_watcher and init functions. Updated the new, init, and start_watcher functions to work with the new event_sender, and removed the now unnecessary events argument.
Changes:
- Added event_sender property to App struct.
- Added event_sender argument to new function.
- Removed events argument from init_project, init, and start_watcher functions.
- Updated start_watcher and init functions to use the new event_sender.
2023-05-10 13:21:57 +02:00
Nikita Galaiko
2856d51979
add test for remote sync sessions order
2023-05-10 08:00:07 +02:00
Nikita Galaiko
f41413cbde
add tests for remote syncronization
2023-05-10 08:00:07 +02:00
Nikita Galaiko
cea80b5cb1
fetch remotes every 10 min
2023-05-08 14:54:55 +02:00
Nikita Galaiko
f9a15a5729
test searcher delete
2023-05-08 10:05:28 +02:00
Nikita Galaiko
ed3ed7e84b
add delete all data
2023-05-08 10:05:28 +02:00
Nikita Galaiko
5dd48b69ab
extract reader to mod
2023-05-08 07:47:52 +02:00
Nikita Galaiko
4b92d52636
extract gb_repository to mod
2023-05-08 07:47:52 +02:00
Nikita Galaiko
8b0da72931
move the rest inside app
2023-05-08 07:38:29 +02:00
Nikita Galaiko
942b48914c
move users inside app
2023-05-08 07:38:29 +02:00
Nikita Galaiko
39b3cc0698
reexport deltas
2023-05-08 07:38:29 +02:00
Nikita Galaiko
77bdd0650b
move projects inside app
2023-05-08 07:38:29 +02:00
Nikita Galaiko
31f0b3a693
rm unused session.activity
2023-05-08 07:38:29 +02:00
Nikita Galaiko
014a4e0575
move deltas inside app
2023-05-08 07:38:29 +02:00
Nikita Galaiko
7b637ee527
move sessions inside app
2023-05-08 07:38:29 +02:00
Nikita Galaiko
fe61ffe042
project purging
2023-05-05 14:03:44 +02:00
Nikita Galaiko
a07d6c07a3
protect session id comparison with a lock too
2023-05-05 13:43:30 +02:00
Nikita Galaiko
e0639b0024
return open project error reasons to frontend
2023-05-04 13:32:00 +02:00
Nikita Galaiko
f1818f78e6
minor refactoring
2023-05-03 12:34:11 +02:00
Nikita Galaiko
559074ff20
store session_id hash mapping
2023-05-03 08:15:11 +02:00
Nikita Galaiko
797b210c9d
do not share repositories between requests
2023-05-02 15:00:53 +02:00
Nikita Galaiko
cd382bd9f7
set last session timestamp
2023-04-28 13:01:36 +02:00
Nikita Galaiko
7efdf0a5e7
use default differ component to render commit diff
2023-04-28 09:48:26 +02:00
Nikita Galaiko
7ff819c78a
support hiding windows on non-macs
2023-04-27 13:46:58 +02:00
Nikita Galaiko
198c272175
hide and show app completely
2023-04-27 13:46:58 +02:00