Commit graph

243 commits

Author SHA1 Message Date
Jonatan Kłosko
2399395bfd Improve tests 2023-06-01 13:49:09 +02:00
Jonatan Kłosko
4145121ba9 Fix more race conditions in tests 2023-05-30 22:42:59 +02:00
Jonatan Kłosko
6b139c95ce Refactor tests 2023-05-29 17:13:28 +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
José Valim
705f122b75 Pass device code to teams server 2023-05-25 17:17:57 +02:00
José Valim
30a87e8803 Fix tests 2023-05-25 17:01:51 +02:00
Alexandre de Souza
070c0599b5
Implement users to join an organization (#1912) 2023-05-23 17:18:10 -03: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
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
Alexandre de Souza
932e43ac65
Implement Livebook Teams API (#1904) 2023-05-16 13:21:49 -03: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
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
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
58a3d1fa20 Add missing test file 2023-03-30 17:09:46 +02:00
José Valim
f52ff1e9ec
Purge cookies once they exceed 24kB, closes #1832 (#1833) 2023-03-28 17:11:44 +02:00
José Valim
6d91320441 mix format 2023-03-25 22:12:25 +01:00
José Valim
6ef803f95b Fix 404 rendering, closes #1826 2023-03-25 21:52:18 +01:00
José Valim
4f92ef8d02 Remove unused test file 2023-03-25 21:49:47 +01:00
Jonatan Kłosko
32987558be
Add support for clients-only outputs (#1810) 2023-03-21 20:32:22 +01:00
Jonatan Kłosko
de310c0c36
Support gzip compression of JS view assets (#1813) 2023-03-21 17:45:27 +01:00
Jonatan Kłosko
fb9c8df7ea Fix tests on windows 2023-03-15 18:18:33 +01:00
Jonatan Kłosko
deacb1a4a4
Explicitly track which secrets come from the hub (#1769) 2023-03-11 12:51:06 +01:00
Jonatan Kłosko
7f71f2fe9f
Add stamp to notebook source and persist allowed hub secrets (#1768) 2023-03-10 22:36:51 +01:00
Alexandre de Souza
753f6fffaa
Update to Livebook Teams (#1765) 2023-03-09 17:04:29 -03:00
José Valim
5c106e81fa
Small changes (#1764) 2023-03-09 17:41:40 +01:00
Alexandre de Souza
3b41e87876
Add hub secrets list to Personal Hub page (#1763) 2023-03-09 12:04:47 -03:00
Alexandre de Souza
8754bc0d5a
Shows only the secrets from selected hub (#1747) 2023-03-07 15:24:07 -03:00
Jonatan Kłosko
503f8df76a
Add star/unstar to the session page menu (#1753) 2023-03-06 19:36:45 +01:00
ByeongUk Choi
4db39078bd
Add open page and track starred/recent notebooks (#1639)
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2023-03-06 18:14:33 +01:00
Alexandre de Souza
e73af96b86
Allow users to select the notebook's hub (#1744) 2023-03-02 18:10:38 -03:00
Jonatan Kłosko
a90e9193f4 Update app tests 2023-02-28 17:28:10 +01:00
Jonatan Kłosko
1676d5469e
Add page listing apps (#1733) 2023-02-28 15:08:49 +01:00
Alexandre de Souza
5d48ffd051
Remove entire app secrets implementation (#1734) 2023-02-28 10:55:52 -03:00
Alexandre de Souza
bfcf82f06b
Implements Secrets features inside hub's Provider (#1712) 2023-02-27 13:45:14 -03:00
Jonatan Kłosko
5b5593a54b
Update to Phoenix 1.7 (#1720) 2023-02-22 19:34:54 +01:00
Jonatan Kłosko
4334e8a58e
Add access control to apps (#1715)
Co-authored-by: José Valim <jose.valim@dashbit.co>
2023-02-18 01:16:42 +01:00
Jonatan Kłosko
40c5044a60
Add initial support for apps (#1709) 2023-02-16 13:47:46 +01:00
Alexandre de Souza
5c1d6f082f
Update Local hub to Personal hub and makes it editable (#1708) 2023-02-13 17:18:06 -03:00
Alexandre de Souza
d0e83dc288
Implements delete hub button (#1705) 2023-02-13 01:52:25 -03:00
Alexandre de Souza
e58213b000
More improvements for Secrets and Hubs (#1693) 2023-02-06 20:37:11 -03:00
Jonatan Kłosko
c8dd1151f0
Fix assets fetching for client-specific outputs (#1692) 2023-02-06 15:50:48 +01:00
Alexandre de Souza
5f6e7176fc
Allow hub secret toggling (#1675) 2023-02-03 13:15:46 -03:00
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
d70764517f
Implements :origin field to Secret struct (#1667) 2023-01-31 19:17:05 -03:00
Jonatan Kłosko
86bf972c0d
Add support for sending frame updates to a specific client (#1662) 2023-01-28 00:34:31 +01:00
Alexandre de Souza
ae3a5661a8
Implement emojis instead of colors (#1636) 2023-01-12 17:37:12 -03: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
089cee395f Fix test on windows 2023-01-05 16:48:27 +01:00
Jonatan Kłosko
b60428c94d
Improve tests (#1627) 2023-01-05 16:12:45 +01: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
José Valim
190a4cffd3
Do not crash when giving token to password and vice-versa (#1574) 2022-12-12 11:52:45 +01:00
Alexandre de Souza
60bc7194ed
Improve Enterprise integration with real data (#1548) 2022-11-28 20:47:25 -03:00
Alexandre de Souza
e30213bc83
Update WebSocket error responses (#1524) 2022-11-11 12:00:47 -03:00
Alexandre de Souza
7b1addb7eb
Use WebSocket and Protobuf instead of GraphQL with Livebook Enterprise (#1504) 2022-11-03 13:49:07 -03: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
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
José Valim
e9149dc343
Require fewer clicks to save a notebook (#1458) 2022-10-04 10:56:11 +02:00
José Valim
6da00daffd
Update to LV 0.18 (#1426) 2022-10-04 08:46:55 +02:00
Jonatan Kłosko
b20ac022a8
Attempt to load a flat remote URL as a relative path fallback (#1428) 2022-09-22 15:11:29 +02:00
Paulo Valim
285bc923b7
Rename the Explore section to Learn (#1424)
Co-authored-by: José Valim <jose.valim@gmail.com>
2022-09-21 12:06:22 +02:00
Jonatan Kłosko
b5e8cd9b00 Fix PATH test on Windows 2022-09-19 21:05:08 +02:00
Cristine Guadelupe
52f7d7419b
Changes secrets wording form label to name (#1419) 2022-09-18 18:40:09 -03:00
Alexandre de Souza
2766cf3256
Final adjustments to env vars (#1418) 2022-09-16 20:37:01 -03:00
Alexandre de Souza
12f1cc0c3f
Load persisted environment variables from settings into session's runtime (#1409) 2022-09-16 14:22:27 -03:00
Alexandre de Souza
e539661189
Unify styling environment variables forms (#1403) 2022-09-14 13:24:32 -03:00
Alexandre de Souza
0b9f53a122
Implement global Environment Variables from Settings page (#1387) 2022-09-12 11:34:39 -03:00
José Valim
b6e28c5b43 Fix Fly Hub suite 2022-09-07 11:37:45 +02:00
José Valim
be862173a3
Unify several forms in the application (#1392)
* Define .input_wrapper and .hex_color_input components

* Define Tailwind variants from Phoenix v1.6 to help styling

* Make sure single-action modals redirect on save

* Add pill to session secrets in the "Secrets" session sidebar

* Fix alignments of "Users" in the session sidebar
2022-09-05 23:59:13 +02:00
Cristine Guadelupe
97efef52cc
Fix secrets form (#1379)
* Fix secrets form

* Update lib/livebook_web/live/session_live/secrets_component.ex

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

* Applying suggestions

Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2022-09-02 15:04:41 -03:00
Alexandre de Souza
ac71d08771
Add and Fetch secrets from Fly applications (#1361) 2022-09-02 12:54:28 -03:00
Cristine Guadelupe
443ff8bf9f
Unavailable secret error (#1371)
* Show an Add Secret button for System.EnvError

* Extracts render_formatted

* Rewrite the env error message

* Renames the env error type

* Applying suggestions

* Applying suggestions (live patch)

* Test for unavailable secrets

* Bump to rc.1

* Applying suggestions (error message)

* New error message

* Prefill the secret value

* Applying suggestions (error message output)

* Update test/livebook_web/live/session_live_test.exs

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

* Update lib/livebook/runtime.ex

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

Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2022-08-31 20:45:55 -03:00
Alexandre de Souza
2cbd81eaf5
Migrate HubLive to Phoenix format (#1373) 2022-08-30 11:32:48 -03:00
José Valim
ed9c0e5a1e Revamp explore section 2022-08-28 19:08:43 +02:00
Cristine Guadelupe
afcb2ff834
Livebook secrets (#1348)
* Add secrets to the sidebar

* Get and put secrets (naive)

* Secrets list - shortcut

* Validates secret name

* Livebook secrets as environment variables

* Restores secrets when necessary

* Minor adjustments

* Implements add_system_envs for NoopRuntime

* Moves secrets to session data

* Granular operations for secrets

* Minor adjustments

* Applying suggestions

* Test for add secrets

* Type for secret

* Applying suggestions

* Prevents duplicates

* Refactor to live_render

* Update lib/livebook/session/data.ex

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

* Sort secrets

* Applying suggestions

Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2022-08-25 17:24:24 -03:00
Alexandre de Souza
3a085a5d30
Minor Hub improvements (#1357) 2022-08-24 12:35:28 -03:00
Alexandre de Souza
77c8804d62
User and Hub forms with Changeset validations and input errors (#1347) 2022-08-22 18:12:54 -03:00
Alexandre de Souza
5c050e640f
Add Livebook Hub with Fly.IO integration (#1319) 2022-08-18 10:34:27 -03:00
Jonatan Kłosko
218bce5a63
Use binary ids for session clients (#1333) 2022-08-05 14:43:41 +02:00
Jonatan Kłosko
c68df08849
Handle direct event messages in JS view channel (#1332) 2022-08-04 23:01:09 +02:00
Jonatan Kłosko
75e47aa593
Reflect input change when clicking the reevaluate button (#1269) 2022-07-11 14:35:05 +02:00
Jonatan Kłosko
1757e21bca
Fix user profile edits to not crash on the homepage (#1268) 2022-07-10 20:16:55 +02:00
Jonatan Kłosko
a7d7e6332d
Change text inputs to apply change on blur (#1243) 2022-06-24 12:00:23 +02:00
Kian-Meng Ang
b18a93af93
Fix typos (#1222) 2022-06-12 18:10:37 +02:00
José Valim
49492771f3 Ignore asset directories if they are empty
macOS removes files from the temporary directory but
keeps the directory. This would cause LiveView to
misbehave as it would assume all assets are checked out.
2022-05-13 14:41:06 +02:00
Jonatan Kłosko
2a1d937189
Update wording around dependencies and packages (#1151) 2022-04-30 17:14:10 +02:00
Jonatan Kłosko
8f72d0175e
Update references to kino (#1148)
* Update references to kino

* Update changelog

* Make the Chart cell section branching

* Apply suggestions from code review

Co-authored-by: José Valim <jose.valim@dashbit.co>

* Capitalization

* Add link to the Iris dataset

* Pass keys to Process.info/2

Co-authored-by: José Valim <jose.valim@dashbit.co>
2022-04-29 13:45:33 +02:00
Jonatan Kłosko
f39699b65e
Update instructions in the Elixir export (#1144) 2022-04-25 13:37:15 +02:00