Commit Graph

4784 Commits

Author SHA1 Message Date
Daniel Salazar d7b3ba3bb0 cd: make our deploy reliably wait for server to be ready (#2170)
* chore: continue removing extra logs

* cd: make our deploy reliably wait for server to be ready
2025-12-13 14:34:44 -08:00
Daniel Salazar e79f8a46f0 chore: add better logging to broadcast connections (#2169)
* fix: await fetching app cache on init

* chore: add better logging to broadcast connections
2025-12-13 14:07:25 -08:00
Daniel Salazar bbd5f52320 chore: continue removing extra logs (#2159)
* fix: await fetching app cache on init

* await for methods on boot now
2025-12-13 13:34:25 -08:00
Nariman Jelveh 87ac67a340 Remove DevConsoleService and related dev console widgets (#2167)
* Remove DevConsoleService and related dev console widgets

Eliminates `DevConsoleService` and `NullDevConsoleService`, along with all code that registers or manages dev console widgets across the backend. Developer messages and notifications are now logged directly to the console. Removes related commands and test mocks, simplifying the developer experience and reducing code complexity.

* Remove MinLogService and related registration code

Deleted MinLogService.js and removed its registration from SelfHostedModule.js. This cleans up unused or deprecated logging functionality.

* Remove `DevSocketService` and related registration

* Increase test job timeouts in CI workflow

* Remove dev environment widget ops counter

Eliminated increment and decrement of the dev_batch-widget ops counter in BatchExecutor. This simplifies the code and removes dev-only UI tracking logic from the batch operation flow.

* Remove console Puter logo feature and related code

Deleted the src/fun/logos.js file and removed all references to the Puter logo display in WebServerService and documentation. This streamlines the server startup output and eliminates unused or unnecessary code.

* Update WebServerService.js

* Standardize console banner formatting in services
2025-12-13 13:31:16 -08:00
jelveh d07d5fd5cb Remove DevTODService and its registration
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-13 11:33:06 -08:00
Nariman Jelveh 794ff1e255 Remove tag cache refresh logic from AppInformationService (#2166)
* Remove tag cache refresh logic from AppInformationService

Eliminated the _refresh_tags method and its scheduled interval from AppInformationService. This change removes the tag cache refresh functionality, likely due to refactoring or deprecation of tag-based app discovery.

* Remove AI usage testing contributor docs
2025-12-13 09:45:13 -08:00
jelveh 888fab42e1 Remove AI response normalization files
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-13 00:23:35 -08:00
jelveh 9c5938e2fd Remove comment-writer and AI METADATA comments from backend source files 2025-12-13 00:16:31 -08:00
jelveh f838fe4ecc Remove Threads module from puter-js 2025-12-13 00:06:43 -08:00
Nariman Jelveh 8f7a735cc0 Remove dev-console-ui-utils and update related services (#2163)
* Remove dev-console-ui-utils and update related services

* Remove debug console.log statements from backend code

Eliminated various leftover console.log and debug print statements across multiple backend modules and services to clean up the codebase and reduce unnecessary logging in production.

* Remove unnecessary console.log statements
2025-12-12 23:46:39 -08:00
Nariman Jelveh b8ed8caa3a Remove CommentService and related tests (#2160)
Deleted the CommentService implementation and its test file, and unregistered the service from CoreModule. This removes all comment-related backend functionality.
2025-12-12 21:49:54 -08:00
Nariman Jelveh 6bb4e9dfae Remove Bootstrap 5.1.3 assets from public directory (#2161)
* Remove Bootstrap 5.1.3 assets from public directory

* Create bootstrap.min.css
2025-12-12 21:41:16 -08:00
Nariman Jelveh ae92233b95 Remove fat from puterjs (#2156)
* Refactor puter-js to remove putility and service layer

* Add fallback for IPC listener registration

* Remove TeePromise in favor of `createDeferred` pattern

* Update utils.js

* Bump version to 2.2.0 in package.json

* Remove model name normalization and driver mapping logic

Eliminated the code responsible for normalizing model names and mapping models to specific AI drivers. The default driver is now set to 'ai-chat', simplifying the model selection and driver assignment process.

* Simplify AIService selection logic in image generation

* Remove unused Together image model constants
2025-12-12 19:44:15 -08:00
Daniel Salazar ef69865dd1 chore: decrease uninmportant logs (#2158)
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-12 18:50:01 -08:00
Daniel Salazar f3e143e74a fix: bad usageType (#2157) 2025-12-12 17:31:40 -08:00
Daniel Salazar 797b87b004 cleanup: remove dead cloudwatch call (#2155) 2025-12-12 17:08:26 -08:00
KernelDeimos 6c0daf58c4 perf: is()/is_above() determine when to fetch 2025-12-12 17:38:43 -05:00
KernelDeimos af9a2b8300 perf: don't await on modifying 'accessed' 2025-12-12 17:38:43 -05:00
KernelDeimos 3fe6b8d23a fix: fsNode.is() requiring unnecessary fetch
When you have two path selectors, .is() should compare path strings
instead of fetching any entries.
2025-12-12 17:38:43 -05:00
KernelDeimos 4b31204224 perf: condition for re-fetch in fsNode.exists() 2025-12-12 17:38:43 -05:00
jelveh 54c2d9768e Update package.json 2025-12-12 13:47:27 -08:00
jelveh 348e000863 Bump puter.js version to 2.1.15 and update metadata
Added a homepage field and specified the repository directory in package.json for improved project metadata.
2025-12-12 13:43:25 -08:00
jelveh bb697616c0 Refine signup form spacing and title styling 2025-12-12 13:28:18 -08:00
Reynaldi Chernando ce2a509221 Fix hosting types (#2153) 2025-12-12 12:55:59 -08:00
Reynaldi Chernando 17ca4c7c93 Fix speech2txt options (#2150) 2025-12-12 12:55:51 -08:00
Reynaldi Chernando e431ac265c Fix FS types (#2134) 2025-12-12 12:55:39 -08:00
Reynaldi Chernando 697b3424c7 Add missing AI types (#2151) 2025-12-12 12:55:20 -08:00
Reynaldi Chernando c950be13f2 Fix KV types (#2152) 2025-12-12 12:54:13 -08:00
jelveh 7dcf590cf1 Add hide-scrollbar class to sidebar and user options 2025-12-12 11:58:59 -08:00
Reynaldi Chernando 7b15ee0bd0 Add alias for gpt-5.2-chat (#2148)
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-11 19:59:21 -08:00
jelveh bb7b71236f Add new GPT-5.2 chat models to OpenAI provider 2025-12-11 19:43:22 -08:00
jelveh e75259dfd0 Add GPT-5.2 model to OpenAI provider models 2025-12-11 19:07:30 -08:00
Daniel Salazar aa225e3049 fix: batch app info referral (#2146)
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-11 18:31:22 -08:00
jelveh 77c7214a1d Optimize app stats cache update with aggregate queries 2025-12-11 18:08:38 -08:00
Daniel Salazar 9e2ae1c004 fix: bad ai calls (#2144) 2025-12-11 17:13:25 -08:00
Daniel Salazar 83eab0d6ac Revert "Revert: single ai image entry point (#2131)" (#2143)
This reverts commit 907d0db328.
2025-12-11 17:03:20 -08:00
jelveh 89fbcffc7a Remove backend documentation section from CONTRIBUTING.md 2025-12-11 17:03:12 -08:00
jelveh 83eff9da87 Remove style guide and first contribution sections 2025-12-11 17:00:46 -08:00
jelveh f961dd4acd Update CONTRIBUTING.md 2025-12-11 16:58:21 -08:00
Daniel Salazar a103ca9bcb cleanup: remove Library + bloated utils where possible (#2142) 2025-12-11 16:55:29 -08:00
Nariman Jelveh ef9f240a45 Remove terminal phoenix emulator (#2141)
* Remove terminal and phoenix built-in apps and emulator

This commit removes the terminal and phoenix built-in apps from the backend, database migrations, and permissions. It also deletes the entire emulator and phoenix/terminal app source directories, assets, and related configuration files. References to these apps in the backend module loader and router are removed, and related SQL migrations are updated to reflect their removal.

* Remove emulator references from SelfHostedModule

* Remove emulator integration and related references

* Remove parsers and pty modules

* Update package-lock.json
2025-12-11 16:53:21 -08:00
jelveh f07092164f Delete app.js 2025-12-11 15:29:55 -08:00
jelveh a423820e4b Remove unused backend HTML and module files
Deleted ThirdPartyDriversModule.js, html_footer.js, and html_head.js from the backend source directory. These files are no longer needed and have been removed to clean up the codebase.
2025-12-11 15:08:51 -08:00
Nariman Jelveh 6b7f6baeab Delete backend README links from README.md (#2140) 2025-12-11 13:34:30 -08:00
Daniel Salazar 57f5163e51 chore: remove deprecated threads (#2139) 2025-12-11 13:28:34 -08:00
Nariman Jelveh 7524933ca1 Remove backend-core-0 and inline validation helpers (#2138)
Deleted the src/backend-core-0 package and moved its validation helpers directly into src/backend/src/validation.js. Updated references in CoreModule.js and helpers.js to use the new local validation module. Adjusted ESLint configs to remove backend-core-0 references.
2025-12-11 13:22:32 -08:00
Daniel Salazar 907d0db328 Revert: single ai image entry point (#2131)
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
* Revert "fix: together ai image prices (#2130)"

This reverts commit 04c8b06616.

* Revert "feat: single image ai endpoint (#2129)"

This reverts commit 161ca74aa3.
2025-12-11 00:56:06 -08:00
Daniel Salazar 04c8b06616 fix: together ai image prices (#2130) 2025-12-10 23:46:52 -08:00
Daniel Salazar 161ca74aa3 feat: single image ai endpoint (#2129) 2025-12-10 23:29:11 -08:00
jelveh 4b2135f896 Update style.css 2025-12-10 22:56:38 -08:00