Commit graph

328 commits

Author SHA1 Message Date
Jonatan Kłosko
b60428c94d
Improve tests (#1627) 2023-01-05 16:12:45 +01:00
Jonatan Kłosko
35b8bb73df Trigger input garbage collection after cell deletion 2023-01-05 12:34:32 +01:00
Jonatan Kłosko
f1deaead34 Update inputs garbage collection test 2023-01-04 21:54:39 +01:00
Jonatan Kłosko
17ab1ae472
Add support for file input (#1622) 2023-01-04 21:44:04 +01:00
Alexandre de Souza
d4bda6042c
Load LB_ env vars as app secrets (#1615) 2023-01-04 11:10:33 -03:00
Jonatan Kłosko
2e230c9deb
Add an option to run setup with no cache (#1616) 2023-01-03 12:24:22 +01:00
Alexandre de Souza
9ff84f204f
Implement event handling from WebSocket (#1608) 2022-12-26 21:16:47 -03:00
Alexandre de Souza
f9fb5194fa
Implement EnterpriseClient and improvements to WebSocket Connection (#1601) 2022-12-23 12:56:00 -03:00
Jonatan Kłosko
82d748a1ff
Don't track :rand and :random keys in process dictionary (#1599) 2022-12-22 11:38:43 +01:00
Alexandre de Souza
3e11023925
Migrate WebSocket GenServer (Server) to Connection (#1585) 2022-12-21 11:28:27 -03:00
Jonatan Kłosko
ae7fbca0ba
Cleanup modules when evaluator terminates (#1582) 2022-12-13 20:19:29 +01:00
José Valim
190a4cffd3
Do not crash when giving token to password and vice-versa (#1574) 2022-12-12 11:52:45 +01:00
Jonatan Kłosko
52d6835388
Support config updates when adding smart cell deps to Mix.install/2 (#1560) 2022-12-03 16:23:43 +01:00
Alexandre de Souza
60bc7194ed
Improve Enterprise integration with real data (#1548) 2022-11-28 20:47:25 -03:00
José Valim
b335e1c9cb
More doctests (#1544) 2022-11-23 15:06:08 +01:00
Jonatan Kłosko
c0fa414593 Fix default chunks info 2022-11-17 20:46:17 +01:00
Jonatan Kłosko
16d473685a
Fix input value lookup for nested inputs (#1537) 2022-11-17 15:15:54 +01:00
Jonatan Kłosko
ce93015a0d
Add support for multi-chunk smart cell source (#1536) 2022-11-17 12:36:06 +01:00
Jonatan Kłosko
42d2386a2d
Fix reading inputs rendered in the same evaluation (#1531) 2022-11-15 15:13:05 +01:00
Jonatan Kłosko
9c9c54de65
Delete defined modules if evaluation fails (#1528) 2022-11-12 19:39:59 +01:00
Jonatan Kłosko
81fccfd436
Automatically run doctests when a module is defined (#1525) 2022-11-11 21:49:51 +01:00
Alexandre de Souza
e30213bc83
Update WebSocket error responses (#1524) 2022-11-11 12:00:47 -03:00
Jonatan Kłosko
31c119a633
Persist modules bytecode to disk (#1521) 2022-11-10 16:37:57 +01:00
Jonatan Kłosko
936146e52c
Improve reproducability of module definitions (#1518) 2022-11-09 18:22:27 +01:00
Jonatan Kłosko
484e47142a
Track evaluation dependencies and cache results (#1517) 2022-11-09 14:40:44 +01:00
Alexandre de Souza
7b1addb7eb
Use WebSocket and Protobuf instead of GraphQL with Livebook Enterprise (#1504) 2022-11-03 13:49:07 -03:00
Alexandre de Souza
19773a0e36
Add Enterprise Hub (#1449) 2022-10-11 11:27:27 -03:00
José Valim
5c053a9573
Always sync livebook secrets with session (#1477) 2022-10-11 16:12:14 +02:00
José Valim
950982304d
Final touchups to secrets (#1464)
* Use font-mono on secret names
* Unify error handling with changesets
* Unify put_env/delete_env as set_env/unset_env
* Review text and descriptions
2022-10-06 21:44:04 +02:00
José Valim
cf7ad7f17a
Provide shared facade in Storage module (#1463) 2022-10-06 19:53:37 +02:00
Cristine Guadelupe
4c83317453
Notebook secrets (#1457)
* Store secrets in the notebook

* Automatically grants access to secrets

* Put notebook secrets on session

* Shows secrets as a list

* Grant access message box

* Grant access confirmation on select

* Applying suggestions - grant access confirmation

* Handles unavailable secrets

* Toggle secrets

* Session only secrets

* Sync secrets

* Fix delete runtime secret

* Clean up

* Component helpers

* Does not store secrets in notebooks

* Store Livebook secrets

* Fix sync secrets

* Tests for secrets

* Doesn't refetch livebook_secrets

* Removes unused function

* More test for secrets

* Livebook secrets as maps

* Fix secret tests

* Applying suggestions

* All secrets as a map

* Shows grant access for missing secret errors

* Unifies grant access

* Fix set_runtime_secrets

* Applying suggestions

* Updates sync secrets tests

* Fix active secret

* Unifies prefill secret name
2022-10-06 13:41:26 -03:00
José Valim
e9149dc343
Require fewer clicks to save a notebook (#1458) 2022-10-04 10:56:11 +02:00
José Valim
6da00daffd
Update to LV 0.18 (#1426) 2022-10-04 08:46:55 +02:00
Jonatan Kłosko
964f4b04d1
Keep stacktrace if all of it is pruned (#1455) 2022-10-03 13:49:19 +02:00
Jonatan Kłosko
12f77daa68
Fix Markdown formatting of narrow table columns (#1430) 2022-09-22 21:10:51 +02:00
Jonatan Kłosko
b20ac022a8
Attempt to load a flat remote URL as a relative path fallback (#1428) 2022-09-22 15:11:29 +02:00
Paulo Valim
285bc923b7
Rename the Explore section to Learn (#1424)
Co-authored-by: José Valim <jose.valim@gmail.com>
2022-09-21 12:06:22 +02:00
Jonatan Kłosko
b5e8cd9b00 Fix PATH test on Windows 2022-09-19 21:05:08 +02:00
Cristine Guadelupe
52f7d7419b
Changes secrets wording form label to name (#1419) 2022-09-18 18:40:09 -03:00
Alexandre de Souza
2766cf3256
Final adjustments to env vars (#1418) 2022-09-16 20:37:01 -03:00
Alexandre de Souza
12f1cc0c3f
Load persisted environment variables from settings into session's runtime (#1409) 2022-09-16 14:22:27 -03:00
Alexandre de Souza
e539661189
Unify styling environment variables forms (#1403) 2022-09-14 13:24:32 -03:00
Jonatan Kłosko
9434cf57b4
Normalize newlines in initial smart cell editor content (#1400) 2022-09-13 11:15:25 +02:00
Alexandre de Souza
0b9f53a122
Implement global Environment Variables from Settings page (#1387) 2022-09-12 11:34:39 -03:00
José Valim
b6e28c5b43 Fix Fly Hub suite 2022-09-07 11:37:45 +02:00
José Valim
be862173a3
Unify several forms in the application (#1392)
* Define .input_wrapper and .hex_color_input components

* Define Tailwind variants from Phoenix v1.6 to help styling

* Make sure single-action modals redirect on save

* Add pill to session secrets in the "Secrets" session sidebar

* Fix alignments of "Users" in the session sidebar
2022-09-05 23:59:13 +02:00
Jonatan Kłosko
eeadb0811b
Wait for processes to be garbage collected before evaluation (#1385) 2022-09-02 23:45:58 +02:00
Cristine Guadelupe
97efef52cc
Fix secrets form (#1379)
* Fix secrets form

* Update lib/livebook_web/live/session_live/secrets_component.ex

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

* Applying suggestions

Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2022-09-02 15:04:41 -03:00
Alexandre de Souza
ac71d08771
Add and Fetch secrets from Fly applications (#1361) 2022-09-02 12:54:28 -03:00
Jonatan Kłosko
ab9ad0369c
Show a message when a smart cell crashes and allow restarts (#1381) 2022-09-02 15:50:13 +02:00