Commit graph

71 commits

Author SHA1 Message Date
Jonatan Kłosko 52df405aca
Add support for multi-instance apps (#1913) 2023-05-19 19:40:56 +02:00
Alexandre de Souza 3a63e30e89
Implement new Add Hub page (#1909) 2023-05-18 13:45:32 -03:00
Alexandre de Souza 932e43ac65
Implement Livebook Teams API (#1904) 2023-05-16 13:21:49 -03:00
Jonatan Kłosko 022f395bce
Add output type setting to apps (#1905) 2023-05-11 14:07:19 +02:00
Jonatan Kłosko f262b9c0c9
Rebuild confirmation modal system (#1903) 2023-05-10 18:23:08 +02:00
ByeongUk Choi 6dd19a8dc9
Add Form to "+ Block" (#1750)
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2023-05-09 16:49:02 +02:00
Jonatan Kłosko a6a56ff30c
Use shorter name for doctests module (#1874)
Co-authored-by: José Valim <jose.valim@dashbit.co>
2023-04-27 16:34:20 +02:00
Jonatan Kłosko deacb1a4a4
Explicitly track which secrets come from the hub (#1769) 2023-03-11 12:51:06 +01:00
Alexandre de Souza 8754bc0d5a
Shows only the secrets from selected hub (#1747) 2023-03-07 15:24:07 -03:00
Alexandre de Souza 5d48ffd051
Remove entire app secrets implementation (#1734) 2023-02-28 10:55:52 -03:00
Alexandre de Souza bfcf82f06b
Implements Secrets features inside hub's Provider (#1712) 2023-02-27 13:45:14 -03:00
Jonatan Kłosko 5b5593a54b
Update to Phoenix 1.7 (#1720) 2023-02-22 19:34:54 +01:00
Alexandre de Souza e58213b000
More improvements for Secrets and Hubs (#1693) 2023-02-06 20:37:11 -03:00
Jonatan Kłosko c8dd1151f0
Fix assets fetching for client-specific outputs (#1692) 2023-02-06 15:50:48 +01:00
Jonatan Kłosko e622ef4f96
Fix dialyzer warnings (#1691) 2023-02-03 18:30:41 +01:00
Alexandre de Souza 5f6e7176fc
Allow hub secret toggling (#1675) 2023-02-03 13:15:46 -03:00
Jonatan Kłosko 69df6e0ad4
Rework file input to consider multiple clients (#1673) 2023-02-01 18:49:12 +01:00
Alexandre de Souza d70764517f
Implements :origin field to Secret struct (#1667) 2023-01-31 19:17:05 -03:00
Wojtek Mach 0df2fe4fd1
Hub fixes (#1657) 2023-01-25 20:40:14 +01:00
Alexandre de Souza ae3a5661a8
Implement emojis instead of colors (#1636) 2023-01-12 17:37:12 -03:00
Alexandre de Souza b82e360df9
Implement Enterprise secret creation from Session (#1612) 2023-01-06 16:14:44 -03:00
Jonatan Kłosko 17ab1ae472
Add support for file input (#1622) 2023-01-04 21:44:04 +01: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 3e11023925
Migrate WebSocket GenServer (Server) to Connection (#1585) 2022-12-21 11:28:27 -03: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
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 cf7ad7f17a
Provide shared facade in Storage module (#1463) 2022-10-06 19:53:37 +02: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 0b9f53a122
Implement global Environment Variables from Settings page (#1387) 2022-09-12 11:34:39 -03:00
Cristine Guadelupe afcb2ff834
Livebook secrets (#1348)
* Add secrets to the sidebar

* Get and put secrets (naive)

* Secrets list - shortcut

* Validates secret name

* Livebook secrets as environment variables

* Restores secrets when necessary

* Minor adjustments

* Implements add_system_envs for NoopRuntime

* Moves secrets to session data

* Granular operations for secrets

* Minor adjustments

* Applying suggestions

* Test for add secrets

* Type for secret

* Applying suggestions

* Prevents duplicates

* Refactor to live_render

* Update lib/livebook/session/data.ex

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

* Sort secrets

* Applying suggestions

Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2022-08-25 17:24:24 -03:00
Alexandre de Souza 77c8804d62
User and Hub forms with Changeset validations and input errors (#1347) 2022-08-22 18:12:54 -03:00
Alexandre de Souza 5c050e640f
Add Livebook Hub with Fly.IO integration (#1319) 2022-08-18 10:34:27 -03:00
Jonatan Kłosko 2a1d937189
Update wording around dependencies and packages (#1151) 2022-04-30 17:14:10 +02:00
Howard Su 31b0a9f7d0
Add windows version of ci (#1045)
* Add windows version of ci

Config autocrlf to input on Windows
start epmd in background

* Update .github/workflows/test.yaml

* Update .github/workflows/test.yaml

* Update .github/workflows/test.yaml

* Fix tests

* Fix ownership of cached files

* Fix tests

* Increase timeouts

* Run tests on Windows only on main

Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2022-04-11 20:34:31 +02:00
Jonatan Kłosko 1cdc9f7f70
Remove restart button on Mix.install/2 error (#1088)
* Remove restart button on Mix.install failure

* Remove unused standalone? check
2022-04-04 12:49:17 +02:00
Jonatan Kłosko 902c993098
Adjustments (#1087)
* Fix horizontal scrollbar on smaller screens

* Apply navigation shortcuts without an additional roundtrip

* Shorten the data element selector

* Fix URL in changelog

* Return reference from handle_intellisense
2022-04-04 12:19:11 +02:00
Jonatan Kłosko 75eb031719
Automate searching and adding new dependencies (#1081)
* Automate searching and adding new dependencies

* Restructure runtime management

* Leave search restrictions up to the runtime

* Support predefined dependencies in Embedded runtime dependency search

* Use the embedded runtime for dependency search test

* Fix typo

* Use module for loading embedded runtime dependencies

* Improve naming
2022-04-01 20:13:37 +02:00
Jonatan Kłosko df765f2dd3
List predefined smart cells and automatically add their dependencies (#1078)
* List predefined smart cells and automatically add their dependencies

* Generalize dependency insertion to multiple entries

* Add runtime setup modal

* Don't evaluate setup when restarting the runtime fails

* Automatically add vega_lite for chart builder

* Improve confirmation modal actions when the action is not destructive
2022-03-30 21:55:50 +02:00
Jonatan Kłosko 5476fd001d
Introduce a setup cell (#1075)
* Introduce a setup cell

* Don't collapse setup cell when dirty

* Collapse fresh setup cell when empty

* Reword collapsed setup cell text
2022-03-28 21:36:57 +02:00
Jonatan Kłosko 6b78258713
Add support for scanning evaluation context from smart cells (#1041)
* Add support for scanning evaluation context from smart cells

* Rename prev_locator to base_locator to clarify the meaning

* Adjustments

* Add data tests

* Adjustments

* Test smart cell intearaction with RuntimeServer

* Serialize binding scanning and leave sending to the user

* Monitor the scanning process
2022-03-05 13:19:42 +01:00
Jonatan Kłosko e27ff5a960
Rename Elixir cell to Code cell (#1035) 2022-03-02 12:48:02 +01:00
Jonatan Kłosko 9d7fe44253
Introduce smart cells (#1029)
* Introduce smart cells

* Apply review comments
2022-02-28 13:53:33 +01:00
Jonatan Kłosko 19b777eb4e
Handle runtime event broadcast in a separate worker process (#992)
* Handle runtime event broadcast in a separate worker process

* Improve wording
2022-02-09 19:47:26 +01:00
Jonatan Kłosko 6b19f1d71b
Gracefully handle errors in the inspect protocol (#934) 2022-01-25 17:54:02 +01:00
Jonatan Kłosko 19baf013d5
Introduce a dedicated channel for JS widget communication (#843)
* Introduce a dedicated channel for JS widget communication

* Handle payload serialization errors

* Tie channel lifetime to the session

* Catch serialization errors instead of encoding twice

* Merge JS static and dynamic outputs

* Authenticate socket connection from session

* Update JS output format

* Remove unused helper

* Apply review comments
2022-01-06 16:31:26 +01:00