Commit graph

734 commits

Author SHA1 Message Date
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
Jonatan Kłosko
57ef44278b Fix Teams app deployments with attachment files 2024-10-05 03:10:54 +08:00
Jonatan Kłosko
6de57c9aa9 Fix outline test 2024-10-03 13:26:15 +07:00
Jean Klingler
3470f2de48
Fix handling of erlang syntax errors (#2800) 2024-09-30 09:31:31 +02:00
Jonatan Kłosko
ea6331f324
Encapsulate Kubernetes API calls (#2790) 2024-09-20 10:30:50 +02:00
Jonatan Kłosko
b0ab056499
Share code between Fly and K8s runtimes (#2788) 2024-09-18 18:20:41 +02:00
José Valim
2e45f8aca0
Deal with clock drifts and use DateTime UTC for server data (#2787) 2024-09-18 16:10:35 +02:00
Michael Ruoss
282ffeba54
Add K8s runtime (#2756)
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2024-09-18 13:56:17 +02:00
Jonatan Kłosko
a976781b69 Fix app recovery when the whole runtime goes down 2024-09-17 00:35:32 +07:00
Jonatan Kłosko
2eb5963efe
Allow disconnecting Fly runtime during initialization (#2776) 2024-09-09 16:27:12 +02:00
Jonatan Kłosko
c8e90073e9 Bump assert receive timeout on Windows 2024-09-06 17:27:53 +07:00
Jonatan Kłosko
b704ab6d31 Improve file entry access test 2024-09-06 15:34:50 +07:00
Jonatan Kłosko
94f7d3fc89 Fix race condition in tests 2024-09-06 14:58:01 +07:00
José Valim
fd628f2fb3 Remove URL field from shared deployment group settings 2024-09-05 09:02:55 +02:00
Jonatan Kłosko
66d3ac6d27 Rename sections list references to outline 2024-08-25 22:27:50 +09:00
Jonatan Kłosko
0142d4720b
Support toggling smart cell editor visibility (#2761) 2024-08-25 15:23:37 +02:00
Alexandre de Souza
ad0db1832b
List module definitions in the sections side panel (#2760) 2024-08-23 18:28:33 -03:00
Jonatan Kłosko
7a58dbb792
Do not set XLA_TARGET when using Livebook CUDA-based images (#2755) 2024-08-19 16:14:52 +02:00
Jonatan Kłosko
4783cfbd2a
Generate a default signature for functions/types when docs are not available (#2751) 2024-08-18 08:35:20 +02:00
Jonatan Kłosko
9ee4f08524
Make the go-to-definition link a client concern (#2746) 2024-08-16 13:31:05 +02:00
Jonatan Kłosko
8544419137
Improve intellisense modules handling (#2745) 2024-08-16 13:08:32 +02:00
Alexandre de Souza
87a49b1bdb
Implements the Go to Definition keyboard shortcut (#2741)
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
Co-authored-by: José Valim <jose.valim@dashbit.co>
2024-08-16 10:08:51 +02:00
Jonatan Kłosko
915cec327d
Add nightly release (#2739) 2024-08-09 19:12:20 +02:00
Jonatan Kłosko
b9306ce5da
Close runtime modal once connecting succeeds (#2736) 2024-08-08 15:32:19 +02:00
Jonatan Kłosko
0118ae8ebd Scope the go to definition test module 2024-08-08 16:40:26 +09:00
Alexandre de Souza
6e36725304
Provide go to definition of modules and functions defined in the notebook (#2730)
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2024-08-07 15:09:51 -03:00
Jonatan Kłosko
be60ffb9fd Make CI pass on Windows 2024-08-08 01:12:29 +09:00
Alexandre de Souza
8146bfd3b9
Fix integration tests 2024-07-30 10:05:24 -03:00
Barna Kovacs
02e89c19cf
Fix various typos and improve language (#2728) 2024-07-26 20:29:17 +02:00
Jonatan Kłosko
98169e8eb4
Support persisting Fly runtime config in a workspace secret (#2714) 2024-07-19 10:29:22 +02:00
Jonatan Kłosko
06279bc98f
Wait for Fly machine to start before attempting to connect (#2712) 2024-07-17 08:21:56 +02:00
Jonatan Kłosko
cb674cc8bd Fix path in file tests on Windows 2024-07-16 00:15:16 +07:00
Jonatan Kłosko
20eadca86b Increase CI timeout for Windows 2024-07-16 00:10:27 +07:00
Jonatan Kłosko
0b69625987
Fix file comparison (#2709) 2024-07-15 19:04:50 +02:00