Commit graph

409 commits

Author SHA1 Message Date
José Valim 81b123d5b5
Make root path configurable from outside (#217) 2021-04-19 19:50:09 +02:00
José Valim ec8f000f1d
Create ISSUE_TEMPLATE.md 2021-04-17 23:56:46 +02:00
Juha 08c4025bd7
Remove assumption about root path (#209) 2021-04-17 20:32:19 +02:00
Frank Hunleth 73caecc7f1
Fix typos in comments (#207) 2021-04-17 00:40:30 +02:00
José Valim c4d06d877e Move auth to its own view
Prior to this PR the HTML head was being
included twice on the password auth page.
One from root.html and another from the
error page, so we decoupled those.
2021-04-16 22:18:59 +02:00
José Valim d00393ca86 Keep uppercase letters together 2021-04-16 22:18:59 +02:00
José Valim 8a17130391
Improvements to runtime initialization (#201)
1. Do not use nouse_stdio as it causes slowdowns when IEx
   is also running

2. Reduce the amount of generated random atoms by using the
   child_node as the name of the parent process

3. Do not pass quoted strings nor newlines to Windows to eval,
    use argv instead

Closes #194.
2021-04-16 12:31:25 +02:00
Cheng Zhe f06891cd6d
Fix typo on notebook cell (#200)
Fix typo on notebook cell
2021-04-16 08:05:35 +02:00
José Valim 101f582196
Use known cookie when starting runtimes (#199) 2021-04-15 20:09:54 +02:00
Jonatan Kłosko d6e9c36571 Use password input for entering passphrase 2021-04-15 16:19:17 +02:00
José Valim 57047f9c7f
Unify env variables and change auth to use session (#195) 2021-04-15 15:50:29 +02:00
Frank Hunleth 3a19021983
Support config of the root path for storing notebooks (#191)
This adds a `:root_path` key to the application environment so that
file dialogs can default to known location where notebooks are stored.
2021-04-15 14:51:27 +02:00
Jakub Perżyło a9c8e20775
Password access (#187) 2021-04-15 14:15:56 +02:00
José Valim dee372c623
Improve error message if we can't boot epmd, closes #196 (#197) 2021-04-15 11:42:56 +02:00
José Valim 5190e01db7 Remove unused root module 2021-04-15 11:30:24 +02:00
José Valim 31e16f6b93 Fix typo on CLI entries 2021-04-15 09:06:01 +02:00
Cheng Zhe d3ffb7978d
Rename litebook_cli.ex to livebook_cli.ex (#174)
Rename litebook_cli.ex to livebook_cli.ex
2021-04-15 08:56:49 +02:00
Cheng Zhe 9978d29831
Fix spec error type (#181) 2021-04-15 08:56:20 +02:00
Cheng Zhe bfaf6b7776
Fix spec in delta operation (#193) 2021-04-15 08:56:03 +02:00
Cheng Zhe 9b0ac23c2c
Fix typo in delta operation docs (#192) 2021-04-15 08:55:43 +02:00
Jonatan Kłosko 69343bfc3c
Link to live dashboard for each running session to show process info (#186)
* Link to live dashboard for each running session to show process info

* Update lib/livebook_web/live/home_live/sessions_component.ex

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

Co-authored-by: José Valim <jose.valim@dashbit.co>
2021-04-14 22:37:17 +02:00
James Baldwin 9c6d747aca
Remove extra word in comment (#185) 2021-04-14 21:02:47 +02:00
Jonatan Kłosko d48ae131e6
Add test for standalone Mix runtime (#184) 2021-04-14 20:12:14 +02:00
Jakub Perżyło a3c55a801d
Add live dashboard (#183) 2021-04-14 20:10:25 +02:00
Jonatan Kłosko cf35a46ecf Create write-protected file on the fly in tests 2021-04-14 16:48:11 +02:00
Jonatan Kłosko 83b94c6b0b Add test for selecting a write-protected file 2021-04-14 16:39:12 +02:00
Jonatan Kłosko 9e026ee4b9
Make sure write-protected files can only be forked (#182)
* Format file errors into readable messages

* Make sure write-protected files can only be forked

* Show tooltip when the file is write protected
2021-04-14 16:27:35 +02:00
Jonatan Kłosko f31428739f
Fix node resolution in CI (#173)
* Limit the number of Elixir nodes spawned at the same time in tests

* Increase timeout

* Update CI to Elixir 1.12

* Terminate unused runtimes

* Increase timeout on the spawning node side

* Cleanup

* Run test with --trace

* Up

* Up

* Run tests with long node names

* Just longnames CI

* Move CI dependent config to config/test.exs
2021-04-14 14:28:00 +02:00
Michał Gibowski 539cb8e2b1
Fix some typos in moduledocs (#180) 2021-04-14 13:40:32 +02:00
jonatanklosko 90b65194b6 Update assets 2021-04-14 10:22:17 +00:00
TED 623c5b3290
Add notbook runtime settings shortcut (#176) 2021-04-14 12:20:51 +02:00
jonatanklosko fd65ebfaa5 Update assets 2021-04-14 09:37:19 +00:00
Jonatan Kłosko 2887527dc9
Fix sections sidebar overflow (#171) 2021-04-14 11:35:54 +02:00
Jonatan Kłosko 252642f601
Start standalone runtimes as hidden nodes (#172) 2021-04-14 11:23:05 +02:00
Alexandre Antonio Juca 5f3230f7aa
Add spelling corrections to welcome livebook (#169) 2021-04-14 00:17:20 +02:00
José Valim dffb8aaa12 Add a section on security 2021-04-13 21:37:04 +02:00
José Valim 22c90e8bca Move to Apache 2 License 2021-04-13 21:33:30 +02:00
José Valim f79f80a7a7
Update README.md 2021-04-13 18:13:49 +02:00
jonatanklosko 6335342285 Update assets 2021-04-13 16:12:32 +00:00
dependabot[bot] 1883fbc87e
Bump marked from 1.2.8 to 2.0.0 in /assets (#163)
Bumps [marked](https://github.com/markedjs/marked) from 1.2.8 to 2.0.0.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/release.config.js)
- [Commits](https://github.com/markedjs/marked/compare/v1.2.8...v2.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-13 18:11:11 +02:00
José Valim 252047a204
Update README.md 2021-04-13 17:38:43 +02:00
José Valim 0b92272786 Fix typos 2021-04-13 13:57:49 +02:00
José Valim a22b069bae
Update README.md 2021-04-13 12:34:03 +02:00
Jonatan Kłosko 9c2105626c Update assets 2021-04-13 11:16:14 +02:00
José Valim 1be9c2cdf5
Update README.md 2021-04-13 08:32:10 +02:00
Jonatan Kłosko d8213c3f68
Change wording from delete session to close session (#160) 2021-04-12 23:24:26 +02:00
Jonatan Kłosko 5f5ef1d0b6
Improve path selector (#159)
* Synchronously save file when the location is chosen and fix default path

* Handle enter press in the path selector
2021-04-12 22:59:48 +02:00
José Valim e1bab06168
Fix issue with font-family detection (#157) 2021-04-12 18:31:10 +02:00
Jonatan Kłosko c6f9c54f31
Buffer IO evaluation output (#156)
* Buffer IO evaluation output

* Respect CR in IOProxy

* Handle CR when adding cell output rather than during each render

* Optimise CR handling in buffer
2021-04-12 17:56:40 +02:00
José Valim 6cbf4d1fb0 Set alwaysConsumeMouseWheel to false instead of disabling it 2021-04-12 13:04:54 +02:00