Commit graph

1060 commits

Author SHA1 Message Date
ByeongUk Choi
5606326203
Handle token auth under the same /authenticate route as password (#1104)
* auth token mode routes /authentication

* Update lib/livebook_web/controllers/auth_controller.ex

Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2022-04-13 18:51:28 +02:00
jonatanklosko
d031d2b7a3 Update assets 2022-04-13 10:47:07 +00:00
Jonatan Kłosko
aafdc12015
Mount Markdown cell editor lazily (#1102) 2022-04-13 12:45:29 +02:00
jonatanklosko
a144d3d4fb Update assets 2022-04-11 19:03:26 +00:00
Jonatan Kłosko
25f09331cc
Update dependencies (#1099)
* Update Elixir deps

* Update JS deps
2022-04-11 21:01:45 +02:00
Howard Su
31b0a9f7d0
Add windows version of ci (#1045)
* Add windows version of ci

Config autocrlf to input on Windows
start epmd in background

* Update .github/workflows/test.yaml

* Update .github/workflows/test.yaml

* Update .github/workflows/test.yaml

* Fix tests

* Fix ownership of cached files

* Fix tests

* Increase timeouts

* Run tests on Windows only on main

Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2022-04-11 20:34:31 +02:00
ByeongUk Choi
a2802248ab
Refactoring codes (#1097)
* refactoring codes

* Apply suggestions from code review

Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2022-04-09 15:53:17 +02:00
jonatanklosko
28e8a04a99 Update assets 2022-04-09 13:50:20 +00:00
Jonatan Kłosko
8b17365bf9
Don't show output init timeout message on serialization error (#1096) 2022-04-09 15:48:44 +02:00
jonatanklosko
d567adaa17 Update assets 2022-04-05 19:55:29 +00:00
Jonatan Kłosko
8b153b9bb0 Fix insert buttons overlapping cell actions 2022-04-05 21:53:30 +02:00
Jonatan Kłosko
0f8ce54187 Fix border on error output 2022-04-05 15:15:13 +02:00
jonatanklosko
aa10de91ed Update assets 2022-04-04 20:29:57 +00:00
Jonatan Kłosko
05687716d4
Improve smart cell menu visibility while in insert mode (#1091) 2022-04-04 22:28:02 +02:00
jonatanklosko
bd87c2f3e1 Update assets 2022-04-04 17:50:52 +00:00
Jonatan Kłosko
5117fd6e64
List database types when adding database connection for the first time (#1090)
* List database types when adding database connection for the first time

* Rename classes
2022-04-04 19:48:57 +02:00
jonatanklosko
9d7c795f0a Update assets 2022-04-04 15:08:54 +00:00
Jonatan Kłosko
a3018dc522 Fix element type check on shortcut actions 2022-04-04 17:07:16 +02:00
jonatanklosko
7bad232a86 Update assets 2022-04-04 14:35:39 +00:00
Jonatan Kłosko
17a0893809
Clear URL hash when the user clicks outside the element (#1089) 2022-04-04 16:34:01 +02:00
Jonatan Kłosko
1cdc9f7f70
Remove restart button on Mix.install/2 error (#1088)
* Remove restart button on Mix.install failure

* Remove unused standalone? check
2022-04-04 12:49:17 +02:00
jonatanklosko
66ad4ed754 Update assets 2022-04-04 10:22:16 +00:00
ByeongUk Choi
e3d9c5fa35
allow embedded runtime by env (#1084)
* allow embedded runtime by env

* fix session live test

* This reverts commit f36931d6ef9b..81ca7d

* allow runtime modules

* Apply suggestions from code review
2022-04-04 12:20:36 +02:00
Jonatan Kłosko
902c993098
Adjustments (#1087)
* Fix horizontal scrollbar on smaller screens

* Apply navigation shortcuts without an additional roundtrip

* Shorten the data element selector

* Fix URL in changelog

* Return reference from handle_intellisense
2022-04-04 12:19:11 +02:00
Brooklin Myers
00c913adcc
Enable image upload field when no name provided. Use image name as default value. (#1083) 2022-04-02 01:19:17 +02:00
jonatanklosko
32aeec2cc5 Update assets 2022-04-01 18:15:20 +00:00
Jonatan Kłosko
75eb031719
Automate searching and adding new dependencies (#1081)
* Automate searching and adding new dependencies

* Restructure runtime management

* Leave search restrictions up to the runtime

* Support predefined dependencies in Embedded runtime dependency search

* Use the embedded runtime for dependency search test

* Fix typo

* Use module for loading embedded runtime dependencies

* Improve naming
2022-04-01 20:13:37 +02:00
jonatanklosko
62cc842dbc Update assets 2022-03-30 19:57:42 +00:00
Jonatan Kłosko
df765f2dd3
List predefined smart cells and automatically add their dependencies (#1078)
* List predefined smart cells and automatically add their dependencies

* Generalize dependency insertion to multiple entries

* Add runtime setup modal

* Don't evaluate setup when restarting the runtime fails

* Automatically add vega_lite for chart builder

* Improve confirmation modal actions when the action is not destructive
2022-03-30 21:55:50 +02:00
Wojtek Mach
108b40651d More macOS menu bar improvements 2022-03-30 13:57:55 +02:00
Wojtek Mach
c5152eb941
Fix warnings (#1077) 2022-03-30 13:33:49 +02:00
Jonatan Kłosko
241ee94cba
Update built-in notebooks to use the setup cell (#1076)
* Teach about the setup cell in the elixir_and_livebook notebook

* Update built-in notebooks to use the setup cell
2022-03-28 22:18:46 +02:00
jonatanklosko
43380e62e4 Update assets 2022-03-28 19:39:00 +00:00
Jonatan Kłosko
5476fd001d
Introduce a setup cell (#1075)
* Introduce a setup cell

* Don't collapse setup cell when dirty

* Collapse fresh setup cell when empty

* Reword collapsed setup cell text
2022-03-28 21:36:57 +02:00
Jonatan Kłosko
6f6b7e3ee0
Fix browser open when inside WSL (#1074) 2022-03-24 22:10:13 +01:00
Jonatan Kłosko
a70f53de46 Bump earmark_parser 2022-03-24 19:15:57 +01:00
Jonatan Kłosko
4369a45bd5
Regroup cell insert buttons (#1073)
* Regroup cell insert buttons

* Add spacing to divider

* Split into two menus

* Remove smart cell icon
2022-03-24 19:02:31 +01:00
jonatanklosko
bc4c04c1b7 Update assets 2022-03-24 17:21:48 +00:00
Jonatan Kłosko
471167f288
Disable font ligatures in Markdown code blocks (#1072) 2022-03-24 18:05:53 +01:00
Jonatan Kłosko
894ff15419
Use the same local file system instance for all files (#1070)
* Use the same local file system instance for all files

* Add test
2022-03-24 14:09:17 +01:00
ByeongUk Choi
1fab2f54bf
Add LIVEBOOK_FORCE_SSL_HOST env (#1064)
Closes #983.
2022-03-23 18:24:58 +01:00
Jonatan Kłosko
7f39c6be76
Remove non-ascii characters from autogenerated notebook file names (#1068) 2022-03-22 21:54:59 +01:00
jonatanklosko
918216980e Update assets 2022-03-22 17:27:40 +00:00
Jonatan Kłosko
ac5a71bf85
Show a message when JS view data is not available (#1067)
* Multiplex initialization of JS views

* Show timeout message when JS view data fails to load

* Refactor JS view channel

* Update tests
2022-03-22 18:25:42 +01:00
Jonatan Kłosko
01b9ffe731
Keep binding in reversed evaluation order (#1065)
* Keep binding in reversed evaluation order

* Treat rebound names as new

* Add test for the default order

* Optimise binding reorder

* Update lib/livebook/runtime/evaluator.ex

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

* Apply review comments

Co-authored-by: José Valim <jose.valim@dashbit.co>
2022-03-21 19:23:43 +01:00
jonatanklosko
46fa24ca3d Update assets 2022-03-19 11:24:24 +00:00
Jonatan Kłosko
0145d68593
Limit standard output to last 1000 lines (#1063) 2022-03-19 12:22:36 +01:00
Jonatan Kłosko
becdda61f7
Support optional reevaluation on smart cell update (#1062) 2022-03-18 19:36:48 +01:00
jonatanklosko
ee1ea91e19 Update assets 2022-03-17 22:36:01 +00:00
Jonatan Kłosko
829493822e
Group LV helpers (#1061) 2022-03-17 23:33:18 +01:00