Jonatan Kłosko
2b8d732a23
Introduce code zen ( #1115 )
...
* Introduce code focus mode
* Update aria labels
* Update wording
* Show shortcut in code zen toggle
* Update shortcut
2022-04-14 21:17:19 +02:00
José Valim
d3ebf42b32
Make disabled auth mode explicit in code ( #1114 )
2022-04-14 18:39:30 +02:00
José Valim
5acbd2efad
Add LIVEBOOK_SHUTDOWN_ENABLED ( #1111 )
...
* Add LIVEBOOK_SHUTDOWN_ENABLED
Previously we relied on code:get_mode(), but since
releases are starting in interactive mode to use
less memory, we need a clearer mechanism.
* Move shutdown feature check to Livebook.Config
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2022-04-14 15:52:28 +02:00
Jonatan Kłosko
aa3b58d708
Add support for mix run flags to the Mix runtime ( #1108 )
...
* Add support for mix run flags to the Mix runtime
* Support mix run flags in runtime config string
* Add flag validation
* Update lib/livebook_web/live/session_live/mix_standalone_live.ex
Co-authored-by: José Valim <jose.valim@dashbit.co>
Co-authored-by: José Valim <jose.valim@dashbit.co>
2022-04-14 11:44:55 +02:00
Jonatan Kłosko
39a294abbe
Add an option for wrapping words in Markdown editor by default ( #1107 )
2022-04-13 23:54:05 +02:00
Jonatan Kłosko
4f5d6b39a1
Make smart cell editor rounded ( #1105 )
2022-04-13 20:03:21 +02:00
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
Jonatan Kłosko
aafdc12015
Mount Markdown cell editor lazily ( #1102 )
2022-04-13 12:45:29 +02: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
Jonatan Kłosko
8b17365bf9
Don't show output init timeout message on serialization error ( #1096 )
2022-04-09 15:48:44 +02: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
Jonatan Kłosko
05687716d4
Improve smart cell menu visibility while in insert mode ( #1091 )
2022-04-04 22:28:02 +02: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
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
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
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
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
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
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
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
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
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
Jonatan Kłosko
829493822e
Group LV helpers ( #1061 )
2022-03-17 23:33:18 +01:00
Jonatan Kłosko
d72cb5db03
Mark sections as branching in VegaLite introductory notebook ( #1059 )
2022-03-17 23:33:10 +01:00
Jonatan Kłosko
afce2e6047
Prevent smart cell menu from overlapping with insert buttons ( #1060 )
2022-03-17 21:44:40 +01:00
Wojtek Mach
cb7f51726a
Fix macOS menu bar ( #1057 )
2022-03-17 20:32:59 +01:00
Jonatan Kłosko
b3b79afed4
Refactor JS hooks ( #1055 )
...
* Restructure hook files
* Simplify app.js
* Refactor hooks
* Implement password toggle with JS commands
2022-03-16 11:33:53 +01:00
Jonatan Kłosko
6db36ea7e6
Add support for smart cell editor ( #1050 )
...
* Add support for smart cell editor
* Log an error when smart cell fails to start
2022-03-14 22:19:56 +01:00
Jakub Perżyło
4061aa150d
Add autosave path configuration ( #1019 )
...
* Added autosave path configuration
* Update settings.ex
* Adjusted to review
* Apply suggestions from code review
Co-authored-by: José Valim <jose.valim@gmail.com>
* Adjusted to review
* Adjusted to review
Co-authored-by: José Valim <jose.valim@gmail.com>
2022-03-13 16:22:52 +01:00
Jonatan Kłosko
ea8b7c2d15
Add support for scanning smart cell evaluation result ( #1048 )
...
* Add support for scanning smart cell evaluation result
* Don't allow moving an evaluating cell across sections
* Use consistent naming
2022-03-08 11:10:37 +01:00
Jonatan Kłosko
6b78258713
Add support for scanning evaluation context from smart cells ( #1041 )
...
* Add support for scanning evaluation context from smart cells
* Rename prev_locator to base_locator to clarify the meaning
* Adjustments
* Add data tests
* Adjustments
* Test smart cell intearaction with RuntimeServer
* Serialize binding scanning and leave sending to the user
* Monitor the scanning process
2022-03-05 13:19:42 +01:00
Jonatan Kłosko
8bb8160605
Skip padding when encoding the confirmation modal id
2022-03-03 02:13:47 +01:00
Cristine Guadelupe
88747c1790
Typo: report smart cell definitions function name ( #1038 )
2022-03-02 16:40:16 -03:00
Jonatan Kłosko
e27ff5a960
Rename Elixir cell to Code cell ( #1035 )
2022-03-02 12:48:02 +01:00
Jonatan Kłosko
aaeac6bb95
Add an action converting smart cell to elixir cell ( #1030 )
...
* Add an action converting smart cell to elixir cell
* Simplify tests setup
* Add confirmation
* Update lib/livebook_web/live/session_live/cell_component.ex
Co-authored-by: José Valim <jose.valim@dashbit.co>
Co-authored-by: José Valim <jose.valim@dashbit.co>
2022-03-02 12:13:44 +01:00
Wojtek Mach
29f0f54bbd
Desktop app packaging for Windows ( #1032 )
2022-03-02 12:06:30 +01:00
Wojtek Mach
59e4713008
Expand path before opening it (another attempt)
...
See: 864624ad2c
2022-03-02 11:53:02 +01:00