Commit graph

204 commits

Author SHA1 Message Date
Jonatan Kłosko
ac8e1e30f4
Setup Docker image with releases (#244)
* Setup Docker image with releases

* Support ip env variable and use it for Docker deployment

* Autofocus auth forms

* Rename ip env var

* Update option lists

* Make distribution cookie configurable

* Update README.md

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

* Include git in the final image

* Remove unnecessary build dependency

* Improve file permissions handling and add more comments

* Use namespaced home directory

* Update README with all running options

* Update base image

* Reference official Docker image in the README

Co-authored-by: José Valim <jose.valim@dashbit.co>
2021-04-27 16:34:02 +02:00
Jonatan Kłosko
cc2820f17e
Add anchor links to sections (#243) 2021-04-26 15:24:43 +02:00
jonatanklosko
4aba26c6c6 Update assets 2021-04-26 12:24:01 +00:00
Javier Goday
790b9e764b
Feature cell link (#239)
* #99: Add anchor links to sections and cells

* Restores some css classes removed by error

* Focus cell based on anchor link

Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2021-04-26 14:22:33 +02:00
Akash Hiremath
a2eb269cec
Fix undefined function warning (#241) 2021-04-26 08:59:46 +02:00
Wojtek Mach
c3a0b7c01d
Add autofocus to import inputs (#240) 2021-04-24 11:15:37 +02:00
jonatanklosko
6f60e075a0 Update assets 2021-04-23 15:41:44 +00:00
Jonatan Kłosko
aaba58a933
Set up importing notebook from URL or clipboard (#237)
* Set up importing notebook from URL or clipboard

* Extract loading functions into separate module

* Replace import icon with text

* Add TLS peer verification

* Remove unnecessary tests setup step
2021-04-23 17:40:13 +02:00
Wojtek Mach
7262ff540d
Update README.md (#235) 2021-04-22 11:41:22 +02:00
jonatanklosko
777626d56f Update assets 2021-04-21 21:03:26 +00:00
Jonatan Kłosko
e755ff8122
Restructure settings (#233)
* Force menu items into a single line

* Add shortcut for saving the notebook

* Make the disk icon always show file dialog

* Split runtime and file settings into separate modals

* Add ctrl+s to the shortcuts list

* Add togglable menu to the session page

* Make sure newly saved file appears in the file selector

* Fix path seletor force reloading

* Remove notebook generated in tests

* Add test for file list refresh after save
2021-04-21 23:02:09 +02:00
jonatanklosko
dd904699bc Update assets 2021-04-21 15:44:06 +00:00
Jonatan Kłosko
91af8a46ed Make the sidebar floating on small screens 2021-04-21 17:42:03 +02:00
jonatanklosko
514d85fc09 Update assets 2021-04-21 15:40:24 +00:00
Jonatan Kłosko
c498cfb211
Explicitly dispose Monaco editor instance when cell is deleted (#232) 2021-04-21 17:38:48 +02:00
josevalim
faeedcefc5 Update assets 2021-04-21 11:52:09 +00:00
José Valim
02f46fd912 Improve responsive features 2021-04-21 13:50:55 +02:00
jonatanklosko
c7e2c45a57 Update assets 2021-04-21 10:45:26 +00:00
Jonatan Kłosko
dd7453c706 Improve homepage responsiveness 2021-04-21 12:43:43 +02:00
Jonatan Kłosko
9a1fe55759 Update Phoenix LV 2021-04-21 12:43:43 +02:00
José Valim
982759844f Do not tab over file container (it does so on Firefox) 2021-04-21 12:34:49 +02:00
jonatanklosko
972e98af3c Update assets 2021-04-21 10:21:43 +00:00
Jonatan Kłosko
4f80e5f601 Update tailwindcss 2021-04-21 12:19:16 +02:00
josevalim
136522a4d0 Update assets 2021-04-21 10:18:50 +00:00
José Valim
48b611faeb Run formatter 2021-04-21 12:17:35 +02:00
Benjamin Philip
d41f3a73fe Beautify match file selector results
- Makes the file selector results to have a "box"/"container" of its own

- Seperates the filtred files from rest of the files with a border

- Optimize path selector to only traverse the filesystem if the directory
  changes
2021-04-21 12:16:28 +02:00
Jonatan Kłosko
193050cae5 Don't print token in URL when disabled 2021-04-21 00:04:17 +02:00
José Valim
52fc451a45
Remove newline from tests, closes #204 (#231) 2021-04-20 20:17:24 +02:00
Jonatan Kłosko
5dd3b82e1f
Don't register named supervisors on remote node (#230) 2021-04-20 20:03:13 +02:00
Jonatan Kłosko
d51e0ad2a9 Update package-lock.json 2021-04-20 19:38:08 +02:00
jonatanklosko
1b6cca658e Update assets 2021-04-20 17:35:32 +00:00
Jonatan Kłosko
700987dc02
Add editor completion to Elixir cells (#208)
* Implement editor completion for Elixir cells

* Add completion tests

* Refactor completion

* Only extract Markdown docs for now

* Fix Elixir version-dependent test

* Fix docs matching

* Use upcoming Code.cursor_context/2

* Start temporary completion processes under a supervisor

* Show Erlang docs in completion items

* Update to latest Code.cursor_context

* Refactor completion

* Fix module completion when alias expands to Erlang module

* Remove tests-generated notebook

* Show variables and map fields differently

* Adjust signatures formatting
2021-04-20 19:34:17 +02:00
jonatanklosko
7ed23b0f30 Update assets 2021-04-20 17:32:37 +00:00
Jonatan Kłosko
04edc75181
Scroll to section when moved (#226) 2021-04-20 19:31:23 +02:00
Jonatan Kłosko
44eda43d02
Fix markdown line breaks rendering (#227) 2021-04-20 19:31:02 +02:00
Jonatan Kłosko
6b5de9eda5 Run formatter 2021-04-20 19:29:12 +02:00
josevalim
b6d878efe4 Update assets 2021-04-20 17:07:30 +00:00
José Valim
9a9ad14c8b Use a color from the theme on topbar 2021-04-20 19:06:06 +02:00
josevalim
0a085447be Update assets 2021-04-20 16:50:11 +00:00
Michael Crumm
a977957abc
Replace NProgress by topbar (#229) 2021-04-20 18:48:50 +02:00
Frank Hunleth
b1ceedc220
Ignore RFC 1468 switch to ASCII code sequence (#225)
This ignores "\e(B" which sometimes shows up even when the other RFC
1468 Japanese character set switch codes aren't used. This also updates
defmodifier so that it can be used with non-CSI escape codes (the
ones that start with '[').
2021-04-20 15:05:30 +02:00
Jonatan Kłosko
5100d2723a Fix invalid File.get_cwd! call 2021-04-20 14:17:09 +02:00
Frank Hunleth
0f49351c3b
Handle a short ANSI reset ("\e[m") (#220)
It's legal to omit the 0 in the "\e[0m" sequence to reduce the number of
bytes needed to reset the terminal. See
https://en.wikipedia.org/wiki/ANSI_escape_code#CSI_(Control_Sequence_Introducer)_sequences
and a simple explanation and the cited reference for a more involved
one.
2021-04-20 14:16:21 +02:00
jonatanklosko
0ea781cccb Update assets 2021-04-20 10:13:55 +00:00
Benjamin Philip
682ee396d0
Allow re-ordering of sections (#221)
* Allow server-side re-ordering of sections

* `Livebook.Notenook.move_section` definition
* Management and implementation of requests
* tests

This commit allows a person to send a request to the server to move a
section. However, the functionality in not yet available in the UI.

* Allow "Move up" and "Move down" functionality for sections

* Rendering of up and down "arrows" at Section's side
* Request from UI on click

This commit enables a user to move a section upwards or downwards, much
like a cell. However, after the section moves, the focus is not changed
to it.

* Apply formatting

* Define a function to update cell status

* Defines a common function for `move_cell` and `move_section` to use to
update cell status.
2021-04-20 12:12:29 +02:00
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