Commit graph

1223 commits

Author SHA1 Message Date
Cristine Guadelupe 53ffb0f1f5
Updates maptiler key (#2099) 2023-07-22 02:27:56 +02:00
Jonatan Kłosko 165eff6734 Fix smart cell editor when no language is specified 2023-07-22 00:23:14 +02:00
Jonatan Kłosko 146f89f5f5
Add drag and drop actions for notebook files (#2096)
Co-authored-by: José Valim <jose.valim@dashbit.co>
2023-07-21 20:11:11 +02:00
Hugo Baraúna 24827f5055
Add ref to livebook teams link (#2095) 2023-07-20 18:09:08 +02:00
Alexandre de Souza 07caffaecb
Add Offline Deployment section on the Hub Teams page (#2086) 2023-07-19 16:57:54 -03:00
Jonatan Kłosko 5a79137390 Format 2023-07-19 21:33:38 +02:00
Jonatan Kłosko 6ba2a7433d Make session view menu visible on mobile 2023-07-19 21:19:31 +02:00
Jonatan Kłosko 81cd85ef05
Fix app menu overflowing on mobile (#2092) 2023-07-19 12:14:24 +02:00
Jonatan Kłosko 7ea0b9278a
Use changesets for all forms (#2087) 2023-07-19 00:38:26 +02:00
Jonatan Kłosko 2e0c3978e0 Upload improvements 2023-07-18 23:17:26 +02:00
Jonatan Kłosko 3987fc29c8 Fix chunked write for local file system to handle cross-partition copy 2023-07-18 22:17:03 +02:00
Jonatan Kłosko e95efd008f
Support adding file entry via upload (#2085) 2023-07-18 21:31:25 +02:00
Jonatan Kłosko 5ff5e0939d
Explicitly allow imported file entries pointing to file system (#2083) 2023-07-18 02:00:11 +02:00
José Valim 82909f7f35
Pass only the Livebook PID to child LiveViews (#2081) 2023-07-17 10:56:30 +02:00
José Valim 319ce562cb Include Erlang/OTP and Elixir versions on Attached node page, closes #2078 2023-07-16 18:01:46 +02:00
Jonatan Kłosko 19a5124d1a
Implement streaming for downloads and file systems (#2072)
Co-authored-by: José Valim <jose.valim@dashbit.co>
2023-07-14 22:16:52 +02:00
José Valim 9e7e2f1707 Improvements to deploy_apps.livemd 2023-07-14 17:30:32 +02:00
Hugo Baraúna c16ba7e762
Change copy to mention Livebook teams (#2069) 2023-07-13 19:01:18 +02:00
Jonatan Kłosko e1114d3e29
Fix race condition in storage test (#2068) 2023-07-13 14:15:22 +02:00
José Valim 670f099e5e Make NotFoundError reusable 2023-07-13 14:09:13 +02:00
ByeongUk Choi f5d0dd557d
Raise exception when trying to edit a secret that does not exist (#2067) 2023-07-13 13:53:33 +02:00
José Valim 104952be6a Group livebook_teams test suite 2023-07-13 13:29:50 +02:00
Jonatan Kłosko de2fc2f93a
Add button for reevaluating apps on change and add retry for errors (#2066) 2023-07-13 12:26:10 +02:00
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
José Valim 52e1194f60 Slightly increase error box y-padding 2023-07-12 13:05:34 +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 0f792d51bd Make app new session button a link 2023-07-11 13:57:50 +02:00
Jonatan Kłosko 509830985f Add margin to save secret button 2023-07-11 13:50:26 +02:00
Jonatan Kłosko 7441de7c9e Bump kino version in guides 2023-07-10 22:18:47 +02:00
Jonatan Kłosko 433cd43894
Secret improvements (#2051)
Co-authored-by: José Valim <jose.valim@dashbit.co>
2023-07-10 21:29:21 +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
Anatolij Werle 3231f2bd72
Hide image upload progress info when not yet started (#2042) 2023-07-07 11:51:38 +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
Paulo Valim f8f91deaba
Redesign apps page (#2037)
Co-authored-by: José Valim <jose.valim@gmail.com>
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2023-07-05 11:15:35 +02:00
Jonatan Kłosko fb9148acf7
Change new notebook button to link (#2036) 2023-07-04 14:46:19 +02:00
Jonatan Kłosko 27458f33f7
Add option to disable frame placeholder (#2035) 2023-07-04 13:35:29 +02:00
Jonatan Kłosko 477036f64d
Properly close app sessions (#2034) 2023-07-04 00:53:04 +02:00
Jonatan Kłosko ab3f3d6b0b Fix inserting code cell via shortcut 2023-07-03 22:05:45 +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
Jannik Becher 649a556025
Add support for datetime, time and date inputs (#2002)
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2023-07-03 21:39:16 +02:00
Jonatan Kłosko 16723b98f0
Insert code cell when changing default language (#2031) 2023-07-03 15:59:23 +02:00
Jonatan Kłosko 610415144a Pass unique id to switch input output 2023-07-03 09:47:30 +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
José Valim 522beb7701
Squeeze sidebar items (#2028) 2023-07-02 13:56:09 +02:00
Alexandre de Souza bcfb6d46ea
Add Team hub from environment variables (#2020) 2023-06-30 19:11:31 -03:00
José Valim 6a4a5596bf Remove padding from app info button 2023-06-30 07:21:35 +02: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
Jonatan Kłosko 9541eb91c8
Fix smart cell editor initialization (#2017) 2023-06-28 22:39:24 +02:00
Zach Allaun e1ac442c8c
Mobile quality-of-life (part 1) (#2013) 2023-06-28 18:29:44 +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
Paulo Valim d744f5727c
Adding show Teams Key button (#1993) 2023-06-23 21:41:58 +02: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 9a8a252bb9
Unify error pages (#1999) 2023-06-21 00:46:12 +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
Johnny5 d6be46dd91
Show amplify button for Smart cells (#1984)
Co-authored-by: José Valim <jose.valim@gmail.com>
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2023-06-17 19:11:07 +02:00
Jonatan Kłosko ab5e11b78e Wrap app app info when too long 2023-06-16 19:36:29 +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 683f6c8f3b
Use different html name for output inputs (#1970) 2023-06-08 23:27:13 +02:00
Jonatan Kłosko 300f5683ef Fix insert button ids 2023-06-08 22:25:10 +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
Jonatan Kłosko 8859985736 Fix smart cells editor 2023-06-06 21:57:39 +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
Jonatan Kłosko cc9731c428
Add link to apps sessions on multi-session app page (#1954) 2023-06-02 18:18:54 +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
Basile Nouvellet e92cdd622d
Typo in CLI help menu (#1950) 2023-05-31 19:21:14 +02:00
Jonatan Kłosko 04efa5932f
Restore code markers and doctest indicators on refresh (#1949) 2023-05-31 15:52:08 +02:00
Paulo Valim 8f20c03775
Add step by step code verification (#1945) 2023-05-31 10:35:59 +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
Wout De Puysseleir 8fb3393ea5
Fix text in active radio button field (#1943) 2023-05-30 20:23:01 +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 826fcf2344
Add debug button to app session page (#1940) 2023-05-30 15:44:13 +02:00
José Valim 3cf7a2f7cb More structure in Apps page 2023-05-30 15:06:01 +02:00
Jonatan Kłosko d2988f985d
Changes for Elixir 1.15 (#1918) 2023-05-30 12:06:59 +02:00
Paulo Valim b0fd445291
Second step of the onboarding (#1935) 2023-05-30 12:01:24 +02:00
José Valim 265a1dec6e
Overlay doctest results (#1936) 2023-05-30 11:30:57 +02:00
Jonatan Kłosko 99da2f3e6a Fix runtime choice button 2023-05-29 17:05:17 +02:00
Wojtek Mach f226387958 Update lib/livebook_web/live/session_live/attached_live.ex 2023-05-29 16:21:29 +02:00
José Valim da0913c0aa Add iex -S mix to examples as that's the most common scenario 2023-05-29 15:30:00 +02:00
Jonatan Kłosko f3da231ac5
Migrate to esbuild (#1934) 2023-05-27 09:04:52 +02:00
Alexandre de Souza 76015e3009
Improve Add Hub and Edit Hub pages (#1929) 2023-05-26 15:40:45 -03:00
Jonatan Kłosko 34ffb8f3d5
Automatically reevaluate app sessions and support interrupt (#1928) 2023-05-26 13:12:41 +02:00
Paulo Valim e9e5530870
Remove unused classes and add mobile view (#1931) 2023-05-26 11:35:16 +02:00
José Valim 705f122b75 Pass device code to teams server 2023-05-25 17:17:57 +02:00
Paulo Valim 08c1e31917
Tab buttons to choose between a new org or an existing one (#1924) 2023-05-25 16:45:16 +02:00
Jose Vargas e614dcbac1
Add doctest decorations to monaco editor per result (#1911) 2023-05-24 14:56:13 +02:00
Jonatan Kłosko 5c923b3a2c
Support unknown MIME types as filters for the file input (#1922) 2023-05-24 14:17:47 +02:00
Alexandre de Souza 070c0599b5
Implement users to join an organization (#1912) 2023-05-23 17:18:10 -03:00
José Valim 7ff4b640f6
Convert secret value to password field (#1921) 2023-05-23 20:22:06 +02:00
Jonatan Kłosko 8e4f3067da
Fix intellisense crash when hovering over bitstring modifiers (#1917) 2023-05-23 00:21:44 +02:00
ByeongUk Choi 3ada5c9146
Add Tracer @type (#1916) 2023-05-22 17:39:04 +02:00
Jonatan Kłosko d1ba07e0ea
Move app settings to a modal and add explanations (#1914)
Co-authored-by: José Valim <jose.valim@dashbit.co>
2023-05-21 21:21:10 +02:00
Ben Swift 7340c6b204
Fix typo in intro_to_kino.livemd (#1915) 2023-05-21 09:20:22 +02:00
Jonatan Kłosko 52df405aca
Add support for multi-instance apps (#1913) 2023-05-19 19:40:56 +02:00
Alexandre de Souza 3a63e30e89
Implement new Add Hub page (#1909) 2023-05-18 13:45:32 -03:00
José Valim ad0cb75f90 Organize blocks by category 2023-05-18 13:40:24 +02:00
Alexandre de Souza 932e43ac65
Implement Livebook Teams API (#1904) 2023-05-16 13:21:49 -03:00
Wout De Puysseleir b4053c7dbb
Remove bottom border last running session of list (#1908) 2023-05-16 12:34:59 +02:00
Jonatan Kłosko 022f395bce
Add output type setting to apps (#1905) 2023-05-11 14:07:19 +02:00
Jonatan Kłosko f262b9c0c9
Rebuild confirmation modal system (#1903) 2023-05-10 18:23:08 +02:00
Jonatan Kłosko ff22d5b31c
Add icon and group code blocks (#1902) 2023-05-09 19:13:48 +02:00
ByeongUk Choi 6dd19a8dc9
Add Form to "+ Block" (#1750)
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2023-05-09 16:49:02 +02:00
ByeongUk Choi 6061901ee9
Add info about empty Kino outputs (#1899) 2023-05-08 11:26:21 +02:00
Axel Clark 8e1ef73c9e
Fix typo in intro docs (#1896) 2023-05-05 09:45:57 +02:00
Riccardo Massari 26834934e9
Fix typo in presentation view shortcut label (#1895) 2023-05-04 16:38:18 +02:00
Jonatan Kłosko e7f8ee8ca8 Update keyboard shortcuts list 2023-04-28 20:39:25 +02:00
Franklin Rakotomalala 0eb0f417f5
Add notebook presentation view (#1852)
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2023-04-28 20:16:18 +02:00
Jonatan Kłosko d0b4f16b19
Improve cookie access check (#1889) 2023-04-28 16:38:17 +02:00
Jonatan Kłosko 8eb93f3e24
Improve cookie access when running in iframe (#1888) 2023-04-28 14:50:40 +02:00
Jonatan Kłosko 9d6b247115
Hydrate updated smart cell source digest before reevaluation (#1886) 2023-04-27 18:27:43 +02:00
Jonatan Kłosko a6a56ff30c
Use shorter name for doctests module (#1874)
Co-authored-by: José Valim <jose.valim@dashbit.co>
2023-04-27 16:34:20 +02:00
José Valim 30df25a709 Clarify where data is stored 2023-04-26 15:24:56 +02:00
Gabriel Pereira 297ebdbe89
Fix typo from (#1881) 2023-04-23 21:43:53 +02:00
José Valim a84e9aca1f Mention more ways to install deps in attached mode 2023-04-22 10:17:47 +02:00
José Valim e1603f9459 Only keep memory header in bold 2023-04-18 13:30:41 +02:00
Jonatan Kłosko 4933807a58 Improve star button styling 2023-04-18 12:56:32 +02:00
José Valim a8c7af5519
Move star below menu (#1870) 2023-04-18 12:46:54 +02:00
José Valim eb15e12b1b Better handle large titles no notebook cards 2023-04-18 09:47:36 +02:00
Jonatan Kłosko c03420798f
Add @home CLI argument for opening homepage (#1868) 2023-04-17 15:40:48 +02:00
José Valim 22ace2ca4f Remove pitfalls from deployment notebook 2023-04-16 17:27:30 +02:00
Andrea Leopardi 47fe94f560
Replace "Connection" with gen_statem (#1865) 2023-04-15 10:47:33 +02:00
Jonatan Kłosko f94cc95248 Bump kino_bumblebee dependency 2023-04-14 16:26:52 +02:00