Commit Graph

378 Commits

Author SHA1 Message Date
dependabot[bot]
2ca649fe3d
chore(deps): bump uuid from 1.5.0 to 1.6.1
Bumps [uuid](https://github.com/uuid-rs/uuid) from 1.5.0 to 1.6.1.
- [Release notes](https://github.com/uuid-rs/uuid/releases)
- [Commits](https://github.com/uuid-rs/uuid/compare/1.5.0...1.6.1)

---
updated-dependencies:
- dependency-name: uuid
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-20 15:26:07 +00:00
Nikita Galaiko
52d34afe3f allow only one flush handler 2023-11-20 15:18:13 +01:00
Nikita Galaiko
383d5a3bb5 feat: update logging configuration to use LOG_LEVEL environment variable instead of debug feature flag 2023-11-20 09:29:45 +01:00
Kiril Videlov
6abf22089b chore: remove unused import and simplify code in project_flush_and_push function 2023-11-17 19:10:39 +01:00
Kiril Videlov
6728116d2c feat: add event posting for session and push project to Gitbutler 2023-11-17 19:10:39 +01:00
Nikita Galaiko
007d3783b8 ignore submodules when diffing 2023-11-17 15:09:43 +01:00
Nikita Galaiko
e05c30ca60 add submodules tests 2023-11-17 14:47:08 +01:00
Nikita Galaiko
e874d6ce6f chore: remove unused bookmark functionality and related code 2023-11-17 12:32:20 +01:00
Nikita Galaiko
3f7cb92598 minor refactor 2023-11-17 10:24:35 +01:00
Nikita Galaiko
763d346196
Merge pull request #1611 from gitbutlerapp/sort-branches-by-order
vbranch errors
2023-11-17 10:15:16 +01:00
Nikita Galaiko
4aee982dfb refactor virtual branch errors 2023-11-17 09:55:47 +01:00
Kiril Videlov
964b8c361c refactor: simplify rate limiter initialization in Handler struct 2023-11-16 16:19:28 +01:00
Kiril Videlov
42652d9655 chore: refactor Handler struct initialization and add unnecessary_wraps lint allow 2023-11-16 16:19:28 +01:00
Kiril Videlov
14841d9848 feat: add rate limiting to throttle events in the Handler's handle method 2023-11-16 16:19:28 +01:00
Kiril Videlov
9a4f5cb3ab chore: update file change listener to use the session handler instead of the project file change handler 2023-11-16 16:19:28 +01:00
Kiril Videlov
606fbf8384 chore: refactor project file change handler to simplify code and remove unnecessary dependencies 2023-11-16 16:19:28 +01:00
Kiril Videlov
d12d647ba9 refactor: simplify payload assignment in Event struct 2023-11-16 15:51:29 +01:00
Kiril Videlov
b23169fc92 chore: update emit_vbranches function signature to accept a reference to AppHandle instead of value 2023-11-16 12:30:28 +01:00
Kiril Videlov
d7306d4cd9 feat: add event emission for virtual branches after certain actions to keep UI in sync 2023-11-16 12:30:28 +01:00
Nikita Galaiko
4164907245 log which session is failed to flush 2023-11-15 13:55:59 +01:00
Nikita Galaiko
4eabae9f76
Merge pull request #1608 from gitbutlerapp/update-debouncer-timeout
Update debouncer timeout
2023-11-15 10:50:12 +01:00
Nikita Galaiko
2a1723cb8c set file watch debouncer to 10ms 2023-11-15 10:45:32 +01:00
Nikita Galaiko
182449b0f1
Merge pull request #1607 from gitbutlerapp/handle-binary-hunks
Handle binary hunks
2023-11-15 10:42:16 +01:00
Nikita Galaiko
b142a3c25b fix: handle binary files and prioritize binary hunks 2023-11-15 10:21:33 +01:00
Nikita Galaiko
824012466d do not send handled auth errors to sentry 2023-11-15 09:13:50 +01:00
Nikita Galaiko
779c731f1c introduce rate limiter for sentry 2023-11-14 16:58:51 +01:00
Nikita Galaiko
9eb3cf9e0a handle open error 2023-11-14 15:19:22 +01:00
Nikita Galaiko
bdd24b69da extract sentry mod 2023-11-14 15:09:01 +01:00
Nikita Galaiko
165b0fcf46 handle projects that were removed 2023-11-14 15:02:16 +01:00
Nikita Galaiko
4684e22ba1
Merge pull request #1586 from gitbutlerapp/dependabot/cargo/tokio-1.34.0
chore(deps): bump tokio from 1.33.0 to 1.34.0
2023-11-14 11:45:13 +01:00
Nikita Galaiko
ab893091ad
Merge pull request #1590 from gitbutlerapp/dependabot/cargo/uuid-1.5.0
chore(deps): bump uuid from 1.4.1 to 1.5.0
2023-11-14 11:44:56 +01:00
Nikita Galaiko
8dcc102d29 debounce file change events 2023-11-14 11:37:40 +01:00
Nikita Galaiko
9f1910a59e ignore some vbranch errors while flushing 2023-11-14 10:25:31 +01:00
Nikita Galaiko
ee2e281ec3
Merge pull request #1595 from gitbutlerapp/fix-amend-ownership-check
Fix amend ownership check
2023-11-14 10:14:21 +01:00
Nikita Galaiko
f6531e815e verify amendable diffs agains real diff 2023-11-14 09:48:18 +01:00
Nikita Galaiko
449c0092e5 make sure all dirs exist when creating project 2023-11-14 09:47:49 +01:00
Nikita Galaiko
bdb0753e0b chore: fix warnings 2023-11-14 09:24:26 +01:00
dependabot[bot]
fd7a0a6b92
chore(deps): bump uuid from 1.4.1 to 1.5.0
Bumps [uuid](https://github.com/uuid-rs/uuid) from 1.4.1 to 1.5.0.
- [Release notes](https://github.com/uuid-rs/uuid/releases)
- [Commits](https://github.com/uuid-rs/uuid/compare/1.4.1...1.5.0)

---
updated-dependencies:
- dependency-name: uuid
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-13 15:55:30 +00:00
dependabot[bot]
875ee4b40a
chore(deps): bump tokio from 1.33.0 to 1.34.0
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.33.0 to 1.34.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.33.0...tokio-1.34.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-11-13 15:54:23 +00:00
Nikita Galaiko
75541c16b8 remove wd_tree flush optimization 2023-11-13 16:34:15 +01:00
Kiril Videlov
071889592c chore: simplify filter condition in list_remote_branches function 2023-11-11 18:02:23 +01:00
Kiril Videlov
c00e645881 list all remote branches 2023-11-11 18:02:23 +01:00
Nikita Galaiko
8f43847213
Merge pull request #1557 from gitbutlerapp/add-commit-method
Add commit method
2023-11-10 16:12:59 +01:00
Nikita Galaiko
77a8f15efa no signing when authors might mismatch 2023-11-10 16:04:39 +01:00
Nikita Galaiko
f58a79eb0c chore: remove migration logic for old data format 2023-11-10 15:48:23 +01:00
Nikita Galaiko
9949d2aa39
Merge pull request #1554 from gitbutlerapp/check-and-push-project-code
Check and push project code
2023-11-10 13:02:23 +01:00
Nikita Galaiko
018a480f3f feat: optimize code push check to only push if sync is enabled and code URL is present 2023-11-10 12:26:53 +01:00
Nikita Galaiko
b2c97fcc89 fix: fix order of commit descriptions in assertion statements 2023-11-10 12:19:57 +01:00
Nikita Galaiko
c144a82e36 feat: squash commits 2023-11-10 09:05:20 +01:00
Nikita Galaiko
41710e8656
Merge pull request #1549 from gitbutlerapp/add-squash-function
GB-601 Add squash function
2023-11-09 13:45:19 +01:00