Commit graph

442 commits

Author SHA1 Message Date
Jonatan Kłosko
50c23d0e4c
Tag file input id (#1674) 2023-02-01 19:59:26 +01:00
Jonatan Kłosko
69df6e0ad4
Rework file input to consider multiple clients (#1673) 2023-02-01 18:49:12 +01:00
Alexandre de Souza
887d423007
Improve hubs provider API (#1670) 2023-02-01 13:33:41 -03:00
Alexandre de Souza
dd2b7fa0e6
Minor improvements (#1669) 2023-01-31 20:37:04 -03:00
Alexandre de Souza
d70764517f
Implements :origin field to Secret struct (#1667) 2023-01-31 19:17:05 -03:00
Jonatan Kłosko
238b20b925 Fix smart cell source pruning 2023-01-27 15:39:47 +01:00
Wojtek Mach
0df2fe4fd1
Hub fixes (#1657) 2023-01-25 20:40:14 +01:00
Wojtek Mach
32d0f89312
Display "Livebook is shutting down" flash on desktop app shutdown (#1645) 2023-01-18 14:11:40 +01:00
Aayush Kumar Sahu
18735928c9
Fix import button disappear in small screens (#1643) 2023-01-15 12:43:12 +01:00
Alexandre de Souza
ae3a5661a8
Implement emojis instead of colors (#1636) 2023-01-12 17:37:12 -03:00
Jonatan Kłosko
57e1df74f3
Allow specifying S3 region explicitly (#1638) 2023-01-12 13:32:08 +01:00
Alexandre de Souza
3b2ea3c8ce
Update Connection life-cycle and implement ChangesetError message (#1633) 2023-01-10 17:12:35 -03:00
Jonatan Kłosko
d6f758661b
Make automatic reevaluation more accessible (#1628) 2023-01-07 15:18:31 +01: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
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
Adarsh Menon
1a895e4b29
Make image a block item instead of a button in the Markdown editor (#1439)
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2022-12-29 22:32:52 +01:00
Jonatan Kłosko
8b3d8847c1
Add support for audio input (#1610) 2022-12-29 15:09:09 +01:00
Alexandre de Souza
9ff84f204f
Implement event handling from WebSocket (#1608) 2022-12-26 21:16:47 -03:00
José Valim
b4696710e7
Encapsulate server access (#1605) 2022-12-24 11:35:06 -03:00
Alexandre de Souza
f9fb5194fa
Implement EnterpriseClient and improvements to WebSocket Connection (#1601) 2022-12-23 12:56:00 -03:00
Cocoa
262381fcc0
Adding support for capturing images from a camera (#1595)
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2022-12-22 15:06:17 +01:00
José Valim
10da0a2311
Change message when there are no app secrets (#1587) 2022-12-14 21:06:04 +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
460eb14420
Support custom image format with implicit pixel data (#1558) 2022-12-02 12:42:31 +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
Jonatan Kłosko
97506535c5
Make textarea input autosized (#1552) 2022-11-28 20:47:48 +01:00
Jonatan Kłosko
15754c9c99
Add support for image input (#1538) 2022-11-19 15:08:00 +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
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
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
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
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
734ea7dc0c Improve wrapping in error outputs 2022-10-07 12:01:00 +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
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