Commit Graph

3567 Commits

Author SHA1 Message Date
Nikita Iarychenko
f6baa8edd7 OPENIDE #126 Hide option "Log in via Github"
(cherry picked from commit 9e519d146e3b9c5897276f0c51129f087d8350a4)
(cherry picked from commit ee293f0b7e)
2025-07-01 10:54:29 +04:00
Chris Lemaire
b99f825790 [gh/gl] Fix review-in-editor not starting (IJPL-186195, IJPL-187199, IJPL-181783)
#IJPL-187199 Fixed
#IJPL-186195 Fixed

Cause of which is a threading exception on loading `.getContent()`


(cherry picked from commit eec980bbaf107e2caa4f08c5150e74b773e0593b)

IJ-CR-163488

GitOrigin-RevId: 263439b1b91f620222c5d27739485231164173fd
2025-05-22 19:52:07 +00:00
Chris Lemaire
f8c05f9fc1 [gh/tasks] Fix regression after fix in search query (IJPL-184393)
#IJPL-184393 Fixed

Follow-up: 3cee15779eacc58233a3b40b15aa61ff054a3891


(cherry picked from commit 571901f97693340a5e7334813f65ea946e1648d0)

IJ-CR-163752

GitOrigin-RevId: 52dd26ff3b8dd22604f459a6f7e271976a7e24c0
2025-05-22 14:12:56 +00:00
Chris Lemaire
5d4d9232f1 [github] Use RoundedInt for power-of-2 rounding
(cherry picked from commit 797380730f2d29967f6905344c3a837d947a8d7c)

IJ-CR-163611

GitOrigin-RevId: dff10cdb909a92f40b673843aa64996d5d64083b
2025-05-21 15:09:57 +00:00
Chris Lemaire
2c95e9d462 [github] Add a project statistics collector for #PRs (IJPL-185347)
#IJPL-185347 Fixed


(cherry picked from commit abaf58df445c8b1f3877168d1cbb5cd303d01ee0)

IJ-CR-163058

GitOrigin-RevId: f9b5b58ec6c46937441ee34dfc42d027bcc0124f
2025-05-15 12:16:05 +00:00
Chris Lemaire
861c083808 [github] Add a fake ghost user for GHE servers (IJPL-174769)
Didn't check every single usage, but in an ideal world,
this user should never leak into an API request.

Erroneous usages of the FAKE ghost user should be found when reported
and replaced with `null`, because in this case it's apparently
possible not to have a user assigned at all.

To be abundantly clear: this FAKE ghost user replaces github.com/ghost
in case one does not exist on the server.


(cherry picked from commit 6a1f48e6751992463cbe5c43b740ef2ab0f999fa)

IJ-CR-161085

GitOrigin-RevId: 8109653900f7394813aaba8ac2776c86eaeb143a
2025-04-29 15:00:39 +00:00
Chris Lemaire
a731d1acdd [github] GHE.com fixes: also don't try to fetch metadata for DR instances (IJPL-174769)
(cherry picked from commit 6192df661aeebc78471e4693356e9a0a55330cee)

IJ-CR-161085

GitOrigin-RevId: 963c1aa2d3e08a2fb66268a988aeb3d78ab99d12
2025-04-29 15:00:39 +00:00
Chris Lemaire
cceec27333 [tasks/github] Add the advanced_search param (IJPL-180348)
GH decided to break links by having them repurposed as a deprecation warning.
Explicitly marking our query as 'advanced' is enough to ignore this.

#IJPL-180348 Fixed


(cherry picked from commit 3cee15779eacc58233a3b40b15aa61ff054a3891)

IJ-CR-160675

GitOrigin-RevId: 2c582985f3da00c813c78e23c3e724917e2c1191
2025-04-17 15:47:14 +00:00
Nikita Katkov
4203d85a3a [github & gitlab] IJPL-171311 Bundle ultimate plugin versions into community IDEs built by ourselves
The existing gitlab.community and github.community modules that describe community versions of plugins with less functionality included do still exist intentionally. This is required for external developers to be able to build IDE from community project sources and get both plugins working there out of the box. Thus community plugins are still listed in IdeaCommunityProperties and PyCharmCommunityProperties. This part is only required for third-party folks. As for internal builds, they employ a build context produced by `org.jetbrains.intellij.build.IdeaUltimateBuilderKt.createBuildContextForCommunityProduct` which in turn prefers github.ultimate and gitlab.ultimate plugin distributions over community ones


(cherry picked from commit e8233c7133d63abe3aefa684cc57ed9bad9fee64)

IJ-CR-156816

GitOrigin-RevId: c7058bba3734d4509a66d48b338466f5e0e7b05d
2025-03-11 22:16:21 +00:00
Nikita Katkov
a6bda6aaa7 [github-ultimate & single distributive] IJPL-177933 Remove github.community from ultimate.main module classpath
IJ-CR-156508
to make run configurations that employ flat classloader load ultimate plugin version in ultimate IDE, not the community one

(cherry picked from commit 9b2210eafc67d35af91b22a0e5d9b85a05adc5bd)

GitOrigin-RevId: 55dcbaf8581ad585611b676d5c39d2318cb8a7c9
2025-03-03 22:52:58 +00:00
Nikita Katkov
8949bea465 [github-ultimate & single distributive] IJPL-177933 Use kotlin-stdlib dependency and avoid excessive facets setup
IJ-CR-156508
(cherry picked from commit 53cd1784cdc9d26f67766318b0f98f6384172d1a)

GitOrigin-RevId: b4ecb9f30174ec4f704d6493dc9249c9aa50dcad
2025-03-03 22:52:58 +00:00
Nikita Katkov
daa90c4151 [github-ultimate & single distributive] IJPL-177933 Extract packages with extra optional dependencies to dedicated content modules to flatten the plugin structure and avoid nested content modules (which are likely not even supported)
IJ-CR-156508
(cherry picked from commit e22136ee7ef26ef3f725e522ce653edb2bed5ae5)

GitOrigin-RevId: 473551bc66a33b137ad1c80f413c22c6c9a0c1b4
2025-03-03 22:52:58 +00:00
Konstantin Nisht
cd0ef57c1e [threading] IJPL-178581: Use Dispatchers.EDT instead of Dispatchers.Main
GitOrigin-RevId: a229eaa651f8480825ac1fe69ea47cdd9e88c96b
2025-02-19 21:18:23 +00:00
Chris Lemaire
266f35f168 [github] Fix ghe.com server authentication pt3 (IJPL-174769)
#IJPL-174769 Fixed

GitOrigin-RevId: a3f90bcebbb26eab9967dcbc98f020e3970b1754
2025-02-19 15:44:54 +00:00
Konstantin Nisht
c3502a782e [threading] IJPL-149765: Rename writeAction to edtWriteAction #1
GitOrigin-RevId: 26f827981587deb51f43b397615f6c598e510771
2025-02-19 11:28:22 +00:00
Vladimir Krivosheev
39912dfa6b update bazel files
GitOrigin-RevId: f8f235d7d279c37703a45639a6c59b3dca9c7ea8
2025-02-18 10:43:18 +00:00
Chris Lemaire
8c27a46fd9 [github] Fix issues found by DTO and fragment tests
GitOrigin-RevId: 817cc23d9acf64a8933e9a93908439967c32709a
2025-02-17 18:52:22 +00:00
Chris Lemaire
6e05a47b0b [github] Add a test that checks that a fragment can be loaded for every DTO
GitOrigin-RevId: 023cbfd40402183769eca472b7673bb5ffddd20b
2025-02-17 18:52:22 +00:00
Chris Lemaire
6bfc09b45f [github] Ignore failing tests
Most of these fail because they're missing the test environment
Only those in GHPRTimelineMergingModelTest need proper fixing still

GitOrigin-RevId: 3fec5b7d0b3f710743f18e173065f34f1f2d9759
2025-02-17 18:52:22 +00:00
Nikolay Chashnikov
0aecd5b3ce [github] API cleanup: mark deprecated unused API for removal (IJPL-163936)
GitOrigin-RevId: e06a60393fc31cd39cc00217be7792c579959096
2025-02-14 14:23:04 +00:00
Vera Petrenkova
5b11f84342 IJPL-172387 [FUS] provide additional attribute in statistics to define the action type for simple dialogs
Implemented for dialogs with yes/no/cancel, yes/no, ok/cancel actions. Any other dialogs with custom actions will return undefined exitActionType


Merge-request: IJ-MR-154390
Merged-by: Vera Petrenkova <Vera.Petrenkova@jetbrains.com>

GitOrigin-RevId: dd030c0a4a98c385d30c3710b3a063f500bb400e
2025-02-13 13:10:04 +00:00
Dmitry Avdeev
3d50dba1cb [github] add changed files from published repo only
GitOrigin-RevId: 6019f53cec38eea64649d3a3f576fd73c97fc486
2025-02-11 16:22:37 +00:00
Chris Lemaire
a1efee5885 [github] Att. 2 of fixing ghe.com domain issues (IJPL-174769)
- Fix missing host check for getting the API URL.
- Add missing tests for API URL expectations.

GitOrigin-RevId: a34e93794e02a7d2e87af87f95fbb2c2346967dc
2025-02-11 13:50:12 +00:00
Chris Lemaire
a0e222ff42 [github] Fix 'fragment on Bot can't be spread' exceptions (IJPL-175710)
#IJPL-175710 Fixed

This is caused by `... on Bot` not being allowed for `PullRequestReviewers` before GitHub 3.11.

The newly added tests can confirm this mistake.

GitOrigin-RevId: 87015863c0c8c0cd581f98eeefa5ae45adad34e8
2025-02-05 17:48:59 +00:00
Chris Lemaire
b15c96601b [github] Fix changes not loading (IJPL-176927)
#IJPL-176927 Fixed

Turns out: we all make boolean logic errors every once in a while, no exceptions.

follow-up: f449ea4351689c3dac3b0ea23327addc30e25c1e

GitOrigin-RevId: 9ab72e969a704fa346e76c69d14cfba068bde0ee
2025-02-05 16:07:29 +00:00
Leonid Shalupov
2f2ab1fe14 IJI-2422: community/plugins: move resources under resources root
GitOrigin-RevId: 8eb1f83f015e7e1a7626f69f9e64d7c328ba7765
2025-02-05 04:43:28 +00:00
Leonid Shalupov
e4e5753846 housekeeping: remove unused imports
GitOrigin-RevId: ccba6d05260f5eb551ffa87e0d8a38dc93148a3a
2025-02-04 11:00:15 +00:00
Ivan Semenov
376df10880 [github] avoid processing the same subgraph multiple times
#IJPL-160204 Fixed

GitOrigin-RevId: f449ea4351689c3dac3b0ea23327addc30e25c1e
2025-02-03 12:22:29 +00:00
Ivan Semenov
81d18d9dd0 [github] drop unused method
GitOrigin-RevId: eb5e40e1298c991b132f81e2a2bb37cf7b001d59
2025-02-03 12:22:29 +00:00
Ivan Semenov
46e38133f9 [github] drop unused variable
GitOrigin-RevId: 99e1fd5c51db97f6861422680a3360282805c3f5
2025-02-03 12:22:28 +00:00
Vladimir Krivosheev
c3c21baac5 update bazel files
GitOrigin-RevId: 1a10e8174a47f688a95a93af0540f722462acd97
2025-02-03 11:42:18 +00:00
Daniil Ovchinnikov
dea8eddb0c rename intellij.platform.editor -> intellij.platform.editor.ui
GitOrigin-RevId: f4aa008b77368945ce9651fdc47f9463e3445347
2025-02-02 16:22:43 +00:00
Dmitry Avdeev
cf83c96ca2 IDEA-365609 "Share on GitHub" doesn't commit files properly
save settings after git repo initialization to ensure vcs.xml is updated

GitOrigin-RevId: 8429b81dc864ae2661569617a227f8973abb21dc
2025-01-31 18:18:51 +00:00
Dmitry Avdeev
145512288c IDEA-364682 Review GitHub repository init flow in workspace project
do not suggest any internal (not entire project) repos for sharing

GitOrigin-RevId: eef6952e48a351858f583d0cf7d0fbf27bb219c2
2025-01-31 18:18:51 +00:00
Pavel Gromov
d5a9bc4b19 [github] Fix DTO nullability
GitOrigin-RevId: 35997cd4baf118d020269d10b351897b39901031
2025-01-22 18:59:29 +00:00
Dmitry Avdeev
cd942e993f IDEA-364682 Review GitHub repository init flow in workspace project
proper project name to share

GitOrigin-RevId: b6d35c47e869312ab05de56e84991c4250b3818d
2025-01-14 20:47:14 +00:00
Dmitry Avdeev
09ec38dfe9 IDEA-364682 Review GitHub repository init flow in workspace project
allow subprojects to be shared on git separately

GitOrigin-RevId: 27c26553d1f779466c22b1c0d36849cd84d75aff
2025-01-14 20:47:13 +00:00
Chris Lemaire
47d307d4f8 [github] Add a check for handling data-residency hosts properly (IJPL-174769)
#IJPL-174769 Fixed

Data-residency instances act like GH Enterprise servers, except that API
URL is not under the regular https://{host}/api/foo
Instead, it's under https://api.{host}/foo.

GitOrigin-RevId: f363eb431ca4d0246118e8e5af6b1cef9c61ba05
2025-01-14 17:08:13 +00:00
Dmitry Avdeev
3eb337a07f IDEA-364682 Review git repository init flow in workspace project
fixed "Unmodifiable list" problem

GitOrigin-RevId: 01abcdc57c022643947bf63bfe0dc1ea97db61d8
2025-01-14 15:42:39 +00:00
Dmitry Avdeev
dde0e29463 IDEA-365609 "Share on GitHub" doesn't commit files properly
saving project configuration as it's done in regular commit
see com.intellij.openapi.vcs.actions.commit.CheckinActionUtil#performCheckInAfterUpdate
performCheckInAfterUpdate can be reused completely, it can be done as a separate task

GitOrigin-RevId: 5885dbb30e6f4008dad211dc15090f67464d1328
2025-01-10 17:50:01 +00:00
Vladimir Krivosheev
51985dbbd7 update bazel files
GitOrigin-RevId: 4259d00cb643511fd5a3a2e6b30d18a8ccc173f6
2025-01-06 00:16:01 +00:00
Vladimir Krivosheev
9fec499a7d don't export intellij.flex.shared
GitOrigin-RevId: 4ab9b4527cedcf53794583681edccda4c47d4668
2025-01-06 00:16:00 +00:00
Vladimir Krivosheev
0bc1cf1557 update bazel files
GitOrigin-RevId: 7320d3eff3aba093692ce66839c720ece6d7c4db
2024-12-30 11:28:24 +00:00
Vladimir Krivosheev
7b9ec58009 do not export intellij.database.connectivity.tests
GitOrigin-RevId: a1ef44dfa34cde110c9e6cad19d11b5e3019ab72
2024-12-28 21:45:55 +00:00
Vladimir Krivosheev
25233df1b1 cleanup - isEmpty
GitOrigin-RevId: 100d69abb6a423556574a72e82508fdb8f5d7fa3
2024-12-27 14:41:14 +00:00
Vladimir Krivosheev
c3d02ef03e cleanup
GitOrigin-RevId: 1a171a3b2ca8473f0cf2d89520f492f0e9233a52
2024-12-26 20:22:40 +00:00
Andrey Belyaev
30686bbe79 [github] IJPL-171781 - added tests to verify if detection works correctly
GitOrigin-RevId: 535705a2b1db3e552363a0e8ae59eee859ed3d5a
2024-12-25 19:56:52 +00:00
Vladimir Krivosheev
7b4c77396e do not export deps blindly (part 5)
GitOrigin-RevId: 48daba2ea218703ecd0f60b5b12cc813c8802338
2024-12-23 20:43:00 +00:00
Dmitry Avdeev
298caad8f0 IDEA-364682 Review git repository init flow in workspace project
adding ShareProjectOnGithubAction

GitOrigin-RevId: c5fbf840dd7ac575f32b86ae3229b0ad7223fcff
2024-12-21 21:21:04 +00:00
Loay Ghreeb
e039d4e35b Add sorting options to GitHub PR list filters
close #2870

GitOrigin-RevId: 6b53a4f66e86f4480197d1bdd9e5d47b8397df32
2024-12-19 12:35:22 +00:00