Commit graph

2165 commits

Author SHA1 Message Date
Ladislau Szomoru 5ea57c3b48
GitHub - leveral repository rules for branch protection (#180416)
* WIP - switching to use repository ruleset information

* Handle includes

* Refactor to add support for exclusion

* Fix exclude condition

* Fix request string

* Add logging

* Update setting description
2023-04-20 16:43:42 +02:00
Ladislau Szomoru 45a44d1786
Git/GitHub - Branch protection refactoring (#179848)
Branch protection refactoring
2023-04-13 10:14:33 +01:00
Ladislau Szomoru bb7570f4f8
GitHub - branch protection provider (#179789)
* Initial implementation

* Update default setting state
2023-04-12 17:42:51 +02:00
Ladislau Szomoru a1eb9e2b48
Git - implement branch protection provider (#179752)
* Branch protection using settings is working

* Revert extension api changes

* Refactor code
2023-04-12 08:48:29 +01:00
易良 e9baeb3608
fix: typos (#179581) 2023-04-11 09:20:38 -07:00
Ladislau Szomoru 20aee57124
Git - better validation for the branchProtection setting (#179183) 2023-04-04 23:10:17 +02:00
Ladislau Szomoru 9e6a369b13
Action button - disable button during checkout (#178488) 2023-03-28 21:42:18 +02:00
Ladislau Szomoru 4ad068a9c6
Git - fix quick diff edge case when the resource is inside a submodule (#177691) 2023-03-21 16:27:05 +01:00
João Moreno 8635a5effd
avoid using XDG_RUNTIME_DIR on darwin (#175241)
fixes #168321
2023-02-24 17:33:25 +01:00
Alex Ross 6da385b3a3
Multi quick diff polish (#174584)
Part of https://github.com/microsoft/vscode/issues/169012
2023-02-16 16:15:10 +01:00
Logan Ramos 8e6bcc9b9e
Bump module to new package (#173599) 2023-02-06 12:29:36 -08:00
Ladislau Szomoru 01f32e6a44
Git - do not try to resolve workspace folders that do not use the file scheme (#173546) 2023-02-06 03:33:06 -08:00
Ladislau Szomoru 43db9d2d06
Git - add trace message if workspace folder cannot be resolved (#173410) 2023-02-04 10:15:27 +01:00
Ladislau Szomoru 4b2a44d7ec
Git - fix regression caused by workspace folder that cannot be resolved using fs.realpath() (#173372) 2023-02-03 13:25:25 -08:00
Ladislau Szomoru f50790371b
Git - Add file decoration for a deleted file (#173020) 2023-02-01 14:06:31 +01:00
Ladislau Szomoru 629d643eff
Git - remove gitlens-git from timeline provider (#172844) 2023-01-30 12:25:19 -08:00
Ladislau Szomoru b309525a3b
Git - Limit the enablement "* selected ranges" command palette commands (#172843) 2023-01-30 12:15:33 -08:00
Ladislau Szomoru 2d4f8aeb53
Git - more conservative approach to refreshing the timeline (#172765) 2023-01-30 11:33:48 -08:00
Ladislau Szomoru 475c59b638
Git - Deprecate the refs property (#172772) 2023-01-30 11:33:37 -08:00
Ladislau Szomoru 907e888754
Git - remove the commitInProgress context for the commit message commands (#172761) 2023-01-30 14:25:54 +01:00
Ladislau Szomoru 3ec25a9fbb
Git - add separator to the checkout quick pick (#172762) 2023-01-30 01:55:15 -08:00
Ladislau Szomoru 1c2d4e6c6c
Git - mark a failed operation completed as soon as the error dialog is shown (#172509) 2023-01-30 09:57:09 +01:00
Ladislau Szomoru 73072937bc
Git - deduplicate annotated and lightweight tags when showing the quick pick for tags (#172527) 2023-01-26 15:47:38 +01:00
Joyce Er f63bfe3942
Fix auto publish before Continue On (#172324)
* Fix auto publish before Continue On

* Fix provider implementation
2023-01-25 12:12:18 -08:00
Ladislau Szomoru 82ed9fd51c
Git - fix wording for git repositories in parent folders (#172375)
* Git - update wording based on feedback

* Git - update wording based on feedback
2023-01-25 12:59:15 +01:00
Ladislau Szomoru 88df431511
Git - fix status bar icon for a detached commit (#172271) 2023-01-25 10:52:55 +01:00
Ladislau Szomoru c35bf3b340
Git - change parent folder notification severity (#172230) 2023-01-24 19:18:37 +01:00
Ladislau Szomoru 569f3d1104
Git - update model state if a git operation fails (#172122) 2023-01-24 10:55:05 +01:00
Joyce Er 0a6c277e4f
Ensure Continue in Web and Continue in Clone appear in remote indicator on desktop git and remote git windows respectively (#172086) 2023-01-24 02:29:20 +01:00
Logan Ramos 8cea434dec
Remove unused proposals (#172035) 2023-01-23 19:09:07 +01:00
Ladislau Szomoru b87234ddca
Git - disable one more commands while a git operation is running (#171989)
* Git - disable 3 more commands while a git operation is running

* Do not disable the open change and open all changes commands
2023-01-23 17:13:55 +01:00
Ladislau Szomoru 6ee8313061
Git - update command label so that it is consistent with the other commands (#171987)
💄 Git - update command label so that it is consistent with the other commands
2023-01-23 15:24:08 +01:00
Ladislau Szomoru 9b63d86d77
Git - Add back logging message that was removed during refactoring (#171831) 2023-01-20 15:35:55 +01:00
Ladislau Szomoru 9c3e0aedb1
Git - do not show progress for the LogFile operation (#171828) 2023-01-20 15:03:07 +01:00
Ladislau Szomoru 78f9b06101
Git - handling git repositories in parent folders (#171726) 2023-01-20 09:10:53 +01:00
Ladislau Szomoru be84f97b9a
Git - fix edge case when the repository is at the root of a mapped drive (#171749)
* Git - Handle repository at the root of a mapped drive

* Update comment
2023-01-19 20:46:21 +01:00
Joyce Er 00d12fcdb2
Prompt before auto publishing branch (#171748) 2023-01-19 20:34:54 +01:00
Ladislau Szomoru e37cad47f2
Revert "Git - Improvements to opening git repositories in parent folders (#171617)" (#171662)
This reverts commit fe423bbdba.
2023-01-18 20:57:55 +01:00
Ladislau Szomoru fe423bbdba
Git - Improvements to opening git repositories in parent folders (#171617)
* Initial implementation for external repositories

* Added setting

* Add basic welcome views

* Replaced "Always Open" with "Configure"

* Remove code duplication

* Polish based on feedback

* Language consistency

* Update notification severity

* Move away from the "external repository" terminology

* Refactor notification logic

* Saving my changes

* Further improvements

* Refactor parent repository notification

* Update message and fix edge case when setting is set to `never`
2023-01-18 15:27:58 +01:00
Ladislau Szomoru 9a9d7bfdde
Git - Update getRefs pattern when querying for branches and tags (#171605) 2023-01-18 12:41:32 +01:00
Joyce Er e7d34457a5
Auto publish branches before Continue On in git repositories (#171211)
* Support syncing with remote before Continue On

* Auto publish before Continue On in git extension

* Add configuration description
2023-01-18 11:25:47 +00:00
Ladislau Szomoru df6f1b8ac5
Git - only show unsafe repository notification if we cannot use a welcome view. (#171485) 2023-01-17 13:36:41 +01:00
Ladislau Szomoru f50eeb50b5
Git - Migrate post commit command storage (#171416)
* Git - Migrate post commit command storage

* Make it explicit that migration is async
2023-01-16 13:24:17 +00:00
Ladislau Szomoru 99ecdd4122
Git - Another attempt to fix an edge case for adding a safe directory (#171151)
* Git - Another attempt to fix an edge case for adding a safe directory

* Pull request feedback
2023-01-13 20:10:48 +01:00
SteVen Batten 9194231bb6
support workspace trust keyboard shortcut (#171131)
* support workspace trust keyboard shortcut

* macos test/fix

* Add support for short labels to the Button

* Remove code that is not needed

Co-authored-by: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com>
2023-01-13 09:42:14 -08:00
Joyce Er d61f46dcf7
Support continue in local clone from remote window (#171134) 2023-01-12 08:03:15 -08:00
Ladislau Szomoru 05baad392b
💄 Git - use double quotation mark in the action button tooltip (#171161) 2023-01-12 14:10:49 +01:00
Babak K. Shandiz ea85d0ce72
🖊 Include branch name in commit button popup (#167827)
* 🖊 Include branch name in commit button popup

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>

* 🖊 Include branch name in "Publish" button popup

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>
2023-01-12 13:52:34 +01:00
Ladislau Szomoru b2b0642c45
Git - Fix bug related to Stash & Checkout (#171099) 2023-01-11 12:07:17 -08:00
RezCoder 85e992bffa
issue 163803/ first pick a ref then pick a name in create-branch-from... (#170908)
* pick a ref then a name in create-branch-from...
2023-01-11 15:13:05 +01:00