Commit Graph

17 Commits

Author SHA1 Message Date
Mat
691686cbd6 feature: unlock all locks (Git LFS) (#1890)
* Add "Unlock all my locks" functionality to LFS Locks

* Add confirmation dialog for "Unlock all my locks" in LFS Locks

* Remove trailing whitespaces across LFS-related files
2025-11-03 10:28:38 +08:00
leo
e51824b387 refactor: use --json while querying LFS locks instead of parse line-by-line with regex (#1858)
Signed-off-by: leo <longshuang@msn.cn>
2025-10-17 11:55:14 +08:00
Mat
b38212a7d4 fix: Show only my locks checkbox did not work anymore in the LFS Locks window (#1845) 2025-10-10 10:25:20 +08:00
leo
6ae8c7c759 code_style: move class extensions to App.Extensions.cs to use these extensions anywhere
Signed-off-by: leo <longshuang@msn.cn>
2025-07-11 18:00:21 +08:00
leo
18b9d982ce refactor: remove ConfigureAwait when we need to go back to UIThread after it
Signed-off-by: leo <longshuang@msn.cn>
2025-07-03 18:42:56 +08:00
leo
40765826ce code_review: PR #1492
- Remove all synchronous method in commands
- `Command.ReadToEndAsync` now is protected method
- Rename `ResultAsync` to `GetResultAsync`
- Call `ConfigureAwait(false)` when there's no context

Signed-off-by: leo <longshuang@msn.cn>
2025-07-03 17:30:06 +08:00
Nathan Baulch
463e304491 feature: async (#1492)
* Async command methods
* Async `Task.Run` where possible
* Remove redundant `Task.Run` in `Sure` methods
* Remove leftover braces and reformat
* Async event handlers as needed
2025-07-03 15:38:39 +08:00
leo
3fe72e919c code_review: PR #1497
Signed-off-by: leo <longshuang@msn.cn>
2025-07-03 11:15:14 +08:00
Nathan Baulch
ec17ea9901 code_style: general cleanup (#1497) 2025-07-03 10:32:03 +08:00
leo
75b4a4b294 enhance: record more git command logs
Signed-off-by: leo <longshuang@msn.cn>
2025-04-18 11:29:59 +08:00
leo
547c28adb8 fix: locks list does not update after unlock
Signed-off-by: leo <longshuang@msn.cn>
2024-10-23 16:55:22 +08:00
leo
130c98ad40 feature: supports search commit only in current branch 2024-09-27 11:17:02 +08:00
leo
5d2a442144 code_review: PR #515
* remove Linq expressions due to AOT limitations. See https://learn.microsoft.com/zh-cn/dotnet/core/deploying/native-aot/?tabs=windows%2Cnet8#limitations-of-native-aot-deployment
* rename `FilteredLocks` to `VisibleLocks`
* use `Commands.Config.Get` instead of `Commands.Config.ListAll`
* disable checkbox if user name is not valid
2024-09-26 15:36:20 +08:00
Mat
21498f7009 Show only my locks (#515)
* Added a checkbox in the LFSLocks window to only show the ones locked by "Mat"
* Waits for the locks list to finish loading before making the checkbox clickable
* Now uses correct username for lock filtering.
   WIP: needs an error popup if user is misconfigured
* Added an error popup if username is empty on lfs locks
* Replaced an IEnumerable with a AvaloniaList for consistency
2024-09-26 15:00:31 +08:00
leo
f4eca45754 code_style: remove all IDE warnings 2024-07-15 00:30:31 +08:00
leo
0c21bcd06a enhance: Git LFS supports (#209)
* add a new context menu to push local LFS object to selected remote
* supports to choose remote for fetch/pull/push/lock/unlock actions
* auto select remote if there's only one remote
2024-06-26 11:50:22 +08:00
leo
9a0b10bd9c enhance: Git LFS support 2024-06-17 18:25:57 +08:00