Commit Graph

385 Commits

Author SHA1 Message Date
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
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
e2781591c1 bump deps 2023-05-16 08:20:07 +02:00
Nikita Galaiko
15538de760 project: add description 2023-05-15 15:38:37 +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
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
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
cea80b5cb1 fetch remotes every 10 min 2023-05-08 14:54:55 +02:00