Commit Graph

9024 Commits

Author SHA1 Message Date
Andrey Goncharov
6857e1fb26 Add enum_set_is_none_of operator
Summary: Doc: https://docs.google.com/document/d/1miofxds9DJgWScj0zFyBbdpRH5Rj0T9FqiCapof5-vU/edit#heading=h.pg8svtdjlx7

Reviewed By: antonk52

Differential Revision: D49230148

fbshipit-source-id: b0aa4e702b27359e513b2557c80b6bab529618d5
2023-09-14 04:48:12 -07:00
Andrey Goncharov
12179a35da Add enum_set_is_any_of operator
Summary: Doc: https://docs.google.com/document/d/1miofxds9DJgWScj0zFyBbdpRH5Rj0T9FqiCapof5-vU/edit#heading=h.pg8svtdjlx7

Reviewed By: antonk52

Differential Revision: D49230147

fbshipit-source-id: a020d182a36affe65ed9ab3eb6a1197ddd12270b
2023-09-14 04:48:12 -07:00
Andrey Goncharov
61160a2d4b Add enum_is operator
Summary: Doc: https://docs.google.com/document/d/1miofxds9DJgWScj0zFyBbdpRH5Rj0T9FqiCapof5-vU/edit#heading=h.pg8svtdjlx7

Reviewed By: lblasa, antonk52

Differential Revision: D49230138

fbshipit-source-id: f20a1a053cc6370acec57e63df80691c64bffc90
2023-09-14 04:48:12 -07:00
Andrey Goncharov
1618404d25 Add float_less_or_equal operator
Summary: Doc: https://docs.google.com/document/d/1miofxds9DJgWScj0zFyBbdpRH5Rj0T9FqiCapof5-vU/edit#heading=h.pg8svtdjlx7

Reviewed By: lblasa

Differential Revision: D49230133

fbshipit-source-id: ff55224698c71273b4b9f78afe3df58caa9561dc
2023-09-14 04:48:12 -07:00
Andrey Goncharov
db60ec0fa1 Add float_less_than operator
Summary: Doc: https://docs.google.com/document/d/1miofxds9DJgWScj0zFyBbdpRH5Rj0T9FqiCapof5-vU/edit#heading=h.pg8svtdjlx7

Reviewed By: antonk52

Differential Revision: D49230142

fbshipit-source-id: b49af428d75f749142f2aa87c8b863c379f53c27
2023-09-14 04:48:12 -07:00
Andrey Goncharov
70a46ddcc6 Add float_greater_or_equal operator
Summary: Doc: https://docs.google.com/document/d/1miofxds9DJgWScj0zFyBbdpRH5Rj0T9FqiCapof5-vU/edit#heading=h.pg8svtdjlx7

Reviewed By: antonk52

Differential Revision: D49230137

fbshipit-source-id: 19c97bd850b065f4c203c257ce9f0a3f33bb1eb2
2023-09-14 04:48:12 -07:00
Andrey Goncharov
467a4591b0 Add float_greater_than operator
Summary: Doc: https://docs.google.com/document/d/1miofxds9DJgWScj0zFyBbdpRH5Rj0T9FqiCapof5-vU/edit#heading=h.pg8svtdjlx7

Reviewed By: antonk52

Differential Revision: D49230130

fbshipit-source-id: 31755bc19d4bb7a397c361f5d0e236e08c945cd1
2023-09-14 04:48:12 -07:00
Andrey Goncharov
092e9e7a72 Add int_less_or_equal operator
Summary: Doc: https://docs.google.com/document/d/1miofxds9DJgWScj0zFyBbdpRH5Rj0T9FqiCapof5-vU/edit#heading=h.pg8svtdjlx7

Reviewed By: lblasa, antonk52

Differential Revision: D49230140

fbshipit-source-id: 0fd825eb38f64e67ebdd4bca4846aae440b95981
2023-09-14 04:48:12 -07:00
Andrey Goncharov
8d4c8486e5 Add int_less_than operator
Summary: Doc: https://docs.google.com/document/d/1miofxds9DJgWScj0zFyBbdpRH5Rj0T9FqiCapof5-vU/edit#heading=h.pg8svtdjlx7

Reviewed By: lblasa, antonk52

Differential Revision: D49230143

fbshipit-source-id: d1551a9a472bdb9dafe61259e88bb50fa8b79153
2023-09-14 04:48:12 -07:00
Andrey Goncharov
18ae536dc3 Add int_greater_or_equal operator
Summary: Doc: https://docs.google.com/document/d/1miofxds9DJgWScj0zFyBbdpRH5Rj0T9FqiCapof5-vU/edit#heading=h.pg8svtdjlx7

Reviewed By: lblasa, antonk52

Differential Revision: D49230132

fbshipit-source-id: ac0e32e4d83d45d18a03dc2b95c4d0d546f86372
2023-09-14 04:48:12 -07:00
Andrey Goncharov
df37187b6b Add int_greater_than operator
Summary: Doc: https://docs.google.com/document/d/1miofxds9DJgWScj0zFyBbdpRH5Rj0T9FqiCapof5-vU/edit#heading=h.pg8svtdjlx7

Reviewed By: lblasa

Differential Revision: D49230136

fbshipit-source-id: e3ebcc1d501a31a3d7076ad2d013b66ec69ea935
2023-09-14 04:48:12 -07:00
Andrey Goncharov
43b2effdda Add string_set_contains_none_of operator
Summary: Doc: https://docs.google.com/document/d/1miofxds9DJgWScj0zFyBbdpRH5Rj0T9FqiCapof5-vU/edit#heading=h.pg8svtdjlx7

Reviewed By: lblasa

Differential Revision: D49230131

fbshipit-source-id: 9c4375e181b2ac20b5ab346c2e5f24c6d90c28ac
2023-09-14 04:48:12 -07:00
Andrey Goncharov
a27f4580a3 Add string_set_contains_any_of operator
Summary: Doc: https://docs.google.com/document/d/1miofxds9DJgWScj0zFyBbdpRH5Rj0T9FqiCapof5-vU/edit#heading=h.pg8svtdjlx7

Reviewed By: lblasa

Differential Revision: D49230134

fbshipit-source-id: aa8c4494e707dfbf70568517a50c1f5803fce32a
2023-09-14 04:48:12 -07:00
Andrey Goncharov
17903c22f4 Add string_not_matches_exactly operator
Summary: Doc: https://docs.google.com/document/d/1miofxds9DJgWScj0zFyBbdpRH5Rj0T9FqiCapof5-vU/edit#heading=h.pg8svtdjlx7

Reviewed By: lblasa

Differential Revision: D49230141

fbshipit-source-id: 7dc7bfa06ab413642385c63b1eb25ef2ef69ef43
2023-09-14 04:48:12 -07:00
Andrey Goncharov
113e2a90ad Add string_matches_exactly operator
Summary: Doc: https://docs.google.com/document/d/1miofxds9DJgWScj0zFyBbdpRH5Rj0T9FqiCapof5-vU/edit#heading=h.pg8svtdjlx7

Reviewed By: lblasa

Differential Revision: D49230149

fbshipit-source-id: 7d66733d0ff311a82f9bc5673a2fb204d3ae6a9a
2023-09-14 04:48:12 -07:00
Andrey Goncharov
3206649a29 Add string_not_contains operator
Summary: Doc: https://docs.google.com/document/d/1miofxds9DJgWScj0zFyBbdpRH5Rj0T9FqiCapof5-vU/edit#heading=h.pg8svtdjlx7

Reviewed By: lblasa

Differential Revision: D49230139

fbshipit-source-id: 23d0f9f8f50906c940764e3e9e5382ead9be9d35
2023-09-14 04:48:12 -07:00
Andrey Goncharov
ceac388eed Add string_contains operator
Summary: Doc: https://docs.google.com/document/d/1miofxds9DJgWScj0zFyBbdpRH5Rj0T9FqiCapof5-vU/edit#heading=h.pg8svtdjlx7

Reviewed By: lblasa

Differential Revision: D49226934

fbshipit-source-id: 12d43334e87b0fb502173143d5a19a48cd2fc9ee
2023-09-14 04:48:12 -07:00
Andrey Goncharov
589937bc8f Add boilerplate for data table power search config and processors
Summary: Doc: https://docs.google.com/document/d/1miofxds9DJgWScj0zFyBbdpRH5Rj0T9FqiCapof5-vU/edit#heading=h.pg8svtdjlx7

Reviewed By: lblasa

Differential Revision: D49230144

fbshipit-source-id: d6e6dfb340fd23c8655e331869600cb474c8e8bc
2023-09-14 04:48:12 -07:00
Andrey Goncharov
f897ab9487 Add DataTable wirh PowerSearch integrated
Summary: Doc: https://docs.google.com/document/d/1miofxds9DJgWScj0zFyBbdpRH5Rj0T9FqiCapof5-vU/edit#heading=h.pg8svtdjlx7

Reviewed By: lblasa

Differential Revision: D49225985

fbshipit-source-id: ea121c88f4f2275bb15b116858951a8bd2f43cc3
2023-09-14 04:48:12 -07:00
Andrey Goncharov
af73cbb669 Add power search config to data table column config
Summary: Doc: https://docs.google.com/document/d/1miofxds9DJgWScj0zFyBbdpRH5Rj0T9FqiCapof5-vU/edit#heading=h.pg8svtdjlx7

Reviewed By: lblasa

Differential Revision: D48866308

fbshipit-source-id: 72ed7eb1401e44722d9bb9e680d6fa5d558b8eed
2023-09-14 04:48:12 -07:00
Andrey Goncharov
cb5b3d9f28 Create a separate DataTableWithPowerSearch component
Summary: Doc: https://docs.google.com/document/d/1miofxds9DJgWScj0zFyBbdpRH5Rj0T9FqiCapof5-vU/edit#heading=h.pg8svtdjlx7

Reviewed By: lblasa

Differential Revision: D48866151

fbshipit-source-id: c35fa7adb878b7d85782edd37591e2983a96b66a
2023-09-14 04:48:12 -07:00
Lorenzo Blasa
2b4c631652 Certificate and token generation fixes
Summary:
A few things need to be done which are on this change:

- Certificate generation should execute as an atomic operation, hence, it needs to be synchronised.
- Do not generate client token as part of certificate generation. This causes a deadlock now.
- Add more logs for troubleshooting

Reviewed By: aigoncharov

Differential Revision: D49269624

fbshipit-source-id: 071a8e5b895198730b7d914cc4622837e9094e2f
2023-09-14 04:15:18 -07:00
Lorenzo Blasa
cf599f9c3c Move launch further down, temporarily
Summary: Attempt to fix an ongoing issue whereas there's a race condition generating certificates

Reviewed By: passy

Differential Revision: D49237915

fbshipit-source-id: 2383b20cb6ba786166d5e70206b5fff846ed1211
2023-09-13 11:52:46 -07:00
generatedunixname89002005306973
58c891b1d2 Flipper Snapshot Bump: v0.217.1-SNAPSHOT
Summary: Releasing snapshot version 0.217.1-SNAPSHOT

Reviewed By: lblasa

Differential Revision: D49227619

fbshipit-source-id: 7e0bdb048f825905f310a88de77892e0b5ae254c
2023-09-13 06:56:59 -07:00
generatedunixname89002005306973
879c57fb34 Flipper Release: v0.217.0
Summary: Releasing version 0.217.0

Reviewed By: lblasa

Differential Revision: D49227620

fbshipit-source-id: ac587ecb7f4821d55d123f99c16336e74e276fd4
2023-09-13 06:56:59 -07:00
Lorenzo Blasa
e80843d433 Modal visible -> open
Summary: The `visible` prop is marked as deprecated in favour of `open`

Reviewed By: passy

Differential Revision: D49226821

fbshipit-source-id: 4a4a7d03a1c8ff860c4e4cd02e19071185a8554e
2023-09-13 05:19:13 -07:00
Pascal Hartig
860af1eff7 Fix duplicate key for emulator launcher
Summary: Shows up in the console as a warning. Easy to fix.

Reviewed By: lblasa

Differential Revision: D49189263

fbshipit-source-id: 40428434803db708789811352b76004549d8c086
2023-09-13 04:07:14 -07:00
Lorenzo Blasa
4cdbfff7fb Remove useless tag
Summary: ^

Reviewed By: antonk52

Differential Revision: D49193961

fbshipit-source-id: a51bd8b274a7f6f3bf3cdd7d3ff665430bf7bc3a
2023-09-13 04:06:58 -07:00
Lorenzo Blasa
3292945887 Launch should be blocking and at a later stage
Summary: This should be a blocking call and done later as it depends on the FlipperServerConfig to be set.

Reviewed By: antonk52

Differential Revision: D49193650

fbshipit-source-id: 4f74ca5de30b7f992880bbb9032792fd713203b7
2023-09-13 04:06:58 -07:00
Lorenzo Blasa
dd6cef66f6 Do not log token
Summary: Don't log it, otherwise it may end up in Scuba, we don't want that.

Reviewed By: antonk52

Differential Revision: D49187133

fbshipit-source-id: 38d4ea0801a9abbc463c23340e23f8b55e0d22f3
2023-09-13 04:06:58 -07:00
Lorenzo Blasa
93d94c9fc3 More logs around certificates and token generation
Summary: Useful for triaging defects

Reviewed By: passy

Differential Revision: D49186779

fbshipit-source-id: 743746444ce6e28753434a63d1bee2989cf4f66a
2023-09-13 04:06:58 -07:00
Anton Kastritskiy
a52757aadf include validating @types/* packages' major version in flipper lint ci
Summary: `lint` is already called by CI. No further work is needed.

Reviewed By: LukeDefeo, passy

Differential Revision: D49188675

fbshipit-source-id: 731c21567af329fab4125869bcbea8cc9561a5d3
2023-09-12 08:26:22 -07:00
Anton Kastritskiy
cb4446d76c speed up verifying types deps by parallizing
Summary: read pacakge.json files asyncronosly to speed up script execution

Reviewed By: LukeDefeo, passy

Differential Revision: D49188676

fbshipit-source-id: 55c1eeb8f62c6b3760f2a037592807c7b00af01d
2023-09-12 08:26:22 -07:00
Pascal Hartig
cd392929e0 FLIPPER_DISABLE_KEYTAR env var to use in-memory impl
Summary: Changelog: FLIPPER_DISABLE_KEYTAR env var can be used to force in-memory implementation

Reviewed By: lblasa

Differential Revision: D49183501

fbshipit-source-id: 4ce886303678485673750417b09f272dd3f66623
2023-09-12 04:21:41 -07:00
Lorenzo Blasa
b60a8537ff README cleanup
Summary: Making a few changes to make the information more accurate

Reviewed By: antonk52

Differential Revision: D49152177

fbshipit-source-id: c6dee089a6e30b96c3b8258ef56bebd6eeefaa56
2023-09-12 03:55:37 -07:00
Pascal Hartig
423e06e83b Kill start-dev-server
Summary:
No idea why we have two but this seems unused.

1) https://www.internalfb.com/code/fbsource/[36aa14748056fd22d453685a0ba85817e0059497]/xplat/sonar/desktop/scripts/start-flipper-server-dev.tsx
2) https://www.internalfb.com/code/fbsource/[36aa14748056fd22d453685a0ba85817e0059497]/xplat/sonar/desktop/scripts/start-dev-server.tsx

Reviewed By: lblasa

Differential Revision: D49183502

fbshipit-source-id: 1d685c402bdd366f9da9facc92c6265eb85e34ad
2023-09-12 03:15:41 -07:00
Lorenzo Blasa
a5a3e0494a Better installation wizard
Summary: A few improvements to the installation wizard.

Reviewed By: antonk52

Differential Revision: D49145069

fbshipit-source-id: 1aadd85e1d187bd61983a0b4201b530cbdbf509a
2023-09-11 07:12:20 -07:00
Pascal Hartig
777632b841 Add logging and fallback for failing vpnless requests
Summary:
If a requests fails due to lack of allow-listing or other incompatibilities, we will now fall back to VPN mode while logging an error that will hopefully end up at the plugin owner.

For this, there's a new `vpnMode` option on every request that can also be used to enforce a particular type.

There's a lot of verbose logging that's turned off by default but very handy when debugging. Also potentially useful for plugin authors that are looking into request issues.

Reviewed By: lblasa

Differential Revision: D49023365

fbshipit-source-id: 755393063e379587feda9ae13973877780a1d987
2023-09-11 03:28:06 -07:00
Lorenzo Blasa
2ad789d14e UIDConnectionListener
Summary:
Add a connection listener similarly to the one used on Android.

The usage at this point will come from framework events as a means to control when to capture the events or not.

Reviewed By: ivanmisuno

Differential Revision: D49092691

fbshipit-source-id: d004f7ff5d1a254ad5f9c7f207d485afcb7ac54a
2023-09-11 03:13:43 -07:00
Pascal Hartig
0900a2a41d Export android plugin to OSS (#5109)
Summary:
Changelog: UI Debugger is now available for Litho in Open Source

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

Remove the stub, replace with the real thing.

Reviewed By: lblasa

Differential Revision: D46859213

fbshipit-source-id: 74c59a53d1d22e046254f4bca202da17a0b0e5d8
2023-09-08 04:02:48 -07:00
Lorenzo Blasa
d4065aba12 Loading timeout set to a second
Summary: Push the timeout to one second. Users are not going to mind if we try to load after a second but they can mind if they see their tab attempt to reload several times a second.

Reviewed By: ivanmisuno

Differential Revision: D49054898

fbshipit-source-id: 132168a1d6d381f76500bcc9c0a00e05ef0c541b
2023-09-07 06:28:23 -07:00
Adam Cmiel
a64d493875 - xplat sonar (#5091)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/5091

https://developer.apple.com/documentation/foundation/nsstring/1497289-stringwithcstring

[Changelog]:[Fixed] Remove usage of deprecated stringWithCString function

Reviewed By: lblasa

Differential Revision: D48692608

fbshipit-source-id: 683d6f8656fe6183cb02faab6261f1b6a61cc3a2
2023-09-06 13:09:09 -07:00
generatedunixname89002005306973
0f7e9a0888 Flipper Snapshot Bump: v0.216.1-SNAPSHOT
Summary: Releasing snapshot version 0.216.1-SNAPSHOT

Reviewed By: mweststrate

Differential Revision: D49006714

fbshipit-source-id: dcf490fe9470b4a48b9f7d77c6c154d878f3367b
2023-09-06 06:34:16 -07:00
generatedunixname89002005306973
21a61119ba Flipper Release: v0.216.0
Summary: Releasing version 0.216.0

Reviewed By: mweststrate

Differential Revision: D49006715

fbshipit-source-id: 3fedc1c62d9eee8d810eddc681de3a7f490b7a9d
2023-09-06 06:34:16 -07:00
Luke De Feo
aab84d3fb9 Use new antd apis for framework events
Summary: No more warnings.

Reviewed By: antonk52

Differential Revision: D48964070

fbshipit-source-id: 4f9b9affb04b8bc355b0687c9bc9c7273e469d78
2023-09-05 10:01:17 -07:00
Anton Kastritskiy
f2ef26cd9a bump fs-extra types
Summary: `recursive` was dropped in when [dropping](https://github.com/jprichardson/node-fs-extra/issues/886) node v10

Reviewed By: aigoncharov

Differential Revision: D48780242

fbshipit-source-id: 29349590a7f14da85fe8df28b20d9b418e7a8b1d
2023-09-05 07:17:06 -07:00
Sinan Erdinç
d04abff530 Fixed Typo (#5102)
Summary:
A typo in the settings page has been fixed.

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

Reviewed By: ivanmisuno

Differential Revision: D48948584

Pulled By: passy

fbshipit-source-id: 2469a25d2deb7c6c128f7d88a68fd5d147aad428
2023-09-05 03:30:26 -07:00
github-actions[bot]
ad9aa07532 Automated: Update Podfile.lock (#5108)
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/5108

Reviewed By: ivanmisuno

Differential Revision: D48948580

Pulled By: passy

fbshipit-source-id: eb3cbd1a0856c08ea6a5e443e567404fdd694a98
2023-09-05 03:25:19 -07:00
Anton Kastritskiy
4439411d29 bump or ignore types packages
Reviewed By: LukeDefeo

Differential Revision: D48782825

fbshipit-source-id: 00c46fa609847272b48f8f4476291666e9251c95
2023-09-04 14:52:34 -07:00
Anton Kastritskiy
4ec84ca7fb allow ignoring packages for @types/* major version compatability
Reviewed By: LukeDefeo

Differential Revision: D48779653

fbshipit-source-id: ddea9730d1066212bfa7933df7f6a2c178e49766
2023-09-04 03:42:29 -07:00