Commit Graph

3648 Commits

Author SHA1 Message Date
Tomas Valenta 86bbb7e7dd Fix the CI custom template guide 2024-07-22 16:09:59 +02:00
Tomas Valenta 9510a6f28f Add table of content 2024-07-22 15:56:20 +02:00
Tomas Valenta c1cae40083 Clarify template param 2024-07-22 14:38:35 +02:00
Tomas Valenta 2ab0e99318 Fix placeholder paths 2024-07-22 14:36:54 +02:00
Tomas Valenta 2c54a15fd0 Fix text style 2024-07-22 14:35:36 +02:00
Tomas Valenta a9c0fbc63e Comment out before code in examples 2024-07-22 14:20:59 +02:00
Tomas Valenta a41cd9398d Add first version of migration guide 2024-07-22 13:56:50 +02:00
Jakub Novak e0b2a4b305 Don't repeat the timeout test 2024-07-21 09:14:51 +02:00
Jakub Novak 99cc090063 Change isRunning logic 2024-07-19 16:23:45 +02:00
Jakub Novak a3adcfb05f Handle edge case when response error is string 2024-07-19 16:23:45 +02:00
Tomas Valenta f14bb764e9 Add beta migration guide outline 2024-07-19 12:54:13 +02:00
Vasek Mlejnsky c9315253ce Add fallback to GitHub stars number 2024-07-19 10:46:00 +02:00
Vasek Mlejnsky 8a30b7c63d Merge branch 'main' of https://github.com/e2b-dev/E2B 2024-07-19 10:36:27 +02:00
Vasek Mlejnsky 767eb2f52b Update GitHub stars links 2024-07-19 10:36:13 +02:00
Vasek Mlejnsky 5e3169f236 Update PostHog package and fix the api_host (#407)
- Update PostHog JS SDK to the latest version
- Fix the `api_host` field when initializing the PostHog SDK
2024-07-19 10:20:31 +02:00
Vasek Mlejnsky 4eb0ffb2c9 Remove comment 2024-07-19 10:02:45 +02:00
Vasek Mlejnsky 7592f161b1 Commit pnpm-lock file 2024-07-19 10:02:08 +02:00
Vasek Mlejnsky 2a19c2dcb3 Update posthog package and fix the api_host 2024-07-19 10:00:15 +02:00
Tomas Valenta 7bc3750cc8 Use Buffer.from() when writing a file (#406)
Recreated PR from @ggorlen (https://github.com/e2b-dev/E2B/pull/360)
after bigger changes on `main`.

Running the JS [file download
snippet](https://e2b.dev/docs/sandbox/api/download#use-case-for-downloading-files)
in Node 20 gave me:
```
Uncaught:
TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received an instance of ArrayBuffer
```
on `writeFileSync`.

But using
[Buffer.from(buffer)](https://stackoverflow.com/a/46779188/6243352)
fixed the issue and wrote the CSV file successfully. I haven't tested
this extensively since I'm working with a remote client who's using the
library on his end, so more validation that this change makes sense
would be good before merging (this may be specific to our text file use
case).
2024-07-18 09:07:34 -07:00
Tomas Valenta 74d5181968 Merge branch 'main' into fix-example 2024-07-18 18:07:07 +02:00
Tomas Valenta 60da9d674f Update example fix 2024-07-18 18:01:21 +02:00
Jakub Novak 2d37df4abb Clean up unused timeouts 2024-07-18 17:38:29 +02:00
Jakub Novak 2b3aa5d52b Uncomment is running tests 2024-07-18 17:30:19 +02:00
Jakub Novak fc1ae545fd Return boolean for is_running (return False if sandbox isn't running anymore) 2024-07-18 15:06:37 +02:00
Jakub Novak fd50e0a4c8 Catch timeout errors in is_running 2024-07-18 15:05:43 +02:00
Jakub Novák 92dbe1f72a Web UI improvements (#405)
- Share header between docs, dashboard and auth
- Move auth to separate path
- Update next to v14
2024-07-18 13:47:50 +02:00
Jakub Novak 8b19ee3c8a Show mobile search only in docs 2024-07-18 13:47:39 +02:00
Jakub Novak b670c6e2f5 Remove docs from metadata 2024-07-18 13:44:22 +02:00
Jakub Novak 25e9c1f589 Add top padding for auth 2024-07-18 13:38:20 +02:00
Jakub Novak 1de9020b3f Update next to v14 2024-07-18 13:29:18 +02:00
Jakub Novak b580dcb884 Add use client 2024-07-18 13:16:19 +02:00
Jakub Novak e4f5cfce59 Move header to common header 2024-07-18 13:16:19 +02:00
Jakub Novak a2e6ae68c0 Move auth 2024-07-18 13:16:19 +02:00
Jakub Novak c0fd0b7ed2 Add suspense 2024-07-18 13:16:19 +02:00
Jakub Novak d2a79a0e01 Refactor docs and dashboard layouts into one 2024-07-18 13:16:19 +02:00
Jakub Novak be7d6c36fa Fix lint problems 2024-07-18 13:16:19 +02:00
Jakub Novak 56cf34529c Move providers to top level 2024-07-18 13:16:19 +02:00
Jakub Novak 39e946295f Fix active group and page 2024-07-18 13:16:19 +02:00
Jakub Novak a45a31ab9a Setup loading for team members 2024-07-18 13:16:19 +02:00
Jakub Novak 7731ef586e Remove reverse-proxy reference 2024-07-18 10:30:54 +02:00
Jakub Novak 260ab1dbed Fix wrong file reference to old docs folder 2024-07-18 10:30:07 +02:00
Jakub Novák 6be68fae67 Fix links from apps/doc to apps/web (#404)
Corrected documentation links in the README.md for "Documentation" and
utils/const.ts.

Review Required for `pnpm run dev:docs`: The dev:docs script in
package.json currently links to apps/docs and cannot be run locally
unless it is changed to apps/web.

Didn't want to change the package.json right away, thought i'd let you
know about this first instead.
2024-07-18 10:28:39 +02:00
Sreedhar Shreyas 03b2a65367 Fix links from apps/doc to apps/web 2024-07-17 11:08:29 -04:00
Jakub Novak 165f569607 Fix search results 2024-07-17 16:11:28 +02:00
Jakub Novák 16ad48b24e Add last month usage (#403)
This PR adds labels above usage charts with the current month usage
![Screenshot 2024-07-17 at 11 58
29 AM](https://github.com/user-attachments/assets/14ff49e1-3a29-4338-943c-ca330ffc9857)
2024-07-17 12:36:49 +02:00
Jakub Novak 33d6bb435f Fix checks 2024-07-17 12:35:41 +02:00
Jakub Novak c85c8c6e4d Add types 2024-07-17 12:30:36 +02:00
Jakub Novak b62373b1f8 Fix root redirects 2024-07-17 11:58:36 +02:00
Vasek Mlejnsky cb93aa1faa Remove unused type 2024-07-17 11:55:00 +02:00
Vasek Mlejnsky 3c6d578a14 Remove unused type 2024-07-17 11:49:02 +02:00