Commit Graph

396 Commits

Author SHA1 Message Date
Ken Yee
fa9ba6f2d0 Adds a notifyAvailableUpdate flag to config.json to disable update (#3992)
Summary:
We would like to version control Flipper and some of our custom plugins that are installed on developers' systems.
Flipper by default prompts users to upgrade so they sometimes do the update and then all our custom plugins break because they were compiled for an older version.
See https://github.com/facebook/flipper/issues/3947 for feature request info.

## Changelog

Adds notifyAvailable flag to config.json to disable prompting for users that "an update is available"

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

Test Plan:
Tested by running locally.
Had to comment out the isProduction() check to confirm this it worked properly because this flag is false on dev versions.
Couldn't figure out how to manually test the handleOpenPluginDeeplink.tsx change but made a similar change there; happy to test that if you can tell me how to exercise that path.

Reviewed By: antonk52

Differential Revision: D39654481

Pulled By: antonk52

fbshipit-source-id: cef6b48d870915c48f620269c42d24b8ef1f4c29
2022-09-21 09:47:44 -07:00
Flipper Bot
285db3a268 Flipper Release: v0.166.0
Summary: Releasing version 0.166.0

Reviewed By: aigoncharov

Differential Revision: D39649275

fbshipit-source-id: d328cf36fb26e2d69b0e3c76cae6c47760ecd6fa
2022-09-20 04:06:09 -07:00
Mohamed Osman
c71d1bd512 Adding basic version of WhatsApp Status Plugin
Summary:
This is mainly an RFC version (happy to land it as a seed for a plugin that can be used to debug and/or control status) the plan is to have the following:
 - One place to track the full life-cycle of status.
 - Control and visualize playback and state.
 - Troubleshoot errors and details of a given status (e.g. media links, evets, latencies .. etc).

Differential Revision: D38123193

fbshipit-source-id: 49229d604434d575d6aaddc818064598e7ccee92
2022-09-16 17:09:40 -07:00
Andrey Goncharov
d3d2e189d0 Consume changed plugins message in the UI
Summary: Relay message to the React app via postmessage. Later, we will subscribe to these messages and update the plugins

Reviewed By: lblasa

Differential Revision: D39539590

fbshipit-source-id: c6742e45330e71b63c135c0267e6e9c5817fc9ff
2022-09-15 10:02:19 -07:00
Colin Bendell
2216a3f94d add static binary to repo 2022-09-08 12:05:53 +01:00
Luke De Feo
f1e80b18b1 Basic desktop plugin
Summary:
Scaffolded desktop UI for UI debugger
I changed getroot from an rpc call to an event sent on connect. The root should never change as its the application object.

Reviewed By: lblasa

Differential Revision: D38866008

fbshipit-source-id: ca0f1908bedb643238f11ed796922e3359619167
2022-08-22 03:02:53 -07:00
Flipper Bot
882c06fb65 Flipper Release: v0.160.0
Summary: Releasing version 0.160.0

Reviewed By: mweststrate

Differential Revision: D38829728

fbshipit-source-id: b0c28f7099ecde8f1afba298af713891d5f37c04
2022-08-18 09:21:56 -07:00
Matthew Rheaume
efdc7e58c4 Fixed reload & zoom in Flipper Desktop application. (#3840)
Summary:
After the upgrade to Electron in `92cdb81`, the reload functionality no
longer works. I believe this is due to the main menu creation being
moved to the main process where the `window` global variable is undefined
(whereas previously it was on the render process, where `window` would
be defined). Rather than rely on the `window` global, when a reload is
requested just reload the given `focusedWindow`.

Similarly, zooming was also broken, so fix that by going through `focusedWindow` rather than `webFrame` (since `webFrame` only exists in the render process).

Fixes https://github.com/facebook/flipper/issues/3839, https://github.com/facebook/flipper/issues/3820

## Changelog

changelog: Fixed reload & zoom in Flipper Desktop application.

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

Test Plan: Built the application locally, verified that reload worked as expected (and would reload the application), verified that zooming (in, out, actual size) worked as expected.

Reviewed By: passy

Differential Revision: D38784319

Pulled By: mweststrate

fbshipit-source-id: c219063a8aaf42425678c2c8824f6fcde1cadd52
2022-08-18 06:11:38 -07:00
Flipper Bot
714ee44929 Flipper Release: v0.157.0
Summary: Releasing version 0.157.0

Reviewed By: passy

Differential Revision: D38382530

fbshipit-source-id: 687ff275c280587d4d40c9c2d8622a1d0ba1adaa
2022-08-03 05:02:01 -07:00
Aaron Coplan
45f3222b87 Upsell for arc uiqr in Flipper plugin UI
Summary:
This diff updates the Flipper plugin for UIQR+DDR to upsell people to use `arc uiqr` on the "Upload and Get Link" tab. At the moment I'm not showing the upsell on the "Upload Screens to Diff" tab since this functionality isn't really supported through `arc uiqr` yet.

The upsell uses localstorage to maintain its open/close state so it will show up by default but will be permanently dismissed (unless localstorage is cleared somehow :) ).

NOTE: I hacked out this UI using some existing reusable UIQR Flipper components and some extra styling for the background, but definitely open to feedback on the UI!

Differential Revision: D38232117

fbshipit-source-id: e1745e32974bd9e750bbbaaa2f47bafdd0ac87eb
2022-07-28 10:56:39 -07:00
Flipper Bot
5607276fee Flipper Release: v0.156.0
Summary: Releasing version 0.156.0

Reviewed By: LukeDefeo

Differential Revision: D38198427

fbshipit-source-id: b348e3bc2c4ee18d897841a1ad359db950b15100
2022-07-27 04:31:07 -07:00
Flipper Bot
e3110be5a6 Flipper Release: v0.155.0
Summary: Releasing version 0.155.0

Reviewed By: lblasa

Differential Revision: D37957716

fbshipit-source-id: f682464ec8737acc3e28197fa3724a6ae150e8cd
2022-07-19 09:01:42 -07:00
Flipper Bot
14d385827d Flipper Release: v0.154.0
Summary: Releasing version 0.154.0

Reviewed By: jknoxville

Differential Revision: D37813763

fbshipit-source-id: f16392937146a50c7018c2ae5abd18e433059622
2022-07-13 09:21:01 -07:00
Gabriele Palma
01fc74d4f1 Added NetworkSourceContainers Flipper Plugin (Desktop) 1/3
Summary:
Added Flipper plugin.

Initial scaffolding for both iOS and JS
javascript code

Reviewed By: apadalko

Differential Revision: D37612499

fbshipit-source-id: a0a0ef596ef39f1d0bfe978767748c8fc3840d7a
2022-07-12 08:38:24 -07:00
Hao Yang
54f85029d9 Add Generate Flipper Files [1/5]
Differential Revision: D37192850

fbshipit-source-id: d4122bf4c3ceebd251ccc2b06765ec8406771cde
2022-07-07 17:39:46 -07:00
Flipper Bot
6b4c1db5fa Flipper Release: v0.153.0
Summary: Releasing version 0.153.0

Reviewed By: cekkaewnumchai

Differential Revision: D37643063

fbshipit-source-id: df67aee39ca41887e4c8358a618b4c37338c501b
2022-07-06 04:06:55 -07:00
Andrey Goncharov
ae90ce5878 Fix electron reloading
Reviewed By: antonk52

Differential Revision: D37556134

fbshipit-source-id: 7ff301bd6d06f570559b38647462515c35c899f3
2022-07-01 03:42:11 -07:00
Flipper Bot
939f69b4fc Flipper Release: v0.152.0
Summary: Releasing version 0.152.0

Reviewed By: mweststrate

Differential Revision: D37515159

fbshipit-source-id: 559c8961da1156fd61c299eec5d3bc9a8e84fa9e
2022-06-29 08:56:59 -07:00
Flipper Bot
f7048b470e Flipper Release: v0.151.1
Summary: Releasing version 0.151.1

Reviewed By: aigoncharov

Differential Revision: D37458556

fbshipit-source-id: a14704cce3358c5fd3dbd4b7ebf9c32a59183d49
2022-06-27 10:22:47 -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
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
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
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
Flipper Bot
ad19b51069 Flipper Release: v0.149.0
Summary: Releasing version 0.149.0

Reviewed By: passy

Differential Revision: D36999205

fbshipit-source-id: 9bf6df029e3d359c166f21bd12f158a2d19b6516
2022-06-09 10:32:12 -07:00
Hannah Kim
9b0535b0ff (2/n) Created JS Flipper plugin
Summary: Added JS side of plugin to be displayed in the local Flipper Desktop app

Differential Revision: D36985721

fbshipit-source-id: f9d3cc28e418e95283c572fed4d40dbecfd2f236
2022-06-08 09:25:05 -07:00
Pascal Hartig
bb401fa70b Change server template
Summary:
This is a completely meaningless change *but* it actually has an important
semantic meaning. I recently changed the `+x` bit to be set on the node binary
while bundling which is not always true when packing on Linux.

However, we don't consider permission bits as part of the checksums we build,
which means you will always get the previous version until we update the node version
or this very script because it's part of the same bundle.

So let's just ship this "update".

Reviewed By: mweststrate

Differential Revision: D36954703

fbshipit-source-id: 2d89cb1ee2e7bcce125c3f9efc9d8d39101ac133
2022-06-07 04:15:42 -07:00
Flipper Bot
5971d603bf Flipper Release: v0.148.0
Summary: Releasing version 0.148.0

Reviewed By: jknoxville

Differential Revision: D36805039

fbshipit-source-id: 8d97ba973c57de4558fc6aaa0a546dbac1ee08cd
2022-06-06 06:25:38 -07:00
Andrey Goncharov
92cdb81096 Upgrade electron version
Summary:
CHANGELOG: Upgrade electron to 18.2.0.

In Electron 18.2.0 we no longer have access to `remote`. Instead, we are recommended to implement IPC communications. We re-implement `remote` methods used before as IPC commands. To support type-safe execution of the commands, we create electron IPC clients on both sides: the main process and renderer process. We also move the main menu creation to the main process and track its usage via sending IPC messages to the renderer process where the logging happens.

Reviewed By: mweststrate

Differential Revision: D36593625

fbshipit-source-id: 6dcf531461ef2edceb9cac372a650f84f3370953
2022-05-31 06:52:14 -07:00
Flipper Bot
19a5a8e9c7 Flipper Release: v0.147.0
Summary: Releasing version 0.147.0

Reviewed By: aigoncharov

Differential Revision: D36658611

fbshipit-source-id: 74137e1c5c1f5be5dc45c28ed74aa016001db070
2022-05-25 09:56:02 -07:00
dependabot[bot]
8ce64bbec4 Bump yargs from 17.2.1 to 17.4.1 in /desktop (#3714)
Summary:
Bumps [yargs](https://github.com/yargs/yargs) from 17.2.1 to 17.4.1.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/yargs/yargs/blob/main/CHANGELOG.md">yargs's changelog</a>.</em></p>
<blockquote>
<h3><a href="https://github.com/yargs/yargs/compare/v17.4.0...v17.4.1">17.4.1</a> (2022-04-09)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>coerce pollutes argv (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2161">https://github.com/facebook/flipper/issues/2161</a>) (<a href="2d1136d303">2d1136d</a>)</li>
<li><strong>completion:</strong> don't show positional args choices with option choices (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2148">https://github.com/facebook/flipper/issues/2148</a>) (<a href="b58b5bc2cd">b58b5bc</a>)</li>
<li>hide hidden options from completion (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2143">https://github.com/facebook/flipper/issues/2143</a>) (<a href="e086dfad7f">e086dfa</a>), closes <a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2142">https://github.com/facebook/flipper/issues/2142</a></li>
<li>show message when showHelpOnFail is chained globally (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2154">https://github.com/facebook/flipper/issues/2154</a>) (<a href="ad9fcacb00">ad9fcac</a>)</li>
</ul>
<h2><a href="https://github.com/yargs/yargs/compare/v17.3.1...v17.4.0">17.4.0</a> (2022-03-19)</h2>
<h3>Features</h3>
<ul>
<li><strong>completion:</strong> choices will now work for all possible aliases of an option and not just the default long option (<a href="30edd50671">30edd50</a>)</li>
<li><strong>completion:</strong> positional arguments completion (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2090">https://github.com/facebook/flipper/issues/2090</a>) (<a href="00e4ebbe3a">00e4ebb</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li><strong>completion:</strong> changed the check for option arguments to match options that begin with '-', instead of '--', to include short options (<a href="30edd50671">30edd50</a>)</li>
<li><strong>completion:</strong> fix for completions that contain non-leading hyphens (<a href="30edd50671">30edd50</a>)</li>
<li>failed command usage string is missing arg descriptions and optional args (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2105">https://github.com/facebook/flipper/issues/2105</a>) (<a href="d6e342d8ef">d6e342d</a>)</li>
<li>wrap unknown args in quotes (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2092">https://github.com/facebook/flipper/issues/2092</a>) (<a href="6a2977867b">6a29778</a>)</li>
</ul>
<h3><a href="https://github.com/yargs/yargs/compare/v17.3.0...v17.3.1">17.3.1</a> (2021-12-23)</h3>
<h3>Bug Fixes</h3>
<ul>
<li><strong>translations:</strong> correct Korean translation (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2095">https://github.com/facebook/flipper/issues/2095</a>) (<a href="c7c2b9eb34">c7c2b9e</a>)</li>
</ul>
<h2><a href="https://github.com/yargs/yargs/compare/v17.2.1...v17.3.0">17.3.0</a> (2021-11-30)</h2>
<h3>Features</h3>
<ul>
<li>fallback to default bash completion (<a href="74c0ba5cfc">74c0ba5</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>avoid legacy accessors (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2013">https://github.com/facebook/flipper/issues/2013</a>) (<a href="adb0d11e02">adb0d11</a>)</li>
<li><strong>deps:</strong> update dependency yargs-parser to v21 (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2063">https://github.com/facebook/flipper/issues/2063</a>) (<a href="76c19518d7">76c1951</a>)</li>
<li>don't fail if &quot;fileURLToPath(import.meta.url)&quot; throws (<a href="3a44796c84">3a44796</a>)</li>
<li>re-add options to check callback (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2079">https://github.com/facebook/flipper/issues/2079</a>) (<a href="e75319d991">e75319d</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="be525157f3"><code>be52515</code></a> chore(main): release 17.4.1 (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2147">https://github.com/facebook/flipper/issues/2147</a>)</li>
<li><a href="2d1136d303"><code>2d1136d</code></a> fix: coerce pollutes argv (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2161">https://github.com/facebook/flipper/issues/2161</a>)</li>
<li><a href="ad9fcacb00"><code>ad9fcac</code></a> fix: show message when showHelpOnFail is chained globally (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2154">https://github.com/facebook/flipper/issues/2154</a>)</li>
<li><a href="b58b5bc2cd"><code>b58b5bc</code></a> fix(completion): don't show positional args choices with option choices (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2148">https://github.com/facebook/flipper/issues/2148</a>)</li>
<li><a href="0bb49c3d86"><code>0bb49c3</code></a> samples: event.keyCode is deprecated, use new <code>.code</code> API (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2125">https://github.com/facebook/flipper/issues/2125</a>)</li>
<li><a href="e086dfad7f"><code>e086dfa</code></a> fix: hide hidden options from completion (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2143">https://github.com/facebook/flipper/issues/2143</a>)</li>
<li><a href="bcd59f1715"><code>bcd59f1</code></a> chore(main): release 17.4.0 (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2108">https://github.com/facebook/flipper/issues/2108</a>)</li>
<li><a href="3cbc38ccbf"><code>3cbc38c</code></a> docs: fix hyphenation (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2141">https://github.com/facebook/flipper/issues/2141</a>)</li>
<li><a href="00e4ebbe3a"><code>00e4ebb</code></a> feat(completion): positional arguments completion (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2090">https://github.com/facebook/flipper/issues/2090</a>)</li>
<li><a href="c0661643fc"><code>c066164</code></a> docs: an example using inquirer prompting (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2114">https://github.com/facebook/flipper/issues/2114</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/yargs/yargs/compare/v17.2.1...v17.4.1">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=yargs&package-manager=npm_and_yarn&previous-version=17.2.1&new-version=17.4.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/3714

Reviewed By: timur-valiev

Differential Revision: D36371211

Pulled By: mweststrate

fbshipit-source-id: 8a67df778d5d4cb3c314eaf1463d9437fe4261bb
2022-05-23 07:29:26 -07:00
dependabot[bot]
f2279f62c5 Bump ws from 8.5.0 to 8.6.0 in /desktop (#3708)
Summary:
Bumps [ws](https://github.com/websockets/ws) from 8.5.0 to 8.6.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/websockets/ws/releases">ws's releases</a>.</em></p>
<blockquote>
<h2>8.6.0</h2>
<h1>Features</h1>
<ul>
<li>Add the ability to remove confidential headers on a per-redirect basis (<a href="https://github-redirect.dependabot.com/websockets/ws/issues/2030">https://github.com/facebook/flipper/issues/2030</a>).</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="ba214d9693"><code>ba214d9</code></a> [dist] 8.6.0</li>
<li><a href="8e3f1181f2"><code>8e3f118</code></a> [feature] Introduce the <code>'redirect'</code> event (<a href="https://github-redirect.dependabot.com/websockets/ws/issues/2030">https://github.com/facebook/flipper/issues/2030</a>)</li>
<li><a href="69e682806d"><code>69e6828</code></a> [ci] Test on node 18</li>
<li><a href="0b6eb71665"><code>0b6eb71</code></a> [ci] Do not test on node 17</li>
<li><a href="d062ded622"><code>d062ded</code></a> [example] Fix require path</li>
<li><a href="2cf6202f8a"><code>2cf6202</code></a> [example] Use the <code>WebSocket.WebSocket{,Server}</code> aliases</li>
<li><a href="62e9b199ad"><code>62e9b19</code></a> [doc] Fix nits</li>
<li><a href="2619c003ce"><code>2619c00</code></a> [minor] Fix nit in comment</li>
<li><a href="d086f4bcbb"><code>d086f4b</code></a> [minor] Make <code>abortHandshake()</code> emit the error in the next tick</li>
<li><a href="ff80d665f9"><code>ff80d66</code></a> [test] Do not use a relative URL</li>
<li>Additional commits viewable in <a href="https://github.com/websockets/ws/compare/8.5.0...8.6.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ws&package-manager=npm_and_yarn&previous-version=8.5.0&new-version=8.6.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/3708

Reviewed By: timur-valiev

Differential Revision: D36371198

Pulled By: mweststrate

fbshipit-source-id: df9befdb3f95be2b8c564f87287bd8621e3a0c59
2022-05-23 07:29:26 -07:00
Flipper Bot
8bbc3fda69 Flipper Release: v0.146.1
Summary: Releasing version 0.146.1

Reviewed By: aigoncharov

Differential Revision: D36543493

fbshipit-source-id: 0eaf1e3c4cb51440aa8d22cbe721dc44938c9246
2022-05-20 08:46:00 -07:00
Flipper Bot
47238f0d7d Flipper Release: v0.146.0
Summary: Releasing version 0.146.0

Reviewed By: nikoant

Differential Revision: D36473300

fbshipit-source-id: 076031a8acef8d37fd71a8832ba2bd4918a3e724
2022-05-18 10:11:13 -07:00
Andrey Goncharov
d1ed676a48 Remove dynamic dependencies from flipper-server
Summary:
Currently, Flipper Server has a few productions dependencies (mac-ca, node-fetch) that are not bundled with the Flipper Server. It makes it harder to distribute Flipper Server, as now all potential consumers need not only to download the bundle, but also install these additional dependencies.
This diff makes it possible to bundle `mac-ca` and `node-fetch` with Flipper Server. As a result, Flipper Server becomes dependency-free in production.

Reviewed By: lblasa

Differential Revision: D36345213

fbshipit-source-id: 2cd6ba1b3301b45dc2295891964ba020fd107586
2022-05-13 03:19:47 -07:00
Pascal Hartig
045e0cc9fe App bundle for server
Summary:
This bundles up the Flipper Server in a Mac App Bundle which is identically in shape to a regular Desktop bundle. That means we can swap them out transparently without having to keep the layout in sync with Flipper Launcher.

It bundles nodeJS binary which we can later also provide for aarch64.

Reviewed By: aigoncharov

Differential Revision: D36140809

fbshipit-source-id: fb3410626ab172ce0da48f1a4a1489da68450369
2022-05-09 04:19:55 -07:00
Flipper Bot
4b07c0f9d9 Flipper Release: v0.145.0
Summary: Releasing version 0.145.0

Reviewed By: cekkaewnumchai

Differential Revision: D36168545

fbshipit-source-id: 4cb68eb9c8c80a0018c2a617ce0704fd18ff0b47
2022-05-06 05:14:39 -07:00
Zeh Fernando
8f62ac8428 Add new icon
Summary: Add new icon for internal plugin

Differential Revision: D35835433

fbshipit-source-id: 7d859a923c2070cae349469813ba45d419318cd7
2022-04-27 06:44:22 -07:00
Flipper Bot
cd7e8bd8d7 Flipper Release: v0.144.0
Summary: Releasing version 0.144.0

Reviewed By: passy

Differential Revision: D35960718

fbshipit-source-id: a2fc470a831f1788ce4fa2be23c758a1c205f0bb
2022-04-27 03:51:35 -07:00
Flipper Bot
94758c1204 Flipper Release: v0.143.0
Summary: Releasing version 0.143.0

Reviewed By: lblasa

Differential Revision: D35775016

fbshipit-source-id: a0c3bd46547f7a561e1de775796b93ea9cf3071e
2022-04-20 10:26:59 -07:00
Tommy Soh
c9981ffb1b Phoenix flipper - client plugin
Summary:
Created by running scarf flipper-plugin command as suggested in [doc](https://www.internalfb.com/intern/staticdocs/flipper/docs/extending/desktop-plugin-structure/).

Will be modifying test & index later to receive other data

- also created [GK](https://www.internalfb.com/intern/gatekeeper/projects/flipper_phoenixinternal/)

Question
- Is there a way to hide the plugin until feature is complete, besides GK?

Reviewed By: nikoant

Differential Revision: D35721694

fbshipit-source-id: 9052fbfd4530bb567f672b7f37153a62c7c75463
2022-04-20 10:00:46 -07:00
Flipper Bot
571658e603 Flipper Release: v0.141.0
Summary: Releasing version 0.141.0

Reviewed By: nikoant

Differential Revision: D35245058

fbshipit-source-id: a04893f3e98b86063616672c37fb6e57a8d8c1a3
2022-03-31 07:08:27 -07:00
Flipper Bot
c7b99f27fa Flipper Release: v0.140.0
Summary: Releasing version 0.140.0

Reviewed By: mweststrate

Differential Revision: D35073921

fbshipit-source-id: 42da1ef7c9db0309957090debb71a22ff3873918
2022-03-23 07:35:55 -07:00
Pascal Hartig
af924b1c6a Format html files
Summary: Using the built-in VSCode formatter to make them all a little more consistent before making changes to them.

Reviewed By: antonk52, nikoant

Differential Revision: D34897393

fbshipit-source-id: 270e575a4e8b15ff31887a356516af7409315618
2022-03-16 09:41:36 -07:00
Andrey Goncharov
f85def32fb Migrate from socket.io
Reviewed By: passy

Differential Revision: D34787674

fbshipit-source-id: 63d7c166ea29d14c96f0646a045e3f6fa93472e2
2022-03-10 10:31:24 -08:00
Flipper Bot
6bf158f0df Flipper Release: v0.138.0
Summary: Releasing version 0.138.0

Reviewed By: lblasa

Differential Revision: D34749057

fbshipit-source-id: 45b01c5a8830c626e81fc15cdbf81dc7134c04d8
2022-03-09 05:27:16 -08:00
Pascal Hartig
35428ca039 Keytar platform/arch
Summary:
There appears to be an issue with login on M1 Macs right now. To address this, this resolves the native binary based on a `(platform, arch)` tuple.

The binaries are from here: https://github.com/atom/node-keytar/releases/tag/v7.9.0

The binary size increase here is notable so as a follow-up we could remove the non-relevant binaries as part of the packing process.

Reviewed By: aigoncharov

Differential Revision: D34685236

fbshipit-source-id: d860a59517a769a59055dfca24d01baecd8d1430
2022-03-08 12:19:52 -08:00
Pascal Hartig
6d05e6c226 Bump /desktop again
Summary:
New round of releases and PRs came up, so bumping again.

Very selective Metro update as some dependencies don't play well together. A bunch of other dependencies use ESM and fail at various stages of the build or runtime process.

Reviewed By: mweststrate

Differential Revision: D34688830

fbshipit-source-id: 2ff5c46c253b814140f634a986ba0d246e9b0945
2022-03-08 03:02:11 -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
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