Commit Graph

5610 Commits

Author SHA1 Message Date
ProgrammerIn-wonderland 6436f66acc add back web input into OCR 2026-05-05 14:43:44 -04:00
Daniel Salazar 50fe867e0d fix: fs issues [PUT-846] (#2918)
* fix: fs issues

* windows install script
2026-05-05 10:49:04 -07:00
Daniel Salazar 98bdaf0c42 add email into metering alert (#2917) 2026-05-05 10:18:45 -07:00
Nariman Jelveh 1f1149e32e Block unconfirmed users from API endpoints server-side (#2916)
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
Notify HeyPuter / notify (push) Has been cancelled
release-please / release-please (push) Has been cancelled
Add a default-on email confirmation gate that rejects users with
`requires_email_confirmation && !email_confirmed` on all authenticated
routes, returning 403 with `email_confirmation_required`.

Previously this was only enforced client-side via a GUI modal, meaning
direct API calls could bypass the check entirely.

Essential routes are exempted via `allowUnconfirmed: true`:
  `/whoami`, `/logout`, `/send-confirm-email`, `/confirm-email`,
  `/save_account`, `/get-anticsrf-token`, `/get-gui-token`,
  `/session/sync-cookie`, `/auth/revoke-session`,
  `/user-protected/delete-own-user`

No impact on temp users (`requires_email_confirmation` is false),
self-hosted deployments without email (flag is never set), or
unauthenticated routes (login, signup, password recovery, OIDC).

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-05 10:08:50 -07:00
jelveh 51b81c82bf Update keyboard.js 2026-05-05 06:24:49 -07:00
Daniel Salazar 15201b7a3c fix: nginx missing in self host script (#2911)
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
Notify HeyPuter / notify (push) Has been cancelled
release-please / release-please (push) Has been cancelled
2026-05-05 00:42:54 -07:00
Daniel Salazar ad3f0f6c2e fix: handle fs duplicates on write (#2910) 2026-05-05 00:33:55 -07:00
Daniel Salazar 838d6a7178 docker-compose from index (#2909) 2026-05-05 00:22:25 -07:00
Daniel Salazar a5cb484e52 cleanup config (#2908) 2026-05-04 23:12:34 -07:00
jelveh 3a252fb948 Rename moonshot provider key to moonshotai 2026-05-04 21:43:31 -07:00
jelveh 69365cbae4 Standardize Moonshot provider ID to moonshotai 2026-05-04 21:40:38 -07:00
jelveh 2f1b9aad06 Update UIDesktop.js 2026-05-04 21:09:48 -07:00
jelveh 9e8371bde6 Update UIDesktop.js 2026-05-04 21:03:53 -07:00
Daniel Salazar 704fcecbdf fix: selfhosted thumbnails extensions (#2905) 2026-05-04 19:56:10 -07:00
jelveh 785d8b0cc5 Remove recovery warning block from 2FA setup 2026-05-04 19:45:52 -07:00
jelveh eaa68c243a Remove fullscreen button and handlers 2026-05-04 18:56:51 -07:00
Daniel Salazar a24246bfbc selfhosting: p3 cleanup docs + small fixes again (#2904)
* fix: Perms and configs

* rm broken editor for now

* selfhosting cleanup
2026-05-04 18:47:37 -07:00
Daniel Salazar 50679e6a01 selfhosting: p2 fixed default configs and guide + some other errors (#2903)
* fix: ollama support

* fix: more self host cleanup

* fix: bad auth

* fix: more session cookie stuff

* allow emailclient

Co-authored-by: Copilot <copilot@github.com>

* fix: broken migration

* fix: full-stack comment

* fix: hardcoded perms

* new docker build steps

---------

Co-authored-by: Copilot <copilot@github.com>
2026-05-04 18:14:23 -07:00
jelveh d8cc884f01 Revamp 2FA setup UI with new wizard
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
Notify HeyPuter / notify (push) Has been cancelled
release-please / release-please (push) Has been cancelled
2026-05-04 17:49:38 -07:00
jelveh 6a534b8479 Add pending state for 2FA toggle 2026-05-04 17:13:23 -07:00
jelveh 4048dfbaf1 Remove 'Show Desktop' toolbar button 2026-05-04 16:26:59 -07: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
Daniel Salazar 8642a5b58c fix: subdomain cache invalidaton (#2901) 2026-05-04 15:17:20 -07:00
Nariman Jelveh 36de2b9aa4 Remove settings UI & service; redirect to dashboard (#2900) 2026-05-04 14:11:56 -07:00
jelveh c6bacca7f6 Open dashboard in new tab from UI clicks 2026-05-04 12:26:39 -07:00
Reynaldi Chernando da0255a805 Update UI docs and types (#2854)
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
Notify HeyPuter / notify (push) Has been cancelled
release-please / release-please (push) Has been cancelled
2026-05-04 14:43:24 +07:00
jelveh dee193502f Add txt2speech.listEngines and listVoices docs 2026-05-03 22:12:49 -07:00
jelveh b9458497fb Update package-lock.json 2026-05-03 19:17:44 -07:00
jelveh 52d2c8574f Update build.js 2026-05-03 18:53:37 -07:00
jelveh 3da16e98e3 Produce llms.txt and llms-full.txt outputs for docs 2026-05-03 18:48:29 -07:00
Nariman Jelveh 85336f3c0e Add Moonshot AI (Kimi) chat completion provider (#2893)
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
Notify HeyPuter / notify (push) Has been cancelled
release-please / release-please (push) Has been cancelled
2026-05-03 15:15:41 -07:00
jelveh 9720516185 Bump puter.js version to 2.3.2 2026-05-03 11:38:40 -07:00
jelveh 2a0efcff87 Bump puter.js version and update homepage 2026-05-03 11:34:11 -07:00
jelveh f9143a05c2 Add Gemini/xAI TTS and xAI STT examples 2026-05-03 11:24:38 -07:00
Nariman Jelveh bd30cda4a9 Add xAI (Grok) TTS and STT providers and integrate client/docs (#2890)
- Add XAITTSProvider calling POST /v1/tts with 5 voices (eve, ara, rex,
    sal, leo), speech tags, and configurable output format
  - Add XAISpeechToTextDriver calling POST /v1/stt with support for
    diarization, multichannel, text formatting, and xAI's native URL
    param for remote audio files
  - Register both providers in TTSDriver and driver index using existing
    xAI API key from config
  - Update puter.js client to route provider:'xai' for both txt2speech
    and speech2txt, including listVoices/listEngines
  - Add TypeScript types for new STT options (provider, format, diarize,
    multichannel, etc.)
  - Update txt2speech.md and speech2txt.md with xAI options and examples
  - Add playground examples for both TTS and STT

  Cost metering:
    TTS: 420 microcents/char ($4.20/1M chars)
    STT: 2778 microcents/sec ($0.10/hr)
2026-05-03 11:00:31 -07:00
Nariman Jelveh 33d5c0737e Add Gemini TTS provider and integrate client/docs (#2889)
Introduce a new Gemini TTS provider and wire it through the driver, client, docs, and examples. Adds src/backend/drivers/ai-tts/providers/gemini/GeminiTTSProvider.ts (Google GenAI client usage, PCM->WAV wrapping, metering, model/voice validation) and a costs table in providers/gemini/costs.ts. Registers the provider in TTSDriver, exposes the alias gemini-tts, and prefers it in provider selection. Updates puter-js client to recognize "gemini" provider/engine and route driver calls to gemini-tts. Documentation updated with Gemini options, a usage example, and a playground example HTML file.
2026-05-03 09:33:50 -07:00
Daniel Salazar cb27fd1f98 Revert "Revert "remove exports (#2885)" (#2887)" (#2888)
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
Notify HeyPuter / notify (push) Has been cancelled
release-please / release-please (push) Has been cancelled
This reverts commit 14cde26291.
2026-05-02 10:20:01 -07:00
Nariman Jelveh d4ef956660 Remove RecoveryCodeEntryView and inline UI 2026-05-02 10:14:27 -07:00
Nariman Jelveh 789c62ef71 Remove RecoveryCodesView and inline in 2FA setup 2026-05-02 09:55:12 -07:00
Nariman Jelveh b2a70a6a38 Remove ConfirmationsView and inline checkboxes 2026-05-02 09:52:09 -07:00
Nariman Jelveh dd9607b54e Remove StepHeading component and inline headings 2026-05-02 09:46:44 -07:00
Daniel Salazar 14cde26291 Revert "remove exports (#2885)" (#2887)
This reverts commit 4e94cb07be.
2026-05-02 09:41:42 -07:00
jelveh 388577a799 Update style.css
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
Notify HeyPuter / notify (push) Has been cancelled
release-please / release-please (push) Has been cancelled
2026-05-02 08:30:27 -07:00
jelveh d0310ac211 Add Upgrade/Manage Plan button to Usage tab 2026-05-02 08:28:46 -07:00
jelveh 99babf3879 Remove System Information window 2026-05-02 08:03:05 -07:00
jelveh ffae2a1d0a Remove PuterDialog and ExportRegistrantService 2026-05-02 07:58:12 -07:00
jelveh ce69bc14a8 Remove groups manager UI extension 2026-05-02 07:53:38 -07:00
Daniel Salazar 4e94cb07be remove exports (#2885)
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
Notify HeyPuter / notify (push) Has been cancelled
release-please / release-please (push) Has been cancelled
2026-05-01 23:52:52 -07:00
jelveh 4395c8bea5 Handle OIDC popup flow: skip session list 2026-05-01 23:49:35 -07:00
Daniel Salazar 5b35a5db69 errors for fs (#2884)
* remove bloated tests and

* errors for fs

Co-authored-by: Copilot <copilot@github.com>

---------

Co-authored-by: Copilot <copilot@github.com>
2026-05-01 23:24:05 -07:00