Commit graph

711 commits

Author SHA1 Message Date
José Valim 6027a0bd70 Surface ZTA payload
Closes #2320.
2024-03-28 09:03:34 +01:00
José Valim 65632603a3 Wrap app info into tuples 2024-03-28 08:40:29 +01:00
Ed Bond 0ff1b8d19c
Bug fix ZTA (#2533) 2024-03-27 23:41:35 +01:00
Jonatan Kłosko f363be949e
Monitor clients presence in the runtime (#2530) 2024-03-27 15:25:42 +01:00
Jonatan Kłosko 94a0aedfda
Fix stamp verification when content has been inserted before the stamp (#2527) 2024-03-26 20:31:30 +01:00
Jonatan Kłosko 8c91a1f788
Introduce abstraction for app deployment and permanent apps (#2524)
Co-authored-by: José Valim <jose.valim@dashbit.co>
2024-03-26 20:20:07 +01:00
Alexandre de Souza fdd2d2c2f2
Refactor the LivebookProto messages (#2521) 2024-03-25 15:08:40 -03:00
José Valim e892d9dea0
Embed fly clustering into the release (#2519) 2024-03-22 17:22:18 +01:00
Alexandre de Souza ddc2ad0a85
Deploy apps to Livebook Agent (#2511) 2024-03-20 10:16:30 -03:00
Jonatan Kłosko 622dbaef4d
Simplify components push patch (#2510) 2024-03-13 17:50:27 +01:00
Alexandre de Souza db41c99735
New LivebookProto messages and minor improvements (#2503) 2024-03-07 16:47:33 -03:00
Jonatan Kłosko e77db2f723
Restore Mix.install/2 dirs across session runtimes (#2499) 2024-03-05 06:10:32 +01:00
Jonatan Kłosko c183148584 Fix chunked text rendering in a frame 2024-02-28 17:01:46 +07:00
Alexandre de Souza bd3232dedb
Fix generating html id with special characters (#2495) 2024-02-23 15:55:17 -03:00
Alexandre de Souza 4105266ad2
Migrates Livebook Teams HTTP client to Req (#2492) 2024-02-20 15:04:03 -03:00
Cristine Guadelupe 579415fea4
Partially revert "Removes deployment group deletion (#2479)" (#2480)
* Revert "Removes deployment group deletion (#2479)
2024-02-09 20:08:33 +07:00
José Valim f3206d9791
Redesign deploy and runtime panels (#2478)
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2024-02-09 11:58:20 +01:00
Cristine Guadelupe c9d505a2b4
Removes deployment group deletion (#2479) 2024-02-09 15:59:36 +07:00
Cristine Guadelupe fe5598dbb5
Disables deployment group mode editing (#2476)
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2024-02-09 09:41:32 +07:00
Jonatan Kłosko a2d6b1caae
Fix Dockerfile generation with deployment group (#2475) 2024-02-07 20:36:21 +01:00
Jonatan Kłosko fb604dee2f
Simplify autocompletion info into a single markdown field (#2470) 2024-02-02 17:55:15 +01:00
Jonatan Kłosko 18718f13be Remove unused test files 2024-02-01 15:56:04 +08:00
Jonatan Kłosko e98cf466fa
Add support for updating smart cell editor source and intellisense node (#2465) 2024-01-31 12:44:20 +01:00
Alexandre de Souza 1ceab6f540
Implements the management of Deployment Group's agent keys (#2458) 2024-01-30 14:20:46 -03:00
Jonatan Kłosko f9f8579ca4 Stop rendering images from the legacy images directory 2024-01-26 21:09:15 +08:00
Jonatan Kłosko 8431401df1
Reorganize helpers (#2450) 2024-01-26 08:23:37 +01:00
Jonatan Kłosko 0056a81b7f
Skip docs requests for remote node intellisense (#2447) 2024-01-25 12:03:34 +01:00
Jonatan Kłosko 9c2df06b5d
Simplify config functions (#2446) 2024-01-25 11:21:53 +01:00
Jonatan Kłosko 0cd2f69ce8
Migrate the code editor to CodeMirror (#2444) 2024-01-24 16:01:47 +01:00
Paulo Valim 75688ae9f5
Add table view on Hub/Secrets (#2437) 2024-01-24 11:04:47 +01:00
Jonatan Kłosko 9c1e67390a Add missing tags to tests requiring Erlang docs 2024-01-22 17:31:02 +08:00
Alexandre de Souza 8ba6baec3a
Implements Livebook Agent authentication (#2403) 2024-01-05 14:17:39 -03:00
Wojtek Mach 6f4eb7f58b
Update to Elixir 1.16.0 and OTP 26.2.1 (#2416) 2023-12-29 14:16:20 +01:00
Cristine Guadelupe 37c7444328
Deployment group for app deployment (#2410)
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
Co-authored-by: José Valim <jose.valim@gmail.com>
2023-12-27 15:24:48 -03:00
Cristine Guadelupe 3430e9a261
Move airgapped to deployment group (#2404)
Co-authored-by: José Valim <jose.valim@gmail.com>
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2023-12-20 11:47:46 -03:00
Jonatan Kłosko 9ce18a3df8 Fix logs not getting captured in RuntimeServer tests 2023-12-15 14:37:04 +07:00
Alexandre de Souza c8fbad1bf8
Show File System and Deployment Group form errors (#2396) 2023-12-11 15:20:12 -03:00
Cristine Guadelupe 8c168decc3
Alias order in edit_live_test (#2392) 2023-12-09 13:58:19 -03:00
Alexandre de Souza f0979ea492
Refresh Hub's belonged data with push_patch when it changes (#2384) 2023-12-08 09:49:02 -03:00
Cristine Guadelupe 8923e700d8
Deployment group secrets (#2374)
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2023-12-06 18:53:49 -03:00
Jonatan Kłosko 647723c8fa
Encode smart cell attributes in Live Markdown (#2364) 2023-11-18 06:00:40 +01:00
Jonatan Kłosko 9076e15a69
Ignore channel events for unknown JS Views (#2363) 2023-11-17 13:10:48 +01:00
José Valim 82b633d595
Remove todos related to Elixir v1.15 (#2354)
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2023-11-16 09:18:05 +01:00
Cristine Guadelupe 04eaab448b
Fix: Teams integration tests (#2352) 2023-11-15 18:56:12 -03:00
José Valim 56734420a0
Only keep #cell: markers in stacktrace (#2351) 2023-11-15 18:54:27 +01:00
Jonatan Kłosko 8710090274
Use shorter ids for cells and sections (#2350) 2023-11-15 17:33:43 +01:00
Jonatan Kłosko a5dd74061c
Don't copy outputs when converting smart cell to code (#2348) 2023-11-15 17:24:53 +01:00
Jonatan Kłosko d4817542ed Fix intellisense tests 2023-11-15 17:31:39 +07:00
Cristine Guadelupe f633748b37
Manage deployment groups (#2330) 2023-11-14 17:20:46 -03:00
José Valim 835afa8287
Add all_loaded caching per node (#2346) 2023-11-14 19:31:33 +01:00
José Valim 4d809ec0d6
Move APIs used by Hubs to Livebook.Hubs.Team (#2339) 2023-11-13 14:33:25 +01:00
José Valim a9b818c374 Move subscribe function to Broadcasts module 2023-11-13 13:24:03 +01:00
Jonatan Kłosko 8465eeeba9
Dump and load offline hub data from memory (#2331) 2023-11-09 11:48:14 +01:00
José Valim c65a85b689
Do not delete teams key modal, require confirmation (#2327) 2023-11-08 12:34:49 +01:00
José Valim 07f1c34fab Add README for tests 2023-11-08 10:37:43 +01:00
José Valim a604a8d221 Simplify tag exclusion output 2023-11-08 10:10:25 +01:00
Jonatan Kłosko 33c09b1f67
Update modal enter and leave (#2323) 2023-11-06 18:13:16 +01:00
Jonatan Kłosko 07aaea11b4
Separate apps from auth and improve apps navigation (#2322) 2023-11-06 09:08:28 +01:00
Jonatan Kłosko 0e06d8c0e7 Fix output ids within grid and tabs 2023-10-30 12:51:22 +07:00
Jonatan Kłosko a0cc26fd47
Clear cell outputs when moving to bin (#2312) 2023-10-27 21:35:41 +02:00
Jonatan Kłosko c0e75f64ad
Do not crash runtime when stopping stopped smart cell (#2314) 2023-10-27 21:26:54 +02:00
Jonatan Kłosko 56df5a3802
Improve hub tests (#2308) 2023-10-27 18:33:32 +02:00
Jonatan Kłosko e7a92b4c14 Make setting default hub a sync test 2023-10-25 22:12:44 +07:00
Jonatan Kłosko e1b9e931cf
Don't create online team hubs in off-hub tests (#2307) 2023-10-25 14:12:17 +02:00
José Valim a2c1fe4b27
Unify teams auth concerns under a single env var (#2306) 2023-10-25 12:31:52 +02:00
Jonatan Kłosko f2c5d101c3
Deprecate warmup_apps.sh in favour of warmup_apps (#2305) 2023-10-25 12:17:59 +02:00
Jonatan Kłosko 7d861caedd Increase peer start timeout in remote intellisense tests 2023-10-25 16:31:39 +07:00
Milad 586788c4f6
Add Teleport ZTA method (#2296) 2023-10-25 10:00:32 +02:00
José Valim c9d0c05bcc
Custom identity providers (#2301) 2023-10-25 09:44:09 +02:00
Jonatan Kłosko 0dca78ecc8 Improve more tests 2023-10-25 01:06:16 +07:00
Jonatan Kłosko f1ce3c3cc6
Fix rendering timeout in learn page test (#2297) 2023-10-24 19:15:30 +02:00
Jonatan Kłosko 93637b60f0 Fix race condition in hub apps test 2023-10-23 22:07:48 +07:00
Jonatan Kłosko 32ee73fd7f Improve app tests 2023-10-23 20:59:03 +07:00
Jonatan Kłosko ccf34ba894
Do not redeploy apps from dir on every node (#2291) 2023-10-22 20:28:55 +02:00
Jonatan Kłosko 06b553275f
Add Dockerfile variant for clustered deployment on Fly.io (#2286)
Co-authored-by: José Valim <jose.valim@dashbit.co>
2023-10-22 17:23:15 +02:00
Jonatan Kłosko d40c004e83
Warn on Dockerfile when deploying a directory with personal hub and it has file systems (#2281) 2023-10-17 20:28:37 +02:00
José Valim a643307d52 Fix docker tag on release branches 2023-10-17 19:18:30 +02:00
José Valim b5092c1f9f Improve invalid notebook stamp messaging 2023-10-17 19:14:23 +02:00
Jonatan Kłosko 797844223a
Add docker deployment instructions to app panel (#2276) 2023-10-17 15:04:47 +02:00
José Valim 65c491374f Clarify session secrets warning for apps 2023-10-08 18:18:32 +02:00
José Valim 1bb0005f20
Handle missing debounce only from old output (#2261) 2023-10-06 21:56:12 +02:00
José Valim 9e7ed7ae43
Update Plug.Crypto (#2252)
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2023-10-06 12:10:36 +02:00
Alexandre de Souza a97df0e536
Use default directory when using Persistence or AddFileEntry components (#2250) 2023-10-05 16:34:54 -03:00
Jonatan Kłosko 64a150eef2
Stream audio/image input values into and out of the server (#2249)
Co-authored-by: José Valim <jose.valim@dashbit.co>
2023-10-05 15:27:34 +02:00
Alexandre de Souza 4d412bd00d
Implement airgapped deployment file storage (#2246) 2023-10-04 12:20:43 -03:00
Cristine Guadelupe 6c83b910a4
Remote intellisense - details on hover (#2243) 2023-09-30 15:05:26 +07:00
Jonatan Kłosko d3f58036eb
Lazily lookup file systems when needed for file operations (#2239) 2023-09-29 20:24:37 +02:00
Cristine Guadelupe 114d649524
Remote intellisense - apps and types (#2237) 2023-09-29 18:58:18 +07:00
Alexandre de Souza 2a0d2dcdc3
Fix File System migration and some touchups (#2235) 2023-09-28 16:02:02 -03:00
Cristine Guadelupe 4a14118b96
Smart cell editor - intellisense node (#2232)
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2023-09-28 16:02:04 +07:00
Jonatan Kłosko 05418db0c6
Add :debounce to input outputs when missing (#2228) 2023-09-26 05:38:15 +02:00
Alexandre de Souza 96bf5ddbcc
Implement File Storage (#2212) 2023-09-25 11:18:30 -03:00
Cristine Guadelupe 76139d7d8d
Remote Intellisense (#2217) 2023-09-22 00:05:03 +07:00
Jonatan Kłosko 2a71e49d76
Fix frame updates containing inputs (#2219) 2023-09-21 18:45:59 +02:00
José Valim 64dad900d7
Exclude modules from docs (#2218)
Closes #2216.
2023-09-21 12:28:45 +02:00
José Valim 249f65d630 Flip erl docs exclude and also check for odbc 2023-09-18 13:42:29 +02:00
José Valim 49c52f67f7
Make ZTA generation automatic (#2210) 2023-09-18 13:41:58 +02:00
Hans Krutzer d0201995cb
Add Tailscale ZTA module (#2207) 2023-09-18 12:25:34 +02:00
Jonatan Kłosko 8633c9a357
Add button for inserting a branching section (#2205) 2023-09-15 15:25:41 +02:00
Alexandre de Souza 7f1feec7d9
Implement File Systems management directly from Hub and handle their events (#2201) 2023-09-13 10:32:33 -03:00
Alexandre de Souza 51a3ab1895
Implement Teams API file system management (#2188) 2023-09-05 12:14:50 -03:00
Cristine Guadelupe a67d44e7b2
Metadata typo (#2195) 2023-09-03 20:48:33 +07:00
Jonatan Kłosko 841aba4d8f
Update export flow for JS outputs (#2186) 2023-08-28 13:38:00 +02:00
Cristine Guadelupe b7f5a44b9e
Use the default organization as default for new notebooks (#2183) 2023-08-25 19:46:59 +07:00
Jonatan Kłosko 867f091557
Do not export setup cell output (#2184) 2023-08-25 14:36:42 +02:00
Cristine Guadelupe 070d6a5c0f
Default organization (#2180)
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2023-08-25 16:07:14 +07:00
Jonatan Kłosko b2ce588a1c Rename error output :known_reason to :context 2023-08-23 23:25:43 +02:00
Jonatan Kłosko da9cc6643b
Restructure output format (#2179) 2023-08-23 23:25:04 +02:00
Alexandre de Souza 928181cefe
Implements load/2 and dump/1 to FileSystem protocol and some improvements (#2171) 2023-08-22 16:20:35 -03:00
Jonatan Kłosko a11b1dfe7b
Add support for chunked text and markdown outputs (#2174) 2023-08-22 13:21:22 +02:00
Jonatan Kłosko d1eb522464
Split files into references/attachments and support renaming (#2167) 2023-08-17 22:13:39 +02:00
Jonatan Kłosko d08858346b Format 2023-08-11 22:47:57 +02:00
José Valim 946c20e168 File system -> File storage in error messages 2023-08-11 11:55:58 +02:00
Jonatan Kłosko 91253923b2
Improve wording around file system selector (#2157)
Co-authored-by: José Valim <jose.valim@dashbit.co>
2023-08-11 11:52:19 +02:00
Jonatan Kłosko 74ca662bf3
Add warning when deploying protected apps from dir without password override (#2153) 2023-08-09 21:23:02 +02:00
Jonatan Kłosko c39902cd3a
Improve teams tests (#2151) 2023-08-08 21:03:01 +02:00
Jonatan Kłosko e9ab9dec91 Remove unreliable storage test
We wait for the storage process to finish writing the table to file
and then read the file manually, however the storage may be writing
to the file again (and the writing is async), so we may try to read
a partially written file.
2023-08-08 19:30:26 +02:00
José Valim 5fda5b02ab Improve import error messages 2023-08-07 13:46:29 +02:00
Hugo Baraúna 9d206b06d0
Changes copy of Add Teams Hub page (#2139) 2023-08-04 09:34:04 -03:00
José Valim 4a5d6da79d
Extract secrets storage to personal hub (#2132) 2023-08-01 20:48:55 +02:00
Alexandre de Souza fb578906ec
Improves disconnected status on Hub's page (#2127) 2023-08-01 14:27:44 -03:00
José Valim 7c40ab22e3
Warn if session is missing after reboot (#2128)
Closes #2075.
2023-08-01 19:12:38 +02:00
José Valim c404e817fb Compile teams hub on test_helper.exs if available 2023-08-01 18:48:16 +02:00
Alexandre de Souza 88fbf3c057
Add prefix to generated keys (#2118) 2023-07-28 12:55:37 -03:00
ByeongUk Choi dcca36a28a
Remove process all button from apps when interrupted/errored (#2117)
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2023-07-27 18:28:14 +02:00
Alexandre de Souza 3ecc0b3653
Load secrets from Hub when deploying an App (#2098) 2023-07-26 17:39:33 -03:00
Jonatan Kłosko 904ebd093f
Serially setup apps before deploying from directory (#2115)
Co-authored-by: José Valim <jose.valim@dashbit.co>
2023-07-26 20:23:44 +02:00
Jonatan Kłosko 52110ff2f9
Add download for notebook files (#2112) 2023-07-25 20:07:13 +02:00
Jonatan Kłosko 1980ddcaa4
Stream live upload chunks directly to the target file system (#2111) 2023-07-25 16:59:40 +02:00
José Valim 01b2c31659
Make reprocess texts more neutral (#2105) 2023-07-24 21:52:47 +02:00
Jonatan Kłosko 1c98a2a360 Add second retry in storage test 2023-07-24 17:20:30 +02:00
Jonatan Kłosko 489b609154
Allow dropping external files into the notebook (#2097) 2023-07-22 11:13:06 +02:00
Jonatan Kłosko 146f89f5f5
Add drag and drop actions for notebook files (#2096)
Co-authored-by: José Valim <jose.valim@dashbit.co>
2023-07-21 20:11:11 +02:00
Alexandre de Souza 07caffaecb
Add Offline Deployment section on the Hub Teams page (#2086) 2023-07-19 16:57:54 -03:00
Jonatan Kłosko 2e0c3978e0 Upload improvements 2023-07-18 23:17:26 +02:00
Jonatan Kłosko e95efd008f
Support adding file entry via upload (#2085) 2023-07-18 21:31:25 +02:00
Jonatan Kłosko 5ff5e0939d
Explicitly allow imported file entries pointing to file system (#2083) 2023-07-18 02:00:11 +02:00
Jonatan Kłosko 19a5124d1a
Implement streaming for downloads and file systems (#2072)
Co-authored-by: José Valim <jose.valim@dashbit.co>
2023-07-14 22:16:52 +02:00
Hugo Baraúna c16ba7e762
Change copy to mention Livebook teams (#2069) 2023-07-13 19:01:18 +02:00
Jonatan Kłosko e1114d3e29
Fix race condition in storage test (#2068) 2023-07-13 14:15:22 +02:00
José Valim 92fa990620 Do not rely on implementation details for provider tests 2023-07-13 14:07:25 +02:00
ByeongUk Choi f5d0dd557d
Raise exception when trying to edit a secret that does not exist (#2067) 2023-07-13 13:53:33 +02:00
José Valim 53b8bf101a Avoid race conditions in tests 2023-07-13 13:42:27 +02:00
José Valim 104952be6a Group livebook_teams test suite 2023-07-13 13:29:50 +02:00
Jonatan Kłosko db11994b3e Improve input change test 2023-07-13 12:33:57 +02:00
Jonatan Kłosko de2fc2f93a
Add button for reevaluating apps on change and add retry for errors (#2066) 2023-07-13 12:26:10 +02:00
Cristine Guadelupe 61c19a30dd
Fix race condition in ZTA tests (#2064)
* ZTA tests - non-asynchronous

* Unique names
2023-07-12 18:01:03 +02:00
Cristine Guadelupe 8c3f0bf046
Internal ZTA tests (#2058)
* Tests for GoogleIAP

* Tests for Cloudflare

* Tests for Cloudflare

* Clean up

* Applying suggestions

* Clean up

* Update test/livebook/zta/google_iap_test.exs

Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>

* Update test/livebook/zta/cloudflare_test.exs

Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>

---------

Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2023-07-12 16:45:45 +02:00
Jonatan Kłosko ff30d0de2d
Improve debugging discoverability on app errors (#2061)
Co-authored-by: José Valim <jose.valim@dashbit.co>
2023-07-11 22:29:38 +02:00
Jonatan Kłosko 0f792d51bd Make app new session button a link 2023-07-11 13:57:50 +02:00