Commit Graph

4022 Commits

Author SHA1 Message Date
Deepam Goyal 3f746b94de feat(i18n): add missing Hindi translations (#1525) (#1534) 2025-09-10 09:33:03 -07:00
jelveh 7ff5786038 add missing keys and placeholders to i18n
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 (18.x) (push) Has been cancelled
test / test (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled
2025-09-09 20:27:58 -07:00
KernelDeimos eb6c23dd83 sync: package-lock.json
Previous commit to do this contained accidental other changes that I
staged and forgot about. This commit really only contains the sync for
package-json. This was broken for a while - since when we did work on
AWS secrets manager.
2025-09-09 22:37:36 -04:00
KernelDeimos 5a66bdeb20 Revert "sync: package-lock.json"
This reverts commit 281d9ebaae.
2025-09-09 22:37:12 -04:00
KernelDeimos 281d9ebaae sync: package-lock.json
This got out of sync after the AWSSecretsPopulator commit, I think.
2025-09-09 22:31:01 -04:00
Nariman Jelveh bb6bcd05c2 Remove unnecessary comment from some i18n files 2025-09-09 19:01:53 -07:00
Tarun saini fb04c55216 feat(UI): Differentiate tablet UI based on pointer capabilities (#1482)
* feat: Differentiate tablets by pointer type

Reclassifies tablets with a mouse/trackpad to use the desktop UI.

This is detected by checking for `(hover: hover)` media query capabilities. This ensures that touch-only tablets retain their original, touch-friendly mobile UI while fixing the bug for users with pointer devices.

* Make sure `matchMedia` exists before using it

---------

Co-authored-by: Nariman Jelveh <nj@puter.com>
2025-09-09 18:58:04 -07:00
Nariman Jelveh c59dbcfaa2 Revert "Refactor GeminiService for modularity, error handling, and readabilit…" (#1496)
This reverts commit 318ecb9f49.
2025-09-09 18:00:43 -07:00
Imroz 318ecb9f49 Refactor GeminiService for modularity, error handling, and readability (#1438) 2025-09-09 18:00:29 -07:00
Xiaochen Cui 046e905857 captcha: complete the docs (#1494) 2025-09-09 17:49:38 -07:00
KernelDeimos d198e26629 fix: oops, it's not puter.config here
abuse.js is not an extension, but I was treating it like an extension.
2025-09-09 19:09:39 -04:00
KernelDeimos 2ba6152c70 dev: add stack trace for database in jaegar
When using opentelemetry to analyze the system with jaegar, I found this
additional information helpful.
2025-09-09 19:05:33 -04:00
KernelDeimos 7d4c7bae20 dev: improve error message in UIDesktop
This error message in UIDesktop caused me confusion earlier because it
didn't provide any indication of where the error came from. This commit
adds a string behind the error to specify that it happened while trying
to launch an app.
2025-09-09 19:04:44 -04:00
KernelDeimos 6120515300 dev: allow passing JWT options to create_access_token 2025-09-09 19:04:12 -04:00
KernelDeimos 2954b6225b fix: add undefined check for gui metadata
This commit adds an undefined check for metadata from Puter's desktop
GUI inside a filesystem operation frame; this information won't always
be available.
2025-09-09 19:03:01 -04:00
KernelDeimos 8e6fba9e66 dev: options to disable undesirable checks in dev
Allows disabling abuse checks undefined origin checks with config
parameters to make development more convenient. The approach before this
change has been to manually comment out these lines of code.
2025-09-09 19:01:27 -04:00
KernelDeimos a4d1855b70 fix: add missing file
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 (18.x) (push) Has been cancelled
test / test (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled
File missing from previous commit
2025-09-09 15:42:00 -04:00
KernelDeimos 34501e34b7 dev(kernel): make extension variable more global-like
The extension pseudo-global was only available at the root synchronous
execution context of a module loaded as an extension, which meant it
wasn't available for such things as handler functions for listeners even
though it looks like it should be lexically scoped.

This commit writes a `const` to the top of javascript files in the
runtime copy of an extension so that it works as nearly to a real global
as possible.

A real global isn't possible here for two reasons. First, running in the
same v8 VM as Puter means we can't have distinct global objects with the
same name across different extensions. Second, we can't use node:vm
because we would then be unable to support ES modules, which are
experimental in node:vm and also there's no equivalent to createRequire
for the linker even if we wanted to require the
--experimental-vm-modules flag in our package.json. This seems to be the
best we can do given the state of affairs of the runtime.
2025-09-09 15:37:22 -04:00
KernelDeimos 8c2e459f3c fix: third times the charm 2025-09-09 13:44:53 -04:00
KernelDeimos b44278197e dry: query parameter makes more sense for /healthcheck 2025-09-09 13:32:08 -04:00
KernelDeimos 8242ade01b mon: add alternative to /healthcheck
Some monitoring services want a system to look like it's failing hard
instead of a system being able to report that it's failing successfully.
This commit adds an alternative to healthcheck that throws 500 when any
service is failing, as though reporting such depended on the services
working, to appease these monitoring services and their semantically
incorrect nature of operation.

This commit message sets the precedent for "mon:" as a conventional
commit style prefix for changes related to system health and monitoring.
2025-09-09 13:14:11 -04:00
KernelDeimos 48982cac84 perf(kernel): parallelize extension installation
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 (18.x) (push) Has been cancelled
test / test (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled
This optimization speends up load time for Puter significantly when many
extensions are present. This is also necessary for subsequent changes
which may require prepending code to all the source files inside an
extension, which would be too slow without this optimization.
2025-09-09 03:25:04 -04:00
KernelDeimos 6919974d66 dev: minlog is off by default for Archlinux
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 (18.x) (push) Has been cancelled
test / test (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled
We can assume Arch users are comfortable with making configuration
changes and observing high volume log output (maybe not true for
alternative distributions of arch, but for base Arch absolutely) so it
probably makes sense to have the log minimizer off for these cases.
2025-09-08 21:37:46 -04:00
Nariman Jelveh c2bd222532 Create BUG-BOUNTY.md (#1483)
* Create BUG-BOUNTY.md

* Update BUG-BOUNTY.md
2025-09-08 18:38:40 -07:00
Zac0511 6904017183 Update fr.js (#1493)
Added missing translations from latest updates
2025-09-08 14:43:20 -07:00
ProgrammerIn-wonderland 72e66da8a1 fix: webdav MOVE/COPY escaping bug
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 (18.x) (push) Has been cancelled
test / test (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled
2025-09-08 11:45:51 -04:00
Nariman Jelveh bd818d86be Revert "Fix mac setup bug (#1449)" (#1492)
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 (18.x) (push) Has been cancelled
test / test (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled
This reverts commit dfcf234d47.
2025-09-07 16:08:40 -07:00
Pranav Agone dfcf234d47 Fix mac setup bug (#1449)
* fix(desktop): prevent horizontal scrolling by constraining window drag #710

* docs: Force add config.example.json for Mac Docker setup (#1427)

---------

Co-authored-by: Pranav Agone <pranavagone@Pranavs-MacBook-Air.local>
2025-09-07 16:08:21 -07:00
Vara Rahul Rajana cddfa0ca11 fix(gui): prevent background apps from stealing focus (#1491)
* fix(gui): prevent background apps from stealing focus

* remove the `background` option as it's not really needed or used in other parts

---------

Co-authored-by: Nariman Jelveh <nj@puter.com>
2025-09-07 15:44:32 -07:00
Nariman Jelveh d324814e06 Update AI.js
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 (18.x) (push) Has been cancelled
test / test (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled
2025-09-07 13:15:00 -07:00
Nariman Jelveh 47012a67ab Update UIWindowPublishWebsite.js
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 (18.x) (push) Has been cancelled
test / test (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled
2025-09-05 17:33:38 -07:00
ProgrammerIn-wonderland ecff560480 fix: Use APIErrror.create in place of newAPIError 2025-09-05 20:26:39 -04:00
Hariz 4a0de7b2fc Reduce bottom bound on dragging UIItems (#1485) 2025-09-05 17:17:22 -07:00
ProgrammerIn-wonderland ba2609be28 fix: APIErrors in entri service 2025-09-05 20:14:25 -04:00
ProgrammerIn-wonderland 7e0b8c66c4 fix: use correct API error in entri-service 2025-09-05 19:10:40 -04:00
ProgrammerIn-wonderland 7082059fa4 dev: Add deleteMapping to entri service, add extra validation for getConfig 2025-09-05 19:03:04 -04:00
ProgrammerIn-wonderland 35c66f7d42 webdav range support and URI encode fixes 2025-09-05 18:18:03 -04:00
KernelDeimos e6eff9940d dev(backend): emit rename through EventService
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 (18.x) (push) Has been cancelled
test / test (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled
While previously the /rename endpoint sent only a websocket message to
the client, move didn't fire a rename event if the name of the file had
changed. This commit adds a more generalized rename event that can be
reliably used to update a UI whenever the name of a file changes.
2025-09-05 12:57:38 -04:00
KernelDeimos 994233aa0a clean: remove a couple of verbose logs 2025-09-05 12:57:38 -04:00
Hariz 85451447c4 Fix buggy arrow key navigation in start menu (#1477)
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 (18.x) (push) Has been cancelled
test / test (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled
* Fix buggy arrow key navigation in start menu

* More fixes for start menu keyboard navigation

* Fix issue with start menu searchbar focus

* Rewritten start menu keyboard navigation
2025-09-05 00:19:23 -07:00
Nariman Jelveh bf9be900cc Update UIItem.js
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 (18.x) (push) Has been cancelled
test / test (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled
2025-09-04 19:38:02 -07:00
Nariman Jelveh a68f0edc41 Don't allow items to be dragged out of the viewport 2025-09-04 19:36:03 -07:00
Nariman Jelveh 55c173c0b7 surgically accurate item name editor sizing 2025-09-04 12:36:30 -07:00
Neal Shah 628459209c fix: puter workers url 🐛 (#1480)
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 (18.x) (push) Has been cancelled
test / test (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled
* fix: puter workers url 🐛

---------

Co-authored-by: Daniel Salazar <daniel.salazar@puter.com>
2025-09-03 12:41:01 -04:00
Nariman Jelveh 222117c39a Revert "docs: Add documentation for Entity Storage internals (#1478)" (#1479)
This reverts commit 6ef404aa54.
2025-09-03 08:13:01 -07:00
Tarun saini 6ef404aa54 docs: Add documentation for Entity Storage internals (#1478) 2025-09-03 08:12:37 -07:00
jelveh ea056aa9f3 Update OpenAICompletionService.js
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 (18.x) (push) Has been cancelled
test / test (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled
2025-08-31 09:06:38 -07:00
jelveh 3f3895b0b4 Update AI.js
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 (18.x) (push) Has been cancelled
test / test (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled
2025-08-30 00:07:09 -07:00
Nariman Jelveh 99ee3279c3 Update AI.js 2025-08-29 18:31:13 -07:00
ProgrammerIn-wonderland 23b65eee49 Disable AWSSecretsPopulator 2025-08-29 20:38:42 -04:00