Single modules are now allowed to be defined in an Erlang-cell.
In this case the entire code-block is interpreted as an
erlang-module and if there are no errors the module is compiled
and loaded.
If the cell containing the module is deleted subsequent code
invocations will fail.
Stale indicator is not working yet due to missing notion of
functions, this will be fixed in a next version.
Error handling - basics are working
- Still not happy with it, but it is usable
The code is now pre-analyzed using the epp-module. This also
has the added advantage that erlang modules can become a bit
more expressive with defines and includes.
TODO: Examples need to be added to the example livebook.
* Rename SessionIdentity to PassThrough and make it part of ZTA
* Compute the ID at the Plug level, rather than ZTA level and
avoid storing it twice
* Stop the user "avatar" from flashing on initial render
* Do not duplicate identity data inside user data, rather keep
them distinct
* Get user identity
* Moves current_user_id to identity_data
* Renames cookies to session_identity
* Keep zta keys in the state
* User id from GoogleIap
* Update cloudflare.ex
* Update googleiap.ex
* Email only for ZTA
* Get the current_user_id from the identity_data
* Applying suggestions
* Applying suggestions
* Fix verify_token
---------
Co-authored-by: José Valim <jose.valim@gmail.com>
* 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
* Add initial user config modal
* Assign user ids
* Update session data to hold user ids
* Get users list for specific ids
* Render user avatar
* User update
* Refactor user changes
* Subscribe to individual user updates
* Show users in side panel
* Add sidebar to homepage
* Don't generate the same color twice in a row
* Add documentation notes
* Fix tests
* Add tests
* Keep users in session data
* Rename color to hex_color