Commit graph

678 commits

Author SHA1 Message Date
Cristine Guadelupe
8c3f0bf046
Internal ZTA tests (#2058)
* Tests for GoogleIAP

* Tests for Cloudflare

* Tests for Cloudflare

* Clean up

* Applying suggestions

* Clean up

* Update test/livebook/zta/google_iap_test.exs

Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>

* Update test/livebook/zta/cloudflare_test.exs

Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>

---------

Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2023-07-12 16:45:45 +02:00
ByeongUk Choi
72d18e5a38
Add default directory setting (#2046)
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2023-07-12 13:28:51 +02:00
José Valim
c5138ad192
Mention Erlang and doctests (#2063)
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2023-07-12 13:09:39 +02:00
Anatolij Werle
6bfc6dfab0
Show summary on failed doctests (#2062) 2023-07-12 12:56:13 +02:00
Jonatan Kłosko
ff30d0de2d
Improve debugging discoverability on app errors (#2061)
Co-authored-by: José Valim <jose.valim@dashbit.co>
2023-07-11 22:29:38 +02:00
Jonatan Kłosko
7441de7c9e Bump kino version in guides 2023-07-10 22:18:47 +02:00
Jonatan Kłosko
d3f7cfa665
Pass notebook files when deploying apps (#2045) 2023-07-07 20:31:54 +02:00
Alexandre de Souza
f4365e44d2
Enforce Hub when deploying notebooks from LIVEBOOK_APPS_PATH (#2039) 2023-07-07 15:27:07 -03:00
Jonatan Kłosko
c02eb984f8
Support reading file entry content from the runtime (#2044) 2023-07-07 16:20:19 +02:00
Jonatan Kłosko
ce5e91a20c
Update log filter for miscapitalized module loading error (#2040) 2023-07-06 18:43:00 +02:00
Jonatan Kłosko
ede80fc074
Implement file management (#2022)
Co-authored-by: José Valim <jose.valim@dashbit.co>
2023-07-05 20:01:12 +02:00
Jonatan Kłosko
cae17cc144
Add support for reading app info from the runtime (#2038) 2023-07-05 15:58:46 +02:00
Jonatan Kłosko
fb9148acf7
Change new notebook button to link (#2036) 2023-07-04 14:46:19 +02:00
Cristine Guadelupe
550869c356
ZTA - Google IAP and adjustments (#2033)
* Fix GoogleIAP certs and fields

* Email as name when name is not available

* Initial docs

* Update lib/livebook_web/live/hooks/user_hook.ex

Co-authored-by: José Valim <jose.valim@gmail.com>

---------

Co-authored-by: José Valim <jose.valim@gmail.com>
2023-07-03 21:42:04 +02:00
Cristine Guadelupe
2272f1445f
Mapping fields - Cloudflare (#2025)
* Mapping fields - Cloudflare

* Applying suggestions

* Mapping fields - GoogleIAP
2023-07-02 20:46:12 +02:00
Alexandre de Souza
bcfb6d46ea
Add Team hub from environment variables (#2020) 2023-06-30 19:11:31 -03:00
Cristine Guadelupe
29b712917e
ZTA - user identity (#2015)
* Get user identity

* Moves current_user_id to identity_data

* Renames cookies to session_identity

* Keep zta keys in the state

* User id from GoogleIap

* Update cloudflare.ex

* Update googleiap.ex

* Email only for ZTA

* Get the current_user_id from the identity_data

* Applying suggestions

* Applying suggestions

* Fix verify_token

---------

Co-authored-by: José Valim <jose.valim@gmail.com>
2023-06-29 23:10:00 +02:00
ByeongUk Choi
ebab482b7e
Improve error message when deploying notebooks without settings (#2008) 2023-06-25 09:44:36 +02:00
Alexandre de Souza
05d691d407
Redirect to Hub page to update or delete a secret (#2005) 2023-06-23 17:54:13 -03:00
Alexandre de Souza
0a190729ec
Allow Livebook to update and delete Team hub secrets (#1995) 2023-06-21 15:37:28 -03:00
Jonatan Kłosko
1443c472ce
Don't emit diagnostic for module compilation error (#2000) 2023-06-21 11:11:01 +02:00
Jonatan Kłosko
d4e950bd05
Ignore io response messages when logging (#1997) 2023-06-21 00:40:21 +02:00
Cristine Guadelupe
efb28fbdf0
Support Zero Trust authentication (#1938)
Co-authored-by: José Valim <jose.valim@gmail.com>
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2023-06-21 00:25:25 +02:00
Wojtek Mach
74caae1da1
Merge pull request from GHSA-564w-97r7-c6p9 2023-06-20 13:13:38 +02:00
José Valim
bf16cd3e6a
Translate 0.0.0.0 to localhost (#1992)
Closes #1991.
2023-06-20 11:20:02 +02:00
Jonatan Kłosko
20e13e01db
Bump to Elixir 1.15 (#1989) 2023-06-19 18:21:55 +02:00
Jonatan Kłosko
ece450f937
Respect LIVEBOOK_BASE_URL_PATH for learn card images (#1988) 2023-06-19 14:03:42 +02:00
Alexandre de Souza
7f9ba6989f
Allow secret creation from Livebook for Team Hubs (#1978) 2023-06-15 17:33:22 -03:00
Jonatan Kłosko
d5f9aaf14e
Don't run doctests for generated functions (#1966) 2023-06-13 16:01:45 +02:00
awerment
b4e4c64820
Show more details in type completion items (#1975) 2023-06-12 22:45:47 +02:00
awerment
7691324a4e
Add on-hover details for types (#1974) 2023-06-12 14:17:25 +02:00
Jonatan Kłosko
68feb61333 Fix warnings 2023-06-12 11:19:54 +02:00
Jonatan Kłosko
a72629cfe3
Implement stamping for teams hub (#1973)
Co-authored-by: José Valim <jose.valim@dashbit.co>
2023-06-09 20:59:04 +02:00
Jonatan Kłosko
80423adcdf Remove unreliable test 2023-06-09 15:51:01 +02:00
Jonatan Kłosko
c383c7aaff
Ignore code server error logs when checking for modules (#1971) 2023-06-09 01:04:51 +02:00
Jonatan Kłosko
9059049d29
Add hub id to hubs pubsub messages (#1968) 2023-06-08 17:32:29 +02:00
Jonatan Kłosko
de4d46f3be
Load JS view assets from CDN when applicable (#1958) 2023-06-07 14:26:51 +02:00
Jannik Becher
dbceb99f79
Fix on-hover docs for erlang modules with type names in signature (#1957)
Co-authored-by: José Valim <jose.valim@gmail.com>
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2023-06-07 12:30:52 +02:00
Benedikt Reinartz
377b677a6e
Erlang error improvements (#1960) 2023-06-06 13:52:50 +02:00
Alexandre de Souza
dd5850502d
Update LivebookProto messages and minor fixes (#1962) 2023-06-06 08:49:09 -03:00
Jonatan Kłosko
75614e7885
Show notifications for new app version and import warnings (#1955) 2023-06-02 21:32:44 +02:00
Benedikt Reinartz
fb9193b8ab
Add support for Erlang code cells (#1892)
Co-authored-by: José Valim <jose.valim@gmail.com>
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2023-06-02 14:49:06 +02:00
Alexandre de Souza
14dd6d925f
Implement TeamClient with Teams WebSocket communication (#1951) 2023-06-01 12:01:43 -03:00
Jonatan Kłosko
8f71ad700b
Use registry to identify IO proxy in log handler (#1952) 2023-06-01 00:32:47 +02:00
Jonatan Kłosko
04efa5932f
Restore code markers and doctest indicators on refresh (#1949) 2023-05-31 15:52:08 +02:00
Jonatan Kłosko
3c56b87154
Doctest updates (#1944) 2023-05-30 22:03:20 +02:00
José Valim
2d265541f0 Skip multiple assertions tests until latest Elixir 2023-05-30 20:29:44 +02:00
José Valim
0961deaa88 Use end_line from Elixir v1.15.0-rc.2 2023-05-30 20:05:39 +02:00
José Valim
294bf69c8d Handle doctests reports when there are multiple assertions at once 2023-05-30 19:34:04 +02:00
Jonatan Kłosko
d2988f985d
Changes for Elixir 1.15 (#1918) 2023-05-30 12:06:59 +02:00