jelveh
ba6ea233ad
Update style.css
2025-12-06 17:18:10 -08:00
jelveh
19c96e9797
Update style.css
2025-12-06 17:14:26 -08:00
Nariman Jelveh and GitHub
ed509ad286
Dashboard ( #2104 )
...
* Add dashboard UI and routing support
Introduces a new Dashboard UI component with sidebar navigation and user options. Updates backend routing to redirect /dashboard to the root path. Integrates dashboard mode detection and initialization in the GUI, including responsive styles and logic to open the dashboard or desktop as appropriate.
* Improve dashboard user menu and UI behavior
Added support for multiple logged-in users, session saving for temporary users, and improved context menu options in the dashboard. Updated CSS for user button state and adjusted font size for signup terms. Changed dashboard initialization to use UIDashboard instead of UIWindow.
* Add dynamic apps section to dashboard UI
* Add specific class for dashboard apps section
* Refactor dashboard tabs into modular components
* Update style.css
* Add Developers menu and improve signup window behavior
Added a 'Developers' menu item to the dashboard linking to developer.puter.com. Updated login and signup window logic to ensure the signup window opens centered and dominant, improving user experience when transitioning from login to signup.
* Update UIWindowLogin.js
* Refactor apps tab UI and improve app card interaction
2025-12-06 17:06:20 -08:00
KernelDeimos
277ee6ca5a
rename: requestPermission -> request
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
release-please / release-please (push) Has been cancelled
test / test-backend (20.x) (push) Has been cancelled
test / test-backend (22.x) (push) Has been cancelled
test / API tests (node env, api-test) (22.x) (push) Has been cancelled
test / puterjs (node env, vitest) (22.x) (push) Has been cancelled
2025-12-05 13:06:29 -05:00
Daniel Salazar and GitHub
ebeaf33412
npm: publish new readme ( #2098 )
...
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
release-please / release-please (push) Has been cancelled
test / test-backend (20.x) (push) Has been cancelled
test / test-backend (22.x) (push) Has been cancelled
test / API tests (node env, api-test) (22.x) (push) Has been cancelled
test / puterjs (node env, vitest) (22.x) (push) Has been cancelled
* fix: togetherAi metering
* npm: publish new readme
* Revert "fix: togetherAi metering"
This reverts commit 2b3eb76d90 .
2025-12-05 03:04:59 -08:00
KernelDeimos
2db3331729
tweak: add puter.perms.requestPermission
...
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
release-please / release-please (push) Has been cancelled
test / test-backend (20.x) (push) Has been cancelled
test / test-backend (22.x) (push) Has been cancelled
test / API tests (node env, api-test) (22.x) (push) Has been cancelled
test / puterjs (node env, vitest) (22.x) (push) Has been cancelled
It calls requestPermission on the UI module. The method on the UI model
needs to still exist because the UI module is tightly-coupled with IPC.
A refactor of the IPC mechanism on the puter.js side could solve this.
2025-12-04 19:50:38 -05:00
KernelDeimos
237dc2ef9a
fix: get subdomains permission working
2025-12-04 19:50:38 -05:00
KernelDeimos
349438458a
dev: add user-friendly permission requests for apps/subdomains
2025-12-04 19:50:38 -05:00
KernelDeimos
bee780cc69
dev: i12ize permission messages (no translations)
2025-12-04 19:45:22 -05:00
KernelDeimos
56301281d7
dev: ensure proper encoding in dialog
2025-12-04 19:45:22 -05:00
KernelDeimos
d9875a5be5
dev: puter.perms methods to request directories
...
This commit adds methods to request standard directories like the
Desktop, Documents, Pictures, or Videos directory. Additionally, the
message displayed when permission for these directories is requested is
easier to read.
2025-12-04 19:45:22 -05:00
Nariman Jelveh and GitHub
66786a0015
Update Node.js section header in README.md ( #2095 )
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
release-please / release-please (push) Has been cancelled
test / test-backend (20.x) (push) Has been cancelled
test / test-backend (22.x) (push) Has been cancelled
test / API tests (node env, api-test) (22.x) (push) Has been cancelled
test / puterjs (node env, vitest) (22.x) (push) Has been cancelled
2025-12-04 11:26:01 -08:00
KernelDeimos
09b8c29e2f
tweak: avoid use of puter global in Perms module
2025-12-04 13:26:22 -05:00
KernelDeimos
ef6dea2bec
fix: skip cache when checking user:<>:email:read
2025-12-04 13:26:22 -05:00
KernelDeimos
3d7cf1c1c4
dev: add await puter.perms.requestEmail() shorthand
2025-12-04 13:26:22 -05:00
KernelDeimos
1c9ed12044
dev: add permission dialog message for email:read
2025-12-04 13:26:22 -05:00
KernelDeimos
3ea309e93b
fix: requestPermission Promise never settled
...
This bug took a long time to diagnose, so I also made an async/await
wrapper around #postMessageWithCallback called #postMessageAsync so that
similar promise resolving errors are less likely here in the future.
2025-12-04 13:26:22 -05:00
Neal Shah and GitHub
a202e57480
Add flux.2 costmaps ( #2092 )
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
release-please / release-please (push) Has been cancelled
test / test-backend (20.x) (push) Has been cancelled
test / test-backend (22.x) (push) Has been cancelled
test / API tests (node env, api-test) (22.x) (push) Has been cancelled
test / puterjs (node env, vitest) (22.x) (push) Has been cancelled
2025-12-03 11:39:02 -05:00
Daniel Salazar and GitHub
6419d57d84
types: fix puter-js type exports ( #2090 )
...
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
release-please / release-please (push) Has been cancelled
test / test-backend (20.x) (push) Has been cancelled
test / test-backend (22.x) (push) Has been cancelled
test / API tests (node env, api-test) (22.x) (push) Has been cancelled
test / puterjs (node env, vitest) (22.x) (push) Has been cancelled
* chore: add typedefs for puter.js
* types: fix puter-js type exports
2025-12-02 21:36:46 -08:00
KernelDeimos
71e6a59d13
dev: add __import_identity__ to config for debug use
...
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
release-please / release-please (push) Has been cancelled
test / test-backend (20.x) (push) Has been cancelled
test / test-backend (22.x) (push) Has been cancelled
test / API tests (node env, api-test) (22.x) (push) Has been cancelled
test / puterjs (node env, vitest) (22.x) (push) Has been cancelled
The vitest test suite can import different states of the same module, so
this value was very helpful in determining that this was happening and
eventually the cause.
2025-12-02 16:54:27 -05:00
KernelDeimos
06d56fd711
fix: update validation for permission endpoints
...
Permission endpoints would trigger 500 errors in cases where the request
did not have correct types for values in the request body. This migrates
all of these endpoints to use the new `validate_fields` function, which
is intended to make validation of fields clearer and more consistent.
2025-12-02 16:53:48 -05:00
KernelDeimos
e5ac7af52d
dev: add utility for field validation
2025-12-02 16:53:48 -05:00
KernelDeimos
11a18078be
fix: improve response error handling in Perms module
2025-12-02 16:53:48 -05:00
Neal Shah and GitHub
66d9344407
Fix turnstile auth ( #2087 )
...
* attempt to fix turnstile auth
2025-12-02 16:25:18 -05:00
Daniel Salazar and GitHub
34134a2e35
chore: add typedefs for puter.js ( #2086 )
2025-12-02 13:04:26 -08:00
Daniel Salazar and GitHub
cce2c4ac27
fix: stricten undef checks ( #2082 )
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
release-please / release-please (push) Has been cancelled
test / test-backend (20.x) (push) Has been cancelled
test / test-backend (22.x) (push) Has been cancelled
test / API tests (node env, api-test) (22.x) (push) Has been cancelled
test / puterjs (node env, vitest) (22.x) (push) Has been cancelled
2025-12-01 20:26:33 -08:00
Daniel Salazar and GitHub
d3beac0518
fix: wrong order for telemetery init ( #2078 )
2025-12-01 20:18:03 -08:00
Daniel Salazar and GitHub
3c579dcc0d
fix: TelemetryService ( #2077 )
2025-12-01 18:11:56 -08:00
KernelDeimos
b42a106676
dev(perms): [+] apps-of-user:<user-uuid>:write
...
This commit also adds a new check to verify that the app which owns the
entity being edited matches. Previously this was not necessary because a
read on the same entity would have always performed the same check and
caused this operation to stop early. (now that an app may have
permission to read entities created by other apps, this is no longer the
case.)
2025-12-01 17:14:41 -05:00
KernelDeimos
a71fa826b3
dev(perms): [+] apps-of-user:<user-uuid>:read
2025-12-01 17:14:41 -05:00
KernelDeimos
cf9a867190
fix: inaccurate error on update of non-existing
...
...entity (app, subdomain, etc). When trying to update some non-existing
entity the error message can state that an entity with a particular UID
was not found even if a UID wasn't specified. The UID reported will in
fact be a randomly generated UID because of how default properties work
in entities. This fix makes the error message more specific about which
identifier was used when an entity was not found. This is accomplished
by printing the predicate in a human-readable format.
2025-12-01 17:14:41 -05:00
Daniel Salazar and GitHub
405e02cf9c
test: claudeService ( #2074 )
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
release-please / release-please (push) Has been cancelled
test / test-backend (20.x) (push) Has been cancelled
test / test-backend (22.x) (push) Has been cancelled
test / API tests (node env, api-test) (22.x) (push) Has been cancelled
test / puterjs (node env, vitest) (22.x) (push) Has been cancelled
2025-12-01 13:39:55 -08:00
Daniel Salazar and GitHub
c77272012d
ci: add test coverage ( #2073 )
...
* ci: add test coverage
* ci: add test coverage
2025-12-01 08:56:44 -08:00
Daniel Salazar and GitHub
d978c37e0b
ci: package and docker fixes ( #2072 )
...
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
release-please / release-please (push) Has been cancelled
test / test-backend (20.x) (push) Has been cancelled
test / test-backend (22.x) (push) Has been cancelled
test / API tests (node env, api-test) (22.x) (push) Has been cancelled
test / puterjs (node env, vitest) (22.x) (push) Has been cancelled
* ci: package and docker fixes
* ci: fix package conflicts
2025-12-01 02:10:36 -08:00
Daniel Salazar and GitHub
0568b64821
ci: fix docker again ( #2071 )
2025-12-01 01:47:00 -08:00
Daniel Salazar and GitHub
cc5be578bf
ci: cleanup docker build ( #2070 )
2025-12-01 01:25:08 -08:00
Daniel Salazar and GitHub
45fb5c32b1
chore: various test related changes ( #2069 )
...
* fix: backend tests breaking with permision
* test: cleanup running tests
* chore: config.d.ts
2025-12-01 01:14:44 -08:00
Neal Shah and GitHub
596f77d888
Working main 2025 11 29 ( #2068 )
...
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
release-please / release-please (push) Has been cancelled
test / test-backend (20.x) (push) Has been cancelled
test / test-backend (22.x) (push) Has been cancelled
test / backend (node env, api-test) (22.x) (push) Has been cancelled
test / puterjs (browser env, playwright) (22.x) (push) Has been cancelled
test / puterjs (node env, vitest) (22.x) (push) Has been cancelled
* add logging hook to togetherai image service
* add gemini-3-pro-image to costmap
2025-11-30 11:39:34 -05:00
Daniel Salazar and GitHub
cea94d16cb
fix: backend tests breaking with permision ( #2067 )
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
release-please / release-please (push) Has been cancelled
test / test-backend (20.x) (push) Has been cancelled
test / test-backend (22.x) (push) Has been cancelled
test / backend (node env, api-test) (22.x) (push) Has been cancelled
test / puterjs (browser env, playwright) (22.x) (push) Has been cancelled
test / puterjs (node env, vitest) (22.x) (push) Has been cancelled
2025-11-29 13:50:27 -08:00
Daniel Salazar and GitHub
e8f00e1121
fix: typo in dbkvStore ( #2066 )
2025-11-29 13:18:37 -08:00
Daniel Salazar and GitHub
dccfa8085e
chore: some type and eslint fixes for tests ( #2065 )
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
release-please / release-please (push) Has been cancelled
test / test (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled
test / backend (node env, api-test) (22.x) (push) Has been cancelled
test / puterjs (browser env, playwright) (22.x) (push) Has been cancelled
test / puterjs (node env, vitest) (22.x) (push) Has been cancelled
2025-11-28 23:38:04 -08:00
Neal Shah and GitHub
f99c78e4d3
Email read permission for whoami ( #2064 )
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
release-please / release-please (push) Has been cancelled
test / test (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled
test / backend (node env, api-test) (22.x) (push) Has been cancelled
test / puterjs (browser env, playwright) (22.x) (push) Has been cancelled
test / puterjs (node env, vitest) (22.x) (push) Has been cancelled
2025-11-28 17:34:26 -05:00
Daniel Salazar and GitHub
f6fa17a575
feat: KV testing ( #2061 )
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
release-please / release-please (push) Has been cancelled
test / test (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled
test / backend (node env, api-test) (22.x) (push) Has been cancelled
test / puterjs (browser env, playwright) (22.x) (push) Has been cancelled
test / puterjs (node env, vitest) (22.x) (push) Has been cancelled
2025-11-27 18:45:49 -08:00
KernelDeimos
c4e380c140
test: add tests for services in CoreModule
2025-11-27 15:15:56 -05:00
Daniel Salazar and GitHub
f120bc9c58
fix: metering service alerts + missing claude costs ( #2058 )
...
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
release-please / release-please (push) Has been cancelled
test / test (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled
test / backend (node env, api-test) (22.x) (push) Has been cancelled
test / puterjs (browser env, playwright) (22.x) (push) Has been cancelled
test / puterjs (node env, vitest) (22.x) (push) Has been cancelled
* fix: missing haiku costs, updating opus 4.5 id to match documentation
* fix: improve alert logic for metering service misses
2025-11-27 11:45:56 -08:00
jelveh
c6af50ea98
Update claudeCostMap.ts
2025-11-27 09:08:14 -08:00
KernelDeimos
8e2ed18fb3
refactor: introduce TestCoreModule for test kernel
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
release-please / release-please (push) Has been cancelled
test / test (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled
test / backend (node env, api-test) (22.x) (push) Has been cancelled
test / puterjs (browser env, playwright) (22.x) (push) Has been cancelled
test / puterjs (node env, vitest) (22.x) (push) Has been cancelled
2025-11-26 18:58:34 -05:00
Daniel Salazar and GitHub
59e6418b00
feat: meteringService test suite ( #2052 )
2025-11-26 15:46:53 -08:00
Neal Shah and GitHub
6dffa3d6f2
Worker + NodeJS support for puter.ai.txt2img and puter.ai.txt2vid ( #2051 )
...
* Attempt to get workers working with AI media generation
* add FileReader polyfill
* fix import path
2025-11-26 18:10:11 -05:00
Daniel Salazar and GitHub
93eddd2238
feat: MeteringService test fixes for now ( #2050 )
2025-11-26 15:09:30 -08:00