Commit graph

1617 commits

Author SHA1 Message Date
José Valim
2716f79db0 Also convert :: to localhost 2024-05-16 16:19:03 +02:00
José Valim
54d1ff48f1 Use new epmdless config 2024-05-16 16:19:03 +02:00
Jonatan Kłosko
19d48bd52d Update agent Fly.io deployment instructions 2024-05-16 20:58:09 +08:00
Hugo Baraúna
c884831a07
Change copy: app deployment success message (#2606) 2024-05-15 16:43:05 -03:00
Hugo Baraúna
44c480eb84
Change copy: deploy notebooks -> deploy livebook apps (#2597) 2024-05-14 13:54:08 -03:00
Jonatan Kłosko
c0b85acb0a
Do not format code cells on save (#2605) 2024-05-14 17:33:07 +02:00
José Valim
6f1e09e09b
Add LIVEBOOK_PROXY_HEADERS (#2604) 2024-05-14 13:22:17 +02:00
Jonatan Kłosko
63668c49fb
Add end-to-end app deployment flow with Livebook Teams (#2602) 2024-05-14 13:20:14 +02:00
José Valim
4d58f32668 Move epmdless check to Livebook.Config 2024-05-14 11:12:07 +02:00
Jonatan Kłosko
f78e7702a1 Disable server logs in the console by default 2024-05-10 22:45:00 +08:00
Jonatan Kłosko
592396b1bf Fix typo 2024-05-10 21:37:58 +08:00
Jonatan Kłosko
7b07c6518c Make dev script conditional at compile time 2024-05-10 13:45:57 +08:00
Jonatan Kłosko
785d3752f7 Enable server logs in the browser console in dev 2024-05-10 13:28:30 +08:00
José Valim
096ac829e8 Improve ZTA experience 2024-05-09 21:31:50 +02:00
Jonatan Kłosko
4f7826fd77
Skip update check in tests (#2593) 2024-05-09 07:12:14 +02:00
Jonatan Kłosko
d0c00ad8ba Reset :show_existing_sessions to the correct default value in single-session config 2024-05-08 21:38:18 +08:00
José Valim
a28f5de36d Merge standalone init module into Elixir runtime 2024-05-08 10:12:54 +02:00
José Valim
6d7f416f18
Run Livebook Desktop without EPMD (#2591) 2024-05-08 10:05:01 +02:00
José Valim
eb4887657a
Remove teleport, as it does not support smart cells (#2589) 2024-05-06 23:58:50 +02:00
Jonatan Kłosko
81d803d564
Explicitly halt standalone runtime (#2587) 2024-04-29 16:43:00 +02:00
Victor Rodrigues
fdac5cfe4f
Fix empty sheets scenario for excel snippet (#2586) 2024-04-29 13:14:38 +02:00
Jonatan Kłosko
940d511bdb Format 2024-04-25 19:53:04 +08:00
Fabian N.C. van 't Hooft
c458a06a05
Add drag-and-drop for xls[x|m]-format (#2577)
Dragging an xlsx-file onto a livebook should load the
code-snipplet.

In order for the DataTable to load the code assumes that
the first row contains column-labels.
2024-04-25 10:22:22 +02:00
Alexandre de Souza
d4752ebd52
Add support for DNS clustering (#2578) 2024-04-23 15:40:18 -03:00
José Valim
d6848ed106 Make send/recv websocket responses consistent 2024-04-23 19:48:22 +02:00
José Valim
6bd7bbd1fc Fix race condition on select secret 2024-04-23 19:47:44 +02:00
Ed Bond
9eb5cbde2c
Security focused alternative image (#2526) 2024-04-22 22:48:42 +02:00
Alexandre de Souza
0be8491d11
Handle UserDeleted event from WebSocket (#2573) 2024-04-22 13:24:26 -03:00
Hugo Baraúna
7a16ce1926
Rename Hubs to Workspaces (#2574) 2024-04-19 17:40:50 -03:00
Hugo Baraúna
f7728c6859
Change copy about the relationship of a notebook and secrets (#2575) 2024-04-19 10:45:32 -03:00
Hugo Baraúna
27c72f564f
Shows a more human readable name for each zta provider (#2572)
---------

Co-authored-by: Hugo Baraúna <hugo.barauna@gmail.com>
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
Co-authored-by: José Valim <jose.valim@dashbit.co>
2024-04-18 10:07:14 -03:00
José Valim
c1a913ae1c
Add documentation on use cases (#2567)
---------

Co-authored-by: Hugo Baraúna <hugo.barauna@gmail.com>
2024-04-17 11:14:48 -03:00
Alexandre de Souza
5e7f8a477a
Get App Settings fields from WebSocket event (#2571) 2024-04-16 12:11:15 -03:00
Jonatan Kłosko
6cc22501c9 Include reason in the error message when the runtime node goes down during init 2024-04-15 18:20:30 +08:00
Jonatan Kłosko
4c356eefed
Respect automatically reevaluating cells in app sessions (#2569) 2024-04-15 09:19:47 +02:00
José Valim
29c5cb1904 ZTA revamp
* Rename SessionIdentity to PassThrough and make it part of ZTA

* Compute the ID at the Plug level, rather than ZTA level and
  avoid storing it twice

* Stop the user "avatar" from flashing on initial render

* Do not duplicate identity data inside user data, rather keep
  them distinct
2024-04-13 10:29:22 +02:00
Alexandre de Souza
50f9bb2420
Implement Basic Auth ZTA (#2564) 2024-04-13 09:07:33 +02:00
Alexandre de Souza
59deaa5329
Send more fields to Teams API when deploying an app (#2563) 2024-04-12 10:36:16 -03:00
José Valim
c93511296a Move module to LivebookWeb.ZTA.SessionIdentity 2024-04-12 09:49:25 +02:00
José Valim
25829b420f Add ZTA cache 2024-04-12 08:56:05 +02:00
José Valim
1332573aa4 Skip GenServer in Tailscale ZTA 2024-04-12 08:39:26 +02:00
José Valim
8ed6772cad Show password protected icon 2024-04-11 20:37:50 +02:00
Jonatan Kłosko
7cf4af5c10
Expand instructions for deploying a new agent server instance (#2561) 2024-04-11 09:37:06 +02:00
José Valim
5b15f36278 Apply radio cards 2024-04-10 23:39:56 +02:00
Alexandre de Souza
573cb6a75d
Handle when user stops the App Deployment (#2554) 2024-04-09 13:45:19 -03:00
José Valim
97185ad34c Fix tooltip location to avoid scrollbars 2024-04-09 18:23:47 +02:00
Jonatan Kłosko
f4a29840bc
Guard files listing to not crash on emoji names (#2558) 2024-04-09 17:15:44 +02:00
Cristine Guadelupe
18ec115dbd
Bump kino_maplibre (#2557) 2024-04-09 20:12:24 +08:00
Jonatan Kłosko
ba7e5a2654 Simplify ranges 2024-04-09 18:39:46 +08:00
Jonatan Kłosko
6d994a5542
Use unambiguous mapping between erlang and elixir variable names (#2556) 2024-04-09 12:35:00 +02:00
José Valim
cb11b26cdc Simplify code that is no longer shared across views 2024-04-08 11:06:25 +02:00
Jonatan Kłosko
4c6869d69c
Persist app password in stamp metadata (#2550) 2024-04-07 12:39:26 +02:00
José Valim
b1661da884 Tiny fixes to names and conventions 2024-04-07 11:31:43 +02:00
Alexandre de Souza
741e7d2b20
Implement the instances running count with connected Agents (#2546) 2024-04-05 11:24:19 -03:00
Hugo Baraúna
23ab9796c3
Some changes to the copy related to deployment groups (#2542)
Co-authored-by: José Valim <jose.valim@dashbit.co>
2024-04-03 17:26:24 -03:00
Alexandre de Souza
954ababc61
Add new protobuf messages related to Agent (#2541) 2024-04-03 10:43:45 -03:00
Jonatan Kłosko
61ca2cd063
Resolve user info requests coming from the runtime (#2540) 2024-04-03 08:52:16 +02:00
Matt Furden
2ae8149568
Update docs in runtime.ex (#2543)
Fixes a typo in the reply = {:ok, info} tuple documentation.
2024-04-02 23:33:25 +02:00
Milad
fa4addcb50
Fix invalid cookie naming - cookie names can't contain : (#2539)
Closes #2537

RFCs:
* http://tools.ietf.org/html/rfc6265#section-4.1.1
* http://tools.ietf.org/html/rfc2616#section-2.2
2024-04-02 15:25:08 +02:00
Jonatan Kłosko
8e11d6a571 Update comment 2024-04-02 17:38:48 +07:00
José Valim
3a9412cafd
Use unique app spec version (#2535)
The ID is currently preserved on new deployments.
Therefore we also consider the sha and the timestamp.
2024-04-02 09:04:10 +02:00
José Valim
c699fbbd79 Allow autosave to be reenable in the UI, closes #2534 2024-04-01 10:26:16 +02:00
José Valim
4d61937c2d Avoid using :let in form in more occasions 2024-03-31 17:05:10 +02:00
José Valim
e284c65a9a Do not reset changeset on parent update for secret and file system components 2024-03-31 11:18:40 +02:00
Jonatan Kłosko
4ac8468c45 Include user payload in runtime app info response 2024-03-31 00:39:02 +07:00
Jonatan Kłosko
47b3fef73d Update docs 2024-03-31 00:17:25 +07:00
José Valim
16f276b0cd Move all deployment group to hub page 2024-03-30 11:23:06 +01:00
paulo-valim
4c17109d12 New deployment group listing 2024-03-30 10:01:01 +01:00
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
26d39772e8 Group IOProxy arguments 2024-03-27 22:04:16 +07:00
Jonatan Kłosko
f363be949e
Monitor clients presence in the runtime (#2530) 2024-03-27 15:25:42 +01:00
Jonatan Kłosko
23a172711d
Set evaluation file when autosaving (#2529) 2024-03-27 09:52:07 +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
José Valim
b918f8ab47 Do not perform requests for offline teams 2024-03-25 22:47:17 +01:00
Alexandre de Souza
fdd2d2c2f2
Refactor the LivebookProto messages (#2521) 2024-03-25 15:08:40 -03:00
Jonatan Kłosko
c67095bbe1 Make sure output inputs have unique ids 2024-03-25 20:07:16 +07:00
José Valim
e892d9dea0
Embed fly clustering into the release (#2519) 2024-03-22 17:22:18 +01:00
Hugo Baraúna
1038ef8d24 We forgot to delete that line 2024-03-21 16:39:38 -03:00
José Valim
ce9779fc49
Simplify alias expansion (#2518) 2024-03-21 17:59:56 +01:00
Jacques Lorentz
2756606f5c
Fix auth redirect with specific base url path (#2516) 2024-03-21 17:08:19 +01:00
José Valim
ccc69cbc3c Remove unused assigns 2024-03-20 23:37:13 +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
Jonatan Kłosko
1a8d46a89a
Minimize lifespan of param-driven assigns (#2509) 2024-03-13 16:47:45 +01:00
José Valim
b58b732db2
Improvement docker deployment flow (#2508) 2024-03-13 14:59:08 +01:00
Paulo Valim
9ec411fb3a
Showing app configuration when clicking Launch Preview (#2507) 2024-03-13 12:21:01 +01:00
Alexandre de Souza
e30117aca8
Implement the Livebook Agent Dockerfile generation (#2481) 2024-03-10 19:42:09 +01:00
Jonatan Kłosko
f260ee08d7
Bump Elixir and Erlang versions (#2505) 2024-03-10 13:50:24 +01:00
Hugo Baraúna
6195f7418f
Uniformize the copy for no entries in a hub (#2502) 2024-03-07 17:13:56 -03:00
Alexandre de Souza
db41c99735
New LivebookProto messages and minor improvements (#2503) 2024-03-07 16:47:33 -03:00
Hugo Baraúna
ca46b3eab6 Fix link to ZTAs docs 2024-03-06 16:36:27 -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
José Valim
c53ab3c3a5
Update config.ex 2024-02-27 14:31:15 +01:00
Jonatan Kłosko
2b8c1d93f5 Bump kino_bumblebee version 2024-02-26 18:09:18 +07:00
Jonatan Kłosko
fac2bc7a53
Fix S3 list operation for keys with space (#2497) 2024-02-25 17:04:58 +01: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
Jonatan Kłosko
63376cb3ee
Limit the number of files listed in the file selector (#2491) 2024-02-19 17:08:41 +01:00
Jonatan Kłosko
33aa9408ae Update LV 2024-02-16 00:59:57 +07:00
José Valim
a759c9d56a Document modules also improve stacktraces, closes #2485 2024-02-15 11:17:23 +01:00
Jonatan Kłosko
cc92a6d03b Show cell evaluation time also when stale and aborted 2024-02-15 15:47:35 +07:00
Jonatan Kłosko
eac07a4c39 Simplify clipboard copy transitions 2024-02-13 17:21:59 +07:00
Jonatan Kłosko
c20521c3ab
Redesign flash messages (#2484) 2024-02-13 11:17:17 +01:00
ByeongUk Choi
17634f9be7
Validate agent name and set default (#2483) 2024-02-13 09:27:25 +01:00
Jonatan Kłosko
efc17fb01f Use larger secret modal only when there is secret selection 2024-02-12 00:11:16 +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
de2d63ceb0 Improve loading transition when searching packages 2024-02-09 01:38:38 +07:00
Jonatan Kłosko
4587396c9a
Encapsulate buttons and inputs in components (#2477) 2024-02-08 19:27:16 +01:00
José Valim
587aa62d8c Group all hub sidebar entries last 2024-02-08 10:59:28 +01:00
José Valim
629cc3f5a3 Do not rely on to_existing_atom as atoms may not have been loaded 2024-02-08 09:03:38 +01:00
Jonatan Kłosko
a2d6b1caae
Fix Dockerfile generation with deployment group (#2475) 2024-02-07 20:36:21 +01:00
Jonatan Kłosko
6d2a70bf6e Change modal sizes 2024-02-08 00:51:44 +07:00
Jonatan Kłosko
f21fe7df09 Fix duplicate checkbos ids in the session list 2024-02-07 17:38:25 +08:00
Jonatan Kłosko
d3f33a045c Migrate more CSS classes to components 2024-02-07 00:29:00 +08:00
Michael Ruoss
4b82745f73
Make sure declared fields are set on AWS credentials map (#2472) 2024-02-04 11:42:38 +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
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
80cd944d3e Move table component near other components 2024-01-31 01:06:05 +08:00
Paulo Valim
80a8085073
Improving Table Core Component (#2463) 2024-01-30 18:05:09 +01:00
Paulo Valim
721a2eba4a
Adding table view for environement variables (#2461) 2024-01-30 16:48:18 +01:00
Paulo Valim
714417189b
Add LiveView table component (#2460) 2024-01-30 10:41:48 +01:00
Cristine Guadelupe
60d7dd74c3
Maplibre guide - add controls (#2459) 2024-01-29 15:09:41 -03:00
Jonatan Kłosko
368b69b423
Implement version-based migrations (#2453) 2024-01-29 08:59:43 +01:00
Cristine Guadelupe
027e84fff8
Updates guides to link to docs (#2456) 2024-01-27 15:25:33 -03:00
Cristine Guadelupe
dc81aa3b40
Updates Explorer guide (#2455) 2024-01-27 11:01:43 -03:00
José Valim
0d475961eb Centralize actions table header 2024-01-27 11:18:01 +01:00
Cristine Guadelupe
45a0e6026f
Updates Maplibre guide (#2454) 2024-01-26 14:44:25 -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
ac7b5803a1 Fix todos 2024-01-26 20:59:45 +08:00
Jonatan Kłosko
8e6a017414
Move session markup to a separate file (#2452) 2024-01-26 13:51:05 +01:00
Jonatan Kłosko
9bc0832e03
Make frame and text stream updates implicit (#2451) 2024-01-26 09:17:46 +01:00
Jonatan Kłosko
8431401df1
Reorganize helpers (#2450) 2024-01-26 08:23:37 +01:00
Jonatan Kłosko
501a98d7c6
Move helpers to components (#2448) 2024-01-26 05:47:56 +01:00
José Valim
365cbe7101 Fix transport_opts 2024-01-25 22:13:50 +01:00
Jonatan Kłosko
883c0f39ec
Pass cacerts options to Mint only when SSL (#2449) 2024-01-25 14:58:53 +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
026af473ec Simplify terminal text clipboard icon 2024-01-25 17:56:26 +08:00
Jonatan Kłosko
2b5171fe92 Emit diagnostic for MismatchedDelimiterError 2024-01-25 16:26:31 +08:00
Cristine Guadelupe
22cd0c233a
Bump kinos (#2440) 2024-01-24 12:21:02 -03: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
Alexandre de Souza
99bf5d02f7
Fix cacerts for escript version (#2439) 2024-01-23 18:37:00 -03:00