Commit graph

87 commits

Author SHA1 Message Date
Andy Tran
f945b3272d
Add support for configuring a custom iframe URL (#1200)
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2022-05-26 02:39:55 +02:00
José Valim
c131826733 Reorganize README 2022-05-13 09:39:33 +02:00
José Valim
96de866c34
Update README.md 2022-05-02 15:54:07 +02:00
Jonatan Kłosko
19016dcc54 Revert "GitHub Codespaces: Add devcontainer.json files to Livebook (#1138)"
This reverts commit caeb23fe48.

See the discussion in #1138.
2022-04-26 21:05:00 +02:00
Noah
caeb23fe48
GitHub Codespaces: Add devcontainer.json files to Livebook (#1138) 2022-04-26 20:18:35 +02:00
José Valim
4ecb156ed3
Update README.md 2022-04-23 13:52:05 +02:00
Jonatan Kłosko
134fbe0589
Show information when a new Livebook version is available (#1121)
* Show information when a new Livebook version is available

* Wording

* Use more precise version comparison

* Update lib/livebook/application.ex

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

* Up

* Update notificaion styles

* Update lib/livebook_web/live/home_live.ex

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

* Update lib/livebook_web/live/home_live.ex

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

* Apply review comments

* Use async_nolink

Co-authored-by: José Valim <jose.valim@dashbit.co>
2022-04-18 00:55:08 +02:00
ByeongUk Choi
bfd47fd166
Add app service settings (#1116) 2022-04-15 13:46:26 +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
ByeongUk Choi
1fab2f54bf
Add LIVEBOOK_FORCE_SSL_HOST env (#1064)
Closes #983.
2022-03-23 18:24:58 +01:00
Jonatan Kłosko
e27ff5a960
Rename Elixir cell to Code cell (#1035) 2022-03-02 12:48:02 +01:00
José Valim
136d5039c4 Add rebar and hex update steps to README 2022-02-26 09:40:21 +01:00
Jonatan Kłosko
e5e13d86c2
Serve iframes from another local port when running on http (#989)
* Serve iframes from another local port when running on http

* Use relative hostname in local iframe URL

* Simplify server start check

* Use random iframe port when Livebook runs on a random port

* Rename space/ to iframe/

* LivebookWeb.IframePlug -> LivebookWeb.IframeEndpoint
2022-02-08 14:45:58 +01:00
José Valim
efdbf67f59
Introduce LIVEBOOK_HOME and LIVEBOOK_DATA_PATH (#963)
And move the relevant configurations to settings.
2022-01-31 11:51:57 +01:00
Jakub Perżyło
86e4034f33
Persistent storage (#937)
Start moving filesystems as an initial implementation.
2022-01-30 19:51:03 +01:00
José Valim
a667a51509
Update README.md 2022-01-28 21:57:59 +01:00
José Valim
bd3363acde
Allow LIVEBOOK_PORT to be set to 0 for a random port (#906) 2022-01-21 09:18:02 +01:00
José Valim
8bbabcbdb4 Clarify some env vars in the README 2022-01-20 10:43:02 +01:00
Krishnamohan Chivukula
14eb8beaad
Update README.md (#897)
Added description for mermaid support added in 0.5.
2022-01-20 10:07:27 +01:00
Jonatan Kłosko
53869371c2
Update dependencies (#838)
* Update Elixir deps

* Update JS dependencies

* Bump Tailwind to v3

* Update Hex badge color

* Set SameSite for the session cookie
2021-12-29 22:06:19 +01:00
Michał Gibowski
4c5fd9a413
Add missing npm install step to Dev instructions (#815)
* Add missing `npm install` step to Dev instructions

* Update README.md

Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2021-12-22 18:52:17 +01:00
Kian Meng, Ang
a58d0ed0c2
Fix license section markdown (#801) 2021-12-13 07:33:34 +01:00
Stephen Ball
8c4ef89685
Update the vim modeline comment to not error (#774)
The currently suggested vim modeline formatting string to allow .livemd
files to render as markdown on GitHub works, but confuses vim itself.

```
<!-- vim: syntax=markdown -->
```

When opening a .livemd file with the suggested modeline in vim it errors
when it tries to parse `-->` as a modeline option.

e.g.

```
"2021/day2.livemd" 81L, 1616B
Error detected while processing modelines:
line    1:
E518: Unknown option: -->
```

The fix is to replace the suggested vim modeline

```
<!-- vim: syntax=markdown -->
```

With a modeline declaration format that indicates when the modeline
options are complete, allowing vim to ignore the rest of the line.

```
<!-- vim: set syntax=markdown: -->
```

Reference
- vim issue: https://github.com/vim/vim/issues/1648
- especially this comment: https://github.com/vim/vim/issues/1648#issuecomment-296386153

Fixes #773
2021-12-08 16:15:07 +01:00
roboticsdude60
3f86af051c
Update README.md (#767)
bump the version requirement of Elixir to match 1.13 from the previous 1.12
2021-12-08 08:08:23 +01:00
Jonatan Kłosko
f0606b109d
Automatically back up notebooks without a file (#736)
* Improve file select layout on long paths

* Automatically back up notebooks without a file

* Run formatter

* Add margin when there are no sections

* Add an informative note about autosave directory

* Store autosave path instead of file in the config

* Rename autosave dir to autosave path

* Fix insert mode escape on section headlines

* Show ellipsis on selected file too

* Always create the default directory

* Apply review comments
2021-12-04 16:29:14 +01:00
Jonatan Kłosko
9532348bce
Update the list of Ubuntu packages with necessary Erlang applications (#704) 2021-11-12 12:39:58 +01:00
José Valim
ff4f21f7aa
Clarify root access docs, closes #701 (#702) 2021-11-12 11:32:03 +01:00
Jonatan Kłosko
54511d5ffc
Add env var for disabling token auth (#696) 2021-11-10 13:54:50 +01:00
Jonatan Kłosko
5e5bc2597a
Document how to render notebooks on GitHub (#677)
* Document how to render notebooks on GitHub

* Keep any comments before the notebook title heading
2021-11-04 18:50:53 +01:00
José Valim
39f1b9b298
Update README.md 2021-10-21 08:02:16 +02:00
Tim Mecklem
1b3d081b5e
Minor typo correction (#627) 2021-10-21 07:57:10 +02:00
José Valim
86e74c90ef Add Fly.io link to the README 2021-10-19 13:30:23 +02:00
Jonatan Kłosko
a41dda9c7c
Keep static files outside priv (#602)
* Keep static files outside priv

* Override generated assets on the CI
2021-10-18 22:32:09 +02:00
José Valim
7eea603964
Latest Hex no longer requires us to hardcode the version (#564) 2021-10-16 19:54:10 +02:00
José Valim
f81dbab474
Update README.md 2021-09-21 13:47:45 +02:00
José Valim
2c536c9b08
Add Fly.io as sponsor 2021-09-10 10:36:25 +02:00
Jonatan Kłosko
806101aa25 Update README 2021-08-28 22:44:54 +02:00
Joel Kemp
aba42a3a3e
Add a hex badge to show the current version (#520)
* Add a hex badge to show the current version

* Update README.md

Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2021-08-28 17:44:36 +02:00
Jonatan Kłosko
7d59acf518 Update README and version in mix.exs 2021-08-25 15:06:55 +02:00
José Valim
3570aaa22b Update README 2021-08-25 11:58:15 +02:00
Jonatan Kłosko
7d0612e825 Revert "Update README to point to exact hex version"
This reverts commit 90a52e9295.
2021-08-25 11:53:20 +02:00
Jonatan Kłosko
90a52e9295 Update README to point to exact hex version 2021-08-25 11:27:45 +02:00
Jonatan Kłosko
9822735bcf Update GitHub org references from elixir-nx to livebook-dev 2021-08-18 15:55:07 +02:00
Jonatan Kłosko
bf05fb0a50
Add support for configuring file systems using env variables (#498)
* Add support for configuring file systems using env variables

* Add UI for copying file systems env configuration
2021-08-18 14:41:57 +02:00
Jonatan Kłosko
0ac475d915 Fix link rendering in README 2021-08-01 02:05:04 +02:00
José Valim
f3ea05b7ee
Detail the possibility of using releases environment variables (#486) 2021-07-31 10:09:21 +02:00
Carlos
d20d4f6bf1
Fix url repo in developmento topic (#460) 2021-07-23 22:48:24 +02:00
José Valim
a386f61d1d
Create README.md 2021-07-15 11:23:22 +02:00
José Valim
e7cacd7d8c
Update README.md 2021-07-15 11:19:59 +02:00