Commit graph

1445 commits

Author SHA1 Message Date
Alexandre de Souza
1cd92366d8
Allow Livebook to run inside iframes (#1520) 2022-11-10 16:02:59 +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
Wojtek Mach
dd68f4fe2c Add vendor/otp/erts-VSN/bin to additional paths on macOS
Just for consistency.
2022-11-02 19:06:42 +01:00
Wojtek Mach
7475e29232
Fix launching Windows desktop app (#1511)
On Windows we have erl.exe in two directories: OTP/bin/erl.exe and
OTP/erts-VSN/bin/erl.exe. The executable is identical but what is
different is the latter, the erts one, contains erlexec.dll which needs
to be present for the VM to start.

Interestingly, regardless of OS, the erl[.exe] executable always
prepends the OTP/erts-VSN/bin and OTP/bin directories to the PATH:

    iex> System.get_env("PATH") |> String.split(":") |> Enum.take(2)
    ["/Users/wojtek/.asdf/installs/erlang/25.1.2/erts-13.1.2/bin",
     "/Users/wojtek/.asdf/installs/erlang/25.1.2/bin"]

Manually prepending the erts bin directory to the PATH, which makes the
erl.exe that is to be launched to be the erts one, fixed the issue.
2022-11-02 18:19:53 +01:00
Jonatan Kłosko
b911bd71ed Release 0.7.2 2022-10-26 22:19:37 +02:00
jonatanklosko
e0e80ac844 Update assets 2022-10-25 13:34:59 +00:00
Kevin
2dd9e9f8d3
Make notebook_card clickable (#1501) 2022-10-25 15:33:15 +02:00
Wojtek Mach
7bf1904d8b Add /usr/local/bin after vendored paths 2022-10-24 15:47:18 +02:00
Wojtek Mach
83ab333a16 Remove unused code 2022-10-24 11:36:13 +02:00
Wojtek Mach
819d572511 Don't hardcode the location of erl.exe on windows 2022-10-24 11:35:20 +02:00
Wojtek Mach
e152c9d1a7
Fix vendoring OTP (#1495)
Summary of changes:

- Vendor OTP at: rel/vendor/otp
- Remove rel/vendor/otp/lib/*/src
- Include /usr/local/bin in $PATH. This is not there by default and that's where homebrew (on x86_64) installs things so it should make it easier to build some packages with NIFs.
2022-10-24 10:56:16 +02:00
José Valim
d392e8d4ab Clarify that env vars are specific to this machine 2022-10-20 19:55:38 +02:00
Jonatan Kłosko
23e071386b
Fix units in byte formatting (#1494) 2022-10-20 11:56:10 +02:00
Hugo Baraúna
567b7af459
Update links to map libre and kino vega lite libs (#1492)
* Update links to map libre libs

* Updates link to KinoVegaLite
2022-10-18 15:52:08 +02:00
jonatanklosko
27a7297866 Update assets 2022-10-17 11:02:20 +00:00
Jonatan Kłosko
ba193be13b
Expand relative URLs in HTML elements in Markdown (#1491) 2022-10-17 13:00:25 +02:00
Jonatan Kłosko
2063cf9485
Move file system actions into a menu (#1484) 2022-10-13 15:31:06 +02:00
GitStart
577a1b7eb6
Allow a file system to be set as default in the UI (#1450) 2022-10-13 15:16:52 +02:00
josevalim
2554d08ed0 Update assets 2022-10-11 18:56:36 +00:00
José Valim
e4cf6b939b Add spacing to secrets bottom 2022-10-11 20:54:16 +02:00
cristineguadelupe
f4c350cdab Update assets 2022-10-11 17:57:42 +00:00
Cristine Guadelupe
06e9cc6828
Delete and view secrets from the sidebar (#1473)
* Delete secrets from sidebar

* Collapsible secret detail

* Secret details layout

* Secret details layout adjustments

* Hover and text color for secret details

* Changes switch_button colors to have more contrast

* small adjustment

* Uses remove and add class everywhere

* Uses JS.toggle
2022-10-11 14:55:36 -03:00
josevalim
35d11254f9 Update assets 2022-10-11 17:08:20 +00:00
José Valim
36ced79515 Tiny adjustments to style and responsiveness based on feedback 2022-10-11 19:06:21 +02:00
aleDsz
a6897223a1 Update assets 2022-10-11 14:29:50 +00: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
Abhijit Kar ツ
41347c51be
Infer hostname automatically in CLI for attached mode (#1474) 2022-10-11 13:25:54 +02:00
José Valim
711368bf0c Update Env Var copy 2022-10-10 10:14:06 +02:00
Jonatan Kłosko
fc78929cd1 Release 0.7.1 2022-10-09 21:42:49 +02:00
jonatanklosko
afa848563c Update assets 2022-10-09 19:41:19 +00:00
Jonatan Kłosko
702c3feb0a
Downgrade Monaco editor to fix Mermaid graph editing (#1471) 2022-10-09 21:39:29 +02:00
Jonatan Kłosko
33620284b7 Release 0.7.0 2022-10-07 12:20:37 +02:00
Jonatan Kłosko
1639435024
Update references to kino packages (#1467) 2022-10-07 12:19:20 +02:00
jonatanklosko
80b7ca1f43 Update assets 2022-10-07 10:03:00 +00:00
Jonatan Kłosko
734ea7dc0c Improve wrapping in error outputs 2022-10-07 12:01:00 +02:00
josevalim
b43ebac6f7 Update assets 2022-10-06 19:45:50 +00: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
Jonatan Kłosko
195bc502fd Update changelog 2022-10-06 20:13:36 +02:00
José Valim
cf7ad7f17a
Provide shared facade in Storage module (#1463) 2022-10-06 19:53:37 +02:00
cristineguadelupe
3dd9093a29 Update assets 2022-10-06 16:43:16 +00: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
Jonatan Kłosko
8d7a077fe5
Update changelog (#1462) 2022-10-06 11:55:03 +02:00
josevalim
51c4686c47 Update assets 2022-10-04 12:28:43 +00:00
José Valim
d5c668c815 Use LV v0.18.2, closes #1408 2022-10-04 14:26:18 +02:00
jonatanklosko
3724cd72be Update assets 2022-10-04 09:58:56 +00:00
Jonatan Kłosko
4b9392f7ac
Add a clarification for editor shortcuts (#1460)
Co-authored-by: José Valim <jose.valim@dashbit.co>
2022-10-04 11:56:52 +02:00
josevalim
0d3b733f7a Update assets 2022-10-04 08:58:40 +00:00