Commit Graph

6747 Commits

Author SHA1 Message Date
Kiril Videlov
f8023ca735
refactor snapshotter trait
Implementing this on branch turned out ot be restrictive so implementing for Oplog
2024-05-12 19:57:42 +02:00
Kiril Videlov
262bbd8df7
on snapshot store branch name metadata 2024-05-12 19:49:51 +02:00
Kiril Videlov
d52a7f5e4f
fix an issue with incorrect snapshot metadata on branch update 2024-05-12 19:18:03 +02:00
Kiril Videlov
7ca912d1bd
Merge pull request #3751 from gitbutlerapp/remove-unused-creates
remove unused creates
2024-05-12 04:33:02 +02:00
Kiril Videlov
3e0914444f
remove unused crates in tauri 2024-05-12 04:19:19 +02:00
Kiril Videlov
0a12b3eac5
remove unused crates in core 2024-05-12 04:12:56 +02:00
Kiril Videlov
459d17f547
Merge pull request #3750 from gitbutlerapp/deltas-reader-file-session-listing
remove unused sessions / deltas implementation
2024-05-12 03:52:44 +02:00
Kiril Videlov
5b3273f542
remove unused sessions / deltas implementation
This is removed in favor of the new `ops` module
2024-05-12 03:39:04 +02:00
Kiril Videlov
d9c985db26
Merge pull request #3749 from gitbutlerapp/update-file-event-removal-of-session-id
remove sessions/deltas unused tauri events
2024-05-12 03:37:24 +02:00
Kiril Videlov
91e48c6730
remove sessions/deltas unused tauri events 2024-05-12 03:24:36 +02:00
Kiril Videlov
451cf3e8fd
Merge pull request #3748 from gitbutlerapp/remove-users-controller-implementation
remove gb_reference from projects
2024-05-12 03:22:00 +02:00
Kiril Videlov
27f0802443 remove gb_reference from projects 2024-05-12 03:08:54 +02:00
Kiril Videlov
1ba7bcedca
Merge pull request #3747 from gitbutlerapp/remove-duplicate-code-and-refactor
remove deltas calculation on file change
2024-05-12 03:07:42 +02:00
Kiril Videlov
3eaaccc2e0
remove deltas calculation on file change
This is being replaced by the new `ops` module

Along with the respective tests. There were only session/deletas related assertions in the watcher tests
2024-05-12 02:54:19 +02:00
Kiril Videlov
29e8d9f8b8
Merge pull request #3746 from gitbutlerapp/push-gb-data-improvements-by-user
remove unused gb_data flush / push / fetch functions
2024-05-12 02:39:18 +02:00
Kiril Videlov
d51761a654 remove unused flush event 2024-05-12 02:22:05 +02:00
Kiril Videlov
18cf10a143
remove unused fetch_gb_data 2024-05-12 02:13:02 +02:00
Kiril Videlov
bca8e13dfb
remove unused push_gb_data 2024-05-12 02:05:07 +02:00
Kiril Videlov
ff3cf9bca7
Merge pull request #3745 from gitbutlerapp/update-deltas-controllers-commands
remove unused list_deltas endpoint
2024-05-12 01:53:06 +02:00
Kiril Videlov
2bbe4fa569
remove unused list_deltas endpoint 2024-05-11 21:12:08 +02:00
Kiril Videlov
598fc0ae26
Merge pull request #3744 from gitbutlerapp/remove-sessions-command
remove unused list_sessions
2024-05-11 21:09:45 +02:00
Kiril Videlov
c741e2e862
Merge pull request #3743 from gitbutlerapp/remove-sync-button-feature
remove unused project_flush_and_push
2024-05-11 21:05:35 +02:00
Kiril Videlov
14a7e8b2a1
remove unused list_sessions 2024-05-11 20:58:14 +02:00
Kiril Videlov
217efbc932 remove unused project_flush_and_push 2024-05-11 20:52:05 +02:00
Kiril Videlov
1875d86e7a
Merge pull request #3742 from gitbutlerapp/asdfffwe
remove unused endpoint list_session_files
2024-05-11 20:46:46 +02:00
Kiril Videlov
62b97f7f5a remove unused imports 2024-05-10 20:31:07 +02:00
Kiril Videlov
97c072cb7a remove unused endpoint list_session_files 2024-05-10 20:30:45 +02:00
Kiril Videlov
ffb6ac2f94
Merge pull request #3740 from gitbutlerapp/snapshot-get-diff
snapshot-get-diff
2024-05-09 20:47:44 +02:00
Kiril Videlov
9e5094247b
fix rust clippy error 2024-05-09 11:33:32 -07:00
Kiril Videlov
df5d72b908 add mock usage for getting snapshot diffs 2024-05-09 11:25:08 -07:00
Kiril Videlov
58c124627a
add an enpoint for getting the snapshot diff 2024-05-09 11:24:42 -07:00
Josh Junon
2006511a80
Merge pull request #3724 from gitbutlerapp/fork-exec-sign
add gitbutler_git::sign_commit()
2024-05-08 12:28:22 +02:00
Mattias Granlund
e7f25e29c5 Check we are on the right branch in verify_branch
Ensures we don't accidentally run commands while HEAD is pointing to something other than the gitbutler/integration branch.
2024-05-08 12:20:00 +02:00
Josh Junon
738e47a377
fix sync sign utility 2024-05-08 12:16:06 +02:00
Kiril Videlov
2911155e33
Merge pull request #3734 from gitbutlerapp/make-snapshot-lines-threshold-optional
Skip creating noop snapshots if there is no difference with parent
2024-05-08 03:27:07 +02:00
Kiril Videlov
885021a6fe
Merge pull request #3735 from gitbutlerapp/create-noop-snapshots-diff-check
feat: Optimize snapshot creation in Oplog.rs
2024-05-08 03:24:29 +02:00
Kiril Videlov
e6633df481
feat: Optimize snapshot creation in Oplog.rs
Check for differences between the current tree and the parent tree
before creating a new snapshot to prevent creating noop snapshots.
2024-05-08 03:12:17 +02:00
Kiril Videlov
0215e0649b
feat: Skip creating noop snapshots if there is no difference with parent tree 2024-05-08 03:11:38 +02:00
Kiril Videlov
2df5ee0f7d
Merge pull request #3733 from gitbutlerapp/make-snapshot-lines-threshold-optional
use default snapshot_lines_threshold
2024-05-08 03:11:13 +02:00
Kiril Videlov
903991eea7
use default snapshot_lines_threshold 2024-05-08 02:58:30 +02:00
Kiril Videlov
a1a546f8e1
Merge pull request #3732 from gitbutlerapp/rename-snapshots-module-names
rename snapshots module names
2024-05-08 01:54:04 +02:00
Kiril Videlov
8b6333237e add more details to undo ui 2024-05-08 01:35:24 +02:00
Kiril Videlov
7cddab8285
fix early return missing snaposhotting 🤦‍♂️ 2024-05-08 01:35:11 +02:00
Pavel Laptev
081ffb9377
Prevent default drop event (#3731) 2024-05-08 01:27:54 +02:00
Kiril Videlov
ef18dc029d
Merge pull request #3730 from gitbutlerapp/rename-snapshots-module-names
move snapshot creation on branch update to trait
2024-05-08 01:24:39 +02:00
Kiril Videlov
a942cb6f79
move snapshot creation on branch update to trait 2024-05-08 01:09:53 +02:00
Kiril Videlov
52f4cecbb1
Merge pull request #3729 from gitbutlerapp/update-branch-name-with-old-name
rename snapshots module names
2024-05-08 00:49:46 +02:00
Kiril Videlov
1ae1efeec0
rename tauri module for undo operations 2024-05-08 00:36:16 +02:00
Kiril Videlov
93d5e61530 rename module snapshots to ops 2024-05-08 00:29:38 +02:00
Kiril Videlov
289aafb496 rename snapshoter to snapshot 2024-05-08 00:29:38 +02:00