Commit Graph

7185 Commits

Author SHA1 Message Date
Andrey Goncharov
692b861ee4 Increase verbosity of flipper server companion logging
Summary: Log Flipper server companion requests and replies

Reviewed By: passy

Differential Revision: D37456027

fbshipit-source-id: 59ce3219b1f278237f1285e032272facdcf930e8
2022-06-27 08:13:01 -07:00
Andrey Goncharov
572678c4aa Fix loading plugins from disk/marketplace
Summary: Good ol' dynamic this

Reviewed By: nikoant

Differential Revision: D37456434

fbshipit-source-id: 7a90f1b8e6492f41eb4096f7c976e17f6a98810e
2022-06-27 08:05:31 -07:00
Andrey Goncharov
e4d33483d0 Fix starting Flipper electron in dev mode without default plugins
Summary: yarn start --no-default-plugins currently fails

Reviewed By: nikoant

Differential Revision: D37456367

fbshipit-source-id: 3700055b3b780af4575dd67d50532050d12119df
2022-06-27 08:05:31 -07:00
Andrey Goncharov
c88e8e07d0 Support externally started IDB companion
Reviewed By: lblasa

Differential Revision: D37453361

fbshipit-source-id: 2acd53ae40c8a3f8971ee47cb5161c371be6d3a9
2022-06-27 05:03:09 -07:00
Pascal Hartig
9a72169819 Expose is-logged-in endpoint
Summary: Make it possible to ask whether a user is logged in. This won't tackle token expiration but it's consistent with the internal API we have through the `isLoggedIn` atom.

Reviewed By: lblasa

Differential Revision: D37422274

fbshipit-source-id: 2d3a5e27f5dbbe866d5392403e690faf2f1156b2
2022-06-27 04:42:11 -07:00
Pascal Hartig
afc51c00a9 Mark server app bundles as background apps
Summary:
This avoids from having a constantly bouncing icon in a dock
and will just move it to the background.

Changelog: Flipper Server Mac App no longer bounces in Dock

Reviewed By: lblasa

Differential Revision: D37417459

fbshipit-source-id: e87b0b7191fe7e93a9b1a27bdc82a84e92248dc7
2022-06-27 04:42:11 -07:00
Andrey Goncharov
b13bd2c092 Log supported plugins
Summary: We frequently get support requests asking why a certain plugin is not enabled for an app. This diff makes it easy to reason which plugins are enabled on the device

Differential Revision: D37381316

fbshipit-source-id: 148d6d8b6f51cb161eb625cabe0fa629b8a00cf5
2022-06-27 03:49:04 -07:00
Lorenzo Blasa
ce9feae44f Attach handlers for process errors
Summary:
^
This is an effort to capture and log these errors as to gain visibility when failures occur.

Reviewed By: passy

Differential Revision: D37412861

fbshipit-source-id: 09687a31797aac4c377aa98944ab0701bdf45466
2022-06-24 07:56:42 -07:00
James Wysynski
3a8226b890 Support tabKey and key for tab keys
Summary:
Support tabKey and key properties for tab keys in Tabs/Tab.

tabKey > tab > key > tab_{idx}

Reviewed By: aigoncharov

Differential Revision: D37412130

fbshipit-source-id: 56ade27a02a7ba2926534a81d92dd1e9229576f4
2022-06-24 07:02:50 -07:00
Lorenzo Blasa
d1561075bb Shutdown flipper-server, if necessary
Summary:
There are some cases in which we may want to shutdown flipper-server:

- If launching Flipper Desktop and not in GK
- If launching Flipper Desktop and flipper-server usage is disabled via settings

Reviewed By: passy

Differential Revision: D37377059

fbshipit-source-id: 86c11f2726abe47df4aeaca2fd2a9285b112a565
2022-06-24 05:41:46 -07:00
Anton Kastritskiy
2d4ae3961a update docusaurus to v2.0.0-beta.21
Reviewed By: passy

Differential Revision: D37377632

fbshipit-source-id: 3cb3f9801db393dfb4b6fef6c92f758a8be55e84
2022-06-23 08:41:12 -07:00
Flipper Bot
912c24e039 Flipper Snapshot Bump: v0.151.1-SNAPSHOT
Summary: Releasing snapshot version 0.151.1-SNAPSHOT

Reviewed By: nikoant

Differential Revision: D37340691

fbshipit-source-id: 372f7278cffb5dfc8f61bdec6dae1e4718fc7b53
2022-06-23 08:18:15 -07:00
Flipper Bot
25cfd062bf Flipper Release: v0.151.0
Summary: Releasing version 0.151.0

Reviewed By: nikoant

Differential Revision: D37340692

fbshipit-source-id: 0b058ffbf3de3ec17232953d94bfd5eba92348c0
2022-06-23 08:18:15 -07:00
Aaron Coplan
e45573f9ac Add isLoggedIn check
Summary:
This diff adds a check to ensure the user is logged in.

If they are not, we show an error message until the user logs in.

This will resolve the many posts we get about this such as https://fb.workplace.com/groups/208584557077075/posts/724180735517452/

Reviewed By: nscoding

Differential Revision: D37329064

fbshipit-source-id: efd416f07a0aae73c5e6c47f231419637b3df323
2022-06-22 13:03:15 -07:00
Dawid Cieslak
8e784f2579 convert plugin 'sandbox's UI to use ant.design
Summary:
Bootcamp task:
I’m removing the remaining UI components imported from ‘flipper’ and replacing with new ones from ‘antd’.
I’m also attempting to polish 🇵🇱 the UI and UX of the plugin:

UI:
- Selecting one of the listed sandboxes and custom URL lead to the same action -> align all components together

UX:
- Sometimes loading sandboxes takes time, and it’s not clear for the user what’s happening -> add a loading indicator
- At first the input field was a bit confusing to me -> add more labels to explain the purpose of visible components
- It’s not always clear what happened after requesting a sandbox change -> the result of all actions is now confirmed with the small 'popup' notification.

I don't have any experience with web frontend, so if something is terribly wrong below - don't be afraid to point it out :)

Before/After:

{F745958473}

Reviewed By: mweststrate

Differential Revision: D37343946

fbshipit-source-id: 3dbdd213ffd5540dc7a418c1590eb956ef4c6715
2022-06-22 11:35:10 -07:00
Lorenzo Blasa
335dec1a08 Adds some settings to check flipper-server state
Summary:
There's one setting: to enable or disable flipper-server.

However, I've added some current running state to it. If there's a better way of doing this, please do let me know.

Reviewed By: aigoncharov

Differential Revision: D37276670

fbshipit-source-id: f6c941cf0cfe55c267b9bcb9f799934fba1e28ef
2022-06-22 05:26:11 -07:00
Lorenzo Blasa
8c67b049ab Attach connection handler earlier
Summary:
This change attaches our event handlers as soon as the ws is created.

As a consequence, we need to wait until the server has created any necessary instances required to process incoming requests.

To achieve this, I created a type called `Lazy`.

This type wraps around a value and a promise to that value. Callers can check if the value is set. If not, callers can wait for it.

Ultimately, the value can be set outside of the promise itself.

Reviewed By: passy

Differential Revision: D37284939

fbshipit-source-id: 17dec548d7155a3d65440c9584cec07cbb826c37
2022-06-21 12:48:43 -07:00
Pascal Hartig
40e65901bd Update README.md (#3843)
Summary:
Old image was 404ing.

Pull Request resolved: https://github.com/facebook/flipper/pull/3843

Reviewed By: nikoant

Differential Revision: D37311708

Pulled By: passy

fbshipit-source-id: 37dc2a84f1b5471480fbde587bb5b0ed6b21446e
2022-06-21 07:37:21 -07:00
Lorenzo Blasa
2e9ab310bd Shutdown command
Summary:
Introduce a 'shutdown' command which effectively kills the process.

Killing the process, for flipper-server, will close down the server and active ws connections.

Reviewed By: passy

Differential Revision: D37209193

fbshipit-source-id: 83303e8209530a41ba870009603cfb383915b7a6
2022-06-21 04:46:42 -07:00
Andrey Goncharov
3e72831699 Move most of plugin tests to flipper-frontend-core
Summary: See D37139129

Reviewed By: passy

Differential Revision: D37241829

fbshipit-source-id: d6bef24416e2b999d529fb6e275c64384c775c21
2022-06-20 12:18:40 -07:00
Andrey Goncharov
f4fc07ffd2 Move BaseDevice tests from flipper-ui-core to flipper-frontend-core
Summary: See D37139129

Reviewed By: passy

Differential Revision: D37241244

fbshipit-source-id: 3dca03e7a22c218b95702b77bb93efc983528142
2022-06-20 12:18:40 -07:00
Andrey Goncharov
115a4b7997 Use AbstractPluginInitializer from flipper-frontend-core in flipper-ui-core
Summary: See D37139129

Reviewed By: passy

Differential Revision: D37238571

fbshipit-source-id: 39d6bb87d6beacc793ef5acd71097fcc4e82969d
2022-06-20 12:18:40 -07:00
Andrey Goncharov
8768405e80 Use constants from flipper-frontend-core in flipper-ui-core
Summary: See D37139129

Reviewed By: lblasa

Differential Revision: D37238570

fbshipit-source-id: 5dbf6f179fc8957e074bad1e8f74e400644be049
2022-06-20 12:18:40 -07:00
Andrey Goncharov
68e2bc73c9 Use setGlobalObject from flipper-frontned-core in flipper-ui-core
Summary: See D37139129

Reviewed By: lblasa

Differential Revision: D37236905

fbshipit-source-id: aeb4c02cfc0e57d262fa59c045fa542819ee988c
2022-06-20 12:18:40 -07:00
Andrey Goncharov
851270589f Use flipper lib implementation from flipper-frontend-core in flipper-ui-core
Summary: See D37139129

Reviewed By: lblasa

Differential Revision: D37236771

fbshipit-source-id: 7f93140f72e89cb4a7907f07cceec1fed50cb66b
2022-06-20 12:18:40 -07:00
Andrey Goncharov
17ab7a86ef Use getRenderHost from flipper-frontned-core in flipper-ui-core
Summary: See D37139129

Reviewed By: lblasa

Differential Revision: D37236435

fbshipit-source-id: 927e9f741bfedb65165f5d24f0acfb775925cdc7
2022-06-20 12:18:40 -07:00
Andrey Goncharov
fab8849c73 Use TestDevice from flipper-frontend-core in flipper-ui-core
Summary: See D37139129

Reviewed By: lblasa

Differential Revision: D37235567

fbshipit-source-id: a0596ba71fcb8722088e51361774389a7daaebb8
2022-06-20 12:18:40 -07:00
Andrey Goncharov
a648861273 Use ArchivedDevice from flipper-frontend-core in flipper-ui-core
Summary: See D37139129

Reviewed By: lblasa

Differential Revision: D37235514

fbshipit-source-id: 54124f2b9768b068ae667b27171eaa05a693b398
2022-06-20 12:18:40 -07:00
Andrey Goncharov
fd380a4c1e Use BaseDevice from flipper-frontend-core in flipper-ui-core
Summary: Use BasDevice definition from flipper-frontend-core in flipper-ui-core and remove the redundant definition from flipper-ui-core

Reviewed By: lblasa

Differential Revision: D37234785

fbshipit-source-id: 6e768090a197c1d2c49cb1cd573acea12fb65d24
2022-06-20 12:18:40 -07:00
Andrey Goncharov
ef5fa275a3 Use AbstractClient from flipper-frontend-core in fliper-ui-core
Summary: This stack attempts to start using flipper-frontend-core from flipper-ui-core. Currently, flipper-frontend-core contains lots of copy-pasted code from flipper-ui-core.

Reviewed By: lblasa

Differential Revision: D37139198

fbshipit-source-id: 042db7492c550e10ea72c32fd15001c141bf53f9
2022-06-20 12:18:40 -07:00
Andrey Goncharov
c2e3c4eb50 Add TestDeivce to flipper-frontend-core
Summary: This stack attempts to start using flipper-frontend-core from flipper-ui-core. Currently, flipper-frontend-core contains lots of copy-pasted code from flipper-ui-core.

Reviewed By: passy

Differential Revision: D37139129

fbshipit-source-id: 53ba08920735d1b40e1351fddf41a97a6352b2b6
2022-06-20 12:18:40 -07:00
Pascal Hartig
99938e71ce Update vendored crates
Summary: `cargo vendor` to update the offline mirror we have. Will change our UTD setup next to verify it's update and eliminate the need to run with fwdproxy.

Reviewed By: lblasa

Differential Revision: D37247737

fbshipit-source-id: bb1d0f5b60f047694f6e4bb12113e1581016f160
2022-06-20 04:22:25 -07:00
Pascal Hartig
7da46dc2c2 Forward arguments to mac app
Summary: This allows using `--no-open`, etc. in a server context.

Reviewed By: lblasa

Differential Revision: D37246490

fbshipit-source-id: 4af75ed049d5523d83277a670cab2aaa3dfbc8c3
2022-06-20 04:22:25 -07:00
Lorenzo Blasa
b6bf7c6ee7 Close servers on exit
Summary: On exit, close the servers explicitly.

Reviewed By: lawrencelomax

Differential Revision: D37206986

fbshipit-source-id: 7f4313cce1db18e1fb1320993a58c440af2cc7e0
2022-06-20 03:27:19 -07:00
Flipper Bot
87bdff9c9b Flipper Snapshot Bump: v0.150.1-SNAPSHOT
Summary: Releasing snapshot version 0.150.1-SNAPSHOT

Reviewed By: lblasa

Differential Revision: D37236952

fbshipit-source-id: de6ffb58bd29d852ea7a3bcecfc74e6fb235043a
2022-06-17 11:37:49 -07:00
Flipper Bot
06ddb08406 Flipper Release: v0.150.0
Summary: Releasing version 0.150.0

Reviewed By: lblasa

Differential Revision: D37236953

fbshipit-source-id: 36cd4fd8842b898f7cba1f03ab2c72d20e2b42ce
2022-06-17 11:37:49 -07:00
Lorenzo Blasa
747b91da5f Add file:// as possible origin
Summary:
For Flipper Desktop, Electron based, the origin maybe file:// as shown in tests:

```
Refused socket connection from cross domain request, origin: file://, host: localhost:52342.

Expected origins: http://localhost:52342 or http://[::1]:52342 or http://::1:52342 or http://localhost:3000.
Expected hosts: localhost:52342 or [::1]:52342 or ::1:52342 or localhost:3000
```

This change effectively adds `file://` as a valid origin.

Reviewed By: passy

Differential Revision: D37212809

fbshipit-source-id: 311a93bb8872587d15c6be4329238af6b0f6988d
2022-06-16 10:45:08 -07:00
Lorenzo Blasa
8a1e484d0c Handle ws operations in a safe manner
Summary:
After doing some tests, any error thrown during ws events can result in flipper-server shutting down.

To avoid this, effectively, errors throughout should be properly handled.

The problem is that there's no guarantees this is or will be the case.

Instead, wrap the event handlers in a safe function execution wrapper. Any errors will be caught and logged.

Reviewed By: aigoncharov

Differential Revision: D37206923

fbshipit-source-id: 6f7cadc297ac39768030962c6eaadde55048fd21
2022-06-16 10:35:17 -07:00
Lorenzo Blasa
2712ea3481 Add flipper-server-log.out to .gitignore
Summary: Add flipper-server-log.out to .gitignore

Reviewed By: lawrencelomax

Differential Revision: D37206855

fbshipit-source-id: eccbc0ddddbd06c5c8e0f7a47a4340b1e76f46df
2022-06-16 08:22:05 -07:00
Andrey Goncharov
41d7b2a307 Update OSS node version (#3822)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/3822

Update Node version in CI pipeline

Reviewed By: lblasa

Differential Revision: D37207646

fbshipit-source-id: 157d1da9b01ca3ad34047908abc629f84d6736bc
2022-06-16 06:27:01 -07:00
Anton Kastritskiy
f5992d3489 setup engines to stop people from using npm
Summary:
Following the discussion from D37080670 (ea7ff7eb8a)

Unfortunately at some people npm changed the order in which things happen when running `npm install` and now dependency resolution happens before validating engines 🤷‍♂️

But this will work regardless

https://www.internalfb.com/intern/px/p/261cr

Reviewed By: aigoncharov

Differential Revision: D37142960

fbshipit-source-id: 306f1a4e7444dc099c1a11c4c9e22dafceacdbaa
2022-06-15 07:37:54 -07:00
Zeh Fernando
3a60f8c5be Add new icon
Summary: Add new icon for internal plugin

Reviewed By: aigoncharov

Differential Revision: D36641872

fbshipit-source-id: ff45810b9cbaf207dd392f251fcf42a8df5fd509
2022-06-15 06:38:38 -07:00
Ruslan Latypov
e43884cf11 fixing more imports
Summary: Some files relying on -include_pch and therefore they miss Foundation.h and UIKit.h includes. This diff is fixing missing imports

Reviewed By: rmaz

Differential Revision: D37140239

fbshipit-source-id: bc57921e0c8365e0e9a5a571d607ba40ff1b31f3
2022-06-14 13:37:04 -07:00
dependabot[bot]
0dd3ef2a71 Bump mockito-core from 4.5.1 to 4.6.1 (#3793)
Summary:
Bumps [mockito-core](https://github.com/mockito/mockito) from 4.5.1 to 4.6.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/mockito/mockito/releases">mockito-core's releases</a>.</em></p>
<blockquote>
<h2>v4.6.1</h2>
<p><!-- raw HTML omitted --><!-- raw HTML omitted --><em>Changelog generated by <a href="https://github.com/shipkit/shipkit-changelog">Shipkit Changelog Gradle Plugin</a></em><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
<h4>4.6.1</h4>
<ul>
<li>2022-06-02 - <a href="https://github.com/mockito/mockito/compare/v4.6.0...v4.6.1">6 commit(s)</a> by Andy Coates, Chen Ni, dependabot[bot]</li>
<li>Bump material from 1.6.0 to 1.6.1 [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2662">https://github.com/facebook/flipper/issues/2662</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2662">mockito/mockito#2662</a>)</li>
<li>Bump core-ktx from 1.7.0 to 1.8.0 [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2661">https://github.com/facebook/flipper/issues/2661</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2661">mockito/mockito#2661</a>)</li>
<li>Bump groovy from 3.0.10 to 3.0.11 [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2660">https://github.com/facebook/flipper/issues/2660</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2660">mockito/mockito#2660</a>)</li>
<li>Fix for Issue2656 [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2659">https://github.com/facebook/flipper/issues/2659</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2659">mockito/mockito#2659</a>)</li>
<li>Bump assertj-core from 3.22.0 to 3.23.1 [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2658">https://github.com/facebook/flipper/issues/2658</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2658">mockito/mockito#2658</a>)</li>
<li>Regression? Strictness set in <code>MockitoSettings</code> ignored after upgrade from 4.5.1 to 4.6.0 [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2656">https://github.com/facebook/flipper/issues/2656</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2656">mockito/mockito#2656</a>)</li>
<li>Fix typo [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2655">https://github.com/facebook/flipper/issues/2655</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2655">mockito/mockito#2655</a>)</li>
</ul>
<h2>v4.6.0</h2>
<p><!-- raw HTML omitted --><!-- raw HTML omitted --><em>Changelog generated by <a href="https://github.com/shipkit/shipkit-changelog">Shipkit Changelog Gradle Plugin</a></em><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
<h4>4.6.0</h4>
<ul>
<li>2022-05-27 - <a href="https://github.com/mockito/mockito/compare/v4.5.1...v4.6.0">14 commit(s)</a> by Hervé Boutemy, K. Siva Prasad Reddy, Rafael Winterhalter, dependabot[bot]</li>
<li>Bump shipkit-changelog from 1.1.15 to 1.2.0 [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2654">https://github.com/facebook/flipper/issues/2654</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2654">mockito/mockito#2654</a>)</li>
<li>Bump versions.errorprone from 2.13.1 to 2.14.0 [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2653">https://github.com/facebook/flipper/issues/2653</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2653">mockito/mockito#2653</a>)</li>
<li>Bump shipkit-auto-version from 1.1.20 to 1.2.0 [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2651">https://github.com/facebook/flipper/issues/2651</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2651">mockito/mockito#2651</a>)</li>
<li>Fixes <a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2648">https://github.com/facebook/flipper/issues/2648</a> : Add support for customising strictness via <a href="https://github.com/Mock"><code>@​Mock</code></a> annotation and MockSettings [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2650">https://github.com/facebook/flipper/issues/2650</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2650">mockito/mockito#2650</a>)</li>
<li>Any way to enable Strict Stubbing when using Mockito.mock() without using <a href="https://github.com/Mock"><code>@​Mock</code></a>? [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2648">https://github.com/facebook/flipper/issues/2648</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2648">mockito/mockito#2648</a>)</li>
<li>Reintroduce inheriting type annotations from interfaces if only one interface is mocked, including additional interfaces. [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2645">https://github.com/facebook/flipper/issues/2645</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2645">mockito/mockito#2645</a>)</li>
<li>Bump com.diffplug.spotless from 6.6.0 to 6.6.1 [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2643">https://github.com/facebook/flipper/issues/2643</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2643">mockito/mockito#2643</a>)</li>
<li>fix Reproducible Build issue [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2642">https://github.com/facebook/flipper/issues/2642</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2642">mockito/mockito#2642</a>)</li>
<li>Bump com.diffplug.spotless from 6.5.2 to 6.6.0 [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2641">https://github.com/facebook/flipper/issues/2641</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2641">mockito/mockito#2641</a>)</li>
<li>Mockito mock of interfaces lost annotation information [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2640">https://github.com/facebook/flipper/issues/2640</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2640">mockito/mockito#2640</a>)</li>
<li>Bump material from 1.5.0 to 1.6.0 [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2637">https://github.com/facebook/flipper/issues/2637</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2637">mockito/mockito#2637</a>)</li>
<li>Bump com.diffplug.spotless from 6.5.1 to 6.5.2 [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2636">https://github.com/facebook/flipper/issues/2636</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2636">mockito/mockito#2636</a>)</li>
<li>Bump versions.bytebuddy from 1.12.9 to 1.12.10 [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2635">https://github.com/facebook/flipper/issues/2635</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2635">mockito/mockito#2635</a>)</li>
<li>Bump com.diffplug.spotless from 6.5.0 to 6.5.1 [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2632">https://github.com/facebook/flipper/issues/2632</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2632">mockito/mockito#2632</a>)</li>
<li>Bump com.diffplug.spotless from 6.4.2 to 6.5.0 [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2631">https://github.com/facebook/flipper/issues/2631</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2631">mockito/mockito#2631</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="ff98622a8f"><code>ff98622</code></a> Restore behavior for mocks configured without strictness (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2659">https://github.com/facebook/flipper/issues/2659</a>)</li>
<li><a href="1fbef57f8a"><code>1fbef57</code></a> Bump groovy from 3.0.10 to 3.0.11 (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2660">https://github.com/facebook/flipper/issues/2660</a>)</li>
<li><a href="c47c7ecedd"><code>c47c7ec</code></a> Bump core-ktx from 1.7.0 to 1.8.0 (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2661">https://github.com/facebook/flipper/issues/2661</a>)</li>
<li><a href="2bbf7963b1"><code>2bbf796</code></a> Bump material from 1.6.0 to 1.6.1 (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2662">https://github.com/facebook/flipper/issues/2662</a>)</li>
<li><a href="4f41700cfb"><code>4f41700</code></a> Bump assertj-core from 3.22.0 to 3.23.1 (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2658">https://github.com/facebook/flipper/issues/2658</a>)</li>
<li><a href="e5a06c5dba"><code>e5a06c5</code></a> Fix typo (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2655">https://github.com/facebook/flipper/issues/2655</a>)</li>
<li><a href="93bba1171c"><code>93bba11</code></a> Bump shipkit-changelog from 1.1.15 to 1.2.0 (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2654">https://github.com/facebook/flipper/issues/2654</a>)</li>
<li><a href="70cf2d2f48"><code>70cf2d2</code></a> Add support for customizing strictness via <code>Mock</code> annotation and `MockSettin...</li>
<li><a href="6ce278b473"><code>6ce278b</code></a> Bump versions.errorprone from 2.13.1 to 2.14.0 (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2653">https://github.com/facebook/flipper/issues/2653</a>)</li>
<li><a href="7d2e4cce07"><code>7d2e4cc</code></a> Bump shipkit-auto-version from 1.1.20 to 1.2.0 (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2651">https://github.com/facebook/flipper/issues/2651</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/mockito/mockito/compare/v4.5.1...v4.6.1">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.mockito:mockito-core&package-manager=gradle&previous-version=4.5.1&new-version=4.6.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

 ---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `dependabot rebase` will rebase this PR
- `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `dependabot merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `dependabot cancel merge` will cancel a previously requested merge and block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>

Pull Request resolved: https://github.com/facebook/flipper/pull/3793

Reviewed By: lawrencelomax

Differential Revision: D37070903

Pulled By: passy

fbshipit-source-id: 5a0ad5cf1e64e69ee1be2c0b6b902bcdc8f2a568
2022-06-13 08:41:02 -07:00
dependabot[bot]
7965b130ae Bump constraintlayout from 2.1.2 to 2.1.4 (#3748)
Summary:
Bumps [constraintlayout](https://github.com/androidx/constraintlayout) from 2.1.2 to 2.1.4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/androidx/constraintlayout/releases">constraintlayout's releases</a>.</em></p>
<blockquote>
<h2>2.1.3</h2>
<p>Point release of the constraintlayout library.</p>
<p>ConstraintLayout</p>
<ul>
<li>Add getSceneString on ConstraintLayout which gets a json formatted dump of the layout and constraints</li>
<li>Add attribute to GuideLine guidelineuseRTL to enable / disable if guideline is using RTL</li>
</ul>
<p>ConstraintLayout Compose</p>
<ul>
<li>add support for Margin in barrier <code>id: {type: 'barrier', direction: 'end' , contains: ['id1', 'id2'], margin: -12}</code></li>
<li>add json support for vbias/hbias  <code>id: { centerVertically: 'parent',  vBias: 0.45 }</code></li>
<li>improve json min/max support <code> width: { value: 'wrap', max: 300, min:20 },</code></li>
<li>mprove chain in dsl <code>val chain1 = createHorizontalChain(box1, box2, chainStyle = ChainStyle.Spread)</code></li>
<li>add DSL for goneMargin , Reset dimensions and transforms</li>
<li>add bias <code>centerHorizontallyTo(parent, bias = 0.2f)</code></li>
</ul>
<p>MotionLayout Compose</p>
<ul>
<li>Make Compose MotionLayout <a href="https://github.com/ExperimentalMotionApi"><code>@​ExperimentalMotionApi</code></a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/androidx/constraintlayout/commits">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=androidx.constraintlayout:constraintlayout&package-manager=gradle&previous-version=2.1.2&new-version=2.1.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

 ---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `dependabot rebase` will rebase this PR
- `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `dependabot merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `dependabot cancel merge` will cancel a previously requested merge and block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>

Pull Request resolved: https://github.com/facebook/flipper/pull/3748

Reviewed By: lawrencelomax

Differential Revision: D37070948

Pulled By: passy

fbshipit-source-id: 4cc9389149490e85bc9aa0cbcb4b386072775010
2022-06-13 08:33:02 -07:00
dependabot[bot]
a752b4711d Bump core-ktx from 1.7.0 to 1.8.0 (#3794)
Summary:
Bumps core-ktx from 1.7.0 to 1.8.0.

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=androidx.core:core-ktx&package-manager=gradle&previous-version=1.7.0&new-version=1.8.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

 ---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `dependabot rebase` will rebase this PR
- `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `dependabot merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `dependabot cancel merge` will cancel a previously requested merge and block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>

Pull Request resolved: https://github.com/facebook/flipper/pull/3794

Reviewed By: lawrencelomax

Differential Revision: D37070913

Pulled By: passy

fbshipit-source-id: 98f817ee76bde2dfec2ebf3eb5080214c746cdc4
2022-06-13 08:29:14 -07:00
dependabot[bot]
d54944346c Bump gradle-maven-publish-plugin from 0.19.0 to 0.20.0 (#3795)
Summary:
Bumps [gradle-maven-publish-plugin](https://github.com/vanniktech/gradle-maven-publish-plugin) from 0.19.0 to 0.20.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/vanniktech/gradle-maven-publish-plugin/releases">gradle-maven-publish-plugin's releases</a>.</em></p>
<blockquote>
<h2>0.20.0</h2>
<p><a href="https://github.com/vanniktech/gradle-maven-publish-plugin/blob/master/CHANGELOG.md#version-0200-2022-06-02">Changelog</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/vanniktech/gradle-maven-publish-plugin/blob/master/CHANGELOG.md">gradle-maven-publish-plugin's changelog</a>.</em></p>
<blockquote>
<h2>Version 0.20.0 <em>(2022-06-02)</em></h2>
<p><strong>Upcoming behavior change</strong></p>
<p>In the next release after this the <code>com.vanniktech.maven.publish</code> will stop adding Maven Central (Sonatype OSS) as a
publishing target and will not enable GPG signing by default. If you are curretly relying on this behavior the plugin
will print a warning during configuration phase. To continue publishing to maven central and signing artifacts either
add this to your build files:</p>
<pre lang="gradle"><code>mavenPublishing {
  publishToMavenCentral() // use publishToMavenCentral(&quot;S01&quot;) for publishing through s01.oss.sonatype.org
  enableReleaseSigning()
}
</code></pre>
<p>or the following to your <code>gradle.properties</code>:</p>
<pre lang="gradle"><code>SONATYPE_HOST=DEFAULT
# SONATYPE_HOST=S01 for publishing through s01.oss.sonatype.org
RELEASE_SIGNING_ENABLED=true
</code></pre>
<p>The base plugin is unaffected by these changes because it already has this behavior.</p>
<p><strong>Deprecation</strong></p>
<p>The old <code>mavenPublish</code> extension has been deprecated.</p>
<p>If you were using it to set <code>sonatypeHost</code> to <code>S01</code> use</p>
<pre lang="gradle"><code>mavenPublishing {
  publishToMavenCentral(&quot;S01&quot;)
}
</code></pre>
<p>instead or add <code>SONATYPE_HOST=S01</code> to your gradle.properties.</p>
<p>If <code>sonatypeHost</code> was used to disable adding Maven Central as a publishing target add <code>SONATYPE_HOST=</code> until 0.21.0 is out and this becomes the default behavior.</p>
<p>If you set <code>releaseSigningEnabled</code> to false add <code>RELEASE_SIGNING_ENABLED=false</code> to your gradle.properties until 0.21.0 is out and this becomes the default behavior.</p>
<p><strong>New</strong></p>
<p>Added support to set the following pom values through properties (thanks to <a href="https://github.com/jaredsburrows"><code>@​jaredsburrows</code></a> for the contribution)</p>
<ul>
<li><code>POM_ISSUE_SYSTEM</code> sets <code>issueManagement.system</code></li>
<li><code>POM_ISSUE_URL</code> sets <code>issueManagement.url</code></li>
<li><code>POM_DEVELOPER_EMAIL</code> sets <code>developer.email</code></li>
</ul>
<p><strong>Fixed</strong></p>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="300595008c"><code>3005950</code></a> Prepare for release 0.20.0.</li>
<li><a href="643bea069f"><code>643bea0</code></a> update changelog for 0.20.0 (<a href="https://github-redirect.dependabot.com/vanniktech/gradle-maven-publish-plugin/issues/352">https://github.com/facebook/flipper/issues/352</a>)</li>
<li><a href="582f0d4fb9"><code>582f0d4</code></a> fix Kotlin MPP project not being configured when Android plugin is present (#...</li>
<li><a href="399b0f9b23"><code>399b0f9</code></a> fix legacy Android setup in mpp projects (<a href="https://github-redirect.dependabot.com/vanniktech/gradle-maven-publish-plugin/issues/350">https://github.com/facebook/flipper/issues/350</a>)</li>
<li><a href="c8dd40ce5a"><code>c8dd40c</code></a> deprecate old mavenPublish extension (<a href="https://github-redirect.dependabot.com/vanniktech/gradle-maven-publish-plugin/issues/340">https://github.com/facebook/flipper/issues/340</a>)</li>
<li><a href="8e1f12d659"><code>8e1f12d</code></a> fix error message when no repo is found (<a href="https://github-redirect.dependabot.com/vanniktech/gradle-maven-publish-plugin/issues/337">https://github.com/facebook/flipper/issues/337</a>)</li>
<li><a href="6134aa06ef"><code>6134aa0</code></a> Bump actions/setup-java from 2 to 3 (<a href="https://github-redirect.dependabot.com/vanniktech/gradle-maven-publish-plugin/issues/348">https://github.com/facebook/flipper/issues/348</a>)</li>
<li><a href="e6fee7ceba"><code>e6fee7c</code></a> Bump actions/checkout from 2 to 3 (<a href="https://github-redirect.dependabot.com/vanniktech/gradle-maven-publish-plugin/issues/349">https://github.com/facebook/flipper/issues/349</a>)</li>
<li><a href="951262297f"><code>9512622</code></a> Create dependabot.yml (<a href="https://github-redirect.dependabot.com/vanniktech/gradle-maven-publish-plugin/issues/347">https://github.com/facebook/flipper/issues/347</a>)</li>
<li><a href="d03e6e586b"><code>d03e6e5</code></a> Support more POM properties (<a href="https://github-redirect.dependabot.com/vanniktech/gradle-maven-publish-plugin/issues/345">https://github.com/facebook/flipper/issues/345</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/vanniktech/gradle-maven-publish-plugin/compare/0.19.0...0.20.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.vanniktech:gradle-maven-publish-plugin&package-manager=gradle&previous-version=0.19.0&new-version=0.20.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

 ---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `dependabot rebase` will rebase this PR
- `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `dependabot merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `dependabot cancel merge` will cancel a previously requested merge and block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>

Pull Request resolved: https://github.com/facebook/flipper/pull/3795

Reviewed By: lawrencelomax

Differential Revision: D37070881

Pulled By: passy

fbshipit-source-id: df3df877a5dd182a289608e624099e32f687e076
2022-06-13 08:21:42 -07:00
Pascal Hartig
b25a212890 Remove SupportRequestFormV2
Summary: This is now replaced by the support entry point and we need to delete the calling sites before we can clean up the everstore type.

Reviewed By: lawrencelomax

Differential Revision: D37090901

fbshipit-source-id: 597684bb149783d75e46ba61113e73878bf271a8
2022-06-13 07:16:47 -07:00
Pascal Hartig
ad7d2e0362 Upgrade ReactNativeFlipperExample deps
Summary: Like the previous diff, combining a few upgrades.

Reviewed By: antonk52

Differential Revision: D37074518

fbshipit-source-id: bdfdcdef1b0910ae886ef91b8ac9d0e3bd3b8a21
2022-06-13 05:18:42 -07:00
Pascal Hartig
a52e3e65a3 Combined dep bump
Summary: There are a bunch of open tasks. Combining them into one with `yarn upgrade-interactive`.

Reviewed By: antonk52

Differential Revision: D37070919

fbshipit-source-id: f89b63d1f3b15c5b625d7a0f1bc566d9c37e5e42
2022-06-13 05:18:42 -07:00