Commit graph

767 commits

Author SHA1 Message Date
Alexandre de Souza
73c0f1b45c
Handle authorization groups in real-time (#2998) 2025-05-12 10:43:03 -03:00
Alexandre de Souza
bf5725847a
Implement the user authorization flow with Livebook Teams (#2984) 2025-05-05 10:53:44 -03:00
Jonatan Kłosko
86cc78d028 Update LV 2025-04-18 23:56:15 +09:00
Jonatan Kłosko
331efa04f7
Support setopts request with binary option in IO proxy (#2983) 2025-04-11 08:20:50 +02:00
Jonatan Kłosko
0aa4013f3f
Improve UX when loading JS output fails or takes long time (#2975) 2025-04-01 11:11:10 +02:00
Alexandre de Souza
ce76af9432
Show more prominent warning for app servers (#2962) 2025-03-17 11:05:11 -03:00
Alexandre de Souza
3359f65a4c
Redirects the user to Teams logout page (#2959) 2025-03-14 09:35:25 -03:00
Jonatan Kłosko
2c288b8508 Bump timeout in test 2025-03-07 19:58:50 +09:00
Jonatan Kłosko
882d254c23
Do not store identity payload in the session (#2948) 2025-03-03 13:45:28 +01:00
Jonatan Kłosko
c42c5d39fb Update pythonx version references 2025-02-27 14:03:29 +09:00
Jonatan Kłosko
a7b738fdcd Improve Python evaluation to raise a Python error for undefined variables 2025-02-27 14:02:48 +09:00
Jonatan Kłosko
2846b73c94 Refactor aliases 2025-02-24 14:46:26 +09:00
Jonatan Kłosko
793e683338
Fix stderr not being captured in Python cells (#2941) 2025-02-21 17:42:25 +01:00
Jonatan Kłosko
ef6591c85a Update pythonx dependency 2025-02-19 19:32:10 +09:00
Jonatan Kłosko
2796d5f1d7 Fix windows CI 2025-02-18 23:45:12 +09:00
Jonatan Kłosko
ac9db0e879 Capture pythonx init output in tests 2025-02-18 23:15:13 +09:00
Jonatan Kłosko
015b44fb72
Add support for Python cells (#2936)
Co-authored-by: José Valim <jose.valim@dashbit.co>
2025-02-18 14:28:29 +01:00
Alexandre de Souza
42cd2af31d
Fix logout button with disabled "Authenticate with Livebook Teams" (#2935) 2025-02-17 10:56:52 -03:00
Cocoa
465d711395
fix: path should be URL-encoded in Elixir code (#2926)
Signed-off-by: Cocoa <i@uwucocoa.moe>
Co-authored-by: Wojtek Mach <wojtekmach@users.noreply.github.com>
2025-02-12 16:10:24 +01:00
José Valim
e1277fa62a
Support nil fields in forms (#2931) 2025-02-12 13:12:03 +01:00
José Valim
00f2fdf1d1
Add styling to plain text (#2928)
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2025-02-12 09:46:48 +01:00
Jonatan Kłosko
8fc98c7698 Capture test log 2025-02-01 16:29:12 +07:00
Jonatan Kłosko
f3ec12d3d9 Add missing annotation to Erlang snippets in Markdown cells on export 2025-01-30 01:10:21 +07:00
Jonatan Kłosko
4d554e797b Remove unnecessary async false 2025-01-24 01:02:12 +07:00
Hugo Baraúna
a8d57864cf
Bug fix: show logout template after logging out (#2913) 2025-01-20 18:32:46 -03:00
Alexandre de Souza
601e93ae76
Implement the logout button (#2906) 2025-01-08 15:55:44 -03:00
Alexandre de Souza
433b8011f8
Implement teams_auth field and deprecate zta_provider (#2904) 2024-12-31 11:15:46 -03:00
Jonatan Kłosko
561b73af7b
Migrate to JSON (#2898) 2024-12-20 09:34:41 +01:00
Alexandre Hamez
cd46b5c667
Fix Docker warning about deprecated ENV usage (#2893) 2024-12-12 14:37:12 +01:00
Jonatan Kłosko
a7c8e9e1c7
Update Elixir and Erlang versions (#2892) 2024-12-11 16:22:01 +01:00
Jonatan Kłosko
ab182ffecb Escape quotes in generated dockerfile env vars 2024-12-07 00:11:25 +08:00
Hugo Baraúna
2d9b6f8dac
Fix user information to include payload returned from identity provider (#2890) 2024-12-06 14:36:52 +01:00
Jonatan Kłosko
34364722a8
Fix race condition in app auto shutdown test (#2887) 2024-12-05 12:01:59 +01:00
Jonatan Kłosko
b7d187b914
Add logs for code evaluation (#2880)
Co-authored-by: José Valim <jose.valim@dashbit.co>
2024-11-29 14:22:13 +01:00
Jonatan Kłosko
ffd6b99bd9
Store autogenerated user id seprate from identity data (#2879) 2024-11-29 01:49:35 +01:00
Jonatan Kłosko
20912b87eb Improve tests 2024-11-26 17:01:09 +08:00
Jonatan Kłosko
3895e85b6b
Use Req for all requests (#2874) 2024-11-25 13:43:00 +01:00
Jonatan Kłosko
21e01fadb6
Simplify static assets handling (#2866) 2024-11-21 11:46:33 +01:00
Hugo Baraúna
96a995bf26
Fix auth with Livebook teams when user not belongs to org (#2865) 2024-11-21 03:25:22 +01:00
Hugo Baraúna
651d037194
Bug fix: fix redirect_to URL when authenticating via livebook teams (#2857) 2024-11-19 16:27:06 -03:00
Alexandre de Souza
e1b57bf112
List all environment variables from deployment group in dockerfile (#2858) 2024-11-18 16:54:08 -03:00
Alexandre de Souza
473830ada6
Deprecate ZTA-related fields (#2851) 2024-11-08 15:47:34 -03:00
Jonatan Kłosko
d853eefafa Fix importing notebook via livebook.dev/run to download attachments 2024-11-04 13:23:28 +08:00
Alexandre de Souza
4380a41192
Implement the authentication with Livebook Teams (#2837) 2024-10-31 11:44:04 -03:00
Jonatan Kłosko
745ca066cc Increase timeout in test 2024-10-31 20:31:52 +08:00
Jonatan Kłosko
3c9fedbca5 Fix selected namespace when reopening K8s runtime settings 2024-10-29 02:07:30 +08:00
Jonatan Kłosko
c14bdb7830
Support specifying erl flags for standalone runtime node (#2843) 2024-10-28 17:56:32 +01:00
Jonatan Kłosko
e487c56d1c
Remove LIVEBOOK_APPS_PATH_HUB_ID in favour of LIVEBOOK_TEAMS_AUTH (#2829) 2024-10-15 10:49:48 +02:00
Fabian N.C. van ´t Hooft
50ac90a79d Add erlang-module support
Single modules are now allowed to be defined in an Erlang-cell.

In this case the entire code-block is interpreted as an
erlang-module and if there are no errors the module is compiled
and loaded.

If the cell containing the module is deleted subsequent code
invocations will fail.

Stale indicator is not working yet due to missing notion of
functions, this will be fixed in a next version.

Error handling - basics are working
 - Still not happy with it, but it is usable

The code is now pre-analyzed using the epp-module. This also
has the added advantage that erlang modules can become a bit
more expressive with defines and includes.

TODO: Examples need to be added to the example livebook.
2024-10-10 17:40:49 +02:00
Jonatan Kłosko
8dfe52258f
Fix imports and process dictionary being erased after errored evaluation (#2822) 2024-10-07 11:55:53 +02:00