Tomas Valenta
41c53fd4f8
Update apps/web/src/app/(docs)/docs/sandbox/persistence/page.mdx
...
Co-authored-by: Vasek Mlejnsky <vasek@e2b.dev >
2024-12-19 14:16:37 -08:00
Tomas Valenta
a0ff523ebd
Update persistence docs
2024-12-19 14:07:16 -08:00
Vasek Mlejnsky
211362cab4
Use billing subdomain to simplify dashboard for custom domains ( #514 )
...
# Description
Billing service runs on `billing.` subdomain, so you can pass only 1 url
now
2024-12-19 12:24:02 -08:00
Jakub Novak
b72817d088
Clean up
2024-12-19 16:30:31 +01:00
Jakub Novak
dbe569de01
Don't allow do checkouts on custom domains
2024-12-19 14:46:02 +01:00
Jakub Novak
2844aba081
Fix url
2024-12-19 14:31:11 +01:00
Jakub Novak
713c920564
Improve naming
2024-12-19 14:29:09 +01:00
Jakub Novak
f7d51d8b2f
Use billing subdomain
2024-12-19 13:50:45 +01:00
never not exploring
0e3578c7b4
Fix dashboard "Reset Password" href ( #512 )
...
this pr fixes the `href` attribute of the `Reset Password` button in the
dashboard
2024-12-18 23:59:50 +01:00
Vasek Mlejnsky
d29ad4f946
Correctly parse the API URL in dashboard ( #511 )
...
This PR addresses a bug when a user passes a custom API URL like
`https://api.e2b-cluster.dev ` and we incorrectly print that the user
should set their `E2B_DOMAIN` to `api.e2b-cluster.dev` while the correct
one would be `E2B_DOMAIN=e2b-cluster.dev`.
2024-12-18 14:52:17 -08:00
Ben Fornefeld
0a70f3bc19
fix: dashboard reset password href
2024-12-18 23:49:47 +01:00
Vasek Mlejnsky
49849f38bd
Correctly parse the API URL in dashboard
2024-12-18 14:39:51 -08:00
Vasek Mlejnsky
f74d3a29bc
Docs persistence ( #509 )
...
Improve code snippets
2024-12-17 12:58:56 -08:00
Vasek Mlejnsky
d3f19614cd
Update apps/web/src/app/(docs)/docs/sandbox/persistence/page.mdx
...
Co-authored-by: 0div <98087403+0div@users.noreply.github.com >
2024-12-17 12:54:50 -08:00
Vasek Mlejnsky
7f79ebfa7f
docs: update installation instructions to install latest beta in python
2024-12-17 11:48:46 -08:00
Vasek Mlejnsky
07b3077b18
Resolve merge conflict
2024-12-17 11:46:36 -08:00
Vasek Mlejnsky
99fa5af914
docs: update code snippets for persistence
2024-12-17 11:44:12 -08:00
Tomas Valenta
83871371b1
Merge branch 'docs-persistence'
2024-12-17 03:40:06 -08:00
Tomas Valenta
77c9a52fa6
Add docs about persistence ( #507 )
...
This PR adds docs about Sandbox's persistence
2024-12-17 03:38:58 -08:00
Tomas Valenta
e81a6dc06d
Update package versions
2024-12-17 03:38:43 -08:00
github-actions[bot]
27d2afd038
[skip ci] Release new versions
2024-12-17 10:39:35 +00:00
Mish Ushakov
fc8086dcf5
Changed template ls command to sync with latest API changes ( #508 )
...
- Added createdBy, createdAt columns
- Hidden 'buildCount', 'lastSpawnedAt', 'spawnCount', 'updatedAt'
columns
- Sync API spec and ts schema to latest
---------
Co-authored-by: Mish Ushakov <mishushakov@users.noreply.github.com >
Co-authored-by: Jakub Novák <jakub@e2b.dev >
@e2b/cli@1.0.9
2024-12-17 11:35:20 +01:00
Vasek Mlejnsky
ff7cf4ecae
Update docs
2024-12-17 00:44:10 -08:00
Vasek Mlejnsky
53b1d30c2a
Update docs
2024-12-16 21:48:44 -08:00
Vasek Mlejnsky
a5fa60b58f
fix grammar
2024-12-16 19:08:41 -08:00
Vasek Mlejnsky
51d328fe67
Add docs about persistence
2024-12-16 19:03:24 -08:00
Mish Ushakov
c64e30a58d
Fixes the label in template section and toast opacity ( #498 )
...
Fixes: Visible > Public
Toast opacity to 100:
<img width="428" alt="Screenshot 2024-12-10 at 10 12 50"
src="https://github.com/user-attachments/assets/b6f303ad-c2d0-4fae-a9ff-d142b47493ca ">
---------
Co-authored-by: Mish Ushakov <mishushakov@users.noreply.github.com >
2024-12-16 22:38:25 +01:00
0div
724fbc63cc
remove WriteData type in python-sdk
2024-12-12 17:13:09 -08:00
0div
502c414ce4
remove WriteData type in js-sdk
2024-12-12 17:08:22 -08:00
0div
1708cc0609
Update apps/web/src/app/(docs)/docs/filesystem/upload/page.mdx
...
Co-authored-by: Vasek Mlejnsky <vasek@e2b.dev >
2024-12-12 16:11:52 -08:00
0div
d0fc09a0d4
Update apps/web/src/app/(docs)/docs/filesystem/upload/page.mdx
...
Co-authored-by: Vasek Mlejnsky <vasek@e2b.dev >
2024-12-12 16:10:21 -08:00
0div
e73ad23bb3
Update apps/web/src/app/(docs)/docs/filesystem/upload/page.mdx
...
Co-authored-by: Vasek Mlejnsky <vasek@e2b.dev >
2024-12-12 16:10:11 -08:00
0div
424baec371
Update apps/web/src/app/(docs)/docs/filesystem/upload/page.mdx
...
Co-authored-by: Vasek Mlejnsky <vasek@e2b.dev >
2024-12-12 16:10:02 -08:00
0div
d3b99fe7a6
Update apps/web/src/app/(docs)/docs/filesystem/upload/page.mdx
...
Co-authored-by: Vasek Mlejnsky <vasek@e2b.dev >
2024-12-12 16:09:53 -08:00
0div
e730810fdd
Update apps/web/src/app/(docs)/docs/filesystem/read-write/page.mdx
...
Co-authored-by: Vasek Mlejnsky <vasek@e2b.dev >
2024-12-12 16:08:14 -08:00
0div
b867fe4d6a
Update apps/web/src/app/(docs)/docs/filesystem/read-write/page.mdx
...
Co-authored-by: Vasek Mlejnsky <vasek@e2b.dev >
2024-12-12 16:07:53 -08:00
0div
0e2a684a2c
fix indentation in upload docs
2024-12-12 16:06:10 -08:00
0div
bbeeb044cc
upadte upload docs and improve read-write-docs
2024-12-12 15:58:15 -08:00
0div
741b32935a
add minor changeset
2024-12-12 15:25:07 -08:00
0div
93dc1f9d25
update docs
2024-12-12 15:21:16 -08:00
0div
4ca24147f6
fixed typing syntax and watch tests
2024-12-12 15:18:06 -08:00
0div
cf262aeb89
fix errors.ts comment
2024-12-12 14:55:17 -08:00
0div
97d0cc1ef5
merge main
2024-12-12 14:54:24 -08:00
0div
f02eeac2b9
Make stdout and stderr handle decode errors gracefully ( #505 )
...
# Description
The `sbx.commands.run` method can generate a `stdout` with badly encoded
`UTF-8` bytes, which can cause this kind of errors:
```py
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe2 in position 8191: unexpected end of data
```
see more here:
https://linear.app/e2b/issue/E2B-1291/unicodedecodeerror-in-python-sdk-when-using-curl-command
To address this we update the `decode` error handler to replace with the
unicode replacement char.
# Test
```sh
poetry run pytest -s -n 4 -k "tests/sync/sandbox_sync/commands/test_run"
```
2024-12-12 13:32:32 -08:00
0div
bff11dc02e
add the same fixes to python async
2024-12-11 17:29:46 -08:00
0div
3c525220d9
make stdout and stderr decode handle errors by replacing with unicode replacement char; add tests
2024-12-11 17:07:36 -08:00
Vasek Mlejnsky
a72b361597
Correct free disk space text ( #502 )
...
Corrects the text in docs regarding the free disks space
2024-12-11 08:49:00 -08:00
Vasek Mlejnsky
065d5c5172
Update free disk space text
2024-12-11 08:44:18 -08:00
never not exploring
5f022cc6de
Redirect to localhost instead of e2b.dev after sign in with oauth in dev environment ( #499 )
...
this pr fixes the following in a local development environment:
- supabase auth redirect after oauth sign in
- forgot password flow
this is accomplished by adding a new environment variable
`NEXT_PUBLIC_BASE_URL` which prevents checking something like
`process.env.NODE_ENV` and conditionally hardcoding the urls in the code
itself. this way, for potential changes to these values, we can utilise
this mechanic in other places where it may be required in the near
future without traversing the codebase manually.
i already set `NEXT_PUBLIC_BASE_URL` in the vercel production
environment to: `https://e2b.dev `
2024-12-10 19:01:18 +01:00
Ben Fornefeld
145a564669
improve: replace environment variable with document location origin
2024-12-10 18:55:56 +01:00