Nikita Galaiko
65b108ad1b
Merge pull request #1283 from gitbutlerapp/tests-suite
...
Tests suite
2023-10-04 14:02:45 +02:00
Scott Chacon
f225d0aa7f
🐛 fix: set user-only permissions for private key file in Storage::write_file method
2023-10-04 13:59:50 +02:00
Nikita Galaiko
34e09293e0
fix butler
2023-10-04 13:57:14 +02:00
Scott Chacon
ccf6136b9a
✨ feat: add Remote Name panel to display and update remote branch name in UI
2023-10-04 13:16:33 +02:00
Nikita Galaiko
6ab278a67c
make clippy happy
2023-10-04 12:59:49 +02:00
Nikita Galaiko
f831cb346d
refactor: package test initiaion
2023-10-04 12:50:16 +02:00
Mattias Granlund
3c16b6cd76
Add error handling and loading indicator to base branch selection
...
- also puts base branch selection in its own component
2023-10-04 11:54:47 +02:00
Mattias Granlund
834d227370
Make store dependencies explicit parameters
...
This was feedback from Kiril a while back, that since all stores are
needed it would be clearer to have them as explicit parameters.
2023-10-03 21:59:04 +02:00
Nikita Galaiko
13eb5e987e
project repository owns project
2023-10-03 15:52:08 +02:00
Nikita Galaiko
550ff26ac7
remove user storage dependency from gb repo
2023-10-03 15:48:49 +02:00
Nikita Galaiko
9faf08e47f
Merge pull request #1279 from gitbutlerapp/Refactor-reader-struct
...
refactor: use content that is either utf8, large or binary
2023-10-03 12:20:32 +02:00
Nikita Galaiko
a1f432ce18
Merge pull request #1280 from gitbutlerapp/Virtual-branch-1
...
fix: pass `diff_opts` parameter to `diff_tree_to_tree` function call …
2023-10-03 12:06:27 +02:00
Nikita Galaiko
f5758371a5
cargo fmt
2023-10-03 12:00:18 +02:00
Nikita Galaiko
30e6026785
fix: pass diff_opts
parameter to diff_tree_to_tree
function call in trees
function
2023-10-03 11:57:39 +02:00
Nikita Galaiko
636c6538b3
refactor: update file content handling to use new FileContent type instead of Contents
2023-10-03 11:55:02 +02:00
Nikita Galaiko
a0ace30025
implement more From traits for Content
2023-10-03 10:36:43 +02:00
Nikita Galaiko
77bffe638a
make git::Blob wrapper
2023-10-03 10:35:43 +02:00
Nikita Galaiko
95304c1968
refactor: use content that is either utf8, large or binary
2023-10-03 10:04:30 +02:00
Mattias Granlund
a6c6c90757
Safely append sessions to session store
...
- seen in the wild, but triggered by other error
2023-10-02 23:38:19 +02:00
dependabot[bot]
4e3cb65313
chore(deps-dev): bump posthog-js from 1.77.2 to 1.81.2
...
Bumps [posthog-js](https://github.com/PostHog/posthog-js ) from 1.77.2 to 1.81.2.
- [Release notes](https://github.com/PostHog/posthog-js/releases )
- [Changelog](https://github.com/PostHog/posthog-js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/PostHog/posthog-js/compare/v1.77.2...v1.81.2 )
---
updated-dependencies:
- dependency-name: posthog-js
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-10-02 19:13:41 +02:00
dependabot[bot]
4ec90f25de
chore(deps-dev): bump @codemirror/lang-markdown from 6.2.0 to 6.2.1
...
Bumps [@codemirror/lang-markdown](https://github.com/codemirror/lang-markdown ) from 6.2.0 to 6.2.1.
- [Changelog](https://github.com/codemirror/lang-markdown/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codemirror/lang-markdown/compare/6.2.0...6.2.1 )
---
updated-dependencies:
- dependency-name: "@codemirror/lang-markdown"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-10-02 19:10:05 +02:00
dependabot[bot]
58d6c32435
chore(deps-dev): bump eslint from 8.47.0 to 8.50.0
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.47.0 to 8.50.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.47.0...v8.50.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-10-02 19:09:41 +02:00
dependabot[bot]
5cfb6e1ba0
chore(deps-dev): bump postcss from 8.4.30 to 8.4.31
...
Bumps [postcss](https://github.com/postcss/postcss ) from 8.4.30 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/8.4.30...8.4.31 )
---
updated-dependencies:
- dependency-name: postcss
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-10-02 19:07:39 +02:00
dependabot[bot]
bf371c6daf
chore(deps-dev): bump @types/marked from 5.0.1 to 5.0.2
...
Bumps [@types/marked](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/marked ) from 5.0.1 to 5.0.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/marked )
---
updated-dependencies:
- dependency-name: "@types/marked"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-10-02 19:07:27 +02:00
Mattias Granlund
32da7d1200
Handle project errors nicely
...
- show better message if error unknown along with back button
- eliminate no undefined or zero session errors
2023-10-02 15:06:55 +02:00
Mattias Granlund
b64bb18eb3
Disable AI hunk summaries for binary files
2023-10-02 12:02:05 +02:00
Mattias Granlund
c5603d1685
Show custom message in FileCard for binary/large files
2023-10-02 12:02:05 +02:00
Mattias Granlund
2b976b2e6d
Separate front and back end in sentry
...
- front end now uses app-js
2023-10-01 19:41:55 +03:00
Mattias Granlund
a851210c0a
Destroy popup menues on component destruction
...
- because menus are rendered manually targeting the document body
2023-10-01 12:03:35 +03:00
Mattias Granlund
2d2d85d8ce
Change some package imports to direct imports
2023-10-01 11:55:29 +03:00
Mattias Granlund
b2a9d2efcf
Remove unnecessary console logging
...
- removing since nightly users have access to devtools
2023-10-01 11:50:51 +03:00
Mattias Granlund
6528fb7400
Fix lint warnings in ts code
2023-10-01 11:39:55 +03:00
Mattias Granlund
39835b7c27
Disable spell check in the commit message box
...
- plus a couple of other places
2023-10-01 01:47:50 +03:00
Mattias Granlund
5f25455d52
Do not shell open local links
...
- error spotted in sentry
2023-10-01 01:38:49 +03:00
Mattias Granlund
f4f59ee031
Nitpicking a couple of things
2023-09-30 23:19:03 +03:00
Mattias Granlund
98b5ed99a6
Express some store things more concisely
2023-09-30 23:19:03 +03:00
Mattias Granlund
3b63dff215
Refactor a few async stores to use start/stop signal
...
- sessions, deltas, fetches, heads
- auto open/unsubscribe for streams
2023-09-30 23:19:03 +03:00
Mattias Granlund
088ab5466b
Bump version of forked svelte-store
...
- contains added start/stop notifier for asyncWritable
2023-09-30 21:32:06 +03:00
Kiril Videlov
75bf521bd2
reorder credentials list for performance (if key generated, private_key will fail, so putting it last
2023-09-29 17:14:10 +02:00
Nikita Galaiko
bbbd363870
Merge pull request #1258 from gitbutlerapp/Add-debugging-logs
...
chore: refactor hunks_by_filepath function to simplify code and impro…
2023-09-29 11:12:13 +02:00
Nikita Galaiko
ea097b7d8b
chore: handle errors when converting line content to UTF-8 in hunks_by_filepath function
2023-09-29 11:05:48 +02:00
Nikita Galaiko
644a4ae3f3
chore: refactor hunks_by_filepath function to simplify code and improve readability
2023-09-29 11:02:34 +02:00
Nikita Galaiko
c7c16f153d
Merge pull request #1257 from gitbutlerapp/Fix-symlink-content
...
fix: remove unnecessary steps in creating symlink content
2023-09-29 10:43:22 +02:00
Nikita Galaiko
6019f25191
fix: handle both links in and outside the repo
2023-09-29 10:38:52 +02:00
Nikita Galaiko
d77123b775
fix: remove unnecessary steps in creating symlink content
...
The code previously included unnecessary steps to make the symlink target path relative and convert it to a byte array. These steps have been removed as they are not needed for creating the symlink content.
2023-09-29 09:47:17 +02:00
Nikita Galaiko
1cccaa6d69
Merge pull request #1256 from gitbutlerapp/Update-sentry-dependencies
...
Update sentry dependencies
2023-09-29 09:13:59 +02:00
Nikita Galaiko
f61ed2d14b
chore: remove unused dependency sentry-anyhow
2023-09-29 09:08:27 +02:00
Nikita Galaiko
110db1bf85
chore: update dependencies and remove sentry-anyhow from Cargo.toml
...
The changes in this commit update the dependencies in the Cargo.toml file and remove the sentry-anyhow package. The sentry-anyhow package is no longer needed as it has been replaced by the sentry package. This change simplifies the dependencies and ensures that the project is using the latest versions of the required packages.
2023-09-29 09:08:16 +02:00
Nikita Galaiko
dda9e8d705
Merge pull request #1255 from gitbutlerapp/Update-sentry-dependencies
...
chore: enable debug symbols for sentry
2023-09-29 09:03:05 +02:00
Nikita Galaiko
afa01d6207
chore: enable debug symbols for sentry
2023-09-29 08:56:34 +02:00