mahilsaily
2e57214bb3
fix: update outdated HOME_URL in /etc/os-release ( closes #4329 ) ( #4392 )
2026-10-30 19:37:22 -07:00
Daniel Salazar
d22d419c4d
chore: move to Node 26 ( #4295 )
...
* chore: move to Node 26
Docker image and CI run on Node 26 (bookworm-slim, same Debian base as before).
Node 26's bundled undici reads the global dispatcher from the
`undici.globalDispatcher.2` slot, so the guard's 10-minute timeout wrap on
`.1` no longer reached plain fetch() and provider calls fell back to the
5-minute headers timeout. The guard now wraps every present slot and tracks
wrapped dispatchers in a set, since compose() can return a Proxy that writes
a marker property through to the original dispatcher.
* test(puter-js): disable Node's web storage in test workers
Node 26 defines its own localStorage global, undefined without a storage
file, and vitest's jsdom environment doesn't replace globals that already
exist, so jsdom tests saw localStorage as undefined.
2026-10-21 13:04:23 -07:00
Neal Shah
1fc2eae1ae
self hosted mail ( #3932 )
...
* self hosted mail
* update lock
* address daniel review
2026-09-25 21:48:15 -04:00
Daniel Salazar
2de8807942
selfhost: fullstack self host p1 ( #2902 )
...
* wip: self hosted full setup
* wip: self hoast modes
* more wip self host stuff
* wip: full release
* fix: custom apps
* fix: readme
* full-stack md
* docs update
* fix
* fix: commands
* remove comments
* fix: docs and migs
* mysql mig
* fix: docker changes
* fix: mysql checks
* fix: mysql mig
* fix: docker more
* fix: redis conn issues
2026-05-04 15:58:03 -07:00
d4d78ac7db
rework: change backend and backend extensions to use simpler code structure and patterns ( #2815 )
...
* fix: dynamodb health checks and client recreation (#2789 )
* wip: no nanoServices groundwork
* feat: data clients in new shape
* wip: auth and perms in new system
* more wip
* middlewaters mainly done
* wip: fsv2 in new layout
* old fs v2 migration
* driver system
* driver and old fs fixes
* ai drivers wip
* stream support
* metering in ai chat driver
* wip: new auth
* rate limit and auth routes
* captcha and anti csrf
* fix: types
* auth store
* app logic
* wip most other dricvers
* fs
* mostly kill all legacy stuff
* fs finish
* fix: redis usage
* ai controller
* driver cleanup
* socket io in v2
* broadcast and crudq stuff
* subdomains
* notifcations and shares
* fix bad syntaxes
* auth wip
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
* extensions
* extension setup
* more routes
* sql migrations and default services
* home router
* tier 7
* everything else
* everything else
* remaining missing bits
* server health
* logs
* cleanup
* deps
* cleanup 2
* more cleanup 2
* boot
* fix launch
* config fix
* move file
* fix: tsconfig things
* fix: extension loading
* launching
* fix: drivers
* fix: others
* fix: icons
* fix: file uploads
* fs fixes
* fix: fs api
* fix: dev-center
* config
* add back telemetry
* lint stuff
* husky hooks
* fix: fs oss
* fix: config migration
* config migration
* migrate scripts + replicate
* runner
* fix: merge defafult config
* fix: default region
* fix: api domain
* fix paths in readfile
* fix fs entry default s3
* NS: Remove Referral && Entri Service
* dep cleanups
* fix: static assets
* fix: kv and perms
* fix: driver registrations
* fix: home mapping
* fix: rao
* adding back 500 alarm
* fix: build paths
* fix: fs and kv shapes
* fix: kv shape
* more kv coercing and ai chat matching format as prior
* fix: private app gates
* private app caches
* fix: whole bunch of legacy shape issues
* update template jsonc
* fix caching partial oidc and fs signed paths
* more oidc fixes
* fix: wip
* fix: private apps
* admin route fixes
* fix: last few things hopefully
* claude uploads
* fix security for app only routes
* fix kv system namespace
* stuff
* fix: app and kv and suggested apps
* fix:open item
* fix: FS operations
* fix: default app icons
* add back token-read and WSL support
* metering fixes
* fix: fsEntry
* perm scanners and implicators
* proper download endpoint
* fix: download
* fix anti csrft on v2
* fix file extensions, app icons
* fold in v1 fixes from origin/main into v2 equivalents
Re-applies the v1 fixes that landed on origin/main into their v2
counterparts since the v1 files were deleted on DS/wip during the v2
migration. v1 commits referenced below.
- SQLBatcher: flush immediately when queue hits maxBatchSize instead
of racing the timer (v1 12f48238).
- RedisClient: drop maxRetriesPerRequest from 2 to 1 to shrink failure
window (v1 b6776ab4 ).
- ChatCompletionDriver: default minimumCredits to 1 when unset/zero so
zero-cost precheck doesn't auto-pass (v1 36bd6073 ).
- OpenAiImageProvider: add gpt-image-2 support — open-ended size rules,
token-based cost estimator, arbitrary-size normalizer, isGpt prefix
broadened to gpt-image- (v1 f14f1bf4 ). models.ts auto-merged via
rename detection.
- AppStore: bump row cache TTL from 5m to 24h (v1 6b3196ed ).
Not ported: v1 app-object Redis cache (bdfa12b5/b886dde3) — v2's
#toClient recomputes filetype_associations/created_from_origin per
read; adding a second cache layer is a larger change for a follow-up.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
* remoe anti-csrf from auth routes that had not used them
* more icon fixes
* fix worker functionality
* fix: app and subdomain es
Co-authored-by: Copilot <copilot@github.com >
* fix PUT-761
* fix: PUT-748
* fix: rename fsService
* Add security back to WorkerDriver
* Migrate worker from fsEntry to fs. Fix cache issue
* remove ability to create symlinks
* strict webdav acl
* require auth for wisp
* chore: service renames
* Add metering back to puter peer api
* fix: PUT-760 PUT-749
* fix: PUT-746
* fix: peer cost
Co-authored-by: Copilot <copilot@github.com >
* fix: 771
* change order of peer controller
* fix: create appdata folder for app on get auth token
* fix: align delete site and list sites
* delete: putility
* fix subdomains
* Add support for tilde in subdomains, fix subdomain update
* cleanup PeerController.ts and fix billing oversight (#2844 )
* fix: PUT-786
* fix: bugs
* fix: issues with multiple subdomain queries, or permission checks
* fix: harden response shapes to not contain uneeded fields
* fix: move state to redis
* fix: missing kv methods + better sec
Co-authored-by: Copilot <copilot@github.com >
* fix: subdomainStore limit
* fix: missing path resolution
Co-authored-by: Copilot <copilot@github.com >
* fs fixes
* fix: undef error
* fix fs + cleanup
* fix: npm audit fixes
* heal path entries where missing
Co-authored-by: Copilot <copilot@github.com >
* fix: caching
Co-authored-by: Copilot <copilot@github.com >
* fix: cache inconsistencies
Co-authored-by: Copilot <copilot@github.com >
* fix: app driver metadata
Co-authored-by: Copilot <copilot@github.com >
* remove extraneous comma
* fix: associated app icons
* fix: bad tool call
* Add validation to WorkerDriver#getFilePaths
* misc fs and auth issues
Co-authored-by: Copilot <copilot@github.com >
* fix: oidc errors
Co-authored-by: Copilot <copilot@github.com >
* fix: PUT-797
* fix: legacy appdata_app
Co-authored-by: Copilot <copilot@github.com >
* fix: add alert logs
Co-authored-by: Copilot <copilot@github.com >
* fix: error handling
* Disable sharecontroller
* fix: remove private user identifier for ai
* fix: private app fixes
* Add backback signup_server
* fix: completionId size
Co-authored-by: Copilot <copilot@github.com >
* fix: revalidate path for oidc
* fix: revalidate path for oidc
* fix: email validation
Co-authored-by: Copilot <copilot@github.com >
* fix: user create query
* fix: middleware extensions
Co-authored-by: Copilot <copilot@github.com >
* use x-forwarded-for for req ip forwarded
* fix: missing last_activity ts
* feat: add cache broadcast to subdomains
* fix: update config typing
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
Co-authored-by: ProgrammerIn-wonderland <3838shah@gmail.com >
Co-authored-by: Copilot <copilot@github.com >
Co-authored-by: Nariman Jelveh <nj@puter.com >
Co-authored-by: velzie <velzie@velzie.rip >
2026-04-30 12:13:43 -07:00
Daniel Salazar
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
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
59e6418b00
feat: meteringService test suite ( #2052 )
2025-11-26 15:46:53 -08:00
Daniel Salazar
85d13a9d4b
fix: openrouter missing usage ( #2008 )
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-22 15:54:53 -08:00
Arunabh Sharma
9626175d3a
chore: upgrade supported node version to 23.9 ( #1184 )
...
* upgrade node version to 23.9
* update package-lock.json
2025-03-15 16:03:46 -04:00
KernelDeimos
d9a8ea095c
dev: try removing npm registry from Dockerfile
2025-01-09 17:38:53 -05:00
KernelDeimos
8963eb0c4f
fix: try redundant npm install after build stage
Docker Image CI / build-and-push-image (push) Waiting to run
Maintain Release Merge PR / update-release-pr (push) Waiting to run
release-please / release-please (push) Waiting to run
test / test (18.x) (push) Waiting to run
test / test (20.x) (push) Waiting to run
test / test (22.x) (push) Waiting to run
2025-01-08 15:23:03 -05:00
KernelDeimos
686d3de518
fix: I'ma buy GitHub a coffee and spill it on their servers if this works
2025-01-08 14:47:49 -05:00
KernelDeimos
a13af7e31a
fix: oh, right; there's two of them
Docker Image CI / build-and-push-image (push) Waiting to run
Maintain Release Merge PR / update-release-pr (push) Waiting to run
release-please / release-please (push) Waiting to run
test / test (18.x) (push) Waiting to run
test / test (20.x) (push) Waiting to run
test / test (22.x) (push) Waiting to run
2025-01-08 12:20:05 -05:00
KernelDeimos
63b3376b48
dev: try upgrading docker node version
2025-01-08 12:11:43 -05:00
Nariman Jelveh
5a4328e449
Update Dockerfile
2024-07-18 13:33:02 -07:00
Nariman Jelveh
10d77f17aa
retry npm 3 times to account for the flakiness of the process
2024-07-09 15:12:19 -07:00
KernelDeimos
6603c45093
sync: update gui paths in Dockerfile
2024-07-08 00:31:02 -04:00
KernelDeimos
c07d0a2bc7
Set NO_VAR_RUNTIME in Dockerfile
2024-04-15 20:47:27 -04:00
KernelDeimos
9bb221a0d7
Fix Dockerfile
2024-04-15 19:03:00 -04:00
Mohamed Elashri
a0f46c326a
Add build stage and remove linux/arm/v7
2024-04-08 17:12:26 +02:00
Mohamed Elashri
accdec3af4
handle linking to python binary gracefully
2024-04-04 21:51:39 +00:00
Mohamed Elashri
95b6dbd140
Add python3 to use node-gyp to allow native cross platform build
...
python3 would be required by node-gyp to natively build node add-on. This is required if we build for multi-platform
2024-04-04 21:47:29 +00:00
Sylvain Huguet
cc648be854
Re-enable healthchecks, adjusted intervals & start-time
2024-04-01 02:07:44 +02:00
Sylvain Huguet
483e2835c4
Disable healthcheck in Dockerfile as well
2024-03-31 11:34:03 +02:00
Sylvain Huguet
ab4f222e92
Add support for self-hosting in Docker
2024-03-31 11:18:03 +02:00
KernelDeimos
3543adfdee
Update Dockerfile
2024-03-06 14:06:58 -05:00
agentcobra
4f2c03e23b
add dockerfiles
2024-03-06 03:15:23 +01:00