Commit graph

109 commits

Author SHA1 Message Date
Andrea Leopardi
47fe94f560
Replace "Connection" with gen_statem (#1865) 2023-04-15 10:47:33 +02:00
Jonatan Kłosko
7d24982b57
Release v0.9.2 (#1864) 2023-04-14 16:59:14 +02:00
José Valim
01bcf1fd1a Update dependencies for Erlang/OTP 26 2023-04-13 12:47:28 +02:00
Jonatan Kłosko
744406d1d8 Release v0.9.1 2023-04-06 00:36:28 +02:00
Jonatan Kłosko
ee9e7d8a0f Release v0.9.0 (#1804) 2023-03-20 16:13:44 +01:00
José Valim
afd7feac29 Update description 2023-03-19 18:51:29 +01:00
Jonatan Kłosko
5b5593a54b
Update to Phoenix 1.7 (#1720) 2023-02-22 19:34:54 +01:00
Jonatan Kłosko
e622ef4f96
Fix dialyzer warnings (#1691) 2023-02-03 18:30:41 +01:00
Zach Allaun
8f92661918
Support setting node and distribution using environment vars (#1672) 2023-02-01 21:22:49 +01:00
Jonatan Kłosko
59dc767ef2
Release v0.8.1 (#1646) 2023-01-18 15:41:07 +01:00
Wojtek Mach
596df882fc
Rebuild Livebook Desktop (#1641) 2023-01-16 21:09:47 +01:00
Alexandre de Souza
3e11023925
Migrate WebSocket GenServer (Server) to Connection (#1585) 2022-12-21 11:28:27 -03:00
José Valim
00a7201f8a
Allow release to boot even if it can't write (#1568)
This allows Livebook to run even from .dmg files.
2022-12-11 17:06:00 +01:00
Jonatan Kłosko
361455cd4e Release v0.8.0 2022-12-08 21:05:48 +01:00
Jonatan Kłosko
31c119a633
Persist modules bytecode to disk (#1521) 2022-11-10 16:37:57 +01:00
Alexandre de Souza
7b1addb7eb
Use WebSocket and Protobuf instead of GraphQL with Livebook Enterprise (#1504) 2022-11-03 13:49:07 -03:00
Wojtek Mach
dd68f4fe2c Add vendor/otp/erts-VSN/bin to additional paths on macOS
Just for consistency.
2022-11-02 19:06:42 +01:00
Wojtek Mach
7475e29232
Fix launching Windows desktop app (#1511)
On Windows we have erl.exe in two directories: OTP/bin/erl.exe and
OTP/erts-VSN/bin/erl.exe. The executable is identical but what is
different is the latter, the erts one, contains erlexec.dll which needs
to be present for the VM to start.

Interestingly, regardless of OS, the erl[.exe] executable always
prepends the OTP/erts-VSN/bin and OTP/bin directories to the PATH:

    iex> System.get_env("PATH") |> String.split(":") |> Enum.take(2)
    ["/Users/wojtek/.asdf/installs/erlang/25.1.2/erts-13.1.2/bin",
     "/Users/wojtek/.asdf/installs/erlang/25.1.2/bin"]

Manually prepending the erts bin directory to the PATH, which makes the
erl.exe that is to be launched to be the erts one, fixed the issue.
2022-11-02 18:19:53 +01:00
Jonatan Kłosko
b911bd71ed Release 0.7.2 2022-10-26 22:19:37 +02:00
Wojtek Mach
7bf1904d8b Add /usr/local/bin after vendored paths 2022-10-24 15:47:18 +02:00
Wojtek Mach
e152c9d1a7
Fix vendoring OTP (#1495)
Summary of changes:

- Vendor OTP at: rel/vendor/otp
- Remove rel/vendor/otp/lib/*/src
- Include /usr/local/bin in $PATH. This is not there by default and that's where homebrew (on x86_64) installs things so it should make it easier to build some packages with NIFs.
2022-10-24 10:56:16 +02:00
Jonatan Kłosko
fc78929cd1 Release 0.7.1 2022-10-09 21:42:49 +02:00
Jonatan Kłosko
33620284b7 Release 0.7.0 2022-10-07 12:20:37 +02:00
José Valim
6da00daffd
Update to LV 0.18 (#1426) 2022-10-04 08:46:55 +02:00
Jonatan Kłosko
9ff3131546
Update dependencies (#1452) 2022-09-30 21:35:56 +02:00
Wojtek Mach
52cf7c8a5b
Minor bootstrap improvements (#1380) 2022-09-02 12:03:32 +02:00
Alexandre de Souza
bea5d0bb76
Fix file system change from S3 to local (#1377) 2022-09-01 13:25:42 -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
77c8804d62
User and Hub forms with Changeset validations and input errors (#1347) 2022-08-22 18:12:54 -03:00
José Valim
b9b2f7514e
Support more recent Elixir versions too (#1344) 2022-08-12 19:04:15 +02:00
Jonatan Kłosko
3d5c7c3fad
Require Elixir 1.14 (#1342) 2022-08-11 20:13:57 +02:00
Wojtek Mach
093a466161
Bump Elixir to v1.14.0-rc.0 for the desktop (#1339) 2022-08-10 15:07:54 +02:00
Jonatan Kłosko
2b2ecccaec
Update dependencies (#1321) 2022-08-02 15:26:45 +02:00
Wojtek Mach
8da05a5c5a
Rename AppBuilder to AppBundler (#1283) 2022-07-19 14:48:07 +02:00
Wojtek Mach
4ec919f60b
App bundling improvements (#1279) 2022-07-18 11:51:17 +02:00
Jonatan Kłosko
5a3f5ff4b6
Release 0.6.3 (#1272) 2022-07-13 13:02:43 +02:00
Wojtek Mach
789a44a7da
Convert Mac launcher to a Cocoa app (#1263)
1. Add `:event_handler` app option. It is a process that will receive
   the app events, the `:open_app`, `{:open_url, url}`, and
   `{:open_file, path}` messages.

2. Add `AppBuilder.init/0`. This reads the `APP_BUILDER_INPUT` env
   variable which contains the app event the release was started with.

3. Use <https://github.com/wojtekmach/otp/tree/wm-WX_MACOS_NON_GUI_APP>
   branch which contains wx fix that hasn't been merged yet.
2022-07-06 19:27:06 +02:00
Jonatan Kłosko
1144d581fc
Release 0.6.2 (#1258) 2022-06-30 21:01:23 +02:00
Wojtek Mach
55be1ff7cd Add missing app_type: :agent 2022-06-03 13:56:16 +02:00
Wojtek Mach
c9f022d637
Allow overwriting any bundler option per OS (#1213) 2022-06-02 21:33:23 +02:00
Wojtek Mach
fc7328703a
App bundling improvements (#1211)
1. Replace `mix release mac_app|mac_app_dmg|windows_installer` with a single `mix release app`
2. Extract templates (Launcher.swift, Launcher.vbs, etc) into separate
   files in app_builder/lib/templates
3. Don't verify vc_redist.x64.exe checksum as the Microsoft publishes
   new releases on the same URL
2022-06-01 22:29:54 +02:00
Wojtek Mach
fc82b55dab
Desktop icon improvements (#1201) 2022-05-27 14:45:20 +02:00
Wojtek Mach
5af5c75108
Run Mac app in the background (#1199) 2022-05-20 14:27:04 +02:00
Wojtek Mach
f5afac9497 Remove otp version check when building desktop app
Since we're building our own OTP for Mac, the idea was not to
accidentally building agains something we happen to be testing at the
moment, like the latest RC. This check turned out to be a little bit
too annoying in practice though. We plan to automate builds on CI
in the near future so we wouldn't need it the anyway.

Closes #1177
2022-05-06 23:53:10 +02:00
Jonatan Kłosko
c1a4c8c045
Release 0.6.1 (#1175) 2022-05-06 17:22:35 +02:00
Jonatan Kłosko
40c945502f
Include iframe in the hex archive (#1174) 2022-05-06 10:28:01 +02:00
Jonatan Kłosko
3ad817ac69
Release 0.6.0 (#1165) 2022-05-03 16:24:49 +02:00
Wojtek Mach
e5092e4c99
Add taskbar icon to desktop app (#1119) 2022-04-21 09:51:48 +02:00
Wojtek Mach
29f0f54bbd
Desktop app packaging for Windows (#1032) 2022-03-02 12:06:30 +01:00
Wojtek Mach
2c34f62c11
standalone.exs: Ensure OTP version (#987) 2022-02-07 12:33:28 +01:00