Commit Graph
3793 Commits
Author SHA1 Message Date
Rohan Rawat 0f91503eb5 docs: added utils.js build script documentation (#1402) 2025-07-31 12:22:52 -07:00
Neal Shah 81ecb13370 Support a few more incoming and global objects in workers (#1401)
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
* no more global puter object in workers

* also support my as a global in workers

* support incoming user object in workers

* also support myself in puter workers
2025-07-30 19:39:34 -07:00
ProgrammerIn-wonderland 8e58fabb71 improve error handling, user specific worker limit
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-07-30 15:43:16 -07:00
ProgrammerIn-wonderland 299e7b6e10 Make puter.workers.get() return more info 2025-07-30 12:21:24 -07:00
ProgrammerIn-wonderland 3e2e42fa53 Add coersion to JSON response in workers 2025-07-30 12:21:24 -07:00
ProgrammerIn-wonderland 616ddf8467 Supoport multiple domains to one worker 2025-07-30 11:53:03 -07:00
ProgrammerIn-wonderland d5f0137c0a Make worker names global && return improve error handling for APIError 2025-07-30 11:53:03 -07:00
XiaochenCui 85a0f71bfd hotfix: emit the missing event, fix check condition
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-07-30 10:25:13 -07:00
Neal Shah 3016eb6363 ask user for auth if no token (#1389)
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-07-29 20:45:40 -07:00
Neal Shah 402c407f81 Allow - in worker name
Sent from my iPhone
2025-07-29 20:03:13 -07:00
ProgrammerIn-wonderland a2126d5dd6 worker global s2w -> router 2025-07-29 22:03:58 -04:00
Karan Singhandjelveh a15fdd0b6d dev: Replaced human-readable text with i18n keys (#1382)
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
* dev: Replaced human-readable text with i18n keys

* Add two missing keys in UIDesktop.js

* more i18n keys!

* add more keys

* Update UIWindow.js

---------

Co-authored-by: jelveh <nj@puter.com>
2025-07-29 17:57:18 -07:00
Nariman Jelveh 9a7d34aec9 do not await kv when setting taskbar position 2025-07-29 17:43:07 -07:00
Emmanuel Ferdman 1d27fffb10 Fix issue in invalid social media url
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
2025-07-29 20:26:09 -04:00
Emmanuel Ferdman 2c4da6f558 Fix issue in invalid social media url
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
2025-07-29 20:26:09 -04:00
ProgrammerIn-wonderland 5b49e877d9 add protocol to URL returned by puter worker 2025-07-29 20:13:15 -04:00
XiaochenCui 27c1e62687 fs: ll_write -> provider.write 2025-07-29 19:29:35 -04:00
XiaochenCui 026a908a23 fs: ll_mkdir -> provider.mkdir 2025-07-29 19:29:35 -04:00
ProgrammerIn-wonderland 1b1d22e166 puter.workers.exec() 2025-07-29 18:42:33 -04:00
ProgrammerIn-wonderland f962a6a838 Allow relative paths for creating puter s2w workers 2025-07-29 16:18:14 -04:00
ProgrammerIn-wonderland 050ad0f785 add worker file limit 2025-07-29 16:18:14 -04:00
ProgrammerIn-wonderland ba0f4e3f86 remove unneeded logs 2025-07-29 16:18:14 -04:00
ProgrammerIn-wonderland 2fe52cb972 Filesystem backed web workers 2025-07-29 16:18:14 -04:00
ProgrammerIn-wonderland 173340e887 Move s2w workers to be backed by files and commit that information to subdomains database 2025-07-29 16:18:14 -04:00
ProgrammerIn-wonderland 27b9cb0b4c Add "coerce to response" if compatible type is returned by an s2w route 2025-07-29 16:18:14 -04:00
ProgrammerIn-wonderland 02e49a44be Making streaming drivers ReadableStreamable 2025-07-29 16:18:14 -04:00
KernelDeimos cbb833f3de Revert "sync: update OpenAI moderation to use new model"
This reverts commit 1b56bdc526.

OpenAI told us to switch to this model for moderation, but this model
clearly isn't ready for production use yet.
2025-07-29 16:08:05 -04:00
Nariman Jelveh 88011cfb1f Update README.md 2025-07-29 12:23:41 -07:00
KernelDeimos d4250d65aa fix: don't encrypt session UUID if there isn't one 2025-07-29 13:35:03 -04:00
Glenn Dmello ec586e834a modified nb.js (#1381) 2025-07-29 10:22:39 -07:00
XiaochenCui dea6069398 fs/stat: return_permissions -> return_shares, update tests as well 2025-07-29 13:17:55 -04:00
XiaochenCui 97eeadb3e4 fs: fix failed tests in move and stat 2025-07-29 13:17:55 -04:00
Nariman Jelveh f3b09cf170 Update index.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-07-28 22:03:25 -07:00
Nariman Jelveh b5a1be6823 Update style.css 2025-07-28 21:02:29 -07:00
Nariman Jelveh 12f4c2c3d2 Fix the issue with Properties window not working in Explore 2025-07-28 20:08:11 -07:00
KernelDeimos 1b56bdc526 sync: update OpenAI moderation to use new model
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-07-28 20:47:56 -04:00
Nariman Jelveh 1df1afca37 Update index.js 2025-07-28 16:17:35 -07:00
Nariman Jelveh 75fc436b54 add dividers in the taskbar 2025-07-28 16:17:23 -07:00
KernelDeimos 0257c1475e dev: add async getter for 'owner' on FSNodeContext 2025-07-28 18:30:02 -04:00
KernelDeimos 925b1ff4b4 dev: add fs.written event
Unlike fs.write, fs.written is only emitted after the contents of the
fily have been fully streamed and comitted to the delegate storage.
2025-07-28 18:23:00 -04:00
KernelDeimos f2a29d5228 fix: prevent entity mutation during upsert
In EntityStoreService, update and upsert both make use of the
detect_identifier utility function to get an identifier to pass through
to (eventually) SQLES.

For `update`, the `id` object is passed as the argument. Properties are
removed from this object when "redundant identifiers" are extracted to
create the update predicate.

For `upsert`, the `entity` object is passed and `id` is ignored. It is
suspected that this was done for reasons of improved developer
experience for developers using the API. The mutation behavior of
detect_identifier caused issues when trying to modify a property that
can also be used as an identifier, without having another identifier
available. (i.e. need to get UID of a subdomain to change the
`subdomain` property instead of just using `subdomain` to identify it).

This commit modifies the default behavior of detect_identifier to not
remove properties, then adds a flag to preserve the previous behavior
which is set TRUE by `update` since it's widelely used by puter.js and
has higher impact for potential regressions.
2025-07-28 17:41:46 -04:00
KernelDeimos 9f8cd18fd8 dev: add bypass for Entity Storage validation 2025-07-28 15:10:44 -04:00
jelveh 89ea1ae699 Update security.txt
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-07-28 09:16:24 -07:00
Nariman Jelveh cfa7e23e84 Fix the selectable positioning and sizing issues in Explore. All set!
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-07-27 20:20:19 -07:00
Nariman Jelveh e1f52ebd88 Update UIWindow.js 2025-07-27 20:09:34 -07:00
Nariman Jelveh 2e30f292f4 Improve selection visualization logic for Explore widnows.
This doesn't completely fix the misalignment of selection area but improves a lot of issues with it. A temporary, middle-ground solution until I implement the full-on selection area rendering
2025-07-27 18:52:37 -07:00
Nariman Jelveh 2cd3245b49 Update package-lock.json
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-07-27 15:35:50 -07:00
jelveh bc842ad371 Update viselect.min.js 2025-07-27 11:32:37 -07:00
jelveh 783a0385d3 Remove Slider component 2025-07-27 11:04:45 -07:00
jelveh 8a697652d9 Use regular UIWindow component in UIWindowTaskManager
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-07-25 23:59:29 -07:00