Commit Graph

225 Commits

Author SHA1 Message Date
Flipper Bot
5cc83b35a4 Flipper Release: v0.93.0
Summary: Releasing version 0.93.0

Reviewed By: fabiomassimo

Differential Revision: D28988465

fbshipit-source-id: ad57ba98a0400affa6c47a097357fc57dcba48fb
2021-06-09 07:47:54 -07:00
dependabot[bot]
6902e55256 Bump ws from 7.3.0 to 7.4.6 in /desktop (#2371)
Summary:
Bumps [ws](https://github.com/websockets/ws) from 7.3.0 to 7.4.6.
<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>7.4.6</h2>
<h1>Bug fixes</h1>
<ul>
<li>Fixed a ReDoS vulnerability (00c425ec).</li>
</ul>
<p>A specially crafted value of the <code>Sec-Websocket-Protocol</code> header could be used
to significantly slow down a ws server.</p>
<pre lang="js"><code>for (const length of [1000, 2000, 4000, 8000, 16000, 32000]) {
  const value = 'b' + ' '.repeat(length) + 'x';
  const start = process.hrtime.bigint();
<p>value.trim().split(/ *, */);</p>
<p>const end = process.hrtime.bigint();</p>
<p>console.log('length = %d, time = %f ns', length, end - start);
}
</code></pre></p>
<p>The vulnerability was responsibly disclosed along with a fix in private by
Robert McLaughlin from University of California, Santa Barbara.</p>
<p>In vulnerable versions of ws, the issue can be mitigated by reducing the maximum
allowed length of the request headers using the <a href="https://nodejs.org/api/cli.html#cli_max_http_header_size_size"><code>--max-http-header-size=size</code></a>
and/or the <a href="https://nodejs.org/api/http.html#http_http_createserver_options_requestlistener"><code>maxHeaderSize</code></a> options.</p>
<h2>7.4.5</h2>
<h1>Bug fixes</h1>
<ul>
<li>UTF-8 validation is now done even if <code>utf-8-validate</code> is not installed
(23ba6b29).</li>
<li>Fixed an edge case where <code>websocket.close()</code> and <code>websocket.terminate()</code> did
not close the connection (67e25ff5).</li>
</ul>
<h2>7.4.4</h2>
<h1>Bug fixes</h1>
<ul>
<li>Fixed a bug that could cause the process to crash when using the
permessage-deflate extension (92774377).</li>
</ul>
<h2>7.4.3</h2>
<h1>Bug fixes</h1>
<ul>
<li>The deflate/inflate stream is now reset instead of reinitialized when context
takeover is disabled (<a href="https://github-redirect.dependabot.com/websockets/ws/issues/1840">https://github.com/facebook/flipper/issues/1840</a>).</li>
</ul>
<h2>7.4.2</h2>
<h1>Bug fixes</h1>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="f5297f7090"><code>f5297f7</code></a> [dist] 7.4.6</li>
<li><a href="00c425ec77"><code>00c425e</code></a> [security] Fix ReDoS vulnerability</li>
<li><a href="990306d144"><code>990306d</code></a> [lint] Fix prettier error</li>
<li><a href="32e3a8439b"><code>32e3a84</code></a> [security] Remove reference to Node Security Project</li>
<li><a href="8c914d18b8"><code>8c914d1</code></a> [minor] Fix nits</li>
<li><a href="fc7e27d12a"><code>fc7e27d</code></a> [ci] Test on node 16</li>
<li><a href="587c201bfc"><code>587c201</code></a> [ci] Do not test on node 15</li>
<li><a href="f672710797"><code>f672710</code></a> [dist] 7.4.5</li>
<li><a href="67e25ff502"><code>67e25ff</code></a> [fix] Fix case where <code>abortHandshake()</code> does not close the connection</li>
<li><a href="23ba6b2922"><code>23ba6b2</code></a> [fix] Make UTF-8 validation work even if utf-8-validate is not installed</li>
<li>Additional commits viewable in <a href="https://github.com/websockets/ws/compare/7.3.0...7.4.6">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=7.3.0&new-version=7.4.6)](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/2371

Reviewed By: passy

Differential Revision: D28714468

Pulled By: nikoant

fbshipit-source-id: c2a3a7091599f29d453a35bf89bab4a03817509c
2021-05-27 03:51:53 -07:00
Flipper Bot
0305947ca2 Flipper Release: v0.91.2
Summary: Releasing version 0.91.2

Reviewed By: nikoant

Differential Revision: D28638216

fbshipit-source-id: 282edcbfb954e65f4a8559445856b01929578619
2021-05-24 06:52:10 -07:00
Stephen Schwink
0c854eaeb5 Add Flipper icon "raincloud"
Reviewed By: joelmats

Differential Revision: D28541930

fbshipit-source-id: 109264f705f0060a3b1b085abc1d0717decb6143
2021-05-19 13:35:05 -07:00
Anton Nikolaev
3f55ceac8f Added few eslint rules checking promises
Summary:
Added rules to ensure we properly propagate errors from promises.

Also found and fixed a place where promise function parameter was mismatched.

Reviewed By: mweststrate

Differential Revision: D28537820

fbshipit-source-id: b93f44274fc76544049813f645508cb78e432880
2021-05-19 09:30:42 -07:00
Flipper Bot
0a3b817429 Flipper Release: v0.90.0
Summary: Releasing version 0.90.0

Reviewed By: mweststrate

Differential Revision: D28424374

fbshipit-source-id: 1ce8cde0fff12cdb6ff973d6824e065d6b735079
2021-05-13 15:33:42 -07:00
Flipper Bot
b8177afbc7 Flipper Release: v0.89.0
Summary: Releasing version 0.89.0

Reviewed By: mweststrate

Differential Revision: D28408535

fbshipit-source-id: 602c6c6f416393e294fdaa10b24071d97f3ac0c2
2021-05-13 02:16:10 -07:00
Flipper Bot
52fbd9a8a0 Flipper Release: v0.88.0
Summary: Releasing version 0.88.0

Reviewed By: cekkaewnumchai

Differential Revision: D28253701

fbshipit-source-id: 968406eae58e93aee1d605d736bff77c703c31fc
2021-05-06 05:03:03 -07:00
Chaiwat Ekkaewnumchai
c2fbff7615 Convert AdsInfo plugin to Sandy And Ant Design UI
Summary: per title

Reviewed By: mweststrate

Differential Revision: D28001074

fbshipit-source-id: f90bdeb887219af1eceea005c8c23ba6eb5b01bd
2021-05-04 18:00:34 -07:00
Flipper Bot
7f135722a9 Flipper Release: v0.87.0
Summary: Releasing version 0.87.0

Reviewed By: passy

Differential Revision: D28055084

fbshipit-source-id: 71cb9abbea0b43b56fd23baf7a728337a554ecbc
2021-04-28 06:58:22 -07:00
Anton Nikolaev
8eee8e5a0d Added missing icon
Summary: Added missing icon

Reviewed By: passy

Differential Revision: D27999112

fbshipit-source-id: b7ad9967c10f8333848583c648ad04ff5429d714
2021-04-26 10:14:06 -07:00
Flipper Bot
bde0791818 Flipper Release: v0.86.0
Summary: Releasing version 0.86.0

Reviewed By: priteshrnandgaonkar

Differential Revision: D27905837

fbshipit-source-id: 349b63a1f06d85b075d07b610179fd613da6bf52
2021-04-21 04:54:43 -07:00
Aaron Coplan
5a89776a05 Implement Diff selection flow in UIQR Flipper Plugin
Summary: Allow the user to manually select a diff from a list of diffs they have authored to send a screen to. This is particularly useful for NT users.

Reviewed By: nscoding

Differential Revision: D27804191

fbshipit-source-id: 805923399f2ced8d9c3b3ca0c80d5cdfd63af4f8
2021-04-20 18:53:31 -07:00
Michel Weststrate
e29222fba7 Update and patch loading React DevTools
Summary:
When trying to run some React component performance profiles, the updates registered made absolutely no sense (components rerendering without any parent or other cause causing them to render etc). That turned out to be caused by having an outdated version of the React devTools in Flipper.

Sadly the newer version of the React DevTools didn't work with our current Electron version anymore. Some horrible hacking is needed to work around that.

To help with updating the tools in the future (they are by default cached forever on the local machine), I've introduced the `FLIPPER_UPDATE_DEV_TOOLS` variable.

The plugin loading work around is inspired by https://github.com/electron/electron/issues/23662#issuecomment-787420799

Reviewed By: passy

Differential Revision: D27685981

fbshipit-source-id: c35e49aff9b2457b63122eeee0d5c042ddd3b08b
2021-04-15 07:48:33 -07:00
Flipper Bot
a792c146d6 Flipper Release: v0.85.0
Summary: Releasing version 0.85.0

Reviewed By: jknoxville

Differential Revision: D27766005

fbshipit-source-id: 25bdd6d0ad831e087e51529adc5e6c2b4fa43d57
2021-04-14 09:49:45 -07:00
generatedunixname89002005306973
4aeb1e7293 Flipper Release: v0.83.0
Summary: Releasing version 0.83.0

Reviewed By: mweststrate

Differential Revision: D27468622

fbshipit-source-id: d245bb418d546e19ec09dfe11ec53964ceec85f1
2021-03-31 10:20:17 -07:00
Tuomas Jaakola
3a0d6a3acc App icon for Linux (#2116)
Summary:
Fixes https://github.com/facebook/flipper/issues/1369
It seems that electron-builder has an issue when trying to set the app icon for Linux zip builds. A workaround for this is to set `icon` option for `BrowserWindow`.

I created a new PNG file for this, it seems that 64x64 looks the best.

## Changelog

App icon for Linux fixed.

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

Test Plan: ![Screenshot from 2021-03-29 13-50-48](https://user-images.githubusercontent.com/490260/112826545-d00d6e00-9095-11eb-984f-227e923f275e.png)

Reviewed By: mweststrate

Differential Revision: D27461758

Pulled By: passy

fbshipit-source-id: 0be3d6b356d1332e89c3df6c137269900417f9ba
2021-03-31 06:33:15 -07:00
Michel Weststrate
220ebbc601 Make autoScrolling explicit
Summary:
Changelog: Added an explicit autoscroll indicator in logs and fixed snapping

We got several reports that auto scrolling was to aggressive, so revisited the implementation and the new one is a lot more reliable. Also added an explicit indicator / button to toggle tailing.

Exposed ant's active color as well in our theme, as it gives better contrast on the buttons than Flipper purple.

Reviewed By: passy

Differential Revision: D27397506

fbshipit-source-id: 5e82939de4b2f8b89380bd55009e3fa2a7c10ec9
2021-03-31 03:44:34 -07:00
generatedunixname89002005306973
44c0dcad1e Flipper Release: v0.82.2
Summary: Releasing version 0.82.2

Reviewed By: passy

Differential Revision: D27429067

fbshipit-source-id: a4d2971cd9849d06ee7971e51acc31977b518e64
2021-03-30 06:01:32 -07:00
Pascal Hartig
e4a814502a Mass bump deps
Summary:
Bumping everything that's just a patch version behind or safe-looking minor change.

Just hoping to get ahead of dependabot's next run.

Reviewed By: fabiomassimo

Differential Revision: D27367567

fbshipit-source-id: 1bf8bad02e5a9f07f5982466254f9906581230cf
2021-03-27 04:25:57 -07:00
generatedunixname89002005306973
9bccaf3951 Flipper Release: v0.82.0
Summary: Releasing version 0.82.0

Reviewed By: mweststrate

Differential Revision: D27328585

fbshipit-source-id: 720bc154078611295664a34a567299a94a790711
2021-03-25 09:36:13 -07:00
Pascal Hartig
81252edf33 Upgrade to Electron 12.0.1
Summary: Changelog: Upgraded to Electron 12.0.1

Reviewed By: fabiomassimo

Differential Revision: D27084184

fbshipit-source-id: 5d45c632f7fec78635287f1919ef1cf0b2b458ad
2021-03-17 16:32:39 -07:00
generatedunixname89002005306973
0293a2a5fb Flipper Release: v0.81.0
Summary: Releasing version 0.81.0

Reviewed By: priteshrnandgaonkar

Differential Revision: D27114449

fbshipit-source-id: bcf89ccb61aedc7413d4031da42b10971e3808fa
2021-03-17 04:48:28 -07:00
Michel Weststrate
d293b2b0e5 Dispose adb logcat connection if there are no listeners
Summary:
Flipper used to always subscribe to the adb logs. This change makes the log subscription lazy, which means if there are no plugins listening to the logs, we don't subscribe to the adb logs at all. As you can see in the recording (prod build) this lowers CPU usage significantly: without logs plugin disabled it is now ~5-8 %, with the plugin enabled ~12-18%. Before this change we would never stop listening to the log output, even when the plugins were disabled, causing a constant background noise which people complain regularly about.

The pause / resume button in the new log plugin will now cleanup the connection as well, so that a simple 'pause' click will already boost performance, without needing to disable the logs plugin (if crash reporter is not enabled)

In this diff we also will clear the logs when reconnected. Previously we didn't reset the logs after connecting, we means Flipper would try to gets up with all past logs first, which could be a few 100 K entries.

Further future optimizations could involve using logcat smarter; by actually passing filters on app or loglevel to the command (not sure if that is actually faster, or just a convenience api that does the same filtering as we do)

Changelog: Flipper will now use less CPU if logs & crash reporter plugins are disabled by no longer tailing adb logcat.

Reviewed By: nikoant

Differential Revision: D27047041

fbshipit-source-id: 251a04dcc6f488f220cb56fe50a26788d795e38c
2021-03-16 15:03:48 -07:00
generatedunixname89002005306973
47ff03fb96 Flipper Release: v0.79.0
Summary: Releasing version 0.79.0

Reviewed By: nikoant

Differential Revision: D26776798

fbshipit-source-id: 0e85fbad5024c7a794af71098a6b7d4953f4de34
2021-03-03 06:12:35 -08:00
generatedunixname89002005306973
31d0acc4b5 Flipper Release: v0.78.0
Summary: Releasing version 0.78.0

Reviewed By: mweststrate

Differential Revision: D26692601

fbshipit-source-id: edc7e1c91f613344e02772cf53c8868aa3a8cf4a
2021-02-26 13:15:34 -08:00
Michel Weststrate
f2689d3a5d Add device level icons
Summary: Gave every device an icon, and use it as fallback in case we don't have a client icon. Added an icon for the Flipper client. This gets (largely) rid of the 'blank' icons

Reviewed By: fabiomassimo

Differential Revision: D26691054

fbshipit-source-id: d83012e755ae5edb230747e88f9b2eac45450b19
2021-02-26 07:27:54 -08:00
Anton Nikolaev
208e899b4f Flipper Release: v0.76.0
Summary: Releasing version 0.76.0

Reviewed By: jknoxville

Differential Revision: D26515193

fbshipit-source-id: 38d547195a2d1e214e6f31a990c1d9e3f7869869
2021-02-19 02:58:32 -08:00
Patrik Tomas Chamelo
805261b429 Basic skeleton for no diff found
Summary:
- populate the state
- will render some UI that you can reload
- next up showing the diff number and title

Differential Revision: D26477472

fbshipit-source-id: d5c5175771c324c9f893a6b6c6a14a40a2f0f0fe
2021-02-17 21:15:19 -08:00
Patrik Tomas Chamelo
2fc3c2a4c1 Update the plugin name and icon
Summary: ^

Differential Revision: D26476419

fbshipit-source-id: 9274cd84552171b9af84e51554b202deb9507398
2021-02-17 21:15:19 -08:00
generatedunixname89002005306973
0633e5bfd7 Flipper Release: v0.75.1
Summary: Releasing version 0.75.1

Reviewed By: passy

Differential Revision: D26422941

fbshipit-source-id: 655a898289c877b44a9c7bd3e359dcf045688988
2021-02-12 05:14:57 -08:00
generatedunixname89002005306973
48a6235d26 Flipper Release: v0.75.0
Summary: Releasing version 0.75.0

Reviewed By: passy

Differential Revision: D26368798

fbshipit-source-id: e0d1d23023c6f0fb66ff675ccd61758722e4ebd7
2021-02-10 08:16:13 -08:00
Timur Valiev
d39ea08a6c add vs coe glyphs and links to reduction tree
Summary: let's make it easier for users to spot possiblity to jump to source code from flipper

Reviewed By: priteshrnandgaonkar

Differential Revision: D26147686

fbshipit-source-id: 6e248c10e73f3b8fcd937d915af6e91db1fe6abe
2021-01-29 08:38:52 -08:00
generatedunixname89002005306973
20cd25f726 Flipper Release: v0.73.0
Summary: Releasing version 0.73.0

Reviewed By: nikoant

Differential Revision: D26125287

fbshipit-source-id: 7fd00aa679a5ac3d69013d0bdb0cf5d868fd5cc7
2021-01-28 06:55:58 -08:00
Michel Weststrate
727c99b729 Introduce support for no hardware acceleration
Summary: Start flipper with `--no-launcher --disable-gpu` to disable hardware acceleration

Reviewed By: passy

Differential Revision: D25994355

fbshipit-source-id: e75bb209c8e3325135a114bec1f25889187d2728
2021-01-22 05:31:00 -08:00
Michel Weststrate
ffeb47ed75 Move title bar functionality to rail (#1816)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/1816

Now that Sandy is the default in OSS builds as well, we can remove the temporarily title bar and switch to small topbar windows in Electron.

This diff removes any remaining elements in the titlebar

- version number went into the title bar
- the update check warning is shown on top of the bottom section of the left rail (orange triangle)
- the development only perf graphs are moved to the left bar as well and are now aligned vertically.

Reviewed By: jknoxville

Differential Revision: D25805957

fbshipit-source-id: fba4b60c246b8f5d99a93087af31af9ac55defe8
2021-01-18 06:48:03 -08:00
Scott Kensell
8eb2243f5f Added hub icon.
Summary: This adds the hub icon to the list of available icons.

Reviewed By: mweststrate

Differential Revision: D25873343

fbshipit-source-id: 0060a1a2e3e6298eb39cb652a5e3dbc71c01367e
2021-01-12 11:34:56 -08:00
dependabot[bot]
109ee4e4e5 Bump ws from 7.3.0 to 7.4.2 in /desktop (#1827)
Summary:
Bumps [ws](https://github.com/websockets/ws) from 7.3.0 to 7.4.2.
<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>7.4.2</h2>
<h1>Bug fixes</h1>
<ul>
<li>Silenced a deprecation warning (d1a8af4d).</li>
</ul>
<h2>7.4.1</h2>
<h1>Bug fixes</h1>
<ul>
<li>Added a workaround for a double <code>'error'</code> event bug in Node.js &lt; 13 which
caused an uncaught error during the WebSocket handshake (38d6ab3b).</li>
</ul>
<h2>7.4.0</h2>
<h1>Features</h1>
<ul>
<li>The callback of <code>WebSocketServer.prototype.handleUpgrade()</code> now takes the
client HTTP GET request as second argument (7d39f19e).</li>
</ul>
<h1>Bug fixes</h1>
<ul>
<li>Read-only properties are now read-only (eabed8fc).</li>
<li>The <code>CONNECTING</code>, <code>OPEN</code>, <code>CLOSING</code>, <code>CLOSED</code>, <code>binaryType</code>, <code>bufferedAmount</code>,
<code>extensions</code>, <code>onclose</code>, <code>onerror</code>, <code>onmessage</code>, <code>onopen</code>, <code>protocol</code>,
<code>readyState</code>, and <code>url</code> properties are now enumerable (2069e684).</li>
</ul>
<h2>7.3.1</h2>
<h1>Bug fixes</h1>
<ul>
<li>Improved <code>websocket.bufferedAmount</code> accuracy (e1349c04, a1629426).</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="d1a8af4ddb"><code>d1a8af4</code></a> [dist] 7.4.2</li>
<li><a href="48a2349d22"><code>48a2349</code></a> [pkg] Update eslint-config-prettier to version 7.1.0</li>
<li><a href="a2c0d447af"><code>a2c0d44</code></a> [minor] Silence deprecation warning</li>
<li><a href="c171962844"><code>c171962</code></a> [dist] 7.4.1</li>
<li><a href="38d6ab3b06"><code>38d6ab3</code></a> [fix] Handle cases where the <code>'error'</code> event is emitted multiple times</li>
<li><a href="3d5066a7ca"><code>3d5066a</code></a> [test] Check configurability and enumerability of WebSocket properties</li>
<li><a href="eb36a63183"><code>eb36a63</code></a> [dist] 7.4.0</li>
<li><a href="3f185bf34a"><code>3f185bf</code></a> [minor] Use the public <code>binaryType</code> property</li>
<li><a href="2069e68470"><code>2069e68</code></a> [fix] Fix the enumerability of some properties</li>
<li><a href="eabed8fcc3"><code>eabed8f</code></a> [fix] Make read-only properties read-only</li>
<li>Additional commits viewable in <a href="https://github.com/websockets/ws/compare/7.3.0...7.4.2">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=7.3.0&new-version=7.4.2)](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/1827

Reviewed By: mweststrate

Differential Revision: D25870560

Pulled By: passy

fbshipit-source-id: e71365ab725d18bd89f93854087437703da477c4
2021-01-12 09:47:47 -08:00
generatedunixname89002005306973
44e1b2ee9a Flipper Release: v0.70.0
Summary: Releasing version 0.70.0

Reviewed By: passy

Differential Revision: D25801619

fbshipit-source-id: bab5364e393a4db9c5a801d041f537f3e6d36d81
2021-01-06 03:21:57 -08:00
dependabot[bot]
647b5424c0 Bump yargs from 16.1.1 to 16.2.0 in /desktop (#1783)
Summary:
Bumps [yargs](https://github.com/yargs/yargs) from 16.1.1 to 16.2.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/yargs/yargs/releases">yargs's releases</a>.</em></p>
<blockquote>
<h2>yargs v16.2.0</h2>
<h3>Features</h3>
<ul>
<li>command() now accepts an array of modules (<a href="f415388cc4">f415388</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>add package.json to module exports (<a href="https://www.github-redirect.dependabot.com/yargs/yargs/issues/1818">#1818</a>) (<a href="d783a49a7f">d783a49</a>), closes <a href="https://www.github-redirect.dependabot.com/yargs/yargs/issues/1817">#1817</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/yargs/yargs/blob/master/CHANGELOG.md">yargs's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://www.github.com/yargs/yargs/compare/v16.1.1...v16.2.0">16.2.0</a> (2020-12-05)</h2>
<h3>Features</h3>
<ul>
<li>command() now accepts an array of modules (<a href="f415388cc4">f415388</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>add package.json to module exports (<a href="https://www.github-redirect.dependabot.com/yargs/yargs/issues/1818">#1818</a>) (<a href="d783a49a7f">d783a49</a>), closes <a href="https://www.github-redirect.dependabot.com/yargs/yargs/issues/1817">#1817</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="a9b11d5d83"><code>a9b11d5</code></a> chore: release 16.2.0 (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/1822">#1822</a>)</li>
<li><a href="f415388cc4"><code>f415388</code></a> feat: command() now accepts an array of modules</li>
<li><a href="bc6f9735d6"><code>bc6f973</code></a> build: stop pinning release-please</li>
<li><a href="d783a49a7f"><code>d783a49</code></a> fix: add package.json to module exports (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/1818">#1818</a>)</li>
<li><a href="e2d9e93640"><code>e2d9e93</code></a> docs: add example of using middleware with choices (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/1813">#1813</a>)</li>
<li><a href="39af319cb0"><code>39af319</code></a> docs: fix some typos (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/1807">#1807</a>)</li>
<li>See full diff in <a href="https://github.com/yargs/yargs/compare/v16.1.1...v16.2.0">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=16.1.1&new-version=16.2.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/1783

Reviewed By: passy

Differential Revision: D25664499

Pulled By: cekkaewnumchai

fbshipit-source-id: a6ba1d3ebf0f3ff71b721fc1e84e5b2b3c83b4b3
2020-12-21 21:20:50 -08:00
Maya Elenblum
0a57265539 Enable Carrier selection from Flipper (Dogfooding)
Summary: Add a dogfooding tab in the Zero Rating devtools in flipper. The tab shows a list of all carriers and carrier ID (will later allow to start  dogfooding after choosing one)

Reviewed By: zaxy78

Differential Revision: D24675379

fbshipit-source-id: 044b6d957976a05bfe2666ca0510531102f9d0f6
2020-12-06 08:27:44 -08:00
Patrik Tomas Chamelo
9b04c8070b Upload the diff number in the global metadata
Summary: Append the hash when possible to the metadata from the flipper submissions.

Differential Revision: D25283309

fbshipit-source-id: 1e95cdc3e9f2f1a08dc53c746732c46969166d97
2020-12-03 12:34:30 -08:00
Anton Nikolaev
dbc888613b Do not bump every package version for every release
Summary:
This diff sets all package version to "0.0.0" except of the root package and changes the bump script to only bump version in the root package. This should reduce possibility of conflicts on release diffs. Anyway we always use the same version for all of our packages, so we can only set it to the root.

Before npm publishing we will set all package versions to the same number as in the root package (we actually already do that) so there will be no differences except we won't need to bump version in  more than 100 packages each release.

Reviewed By: mweststrate

Differential Revision: D25162373

fbshipit-source-id: 02fe401bee72845339c67925c130027bdaee559d
2020-12-02 02:38:47 -08:00
generatedunixname89002005306973
3a733a10df Flipper Release: v0.67.0
Summary: Releasing version 0.67.0

Reviewed By: passy

Differential Revision: D25217536

fbshipit-source-id: 489cba736a847ea9f864b594646014a6d7279161
2020-11-30 10:13:36 -08:00
dependabot[bot]
601849e74a Bump yargs from 16.1.0 to 16.1.1 in /desktop (#1679)
Summary:
Bumps [yargs](https://github.com/yargs/yargs) from 16.1.0 to 16.1.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/yargs/yargs/releases">yargs's releases</a>.</em></p>
<blockquote>
<h2>yargs v16.1.1</h2>
<h3>Bug Fixes</h3>
<ul>
<li>expose helpers for legacy versions of Node.js (<a href="https://www.github-redirect.dependabot.com/yargs/yargs/issues/1801">#1801</a>) (<a href="107deaa4f6">107deaa</a>)</li>
<li><strong>deno:</strong> get yargs working on <a href="mailto:deno@1.5.x">deno@1.5.x</a> (<a href="https://www.github-redirect.dependabot.com/yargs/yargs/issues/1799">#1799</a>) (<a href="cb01c98c44">cb01c98</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/yargs/yargs/blob/master/CHANGELOG.md">yargs's changelog</a>.</em></p>
<blockquote>
<h3><a href="https://www.github.com/yargs/yargs/compare/v16.1.0...v16.1.1">16.1.1</a> (2020-11-15)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>expose helpers for legacy versions of Node.js (<a href="https://www.github-redirect.dependabot.com/yargs/yargs/issues/1801">#1801</a>) (<a href="107deaa4f6">107deaa</a>)</li>
<li><strong>deno:</strong> get yargs working on <a href="mailto:deno@1.5.x">deno@1.5.x</a> (<a href="https://www.github-redirect.dependabot.com/yargs/yargs/issues/1799">#1799</a>) (<a href="cb01c98c44">cb01c98</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="a9ab0a4a9a"><code>a9ab0a4</code></a> chore: release 16.1.1 (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/1800">#1800</a>)</li>
<li><a href="2af60130df"><code>2af6013</code></a> refactor(deno): move types to better named file (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/1806">#1806</a>)</li>
<li><a href="a1d959b0f1"><code>a1d959b</code></a> build: use latest version of action</li>
<li><a href="1fb606171a"><code>1fb6061</code></a> docs: truncate CHANGELOG (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/1805">#1805</a>)</li>
<li><a href="ae001f34c9"><code>ae001f3</code></a> chore: upgrade y18n to 5.0.5 to address prototype pollution issue</li>
<li><a href="107deaa4f6"><code>107deaa</code></a> fix: expose helpers for legacy versions of Node.js (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/1801">#1801</a>)</li>
<li><a href="cb01c98c44"><code>cb01c98</code></a> fix(deno): get yargs working on <a href="mailto:deno@1.5.x">deno@1.5.x</a> (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/1799">#1799</a>)</li>
<li>See full diff in <a href="https://github.com/yargs/yargs/compare/v16.1.0...v16.1.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=16.1.0&new-version=16.1.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/configuring-github-dependabot-security-updates)

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/1679

Reviewed By: passy

Differential Revision: D24994100

Pulled By: mweststrate

fbshipit-source-id: 429db149413790dcea030e99c743bd159f9ccda6
2020-11-18 08:21:19 -08:00
generatedunixname89002005306973
ad8e8fbb24 Flipper Release: v0.66.0
Summary: Releasing version 0.66.0

Reviewed By: nikoant

Differential Revision: D25052024

fbshipit-source-id: 5ef39431905ca3bc2c4870bff2f8ae917ed1e81e
2020-11-18 03:13:31 -08:00
Michel Weststrate
c9a278fb0f Use predefined icons for Facebook family apps
Summary:
Ideally, we want to fetch app Icons from the device, but for now, we can at least for Facebook owned apps we can use a hardcoded set of icons, which probably even looks better.

For ` Lite` apps, the colors of the icon and background are reversed, which makes both variations recognizable.

Reviewed By: jknoxville

Differential Revision: D24920161

fbshipit-source-id: 5220093fb3a443ae535faa4c346a2029de9cbbd5
2020-11-12 15:19:43 -08:00
Michel Weststrate
661bea1d5b Convert Navigation plugin to Sandy
Summary:
Converted the Navigation plugin to Sandy, and updated Locations bookmark accordingly.
This is a prerequisite step of supporting the bookmarkswidgetin the new AppInspect tab.

Updated LocationsButton accordingly, and overal simplified implementation a bit; locationsbutton now reuses the logic of the NavigationPlugin, rather than reimplemting it. This reduces code duplication and also makes sure the state between plugin and location button stays in sync.

Made sure that search providers are derived and cached rather than stored, again simplifying logic

That being said, the navigation plugin is buggy, but all these things failed before this diff as well:
* No events happening when using iOS, despite the plugin being enabled. But these seems to be a long time know issue, looks like it was never implemented
* Not sure if the parameterized bookmarks is working correctly
* screenshots not always happening at the right time (but fixed a race condition where the wrong bookmark might get updated)
* Locations button doesn't show up if the navigation plugin is supported but not enabled (will try to fix in next diff)

Would be great if bnelo12 could do some exploratory testing to verify what ought to be working, but currently isn't.

Reviewed By: cekkaewnumchai

Differential Revision: D24860757

fbshipit-source-id: e4b56072de8c42af2ada0f5bb022cb9f8c04bb47
2020-11-12 04:17:29 -08:00
generatedunixname89002005306973
f04c7a1768 Flipper Release: v0.65.0
Summary: Releasing version 0.65.0

Reviewed By: nikoant

Differential Revision: D24884910

fbshipit-source-id: 6aa59c57c9d372046d71048513db322c03c72b57
2020-11-11 08:17:41 -08:00
Michel Weststrate
2930d78321 Convert UI Evaluations to TypeScript
Summary: per title

Reviewed By: cekkaewnumchai

Differential Revision: D24726918

fbshipit-source-id: 73c3e07d35900ae52179736ca561bf6a3db80e0e
2020-11-05 04:34:15 -08:00