Commit Graph

3412 Commits

Author SHA1 Message Date
Ivan Semenov
6cae2a258b [github] match account with git url by host in interactive auth data provider
GitOrigin-RevId: 6e2a203aa790d205e700bcfa3a905af35999e757
2024-06-27 11:45:52 +00:00
Ivan Semenov
bc8249fc7e [github] fix the order of git auth providers
GitOrigin-RevId: 28271671d06697bbb4b8614d2c2489df1607649c
2024-06-27 11:45:52 +00:00
Alexander Lobas
db4181013a IJPL-150231 Move icon mappings from json to icon generator (remove ExpUiIcons)
GitOrigin-RevId: ec563768e3a10df6a758997d6be43bb707a70fe8
2024-06-27 10:30:26 +00:00
Ivan Semenov
18caa2f9fd [github] fix PR creation metadata items list
GitOrigin-RevId: 4e24ce25aa6a5ac6222e02ea4e6623a809ae3338
2024-06-26 19:43:35 +00:00
Ivan Semenov
5f6f276e8c [github] implement a more modern changes browser for PR creation view
GitOrigin-RevId: 99cb0f37597ff158a0d3b4579a1fbd90fcbd6db4
2024-06-26 19:43:35 +00:00
Ivan Semenov
93383fd142 [github] update GQL schema to actual version
GitOrigin-RevId: 7e0ed5de725103ccbc1291632366428ef25b77a2
2024-06-25 11:04:37 +00:00
Chris Lemaire
a81be3e624 [github] Add an action to resolve conflicts in PRs
GitOrigin-RevId: d44d7567d0c2616205e24144a81debf4cedaed92
2024-06-25 10:57:15 +00:00
Ivan Semenov
39ae96520d [github] allow patch updates to the bundled github plugin
GitOrigin-RevId: a3c12e6392317fc99e14980f7f977f7cae44ee95
2024-06-24 17:40:51 +00:00
Ivan Semenov
9afeeca76a [collab/github/gitlab] simplify and publish a delegate for code review changes viewmodel
GitOrigin-RevId: fb420e20d7919b9ec56175b4ac2ecfacd816dcd4
2024-06-24 16:14:52 +00:00
Ivan Semenov
cb480552af [collab/git] make an API for current git branch status presenter
GitOrigin-RevId: c494d5daac991cb4fc8486c5662a98edad81eb90
2024-06-24 16:14:52 +00:00
Ivan Semenov
1e89d12557 [collab] make an API for review in editor implementation
GitOrigin-RevId: f6733adf02d1717f96b16ff72b5b739d4416eadd
2024-06-24 16:14:52 +00:00
Ivan Semenov
308516e9ea [collab] make an API for showing review in editor toolbar
GitOrigin-RevId: a56a101bfaf4aaa8bf93daee1b6e81355faff41d
2024-06-24 16:14:52 +00:00
Ivan Semenov
f6b8f2709b [collab] make an API for closing code review files safely
GitOrigin-RevId: 34bbf1743122478e7a616c54373ab36f99ee5686
2024-06-24 16:14:52 +00:00
Ivan Semenov
463b097258 [github] avoid re-fetching PR revisions when already fetched
GitOrigin-RevId: 3951cafbb2d505854b4eee035f4154b4320e0344
2024-06-20 18:20:56 +00:00
Ivan Semenov
ec8d5fcae8 [git/github/gitlab] extract some git calls to a common place
GitOrigin-RevId: 1c217cc3b5e3b99740b186561c58891a9b2fa972
2024-06-20 18:20:56 +00:00
Ivan Semenov
5ce86532d3 [collab/gitlab/github] prefer plugin project scope over orphan scope
GitOrigin-RevId: cfb4559bd6b8f27a872a65a4fc33ebedcc143eaa
2024-06-19 16:21:22 +00:00
Ivan Semenov
42ef9f3464 [github] mark internal and final
GitOrigin-RevId: 5f308676e1a320cedb8e86313951846ce12e4f34
2024-06-19 16:21:22 +00:00
Ivan Semenov
17d3aa6eb7 [github] remove unused class
GitOrigin-RevId: 80627d7d2afa6604de2d5dd9434fbb99431846fe
2024-06-19 16:21:22 +00:00
Ivan Semenov
55f60135af [github] convert clone dialog to coroutines
#IJPL-156147 Fixed

GitOrigin-RevId: a782da29ea0d5507fed7c4bf9125a1f8e2f503d0
2024-06-19 16:21:22 +00:00
Ivan Semenov
b63364276e [github] simplify paginated list loading API
GitOrigin-RevId: 18708c89865f9e289399057d1b482f63e7650343
2024-06-19 16:21:22 +00:00
Ivan Semenov
eee87879b2 [github] use proper coroutine scope for clone dialog
GitOrigin-RevId: f809e4e6cf196830a9b05ffa6891e75f06054642
2024-06-19 16:21:22 +00:00
Tagir Valeev
fac9d78b59 'Mismatched collection query/update' warnings fixed or suppressed; redundant code removed
GitOrigin-RevId: 5452da8520e2856faf0be47da4cb541b19105d8d
2024-06-18 20:08:54 +00:00
Chris Lemaire
8987b51825 [github] Process commit message bodies ourselves
Has as a likely side-effect that we'd need to reimplement
linking of commit references...

GitOrigin-RevId: 7d4f9a83f9097a8fc0c35785da81aafdb931acbe
2024-06-17 11:23:20 +00:00
Chris Lemaire
94a9bf70e0 [github] Wire in the action listener for handling PR links
...into all the obvious/easy spots it could (almost) readily be wired into.

GitOrigin-RevId: f2e049874020c2eda0667d0f9d623b4ec7828063
2024-06-17 11:23:20 +00:00
Chris Lemaire
764b0085a3 [github] Add parsing and interpreting of PR/issue IDs (IJPL-149900)
#IJPL-149900 Fixed

Similar to the ones added for GitLab, this adds functionality
to parse pull request links and mark them.

Sadly issues and pull requests share the same ID indicator
for Github, so we can't be fully sure from the ID only whether
we're dealing with a reference to one or the other.

Likely issue: if an issue ID parser is configured, it will likely take precedence
over the pull request ID parser, so it will just try
to open some issue in web, probably.

GitOrigin-RevId: b0193d4c36f08b2c6c1e0096829b843fd0a02b58
2024-06-17 11:23:20 +00:00
Alexander Lobas
89d58ee436 IJPL-150231 Move icon mappings from json to icon generator
GitOrigin-RevId: 4d4576fc7eeb92ec43c36abec2d62d271b45d9a4
2024-06-15 23:19:46 +00:00
Yuriy Artamonov
b61c9ea427 [github] IJPL-34876 Declare icons and texts for GithubCreateGistAction declaratively
GitOrigin-RevId: 36a0490c0b97086b7d9c034379837b7cc8a1515a
2024-06-15 21:01:31 +00:00
Yuriy Artamonov
fa0bf8c8c2 [fus] IJPL-156483 GitHub and GitLab CI editing statistics
GitOrigin-RevId: 78f9d637220e6d6da86d91203dbe7946137eba0d
2024-06-15 13:41:41 +00:00
Andrey Belyaev
94a882244d [github] IJPL-72807 Fixed typo
GitOrigin-RevId: ebbc5831dc39b891780887446395f80a8a38ae6a
2024-06-14 22:28:20 +00:00
Andrey Belyaev
8d5bb5e676 [github] IJPL-72807 Enabled GitHub action promotion
GitOrigin-RevId: 694c6a6c943207aba18228e1e6a944f1f1d0574d
2024-06-14 22:28:10 +00:00
Andrey Belyaev
00e8d98c2e [github] IJPL-72807 Temporary disabling GitHub action promotion due to tests failures
GitOrigin-RevId: bc16ca948efb6b3d7cadcd5c5c49f96bb094e9a6
2024-06-13 12:04:42 +00:00
Andrey Belyaev
9a34351068 [github] IJPL-72807 Promote Ultimate in GitHub action files
GitOrigin-RevId: 60f5739a93d4070bb1af87261d4508840c5750a5
2024-06-13 12:04:42 +00:00
Ivan Semenov
52ed3cf6fc [github] load PR templates via API
Minimal required version raised to 3.2 to access the necessary API

#IJPL-76555 Fixed

GitOrigin-RevId: a9ad6f0b11cd5144a3835ebb4c089fed76936f4f
2024-06-10 12:39:38 +00:00
Ivan Semenov
d1741f945a [github] more modern PR creation UI
#IJPL-148684 Fixed

GitOrigin-RevId: ad2388912baed3a222e07ee584031cee70780478
2024-06-10 12:39:38 +00:00
Ivan Semenov
04cd326661 [github] use suspending function instead of a Deferred
GitOrigin-RevId: 1e1d2de790db9c8dbf78d428b6f5227ba0324e4f
2024-06-10 12:39:38 +00:00
Chris Lemaire
21bc524838 [github] Add some interpretation for unknown host exception
Should probably do the same for GitLab, but consider this a quick
fix as I'm doing other things.
A more proper/unified approach to interpreting and displaying the right
text for an error message is still work for the future I suppose.

GitOrigin-RevId: 72a7313f33b986220dd32e074e0c749195919657
2024-06-03 16:54:44 +00:00
Chris Lemaire
901e51c98a [collab/gitlab/github] Stop using flow-based updating if only one static error needs to be shown
GitOrigin-RevId: 9bdd077563836dc8887d2904e7889e2fc9820b49
2024-06-03 16:54:44 +00:00
Chris Lemaire
fdb8504930 [collab/github] Replace GHHtmlErrorPanel.create with ErrorStatusPanelFactory.create
Also create an appropriate create function to avoid passing around
coroutine scopes. This is necessary for compatibility...

GitOrigin-RevId: a621abd89675873c7dcd68ed0238466bcd46d120
2024-06-03 16:54:44 +00:00
Chris Lemaire
d0451fbe41 [github] Move GHPR error status presenter creation into only place of use
GitOrigin-RevId: 53cce27ac6e7950de270a72aaad3752878b9478b
2024-06-03 16:54:44 +00:00
Chris Lemaire
5c446b566b [collab] Inline error status panel creation functions where possible
This gets rid of unnecessary class declarations in favour of a functional approach.

GitOrigin-RevId: e6f5997a2be8b61ad062ed82e52b89db199d8259
2024-06-03 16:54:44 +00:00
Chris Lemaire
ddb00de092 [collab] Add a simple generic instantiation for ErrorStatusPresenter
Use this function in places where a subclass was made before.

GitOrigin-RevId: 220c3f2e7778d704d5a09e6a7707480c985f85cf
2024-06-03 16:54:44 +00:00
Chris Lemaire
818ca67d2c [github] Remove completely unused error panel models
GitOrigin-RevId: f0a4a7cb3d2e27facbcd420dc918d980f4f5d2fc
2024-06-03 16:54:44 +00:00
Ivan Semenov
c8e77de5bd [collab/github] update github api client user agent
GitOrigin-RevId: a476396abd630e9f00e1a9b1248de7a28954d4b9
2024-06-01 12:23:17 +00:00
Ivan Semenov
63f468795f [github] do not perform authorized requests to unknown servers
IJPL-155883
CVE-2024-37051

GitOrigin-RevId: 143dc4a103fff32ba8a6d6cded7418858c1a06ef
2024-06-01 12:23:17 +00:00
Ivan Semenov
107ccf7a7d [github/gitlab] replace exception with logging
#IJPL-155831 Fixed

GitOrigin-RevId: dc8a16d099d5313aeebf1f7cf5b4201e5d171c49
2024-05-29 17:26:17 +00:00
Ivan Semenov
23f724a13b [github/gitlab] add logging for review in editor controllers
GitOrigin-RevId: d7125d3ef34960095970c8297844ae8ba5a7bb46
2024-05-29 17:26:13 +00:00
Nikolay Chashnikov
b56617086f [git] API cleanup: remove unused deprecated API (IJPL-503)
GitOrigin-RevId: e00ff04e6f6a744426b3389dc14f771981a689d6
2024-05-16 18:00:55 +00:00
Daniil Ovchinnikov
d714d37508 IJPL-149498 deprecate unnamed childScope
GitOrigin-RevId: 99d7259f91990787b6991209208ee5ded9f49b7a
2024-05-08 19:45:10 +00:00
Ivan Semenov
3dfaf11b24 [github] drop unnecessary childScope
GitOrigin-RevId: 25f4486b9e98d6fa01dcaee89150108038abba32
2024-05-08 19:15:15 +00:00
Aleksandr Krasilnikov
a76132062a [github] Use the current branch name instead of "Pushing to GitHub master"
GitOrigin-RevId: ddead5934eef81b76dfd4d14771a6f10e5bf4920
2024-05-07 17:00:56 +00:00