Commit Graph

4385 Commits

Author SHA1 Message Date
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
Vasek Mlejnsky f225f85f0c Merge branch 'main' into last-month-usage 2024-07-17 11:43:23 +02:00
Vasek Mlejnsky f9af6a867c Show usage for the current month 2024-07-17 11:42:52 +02:00
Jakub Novak 1119b4746c Fix pnpm lock file 2024-07-17 11:30:04 +02:00
Jakub Novák 7789ddc764 Merge reverse proxy and docs into one app (#402)
This will simplify the routing and rewrites, also it's easier to deploy
and there are no needs for weird hacks
2024-07-17 11:26:48 +02:00
Jakub Novak 981b3fc960 Rename docs to web 2024-07-17 11:25:55 +02:00
Jakub Novak 2ecb910c71 Use relative path 2024-07-17 11:23:32 +02:00
Jakub Novak c4e4dbe059 Fix sitemap attributes 2024-07-17 11:19:14 +02:00
Jakub Novak de87e563a1 Fix sitemap attributes 2024-07-17 11:15:11 +02:00
Jakub Novak c5a230cad4 Sort sitemap 2024-07-17 11:14:46 +02:00
Jakub Novak 7db61c231c Simplify 2024-07-17 11:05:52 +02:00
Jakub Novak 53d3fe66cf Merge into one app 2024-07-17 11:04:24 +02:00
Vasek Mlejnsky 6e62ad215d Fix docs links (#401)
The recent changes in our reverse proxy broke links in the docs because
the old docs link didn't need to have the /docs prefix. Now they do.
2024-07-17 09:44:27 +02:00
Jakub Novak 41476d0447 Rework assets url rewriting 2024-07-17 09:35:13 +02:00