Commit Graph

6635 Commits

Author SHA1 Message Date
Mattias Granlund
ffbd6e7a0c Rename constants and move functions in order of priority
Readers always start at the top, we should put the most important functions / definitions there.
2024-04-11 15:25:20 +02:00
Mattias Granlund
5abcdcca1f Replace RequestMethod enum with simpler type 2024-04-11 15:25:20 +02:00
Mattias Granlund
a85ecb9dbb Rename CloudClient -> HttpClient
This class will become a thin wrapper around fetch, the functions it currently declares should live in the code that calls them.
2024-04-11 15:25:20 +02:00
Mattias Granlund
9ca84a6144 Rename cloud.ts -> httpClient.ts 2024-04-11 15:25:20 +02:00
Caleb Owens
0ceff12989 Remove empty body object 2024-04-11 15:25:20 +02:00
Caleb Owens
41644432b9 Introduce method specific methods 2024-04-11 15:25:20 +02:00
Caleb Owens
7100a06b59 Allow passing undefined content type to fix form multipart types 2024-04-11 15:25:20 +02:00
Caleb Owens
59039d3dda Make use of makeRequest in butlerClient 2024-04-11 15:25:20 +02:00
Caleb Owens
61e68778a9 Move AI types back into the AI folder 2024-04-11 15:25:20 +02:00
Caleb Owens
f8daeeb8c2 Use makeRequest in all existing API wrappers 2024-04-11 15:25:20 +02:00
Caleb Owens
1debab3a92 Introduce an initial makeRequest method 2024-04-11 15:25:20 +02:00
Caleb Owens
b7ac4cc41e Tidy up seting CloudClient#fetch 2024-04-11 15:25:20 +02:00
Caleb Owens
c094d7e1ee Remove any cyclic packages 2024-04-11 15:25:20 +02:00
Caleb Owens
251aaa3e59 Moved types.ts which was previously missed 2024-04-11 15:25:20 +02:00
Caleb Owens
3cb86afae7 Move AI Client related stuff into its own folder 2024-04-11 15:25:20 +02:00
Josh Junon
91538281ec
Merge pull request #3491 from gitbutlerapp/fix-signing-config
Fix signing config
2024-04-11 14:07:02 +02:00
Josh Junon
c71f89cddd
append run number to artifact bin name 2024-04-11 14:05:44 +02:00
Josh Junon
401a5367e7
fix spaces in signed files 2024-04-11 14:04:39 +02:00
Josh Junon
d951171792
Merge pull request #3490 from gitbutlerapp/only-sysexec-on-windows
only allow systemexecutable on windows
2024-04-11 12:57:09 +02:00
Josh Junon
db519a4eee
only allow systemexecutable on windows 2024-04-11 12:38:02 +02:00
Scott Chacon
c7a7cf22d3
Merge pull request #3488 from gitbutlerapp/Link-to-nightlies-in-Readme
docs: Add link to Unstable Nightly releases in README (#123)
2024-04-11 11:41:37 +02:00
Scott Chacon
099759f5fa docs: Add link to Unstable Nightly releases in README (#123)
Added a link to the Unstable Nightly releases in the README file to make it
easier for users to access the latest experimental builds.
2024-04-11 10:09:59 +02:00
Pavel Laptev
a4718ccd17
Merge pull request #3486 from gitbutlerapp/Virtual-branch-2
`Backspace` was navigation to the previous page
2024-04-11 03:02:18 +02:00
Pavel Laptev
266fd534d9
Backspace was navigation to the previous page
On each page, which wasn't expected when you accidentally hit it.
2024-04-11 03:00:08 +02:00
Mattias Granlund
7d01a537d4 Only allow use of system executable git on Windows
- libgit2 does not work on windows
2024-04-10 16:48:33 +02:00
Scott Chacon
1b8cf7951d
Merge pull request #3483 from gitbutlerapp/add-windows-link
build: Add Windows MSI download link
2024-04-10 15:10:03 +02:00
Scott Chacon
06bbc72e2a build: Add Windows MSI download link
Added a download link for the Windows MSI installer to the README file.
2024-04-10 15:08:17 +02:00
Josh Junon
a4bc539f56
Merge pull request #3467 from Byron/tests-shared
share test code via separate crate
2024-04-10 04:59:08 -07:00
Sebastian Thiel
4542c73fdb
use workspace dependencies for workspace crates 2024-04-10 13:09:04 +02:00
Mattias Granlund
f84b853aae Make NoBaseBranch a component
- solves navigation race condition that can land you on the wrong page
- some users have reported seeing "up-to-date" without navigation sidebar
2024-04-10 11:23:49 +02:00
Pavel Laptev
87cfadffaf
replaced wrong button prop iconAlign (#3481) 2024-04-10 02:20:09 +02:00
Pavel Laptev
11c28cf1ef
CSS glitches fix + AI page typo fixed (#3480) 2024-04-10 01:03:26 +02:00
Josh Junon
1b1bb57cc7
Merge pull request #3479 from gitbutlerapp/github-actions-outputs-dont-work-and-have-never-worked
use artifacts to transfer version number
2024-04-09 14:42:16 -07:00
Josh Junon
d3fd4ed69f
use artifacts to transfer version number 2024-04-09 23:40:49 +02:00
Josh Junon
9a8b74bc5b
Merge pull request #3478 from gitbutlerapp/runs-onnnnnnn
add runs-on to publish step and also pull the source with the PAT
2024-04-09 14:13:27 -07:00
Josh Junon
53d2dd6691
add runs-on to publish step and also pull the source with the PAT 2024-04-09 23:12:59 +02:00
Josh Junon
47d5d0a8e0
Merge pull request #3477 from gitbutlerapp/reintroduce-publish
re-introduce publishing step after signing
2024-04-09 14:09:19 -07:00
Josh Junon
5d1ed2db38
re-introduce publishing step after signing 2024-04-09 23:07:50 +02:00
Josh Junon
11ed28a5f1
Merge pull request #3475 from gitbutlerapp/copy-matrix-because-actions-is-frustratingly-bad
copy over the matrix from the first step into each of the steps
2024-04-09 13:40:12 -07:00
Josh Junon
27be3c92aa
remove if statement for signing step entirely 2024-04-09 22:39:41 +02:00
Josh Junon
9262cf973e
copy over the matrix from the first step into each of the steps 2024-04-09 22:38:05 +02:00
Josh Junon
462d8c946e
Merge pull request #3473 from gitbutlerapp/find-msi-for-signing
use `find` to get paths to MSIs to sign
2024-04-09 13:11:55 -07:00
Josh Junon
bf8ee4fb63
use find to get paths to MSIs to sign 2024-04-09 22:11:20 +02:00
Josh Junon
3130cb8c5c
Merge pull request #3472 from gitbutlerapp/channel-based-artifacts
name artifacts by name of channel and platform
2024-04-09 12:46:45 -07:00
Josh Junon
b95ad73ac6
name artifacts by name of channel and platform 2024-04-09 21:45:59 +02:00
Josh Junon
d5dfa7553e
Merge pull request #3470 from gitbutlerapp/signing-script
removed bail on release windows ci builds
2024-04-09 12:20:57 -07:00
Josh Junon
4b25af0a54
error if no files are available for upload, and overwrite after signing 2024-04-09 21:20:16 +02:00
Josh Junon
d72e76efda
use upload/download artifacts v4 2024-04-09 21:18:45 +02:00
Josh Junon
67dd25a6d7
removed bail on release windows ci builds 2024-04-09 21:14:56 +02:00
Josh Junon
10c1b8cb0b
Merge pull request #3469 from gitbutlerapp/fix-needs-in-release-ci
fix needs clause in signing job
2024-04-09 12:06:06 -07:00