Commit graph

804 commits

Author SHA1 Message Date
José Valim
10da0a2311
Change message when there are no app secrets (#1587) 2022-12-14 21:06:04 +01:00
Jonatan Kłosko
ae7fbca0ba
Cleanup modules when evaluator terminates (#1582) 2022-12-13 20:19:29 +01:00
Jonatan Kłosko
600666fd46
Default to Torchx for the Neural Network task when on Windows (#1583) 2022-12-13 17:12:22 +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
José Valim
27f62eeb6d Rewrite .eex into .heex 2022-12-12 11:31:52 +01:00
Jeremy Brayton
c6fcad2099
Widen the inputs for the authentication screen (#1572) 2022-12-12 11:25:46 +01:00
Frank Hunleth
3131610ad8
Fix error when specifying custom learn notebooks (#1570)
This fixes the following error:

```
07:18:26.178 [error] #PID<0.2236.0> running LivebookWeb.Endpoint (connection #PID<0.2226.0>, stream id 6) terminated
Server: localhost:8080 (http)
Request: GET /
** (exit) an exception was raised:
    ** (ArgumentError) expected a path starting with a single / but got "data:image/svg+xml;base64,PD94bWwgdmVyc2lv..."
        (phoenix 1.6.15) lib/phoenix/endpoint/supervisor.ex:311: Phoenix.Endpoint.Supervisor.raise_invalid_path/1
        (phoenix 1.6.15) lib/phoenix/config.ex:65: Phoenix.Config.cache/3
        (livebook 0.8.0) lib/phoenix/endpoint.ex:597: LivebookWeb.Endpoint.static_path/1
        (livebook 0.8.0) lib/livebook_web/live/learn_helpers.ex:15: anonymous fn/2 in LivebookWeb.LearnHelpers.notebook_card/1
        (livebook 0.8.0) /Users/fhunleth/git/livebook-dev/livebook/lib/livebook_web/live/home_live.ex:119: LivebookWeb.HomeLive.render/1
        (elixir 1.14.2) lib/enum.ex:1780: Enum."-map_reduce/3-lists^mapfoldl/2-0-"/3
```
2022-12-10 12:46:56 +01:00
Jonatan Kłosko
361455cd4e Release v0.8.0 2022-12-08 21:05:48 +01:00
Matt Furden
e9d88ad7d7
Support monospace font in textarea input (#1565) 2022-12-06 19:36:22 +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
Jonatan Kłosko
460eb14420
Support custom image format with implicit pixel data (#1558) 2022-12-02 12:42:31 +01:00
José Valim
53717bc410 Mention Hex.pm on smart cells chapter 2022-11-30 20:56:47 +01:00
José Valim
14d5017ede Update Phoenix and Phoenix.View deps 2022-11-30 14:58:24 +01:00
Jonatan Kłosko
a9d455d377 Fix the default base url path 2022-11-30 00:00:21 +01: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
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
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
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
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
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
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
Kevin
2dd9e9f8d3
Make notebook_card clickable (#1501) 2022-10-25 15:33:15 +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
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
José Valim
e4cf6b939b Add spacing to secrets bottom 2022-10-11 20:54:16 +02: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
José Valim
36ced79515 Tiny adjustments to style and responsiveness based on feedback 2022-10-11 19:06:21 +02:00
Alexandre de Souza
19773a0e36
Add Enterprise Hub (#1449) 2022-10-11 11:27:27 -03:00