Commit Graph

7222 Commits

Author SHA1 Message Date
Lorenzo Blasa
caa04f4a44 Move User to flipper-common
Summary: Move User from reducers to flipper-common. User will now be usable by other modules.

Reviewed By: passy

Differential Revision: D37599802

fbshipit-source-id: 66412e7ed00bf27448fa2deae70f0e8e80303aba
2022-07-08 14:17:52 -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
Luke De Feo
4e2e23e3b4 Added ability to override device paramters in Deviceplugin test utils
Summary: This allows for more controlled device plugin tests

Reviewed By: mweststrate

Differential Revision: D37609991

fbshipit-source-id: 7e0694ba97e6b2c34b5d9cd81761eecd2f50c6f9
2022-07-07 07:50:14 -07:00
Luke De Feo
e1e741b132 Reviewed By: lblasa
Differential Revision: D37413421

fbshipit-source-id: 062d94e80d6a58aed54ad17ea38de1aef9c464c5
2022-07-07 07:50:14 -07:00
Luke De Feo
749abfeff2 Expose device description in device interface
Summary: This is needed to avoid mobile builds depending on BaseDevice

Reviewed By: mweststrate

Differential Revision: D37315909

fbshipit-source-id: a090bd3e76ceefe1f2ac68f832ee544ae45a8d6a
2022-07-07 07:50:14 -07:00
Luke De Feo
6c5faf2932 Add command to install app to flipper server
Summary: There is a new flipper server command to install apps. For android it uses adb (via adb kit) For ios depending on idb availablity it will use idb or xcrun. Consumed in the next diff

Reviewed By: lblasa, aigoncharov

Differential Revision: D36936637

fbshipit-source-id: e09d34d840a9f3bf9136bcaf94fb8ca15dd27cbb
2022-07-07 07:50:14 -07:00
Luke De Feo
1b02f105dc Add config for vscode-jest extension
Summary:
Provides a much nicer devx, shows test pass / failure in the editor and error messages in line

https://pxl.cl/25G0x

When the extension is installed with this config it will watch all test and run what is needed, automatically updating the editor with test status

It also supports debugging tests individually right in the editor

see https://github.com/jest-community/vscode-jest for full docs

Also Once VS code @ fb is updated to a newer base of vscode, we will get access to to the testing sidebar feature

https://pxl.cl/25G0R

Reviewed By: lblasa, aigoncharov

Differential Revision: D37009812

fbshipit-source-id: e1918a0817d4703089b6300840fcf9564b871682
2022-07-07 07:50:14 -07:00
dependabot[bot]
23f7e2bdee Bump soloader from 0.10.3 to 0.10.4 (#3875)
Summary:
Bumps [soloader](https://github.com/facebook/soloader) from 0.10.3 to 0.10.4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/facebook/soloader/releases">soloader's releases</a>.</em></p>
<blockquote>
<h2>v0.10.4</h2>
<p><strong>Feature</strong></p>
<p>Support pre-computing the dependency</p>
<p><strong>Fixes</strong></p>
<p>Wrongly loaded directApkLdPath(<a href="https://github-redirect.dependabot.com/facebook/soloader/issues/104">https://github.com/facebook/flipper/issues/104</a>)
SoLoader causes crashes on migration to an Android 12 device(<a href="https://github-redirect.dependabot.com/facebook/soloader/issues/100">https://github.com/facebook/flipper/issues/100</a> <a href="https://github-redirect.dependabot.com/facebook/soloader/issues/88">https://github.com/facebook/flipper/issues/88</a> )
Fix race condition in SoLoader#init(<a href="https://github-redirect.dependabot.com/facebook/soloader/issues/99">https://github.com/facebook/flipper/issues/99</a> )</p>
<p><strong>Full Changelog</strong>: <a href="https://github.com/facebook/SoLoader/compare/v0.10.3...v0.10.4">https://github.com/facebook/SoLoader/compare/v0.10.3...v0.10.4</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="884e63157b"><code>884e631</code></a> Bump soloader to v0.10.4</li>
<li><a href="90084463c5"><code>9008446</code></a> Support multiple direct APK soSources</li>
<li><a href="b28033f71c"><code>b28033f</code></a> Fix the crash after App restored via D2 (68a2cfaffa)D or could backup on Android 12</li>
<li><a href="56b397da9e"><code>56b397d</code></a> Adding a getter to the loadedLibraries collection size</li>
<li><a href="0089954898"><code>0089954</code></a> apply import merging for . (1 of 1)</li>
<li><a href="3b241005a2"><code>3b24100</code></a> Only initialize soloader once</li>
<li><a href="000d1299b8"><code>000d129</code></a> Close ZipFile after reading native deps file</li>
<li><a href="05322e3b52"><code>05322e3</code></a> Fix race condition in <code>SoLoader#init</code>. (<a href="https://github-redirect.dependabot.com/facebook/soloader/issues/99">https://github.com/facebook/flipper/issues/99</a>)</li>
<li><a href="efaf4679ba"><code>efaf467</code></a> Support reading native deps file directly from APK</li>
<li><a href="4c0a257879"><code>4c0a257</code></a> Add library count to native_deps file</li>
<li>Additional commits viewable in <a href="https://github.com/facebook/soloader/compare/v0.10.3...v0.10.4">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.facebook.soloader:soloader&package-manager=gradle&previous-version=0.10.3&new-version=0.10.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/3875

Reviewed By: mweststrate

Differential Revision: D37683255

Pulled By: passy

fbshipit-source-id: da7f1f710ec858535782a69f592ff2e5a313bae7
2022-07-07 06:24:00 -07:00
facebook-flipper-bot
41e7e2a338 Automated: Update Podfile.lock (#3885)
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/3885

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

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

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

Reviewed By: mweststrate

Differential Revision: D37664209

Pulled By: passy

fbshipit-source-id: 6a69befdb36b27c21225560dde320867efc940f1
2022-07-07 06:15:47 -07:00
dependabot[bot]
4c08a24e96 Bump react-native-flipper from 0.146.1 to 0.152.0 in /react-native/ReactNativeFlipperExample (#3874)
Summary:
Bumps [react-native-flipper](https://github.com/facebook/flipper) from 0.146.1 to 0.152.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/facebook/flipper/releases">react-native-flipper's releases</a>.</em></p>
<blockquote>
<h2>v0.152.0</h2>
<p>See <a href="https://github.com/facebook/flipper/blob/main/desktop/static/CHANGELOG.md">https://github.com/facebook/flipper/blob/main/desktop/static/CHANGELOG.md</a>
for full notes.</p>
<h2>v0.151.1</h2>
<p>See <a href="https://github.com/facebook/flipper/blob/main/desktop/static/CHANGELOG.md">https://github.com/facebook/flipper/blob/main/desktop/static/CHANGELOG.md</a>
for full notes.</p>
<h2>v0.151.0</h2>
<p>See <a href="https://github.com/facebook/flipper/blob/main/desktop/static/CHANGELOG.md">https://github.com/facebook/flipper/blob/main/desktop/static/CHANGELOG.md</a>
for full notes.</p>
<h2>v0.150.0</h2>
<p>See <a href="https://github.com/facebook/flipper/blob/main/desktop/static/CHANGELOG.md">https://github.com/facebook/flipper/blob/main/desktop/static/CHANGELOG.md</a>
for full notes.</p>
<h2>v0.149.0</h2>
<p>See <a href="https://github.com/facebook/flipper/blob/main/desktop/static/CHANGELOG.md">https://github.com/facebook/flipper/blob/main/desktop/static/CHANGELOG.md</a>
for full notes.</p>
<h2>v0.148.0</h2>
<p>See <a href="https://github.com/facebook/flipper/blob/main/desktop/static/CHANGELOG.md">https://github.com/facebook/flipper/blob/main/desktop/static/CHANGELOG.md</a>
for full notes.</p>
<h2>v0.147.1</h2>
<p>See <a href="https://github.com/facebook/flipper/blob/main/desktop/static/CHANGELOG.md">https://github.com/facebook/flipper/blob/main/desktop/static/CHANGELOG.md</a>
for full notes.</p>
<h2>v0.147.0</h2>
<p>See <a href="https://github.com/facebook/flipper/blob/main/desktop/static/CHANGELOG.md">https://github.com/facebook/flipper/blob/main/desktop/static/CHANGELOG.md</a>
for full notes.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="939f69b4fc"><code>939f69b</code></a> Flipper Release: v0.152.0</li>
<li><a href="13535e9753"><code>13535e9</code></a> Map / route to correct HTML file</li>
<li><a href="47956087ee"><code>4795608</code></a> Add a menu item to export Flipper logs to a file</li>
<li><a href="dcbc7c40bb"><code>dcbc7c4</code></a> Stream server logs to browser</li>
<li><a href="c1d959d62e"><code>c1d959d</code></a> Start a docs page</li>
<li><a href="091de0dd4c"><code>091de0d</code></a> Automated: Update Podfile.lock (<a href="https://github-redirect.dependabot.com/facebook/flipper/issues/3857">https://github.com/facebook/flipper/issues/3857</a>)</li>
<li><a href="8333268654"><code>8333268</code></a> Expose environment info</li>
<li><a href="6b8a41b1e5"><code>6b8a41b</code></a> Flipper Snapshot Bump: v0.151.2-SNAPSHOT</li>
<li><a href="f7048b470e"><code>f7048b4</code></a> Flipper Release: v0.151.1</li>
<li><a href="692b861ee4"><code>692b861</code></a> Increase verbosity of flipper server companion logging</li>
<li>Additional commits viewable in <a href="https://github.com/facebook/flipper/compare/v0.146.1...v0.152.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=react-native-flipper&package-manager=npm_and_yarn&previous-version=0.146.1&new-version=0.152.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/3874

Reviewed By: mweststrate

Differential Revision: D37683258

Pulled By: passy

fbshipit-source-id: b663d384b7d7077c79ccd7efd13188bc17c74206
2022-07-07 06:08:49 -07:00
Flipper Bot
6dc85f6646 Flipper Snapshot Bump: v0.153.1-SNAPSHOT
Summary: Releasing snapshot version 0.153.1-SNAPSHOT

Reviewed By: cekkaewnumchai

Differential Revision: D37643062

fbshipit-source-id: a17f58726c8a58c236ea5a9d13856bb97a6a56f3
2022-07-06 04:06:55 -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
Anton Kastritskiy
013e964287 fix 404 pages
Reviewed By: jknoxville, passy

Differential Revision: D37614048

fbshipit-source-id: 58593b45193382ccdcc8a7eeb77335e663e8eb95
2022-07-05 08:19:08 -07:00
John Knox
569283a1a7 Upgrade staticdocs
Summary: This is required to enable off-VPN access to the site

Reviewed By: antonk52

Differential Revision: D37611617

fbshipit-source-id: 7599fc22766315d799345e955fc87ff3a7ddf50f
2022-07-05 04:27:19 -07:00
James Wysynski
0016b72b37 Add hasOwnProperty checks for child fields in Tabs
Summary:
Add hasOwnProperty checks for child props in Tabs. This prevents warning output when a prop doesn't exist.

{F748481722}

Reviewed By: mweststrate

Differential Revision: D37520888

fbshipit-source-id: 3b0c9fb1e94e76ecb4eb52e97d2f3aa010cb60ce
2022-07-04 09:24:57 -07:00
Michel Weststrate
d162bcc2a4 Fix sorting order of selection during exports
Summary:
See https://fb.workplace.com/100051336486185/videos/469885544533059/

I couldn't reproduce it myself, but it is reported that when copying logs, the order of the selection is not preserve. Diving into the example there is a block of rows (around the 1.09 timestamp) that appear 'too early' in the output.

In flipper we sort the selection before copying the data by row index. This is to make sure if the user has multiple selections, they appear in the order of the logs (including any applied sorting), rather than in the order of which the user selected them.

However, when sorting numbers, JavaScript by coerces them to strings first (wtf JS), so the issue can be prevented by explicitly providing a sort function. Proof: {F749329864}

Reviewed By: lblasa

Differential Revision: D37596975

fbshipit-source-id: 820e03350034e7af8148200a58a8c858b358acd8
2022-07-04 04:13:04 -07:00
Luke De Feo
1353e0630b Fix free text search
Summary:
In diff D36663929 (e07d5c5bfe) the behaviour of data table was changed so that it only searched fields that were columns in the table. Due to user request we are restoring the functionality where you can search and it will look in all top level fields in the underlying object for the row

changelog: Fixed 'free text search' for data table. E.g network plugin

Reviewed By: mweststrate

Differential Revision: D37552492

fbshipit-source-id: 00ec942b2a2336c19a7d067d85cc6c81b8a175e1
2022-07-04 00:49:36 -07:00
Stiopa Koltsov
873c03396e Apply rustfmt
Reviewed By: zertosh, passy

Differential Revision: D37579214

fbshipit-source-id: 0e52bd2b27abbbde32f77b073d3ed5ef33f4d318
2022-07-01 09:21:52 -07:00
Lorenzo Blasa
583fdd9648 Explicitly close ws in cases of a process exit
Summary:
^

There may be cases whereas the process exits but leaks the socket descriptors.

There's already a hook to close flipper-server.

Reviewed By: passy

Differential Revision: D37550940

fbshipit-source-id: 35004969834bb92bb7cf0f56bda8d7b43c11d6bf
2022-07-01 03:45:44 -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
Andrey Goncharov
8c2ef5738e Remove Tail
Summary: We no longer need to Tail the logs as we stream the logs over WebSockets (see D37459924 (dcbc7c40bb))

Reviewed By: lblasa

Differential Revision: D37550482

fbshipit-source-id: 92a87f2ba1ecec140bbbb9e71df107341765ad46
2022-06-30 07:50:06 -07:00
Andrey Goncharov
f8763f95fa Call onSelect when a DataSource item changes
Summary:
Currently, we call onSelect in DataTable only when user changes their selection. At that moment, we pass the row data to the `onSelect` callback. However, if later the data changes, but the selection stays the same, we do not call `onSelect` again. As result, any listener to onSelect does not receive the latest data.
In this diff, we start calling `onSelect` when the selection does not change, but the underlying data does.

Reviewed By: mweststrate

Differential Revision: D37520346

fbshipit-source-id: a88d34654e9ad0721caf5918dde49b86ba20fc1f
2022-06-30 07:01:54 -07:00
Andrey Goncharov
1052384154 Add log rotating to flipper-server
Summary:
CHANGELOG: Rotate flipper-server logs

Otherwise, they re going to eat up all space eventually in a one monstrous file

Reviewed By: passy

Differential Revision: D37516868

fbshipit-source-id: 478a61c56ec007e4a3d695f7e6df2a61cb33c33a
2022-06-30 07:01:40 -07:00
Lorenzo Blasa
646b9d5a5d UDS/TCP options
Summary:
Provide an option to enable/disable TCP connections on flipper-server.

The only change at this stage is that Flipper Desktop will use UDS to connect to flipper-server.

Reviewed By: passy

Differential Revision: D37519656

fbshipit-source-id: 3d02084666fde532ec76134edf8cf6a231060a48
2022-06-29 15:01:05 -07:00
Feiyu Wong
f46cf2b0ce Added color options for highlighting search terms
Summary:
This diff builds on the previous ones by enabling other colors to be used as highlights for the search terms. Current color options are: yellow(default), red, blue, green. Possible extensions to this feature could include allow the user to enter a custom hex-color string and use that as the highlight color.

Changelog: DataTable will now have option to have its search terms highlighted in the search results by toggling and customizing the highlight colors in the menu bar

Reviewed By: mweststrate

Differential Revision: D37383163

fbshipit-source-id: c81e383c0570ef5efbf3171b92b81a8fb2e55ea7
2022-06-29 10:36:52 -07:00
Feiyu Wong
2f39ede6f7 Highlight search terms in logs with yellow when highlight search setting is enabled
Summary: Building on the previous diff which added a setting to enable/disable highlighting search terms in the logs. This diff adds the actual highlighting and connects with the setting. The highlighting currently only supports one color, while the next diff will seek to support a preset of a "custom" colors for the highlighting

Reviewed By: mweststrate

Differential Revision: D37348441

fbshipit-source-id: 7a2b74b16f239d5e36c213e06ccb86f74eaa8df5
2022-06-29 10:36:52 -07:00
Feiyu Wong
24a314054e Added highlight search setting and toggle in menu to trigger
Summary:
Created search highlight settings to be stored as part of persisted state. Added toggle/menu option in the dropdown.

This diff serves as the start of the stack that introduces highlighting the search terms in the search results of flipper. Currently, the results returned do not show why(the key word) they are appearing.

The next diffs will introduce not only the actual highlighting but also "custom"-ish color-picking for the highlights. The colors will be chosen from the sub-menu where the highlighting is enabled.

Reviewed By: mweststrate

Differential Revision: D37229735

fbshipit-source-id: d681f8e7b7fdfce8135c2c3fa81d8450447565c1
2022-06-29 10:36:52 -07:00
Flipper Bot
47c4504e7f Flipper Snapshot Bump: v0.152.1-SNAPSHOT
Summary: Releasing snapshot version 0.152.1-SNAPSHOT

Reviewed By: mweststrate

Differential Revision: D37515158

fbshipit-source-id: 59fa954db5b76839e69a9ec7f616945c1d1969e6
2022-06-29 08:56:59 -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
Andrey Goncharov
13535e9753 Map / route to correct HTML file
Summary: CHANGELOG: Open Flipper Server at /

Reviewed By: lawrencelomax

Differential Revision: D37517406

fbshipit-source-id: 71043c3df75d9436020da477c937795671fa15a9
2022-06-29 07:46:03 -07:00
Andrey Goncharov
47956087ee Add a menu item to export Flipper logs to a file
Summary:
CHANGELOG: Add Flipper logs export to file

Allows users to export their Flipper logs with a single click. The export always includes all log levels but debug.

Reviewed By: antonk52

Differential Revision: D37485571

fbshipit-source-id: 82b02132794da30b255e6178db4a17c1ba8091ee
2022-06-28 06:27:43 -07:00
Andrey Goncharov
dcbc7c40bb Stream server logs to browser
Summary: Makes Flipper Logs tab functional for Flipper Browser

Reviewed By: lblasa

Differential Revision: D37459924

fbshipit-source-id: 4ebf3d47fbbf90bb367e01986b12dec782b03c34
2022-06-28 06:27:43 -07:00
Pascal Hartig
c1d959d62e Start a docs page
Summary: Wanted to write down the not-obvious release procedure somewhere. We can extend this with some troubleshooting procedures.

Differential Revision: D37463848

fbshipit-source-id: 899cdfd12fdb0647579271d883f499872167743f
2022-06-28 03:43:59 -07:00
facebook-flipper-bot
091de0dd4c Automated: Update Podfile.lock (#3857)
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/3857

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

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

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

Reviewed By: lblasa

Differential Revision: D37481591

Pulled By: nikoant

fbshipit-source-id: a2c6e3bd13b992122fce7e2ac467252258c0d5a5
2022-06-28 03:20:03 -07:00
Pascal Hartig
8333268654 Expose environment info
Summary: The part I'm most interested in is the `appVersion`. For non-debug builds this will allow us to check if a flipper-server version is compatible with flipperd/arc_uiqr or any other tool that builds on top of it.

Reviewed By: lblasa

Differential Revision: D37456699

fbshipit-source-id: 50eeb6da0f55e3a3552d43fa7c9ea34608090f97
2022-06-27 12:10:44 -07:00
Flipper Bot
6b8a41b1e5 Flipper Snapshot Bump: v0.151.2-SNAPSHOT
Summary: Releasing snapshot version 0.151.2-SNAPSHOT

Reviewed By: aigoncharov

Differential Revision: D37458560

fbshipit-source-id: cc7f639d022a0e7b3078f1f16fa4d2d7556b0233
2022-06-27 10:22:47 -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
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