Josh Junon
b9e20aeecb
Merge pull request #3267 from gitbutlerapp/fix-nightly-builds
...
don't specify shell for 'uses' action
2024-03-21 22:53:59 +01:00
Josh Junon
0224daa2f1
don't specify shell for 'uses' action
2024-03-21 22:53:12 +01:00
Josh Junon
0b8c0268ac
Merge pull request #3264 from gitbutlerapp/package-windows
...
initial attempt at windows bundling for nightly
2024-03-21 22:50:29 +01:00
Kiril Videlov
4ea3a98799
fix: set hash when converting hunks
2024-03-21 22:48:21 +01:00
Josh Junon
2a013b0369
initial attempt at windows bundling for nightly
2024-03-21 22:40:41 +01:00
Kiril Videlov
027684febb
feat: Implement Hunk::hash() method and replace diff_hash()
2024-03-21 22:37:36 +01:00
Kiril Videlov
36c555773c
Merge pull request #3263 from gitbutlerapp/hunk-ownership-comparison-fix
...
fix: revert to using hunk equality with hashes
2024-03-21 22:28:34 +01:00
Kiril Videlov
eb5a2ba6c7
fix: revert to using hunk equality with hashes
2024-03-21 22:18:37 +01:00
Mattias Granlund
41aecc8121
Merge pull request #3261 from gitbutlerapp/Convert-cloud-api-object-to-class
...
Convert cloud api object to class
2024-03-21 20:35:59 +01:00
Mattias Granlund
eb93713d69
Merge branch 'master' into Convert-cloud-api-object-to-class
2024-03-21 20:20:14 +01:00
Mattias Granlund
a282a41c39
Use getContextByClass
for AuthService
2024-03-21 20:10:03 +01:00
Josh Junon
87dd2c7327
Merge pull request #3262 from gitbutlerapp/windows-askpass
...
Add windows askpass named pipe support for fetch/pull fork/exec implementation
2024-03-21 19:59:44 +01:00
Josh Junon
5e89000ed9
don't link to private type in docs
2024-03-21 19:53:38 +01:00
Josh Junon
4c61ddc40f
make rustdoc shut up about winapi's switched out types for docs
2024-03-21 19:52:14 +01:00
Josh Junon
67f46e7a36
append .exe to the end of git/askpass utilities on windows
2024-03-21 19:41:58 +01:00
Mattias Granlund
edaec8ebbd
Convert cloud api object to class
2024-03-21 19:35:27 +01:00
Josh Junon
1ab7f07979
fix unix compilation errors introduced by gitbutler-git windows refactor
2024-03-21 19:25:02 +01:00
Josh Junon
3f481116ba
add initial windows askpass implementation
2024-03-21 19:23:04 +01:00
Kiril Videlov
38c0b63faf
Merge pull request #3259 from gitbutlerapp/asdfdff
...
fix: fetch after push
2024-03-21 18:12:51 +01:00
Kiril Videlov
4000144acb
fix: fetch after push
2024-03-21 18:02:48 +01:00
Mattias Granlund
0acb4c106f
Refactor prompt service to be easier to use
2024-03-21 16:30:13 +01:00
Kiril Videlov
33e861af42
Merge pull request #3158 from gitbutlerapp/diff-tree-to-working-dir-with-index
...
performance: diff tree to working dir with index
2024-03-21 00:13:04 +01:00
Kiril Videlov
fba9b0a894
performance: diff tree to working dir with index
...
asdf
2024-03-21 00:01:29 +01:00
Mattias Granlund
b594c68597
Show prompt from CLI in PassphraseBox
...
- missed this in the initial commit
2024-03-20 22:27:31 +01:00
Caleb Owens
f66bd130d0
Merge pull request #3253 from gitbutlerapp/remove-random-ts
...
Refactor away random.ts
2024-03-20 21:27:09 +00:00
Caleb Owens
b3699e2b5a
Refactor away random.ts
...
Removed unused/duplicate methods and moved unsubscribe() to a better named file
2024-03-20 21:08:03 +00:00
Kiril Videlov
7fbdfae1c4
Merge pull request #3250 from gitbutlerapp/add-connect-src-to-openai-api
...
feat(security): Add OpenAI API endpoint to CSP
2024-03-20 18:32:17 +01:00
Josh Junon
f61af86852
Merge pull request #3249 from gitbutlerapp/fix-fetching-with-system-executable
...
fix fetching with system executable
2024-03-20 18:23:33 +01:00
Kiril Videlov
1b506bce79
feat(security): Add OpenAI API endpoint to CSP
2024-03-20 18:15:30 +01:00
Josh Junon
7a429dc32c
fix fetching with system executable
2024-03-20 18:13:35 +01:00
Josh Junon
36b0a22d3c
Merge pull request #3248 from gitbutlerapp/add-gitbutler-git-utility-binaries-to-tauri-bundle-config
...
add gitbutler-git utility binaries to tauri bundle config
2024-03-20 18:03:20 +01:00
Josh Junon
ff6baa5032
add gitbutler-git utility binaries to tauri bundle config
2024-03-20 17:52:03 +01:00
Mattias Granlund
123843799d
Bugfix for PassphraseBox
to show prompt correctly
2024-03-20 15:47:23 +01:00
Josh Junon
a1e2b92abc
Merge pull request #3246 from gitbutlerapp/make-debug-git-invocations-more-ergonomic-to-repro
...
make debug git invocations more ergonomic to reproduce
2024-03-20 15:41:42 +01:00
Josh Junon
3d02e7828a
Merge pull request #3245 from gitbutlerapp/don-t-log-response-from-git-prompts-in-command
...
don't log response parameter to git prompt response submissions
2024-03-20 15:37:11 +01:00
Josh Junon
4e1ff034e8
make debug git invocations more ergonomic to reproduce
2024-03-20 15:31:54 +01:00
Josh Junon
37f7e0ba70
don't log response parameter to git prompt response submissions
2024-03-20 15:26:46 +01:00
Mattias Granlund
01dc79ee62
Set default headers for GitHub API
...
- defines headers constant for octokit.js
- cache-control header prevents stale results
2024-03-20 15:16:21 +01:00
Pavel Laptev
42c7d7fd8e
Style and copy fixes ( #3242 )
...
* Project setup GH integration missing flag
* Style fix: Project setup GH integration margin
* Added ProjectNameLabel component
* UI: new icons
* Copy update and `DecorativeSplitView` link update
* Style tweak
2024-03-20 15:01:17 +01:00
Mattias Granlund
0d5dbc25b7
Organise the prompt service code a bit better
...
Note that instance fields are evaluated during instance creation, at the start of the constructor.
2024-03-20 13:15:04 +01:00
Mattias Granlund
14def6e616
Show prompt from CLI in PassphraseBox
2024-03-20 12:12:24 +01:00
Mattias Granlund
c8e9f4f9a4
Organise the prompt modal code a bit better
...
- submit on enter
2024-03-20 12:11:10 +01:00
Kiril Videlov
80b3b682cf
fix(community-links): update discord link
2024-03-20 11:05:11 +01:00
Caleb Owens
792ea08eee
Consolidate on one commit splitting implementation
...
The changes in this commit focus on improving the handling and display of commit messages. The key changes are:
1. Introduced a new `splitMessage` utility function to split a commit message into a title and description.
2. Updated the `Commit` and `RemoteCommit` classes to use the `splitMessage` function to extract the title and description from the commit message.
3. Updated the `AIService` to use the `splitMessage` function to construct the summarized commit message.
4. Added a test suite for the `splitMessage` function to ensure it handles various commit message formats correctly.
These changes will make it easier to work with and display commit messages, as the title and description will be separated, allowing for better formatting and presentation.
2024-03-20 02:22:42 +01:00
Caleb Owens
415370a422
Keep showing commit description field if present
2024-03-20 02:20:29 +01:00
Kiril Videlov
f136534982
refactor: use generic as ref
2024-03-20 00:48:36 +01:00
Kiril Videlov
462a9337a4
on delete project remove virtual_branches file
2024-03-20 00:48:36 +01:00
Kiril Videlov
0831fd2619
feat: write vbranch state to a flat file
...
In addition to the default git storage, persist the state of virtual branches to a toml file in .git
2024-03-20 00:48:36 +01:00
Mattias Granlund
690ec9cced
Bugfix checks.. again
...
- simplify logic a bit here, never show checks if pr closed
2024-03-20 00:47:07 +01:00
Mattias Granlund
9e41f63e99
Improve pull request checks state accuracy
2024-03-20 00:32:51 +01:00