Commit Graph

6740 Commits

Author SHA1 Message Date
Pascal Hartig
9d390d0864 Dep bump for /desktop
Summary: Combining dependabot bumps.

Reviewed By: nikoant

Differential Revision: D34682717

fbshipit-source-id: 09975ed9f258d2f5bed6871e15643c38a07e0459
2022-03-08 03:02:11 -08:00
Pascal Hartig
835812b358 Dep bump for /react-native
Summary: Some safe upgrades for the sample app.

Reviewed By: antonk52

Differential Revision: D34682664

fbshipit-source-id: 65a9dd4bf099b4c659911164f1fa0e4a7f4e56c8
2022-03-07 09:09:52 -08:00
Pascal Hartig
a5529d789d Don't raise EADDRINUSE as error on startup
Summary:
There will likely be more so I added a place for inspecting
these messages to the top.

Reviewed By: antonk52

Differential Revision: D34681084

fbshipit-source-id: ad32145d44dba08b813d8a2ddc63d500a0c360d8
2022-03-07 09:09:52 -08:00
Andrey Goncharov
44f57b1601 Fix license headers for FLEX
Reviewed By: mweststrate

Differential Revision: D34639323

fbshipit-source-id: 169fa63eaf1326a82781d42041ce49502197f2c5
2022-03-07 04:37:50 -08:00
Pascal Hartig
bbc594c1f3 Dep bump for /js/js-flipper
Summary: Combining a bunch of dep bumps via `yarn upgrade-interactive`.

Reviewed By: jknoxville

Differential Revision: D34650058

fbshipit-source-id: 9d25513f1200385492635d817a753bee9ed366d6
2022-03-07 04:06:16 -08:00
John Knox
94ae12e00e automatic update for docusaurus-plugin-internaldocs-fb@0.10.7
Reviewed By: passy

Differential Revision: D34680094

fbshipit-source-id: dd5b9ff27bf4f90b4e5624195a6aaee9031f9ffd
2022-03-07 03:50:10 -08:00
dependabot[bot]
353b8efe75 Bump anyhow from 1.0.53 to 1.0.55 in /packer (#3477)
Summary:
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.53 to 1.0.55.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/dtolnay/anyhow/releases">anyhow's releases</a>.</em></p>
<blockquote>
<h2>1.0.55</h2>
<ul>
<li>Documentation improvements</li>
</ul>
<h2>1.0.54</h2>
<ul>
<li>Construct more helpful error message from <code>ensure!</code> when the expression involves a negative literal const generic as the first generic argument of a method call (<a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/224">https://github.com/facebook/flipper/issues/224</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="3ca503637b"><code>3ca5036</code></a> Release 1.0.55</li>
<li><a href="6a31772f40"><code>6a31772</code></a> Add link from Context docs to Display representations</li>
<li><a href="471d6e9f02"><code>471d6e9</code></a> Release 1.0.54</li>
<li><a href="76a0b48d36"><code>76a0b48</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/224">https://github.com/facebook/flipper/issues/224</a> from dtolnay/negativelit</li>
<li><a href="c38e117db2"><code>c38e117</code></a> Handle negative literal const generic argument after left arrow</li>
<li><a href="c36c0fdc15"><code>c36c0fd</code></a> Add test of negative literal</li>
<li><a href="91b027e7fa"><code>91b027e</code></a> Add test of literal in const generic path argument</li>
<li><a href="23a7fd5d46"><code>23a7fd5</code></a> Update ensure tests to nightly-2022-02-07</li>
<li>See full diff in <a href="https://github.com/dtolnay/anyhow/compare/1.0.53...1.0.55">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=anyhow&package-manager=cargo&previous-version=1.0.53&new-version=1.0.55)](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/3477

Reviewed By: mweststrate

Differential Revision: D34650067

Pulled By: passy

fbshipit-source-id: 5b1964c6f7a77eeb12435cbf032ebff101a99af1
2022-03-07 03:26:34 -08:00
Anton Nikolaev
37ff34390a Enable Marketplace for Flipper (#3491)
Summary:
This is PR on top of: https://github.com/facebook/flipper/pull/3473

It adds an option to Settings to allow distribution of marketplace plugins.

Also includes a simple fetch function to retrieve data from external API/server.

## Changelog

Allow marketplace plugins

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

Test Plan:
1. Enable marketplace
2. Provide custom marketplace server (it will serve the list of internal plugins with downloadURL)
3. Test if can see Available plugins and can download/remove the plugin
4. If new update for the plugin, it should also allow auto update

Reviewed By: antonk52

Differential Revision: D34586339

Pulled By: nikoant

fbshipit-source-id: c887982aa0f0f9abd3b5360f22e8692a2445d345
2022-03-07 02:49:49 -08:00
Andres Orozco Gonzalez
5b6000b424 add localhost specification for IPV6 without square brackets
Summary: Socket.io-client sends the host as ::1 instead of [::1] when using IPV6 to communicate with Flipper, that is the reason the communication was always being refused.

Reviewed By: mweststrate

Differential Revision: D34679825

fbshipit-source-id: b7431ad23f743276c11619d7cdb5c83594dee43a
2022-03-07 02:40:11 -08:00
dmitryvinn
70eab186aa docs: add social banner in support of Ukraine (#3496)
Summary:
Our mission at [Meta Open Source](https://opensource.facebook.com/) is to empower communities through open source, and we believe that it means building a welcoming and safe environment for all. As a part of this work, we are adding this banner in support for Ukraine during this crisis.

![image](https://user-images.githubusercontent.com/12485205/156651121-b1479b59-a4e7-4a5c-b8d5-4265aa0aea7a.png)

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

Test Plan:
Imported from GitHub, without a `Test Plan:` line.

**Static Docs Preview: staticdocs**
|[Full Site](https://our.intern.facebook.com/intern/staticdocs/eph/D34622802/V3/staticdocs/)|

|**Modified Pages**|

**Static Docs Preview: flipper**
|[Full Site](https://our.intern.facebook.com/intern/staticdocs/eph/D34622802/V3/flipper/)|

|**Modified Pages**|

Reviewed By: mweststrate

Differential Revision: D34622802

Pulled By: passy

fbshipit-source-id: a18c0de24a6a6c2311aef9a046fe65d917ce6f9d
2022-03-04 09:20:27 -08:00
Lukas Kurucz
8416372c8f fix: encode ws url (#3498)
Summary:
Some clients require encoded ws url. For example on Android (running in Rect Native), plain URL like this:
`ws://10.0.2.2:8333?device_id=ReactNative1646120067758.0.2246373385349361&device=ReactNative&app=React Native App Google - Android SDK&os=ReactNative`
will throw error during connection.

To not require param encoding when starting the `flipperClient.start()`, it is easier to encode entire `url` before starting the ws server.

## Changelog

- encode url for `js-flipper` ws server

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

Reviewed By: aigoncharov

Differential Revision: D34638857

Pulled By: lblasa

fbshipit-source-id: 9eb0e268c7bacb5febc19bbb45fe6814fb7a60de
2022-03-04 03:46:06 -08:00
Pascal Hartig
07ee7fa706 Add Support Ukraine banner
Summary:
Inspired by https://github.com/facebook/react-native-website/pull/2988

Changelog: Add Support Ukraine banner to website

Reviewed By: antonk52, aigoncharov

Differential Revision: D34627820

fbshipit-source-id: 61f69984451c504eca9a6f5e55f30d968344129e
2022-03-04 03:25:42 -08:00
Andrey Goncharov
6c74f2dd18 Set device features on device initialization
Summary:
1. Identify if device supports screenshots/screen recording when it is created.
2. Disable screen recording/screenshot buttons when they are not supported

Reviewed By: passy

Differential Revision: D34611133

fbshipit-source-id: 82ad2d67e4af482d9becf7995187667b5d99bc36
2022-03-04 02:00:23 -08:00
facebook-flipper-bot
04e7c7282b Automated: Update Podfile.lock (#3492)
Summary:
This is an automated PR to update the Podfile.lock.
- Make sure that the Podfile.lock contains latest FlipperKit and Flipper pod versions.
- Also make sure that all the dependencies are updated to the latest one.
- This is auto-generated by [create-pull-request](https://github.com/peter-evans/create-pull-request)

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

Test Plan:
Imported from GitHub, without a `Test Plan:` line.

**Static Docs Preview: flipper**
|[Full Site](https://our.intern.facebook.com/intern/staticdocs/eph/D34595970/V2/flipper/)|

|**Modified Pages**|
|[docs/getting-started/ios-native](https://our.intern.facebook.com/intern/staticdocs/eph/D34595970/V2/flipper/docs/getting-started/ios-native/)|

Reviewed By: lblasa

Differential Revision: D34595970

Pulled By: passy

fbshipit-source-id: 5435c5fdd50e38c92e604547f32b73adf8148e37
2022-03-03 04:13:40 -08:00
Pascal Hartig
7c1251075f Dep bump for /desktop
Summary:
Combining a bunch of dependabot PRs.

N.B. I had to manually clean up the `yarn.lock` a few times because some dependencies resolved to multiple version numbers, catching tsc off-guard.
allow-large-files

Reviewed By: nikoant

Differential Revision: D34579180

fbshipit-source-id: a4848e1010ff240d9b0e721d3878585e7b4bd078
2022-03-03 04:11:52 -08:00
Andres Orozco Gonzalez
5b5ce92519 Add support to binding both IPv6 and IPv4 ports
Summary: Add support for binding the same port in flipper in both the IPv6 and IPv4 interfaces

Reviewed By: mweststrate

Differential Revision: D34591022

fbshipit-source-id: e28239c24425885ee442d93b84bb38902d521a0c
2022-03-03 00:31:08 -08:00
Adam Fiksen
7222437beb Add plumbing icon to flipper
Summary: Adds a reference to plumbing icon for plugins to use

Reviewed By: svaithia

Differential Revision: D34467457

fbshipit-source-id: 21d95f663309224742f4f93ac584998e1a470f28
2022-03-02 14:59:50 -08:00
Andrey Goncharov
5068c8273b Add deprecation notice notification
Summary: Add deprecation notice device icon and notification

Reviewed By: lblasa

Differential Revision: D34582475

fbshipit-source-id: 90fde15caf1925b42f50fbfc77dece88c82833cf
2022-03-02 09:18:15 -08:00
Flipper Bot
ed6e589bec Flipper Snapshot Bump: v0.137.1-SNAPSHOT
Summary: Releasing snapshot version 0.137.1-SNAPSHOT

Reviewed By: passy

Differential Revision: D34577712

fbshipit-source-id: 9d00f9fb5a6eec45a8578ece953faf89457928b4
2022-03-02 07:41:24 -08:00
Flipper Bot
f2e60ab6cb Flipper Release: v0.137.0
Summary: Releasing version 0.137.0

Reviewed By: passy

Differential Revision: D34577711

fbshipit-source-id: fc0ceb7676d1f7a8f5d1e271d78b489c61919bf6
2022-03-02 07:41:24 -08:00
dependabot[bot]
8018b0144a Bump gradle-maven-publish-plugin from 0.18.0 to 0.19.0 (#3482)
Summary:
Bumps [gradle-maven-publish-plugin](https://github.com/vanniktech/gradle-maven-publish-plugin) from 0.18.0 to 0.19.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.19.0</h2>
<p><a href="https://github.com/vanniktech/gradle-maven-publish-plugin/blob/master/CHANGELOG.md#version-0190-2022-02-26">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.19.0 <em>(2022-02-26)</em></h2>
<ul>
<li><strong>Behavior Change:</strong> When using version 7.1.0 or newer of the Android Gradle Plugin we will now publish all variants
of a library unless <code>androidVariantToPublish</code> was set in the DSL. This means that for example both <code>debug</code> and <code>release</code>
or all flavors.</li>
<li>Deprecated <code>androidVariantToPublish</code>. In the future the main plugin will always publish all variants of an Android
library. If you need to publish only one variant or a subset take a look at the <a href="https://github.com/vanniktech/gradle-maven-publish-plugin/blob/master/README.md#base-plugin">base plugin</a>
APIs.</li>
<li>Base plugin: Added <code>AndroidSingleVariantLibrary</code> and <code>AndroidMultiVariantLibrary</code> options that use the new AGP 7.1
APIs under the hood.</li>
<li>Base plugin: Deprecated <code>AndroidLibrary</code> option in favor of the above</li>
<li>The integration with Sonatype Nexus has been extracted into it's own artifact and is available as <code>com.vanniktech:nexus:&lt;version&gt;</code></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="c1267766d9"><code>c126776</code></a> Prepare version 0.19.0</li>
<li><a href="a91b7655b9"><code>a91b765</code></a> add AGP 7.1.2 support (<a href="https://github-redirect.dependabot.com/vanniktech/gradle-maven-publish-plugin/issues/293">https://github.com/facebook/flipper/issues/293</a>)</li>
<li><a href="6b8661bd33"><code>6b8661b</code></a> change how integration tests are run, update dependencies/build (<a href="https://github-redirect.dependabot.com/vanniktech/gradle-maven-publish-plugin/issues/327">https://github.com/facebook/flipper/issues/327</a>)</li>
<li><a href="224c2fb4d5"><code>224c2fb</code></a> Fix maven local path (<a href="https://github-redirect.dependabot.com/vanniktech/gradle-maven-publish-plugin/issues/316">https://github.com/facebook/flipper/issues/316</a>)</li>
<li><a href="6f455427ae"><code>6f45542</code></a> Fix partial(confusing) sign detail for windows (<a href="https://github-redirect.dependabot.com/vanniktech/gradle-maven-publish-plugin/issues/286">https://github.com/facebook/flipper/issues/286</a>)</li>
<li><a href="c76feb19ce"><code>c76feb1</code></a> Extract <code>nexus</code> as a separate module (<a href="https://github-redirect.dependabot.com/vanniktech/gradle-maven-publish-plugin/issues/309">https://github.com/facebook/flipper/issues/309</a>)</li>
<li><a href="42a748d1f7"><code>42a748d</code></a> Fixing variable names (group and version) in base plugin configuration in doc...</li>
<li><a href="3b0d49a9a9"><code>3b0d49a</code></a> Prepare next development version.</li>
<li>See full diff in <a href="https://github.com/vanniktech/gradle-maven-publish-plugin/compare/0.18.0...0.19.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.18.0&new-version=0.19.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/3482

Reviewed By: nikoant

Differential Revision: D34578848

Pulled By: passy

fbshipit-source-id: f3e0f8271b0a0d1632a105dbf798afaff467e257
2022-03-02 04:48:01 -08:00
Andrey Goncharov
e26ba0d945 Encapsulate styleguide styles
Summary: Prevent leaking Flipper styles and antd styles into the website by embedding the styleguide into an iframe.

Reviewed By: nikoant

Differential Revision: D34522771

fbshipit-source-id: a05bf1e7f54fe172fb012a0a02296b3a4e0100f1
2022-02-28 09:54:03 -08:00
Andrey Goncharov
8ee788239b Update version number for default plugins
Summary: Prior to this fix, plugins were copied with verion 0.0.0 which forced them to be updated with "newer" versions from marketplace

Reviewed By: nikoant

Differential Revision: D34457087

fbshipit-source-id: a3242578c570447f8ecf9c62bcaa69e5d9688c42
2022-02-28 03:50:34 -08:00
Andrey Goncharov
b82cdfb664 Fix starting dev Flipper without bundled plugins
Summary: --no-embedded-plugins does not seem to exist. Replaced with --no-bundled-plugins which removes plugins from defaultPlugins/idex.tsx (as in prod).

Reviewed By: antonk52

Differential Revision: D34445364

fbshipit-source-id: e52c2e327bf43a3f682b6d9e18315e6ecadad5d8
2022-02-28 03:50:34 -08:00
Andrey Goncharov
3ec5b56263 Polyfill fetch
Summary: Provide server add-on writers with a well-known fetch API

Reviewed By: mweststrate

Differential Revision: D34447630

fbshipit-source-id: 70386940c12f9e53aa97b3530a7edf1d40b5f2e2
2022-02-28 03:50:34 -08:00
Andrey Goncharov
aec05533d7 Expose a subset of flipper-plugin to flipper server
Summary: Flipper plugins rely on 'flipper-plugin' package being accessible from 'global'. Expose a subset (without UI stuff) of flipper-plugin to server add-ons

Reviewed By: mweststrate

Differential Revision: D34400811

fbshipit-source-id: e0079ddfa67e66c1b24ab02d7682917ddfc84aaf
2022-02-28 03:50:34 -08:00
Andrey Goncharov
9449f61adb Add server add-on babel transform
Reviewed By: antonk52

Differential Revision: D34393126

fbshipit-source-id: d910392d9ac7e7a44e2e9ede690a6bed77f018c7
2022-02-28 03:50:34 -08:00
Andrey Goncharov
01a5f3da90 Add generics to server add-on connection
Reviewed By: mweststrate

Differential Revision: D34307356

fbshipit-source-id: 27e61355a85995368ebb197c42d58f4145473567
2022-02-28 03:50:34 -08:00
Andrey Goncharov
673bb9135e Allow Node APIs for server add-ons
Reviewed By: antonk52

Differential Revision: D34386916

fbshipit-source-id: b2484dff15b0a1b0d08f8b0b2e17916d037570c8
2022-02-28 03:50:34 -08:00
Andrey Goncharov
dcfc84cce6 Add onServerAddOnStart and onServerAddOnStop plugin hooks
Reviewed By: mweststrate

Differential Revision: D34378231

fbshipit-source-id: e086eebcf94c01da76bfe8b88c6528bd21d89968
2022-02-28 03:50:34 -08:00
Andrey Goncharov
9e4ac0aaa9 Add unit tests for PluginManager
Reviewed By: mweststrate

Differential Revision: D34307076

fbshipit-source-id: 7cb6c808bea10d15627958e8fabc02b4563183d4
2022-02-28 03:50:34 -08:00
Andrey Goncharov
d96cf8127f Add unit tests for ServerAddOn
Reviewed By: mweststrate

Differential Revision: D34303780

fbshipit-source-id: 03a4570a6e891d979b87caca14f51068d74df877
2022-02-28 03:50:34 -08:00
Andrey Goncharov
81d0057a8d Fix potential race conditions for starting/stopping server add-ons
Reviewed By: mweststrate

Differential Revision: D34301593

fbshipit-source-id: 2950de8a8567318cd3e87eff176657df5ba8fd1b
2022-02-28 03:50:34 -08:00
Andrey Goncharov
bdbf79e3e1 Limit events and methods in server contact to strings only
Reviewed By: antonk52

Differential Revision: D34300854

fbshipit-source-id: 79cd3e3da9bb5dbac75243ac90118f32e12d8177
2022-02-28 03:50:34 -08:00
Andrey Goncharov
8b94186783 Load installed server add-ons
Reviewed By: nikoant

Differential Revision: D34300475

fbshipit-source-id: 6bb6c0ab811e28806a0924b3487931bdb0dd2c59
2022-02-28 03:50:34 -08:00
Andrey Goncharov
b4b9c0ab28 Implement receiving messages from add-on on the client
Reviewed By: mweststrate

Differential Revision: D34249101

fbshipit-source-id: 07297b84ed8640e3b41599726ba613b6b4e2b62e
2022-02-28 03:50:34 -08:00
Andrey Goncharov
4067f5bd88 Implement sending messages from desktop to add-on
Reviewed By: antonk52

Differential Revision: D34239803

fbshipit-source-id: 1a18d522ba877ade3d0703fbb374c15b596241d7
2022-02-28 03:50:34 -08:00
Andrey Goncharov
2ce037d96b Load bundled server add-ons
Reviewed By: antonk52

Differential Revision: D34238883

fbshipit-source-id: 01b4b1c1c0a63cbfb639e903f6a77307ae370330
2022-02-28 03:50:34 -08:00
Andrey Goncharov
b655efc78e Migrate to default exports for server add-ons
Reviewed By: antonk52

Differential Revision: D34201906

fbshipit-source-id: 3ee2bf831d5a1f5c6c9252acce1b1731462871f1
2022-02-28 03:50:34 -08:00
Andrey Goncharov
5cdb7c952e Update build scripts to support bundling server add-ons
Summary: Summary

Reviewed By: nikoant

Differential Revision: D34170565

fbshipit-source-id: be9904809bf33e85536a4c6ead0e753ef05209ff
2022-02-28 03:50:34 -08:00
Andrey Goncharov
47dd675dc8 Update schema
Reviewed By: mweststrate

Differential Revision: D34169727

fbshipit-source-id: 4df1eeb17ff3894e60b7b857a571524dba7de085
2022-02-28 03:50:34 -08:00
Andrey Goncharov
04eab80c98 Move server add-on interfaces to flipper-common
Reviewed By: antonk52

Differential Revision: D34169419

fbshipit-source-id: 69fcc8da7d98f59818fbb5b486a488f19830cd81
2022-02-28 03:50:34 -08:00
Andrey Goncharov
b9294645d3 Limit methods server add on can access
Reviewed By: mweststrate

Differential Revision: D34076174

fbshipit-source-id: e51a1b08dab54de6b7dc82ca59ec18a10f81ddd7
2022-02-28 03:50:34 -08:00
Andrey Goncharov
b80755721c Draft communication with server add-ons from the client side
Reviewed By: nikoant

Differential Revision: D34075379

fbshipit-source-id: 09f575f5cced866ad7b9290d7739ce60f38edeee
2022-02-28 03:50:34 -08:00
Andrey Goncharov
db976d5113 Implement sending messages from a server add-on
Reviewed By: mweststrate

Differential Revision: D34074383

fbshipit-source-id: de85e7a22dc9bb780163fc5b522708e8bc976df3
2022-02-28 03:50:34 -08:00
Andrey Goncharov
842b2c810a Implement sending messages to server add-on
Reviewed By: mweststrate

Differential Revision: D34073403

fbshipit-source-id: eacd73811b436f2b5c4255a83d8eb09367a96a67
2022-02-28 03:50:34 -08:00
Andrey Goncharov
12151e4a71 Extend Flipper commands to support server add-on messaging
Reviewed By: mweststrate

Differential Revision: D34046466

fbshipit-source-id: 9acc172c1805ec724b8709999bacf9e899c39e6b
2022-02-28 03:50:34 -08:00
Andrey Goncharov
3b390b74ff Track client connections and autostop server add-ons when all clients leave
Reviewed By: mweststrate

Differential Revision: D34045584

fbshipit-source-id: 1ad0cfffb9d304f0359c973d76d6956f7e932f72
2022-02-28 03:50:34 -08:00
Andrey Goncharov
9113006851 Make Client initialize server add-ons
Reviewed By: mweststrate

Differential Revision: D34044353

fbshipit-source-id: 99bcb1559787b2a904bdd796233666a7a4783ea4
2022-02-28 03:50:34 -08:00
Andrey Goncharov
a60865f0be Intergrate ServerAddOn with PluginManager
Reviewed By: lblasa

Differential Revision: D34042338

fbshipit-source-id: 2ae3992738e647075f19c4dba0ebfb01e6c12b8f
2022-02-28 03:50:34 -08:00