Commit Graph

4696 Commits

Author SHA1 Message Date
jelveh
31460fc70b Update home tab label and card backgrounds 2025-12-07 01:14:32 -08:00
jelveh
94b2af9d88 Update welcome card UI for lighter theme 2025-12-07 00:49:09 -08:00
jelveh
afc21a9903 Add user avatar to home tab welcome section 2025-12-07 00:27:16 -08:00
KernelDeimos
b92dcc8146 chore: associate googlemail with gmail rules 2025-12-07 02:11:29 -05:00
jelveh
6f24176ea3 Add external link support for recent apps 2025-12-06 21:54:59 -08:00
jelveh
dc2f4953eb Fix recent app title display logic in TabHome (jesus take the wheel!) 2025-12-06 21:41:18 -08:00
jelveh
08599efd78 Adjust recent apps display and update dashboard styles 2025-12-06 21:31:46 -08:00
jelveh
c45c40c304 Update style.css 2025-12-06 21:21:11 -08:00
jelveh
1e7f815946 Improve recent apps display and style in TabHome 2025-12-06 20:57:05 -08:00
jelveh
ba1855cff6 Add usage card to dashboard home tab 2025-12-06 20:32:00 -08:00
jelveh
c2bcd3092d Add Home tab with bento dashboard layout 2025-12-06 19:40:07 -08:00
jelveh
622f53468b Adjust dashboard icons and app card styles 2025-12-06 19:13:47 -08:00
jelveh
7f7ab1957f Add Usage tab to dashboard with sortable usage table 2025-12-06 18:26:58 -08:00
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
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 2025-12-05 13:06:29 -05:00
Daniel Salazar
ebeaf33412 npm: publish new readme (#2098)
* 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
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
66786a0015 Update Node.js section header in README.md (#2095) 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
a202e57480 Add flux.2 costmaps (#2092) 2025-12-03 11:39:02 -05:00
Daniel Salazar
6419d57d84 types: fix puter-js type exports (#2090)
* 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
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
66d9344407 Fix turnstile auth (#2087)
* attempt to fix turnstile auth
2025-12-02 16:25:18 -05:00
Daniel Salazar
34134a2e35 chore: add typedefs for puter.js (#2086) 2025-12-02 13:04:26 -08:00
Daniel Salazar
cce2c4ac27 fix: stricten undef checks (#2082) 2025-12-01 20:26:33 -08:00
Daniel Salazar
d3beac0518 fix: wrong order for telemetery init (#2078) 2025-12-01 20:18:03 -08:00
Daniel Salazar
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
405e02cf9c test: claudeService (#2074) 2025-12-01 13:39:55 -08:00
Daniel Salazar
c77272012d ci: add test coverage (#2073)
* ci: add test coverage

* ci: add test coverage
2025-12-01 08:56:44 -08:00
Daniel Salazar
d978c37e0b ci: package and docker fixes (#2072)
* ci: package and docker fixes

* ci: fix package conflicts
2025-12-01 02:10:36 -08:00
Daniel Salazar
0568b64821 ci: fix docker again (#2071) 2025-12-01 01:47:00 -08:00
Daniel Salazar
cc5be578bf ci: cleanup docker build (#2070) 2025-12-01 01:25:08 -08:00
Daniel Salazar
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