Commit graph

1483 commits

Author SHA1 Message Date
Jonatan Kłosko
4530dd5cc6 Update mermaid 2022-12-01 15:51:07 +01:00
José Valim
53717bc410 Mention Hex.pm on smart cells chapter 2022-11-30 20:56:47 +01:00
Jonatan Kłosko
a6c9e1103c Format YAML 2022-11-30 19:37:15 +01:00
Vibhav Bobade
d44d5b0f62
Increase memory for Uffizzi deployment (#1557) 2022-11-30 19:35:58 +01:00
Vibhav Bobade
a0a6bf5af8
Integrate Uffizzi (#1555) 2022-11-30 17:12:31 +01:00
josevalim
962ec5d9fc Update assets 2022-11-30 14:00:24 +00:00
José Valim
14d5017ede Update Phoenix and Phoenix.View deps 2022-11-30 14:58:24 +01:00
Jonatan Kłosko
24f4d78cc1
Fix prettier pattern (#1554) 2022-11-30 00:26:28 +01:00
Jonatan Kłosko
a9d455d377 Fix the default base url path 2022-11-30 00:00:21 +01:00
jonatanklosko
957fdbb131 Update assets 2022-11-29 22:37:25 +00:00
Jonatan Kłosko
321810eeca Format 2022-11-29 23:35:35 +01:00
Jacques Lorentz
f4e836a5da
Base url path configuration variable (#1549) 2022-11-29 23:34:38 +01:00
José Valim
1c8a0c72b5 Link to Installation FAQ 2022-11-29 19:20:53 +01:00
Alexandre de Souza
60bc7194ed
Improve Enterprise integration with real data (#1548) 2022-11-28 20:47:25 -03:00
jonatanklosko
3385e20f9c Update assets 2022-11-28 19:49:30 +00:00
Jonatan Kłosko
97506535c5
Make textarea input autosized (#1552) 2022-11-28 20:47:48 +01:00
José Valim
dd68f7ff1c Convert cannot compile file into cannot compile cell 2022-11-28 15:01:43 +01:00
Wojtek Mach
93532b8d63 Prevent Mac app from running under Rosseta 2 2022-11-24 16:48:57 +01:00
José Valim
b335e1c9cb
More doctests (#1544) 2022-11-23 15:06:08 +01:00
Alexandre de Souza
2eb601d32a
Improve authentication form feedback for the user (#1543) 2022-11-22 14:56:42 -03:00
José Valim
b8997d6ce2
Use with: :clear_session on bad CSRF tokens 2022-11-22 16:38:49 +01:00
jonatanklosko
44732e4e59 Update assets 2022-11-19 14:10:26 +00:00
Jonatan Kłosko
15754c9c99
Add support for image input (#1538) 2022-11-19 15:08:00 +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
jonatanklosko
77d95778ce Update assets 2022-11-17 00:12:53 +00:00
Nick Sergeant
84361fb207
Add help text for how to access secrets in the secrets sidebar (#1535)
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2022-11-17 01:11: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
dc5be4a241 Simplify webpack configuration 2022-11-12 02:16:02 +01:00
Jonatan Kłosko
3504bac3f6 Don't define doctests case if there are no modules 2022-11-11 21:58:53 +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
Alexandre de Souza
4bf292ec43
Force body background color to white (#1523) 2022-11-11 11:48:21 -03:00
Frank Hunleth
52e5273401
Support passing an MFA for customizing shutdown (#1519)
This commit lets you customize Livebook shutdown to gracefully power
off. One use case is for Nerves-based devices that need to do more than
call `System.stop/0` to power off.

This doesn't change the `LIVEBOOK_SHUTDOWN_ENABLED` environment
variable. It still works the same.

The `:shutdown_enabled` configuration is now `:shutdown_callback`. Valid
values are `nil` or an MFA. An unset or `nil` callback hides the
shutdown button in the UI.
2022-11-10 18:09:01 +01:00
Jonatan Kłosko
31c119a633
Persist modules bytecode to disk (#1521) 2022-11-10 16:37:57 +01:00
José Valim
27e7535a42 Make configs consistent 2022-11-10 16:04:53 +01:00
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