Commit Graph

97 Commits

Author SHA1 Message Date
Daniel Salazar
758bef0582 Revert: commits for user metadata changes (#1887) 2025-11-02 06:09:13 -08:00
Daniel Salazar
603746951b feat: ui for dev account + util decorators for controllers in extension (#1864)
* fix: IPC trigger for dev account setup + util decorators for ext controllers

* feat: allow extension to bypass json

* fix: ts building in volatile
2025-10-31 15:48:21 -07:00
Xiaochen Cui
c93a53ead2 ci: init e2e test for browser env, tidy other tests (#1796)
* ci: init e2e test for browser env

stash changes

* test: update fsentry definition, add tests

stash changes

* test: pass puter-js mkdir test

* test: add test for puter-js move

* tidy code

* tidy code

* doc: add docs for playwright test

* recover memoryfs

* test: puter-js readdir/stat

* test: puter-js write

* test: puter-js read

* test: puter-js move_cart

* test: fix failed tests on move

* tests: rename files

* test: puter-js copy_cart

* tests: puter-js batch/delete, read config from file

* ci: add vitest

* ci: update names and timeout

* ci: simplify playwright-test

* ci: simplify api-test

* move "api-tester" from tools to tests

* test: update example config

* test: remove folder tests/api-tester/ci

* test: unify config location

* test: remove unused files

* ci: fix wrong config

* ci: fix wrong path

* test: add docs

* ci: update timeout, print artifact url
2025-10-28 16:35:37 -07:00
XiaochenCui
4fdca1e47b ci: capture the error during setup 2025-10-23 15:05:47 -04:00
Xiaochen Cui
d7a0a81991 ci: avoid potential hanging via hard limit (#1778)
* ci: avoid potential hanging via hard limit

* ci: remove build phase

* ci: print tmp_password for test
2025-10-17 12:29:56 -07:00
Xiaochen Cui
89ad06afae ci: fix failure by upgrading library (#1713) 2025-10-08 17:17:37 -07:00
KernelDeimos
62e77a15a2 conf: add block in eslint.config.js for extensions 2025-09-26 15:27:59 -04:00
KernelDeimos
fa436a7775 devex: make it impossible to commit eslint errors 2025-09-24 17:41:48 -04:00
KernelDeimos
1ea8f9ddf1 devex: performance monitor environment variable
Instead of requiring developers to keep changes in their git index to
use the performance monitor, make it configurable through the .env
file.
2025-09-22 19:31:03 -04:00
KernelDeimos
f729eaa31f fix: use dynamic import for dotenv 2025-09-22 19:30:37 -04:00
KernelDeimos
15eb44d62d feat: add optional dotenv support
This adds an optional import for 'dotenv'. If dotenv is installed
via npm then the .env file will be loaded.
2025-09-22 19:13:05 -04:00
dependabot[bot]
8e3cc68701 build(deps): bump requests from 2.32.3 to 2.32.4 in /tools/api-tester/ci (#1598)
Bumps [requests](https://github.com/psf/requests) from 2.32.3 to 2.32.4.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.32.3...v2.32.4)

---
updated-dependencies:
- dependency-name: requests
  dependency-version: 2.32.4
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-21 00:49:21 -07:00
Xiaochen Cui
c8500ba1ab test: add puterjs test to apiteste (#1590) 2025-09-19 13:27:47 -07:00
Xiaochen Cui
9d0199f858 add apitest to github actions (#1591) 2025-09-19 13:27:32 -07:00
dependabot[bot]
7e1a3c9ac7 build(deps): bump get-func-name from 2.0.0 to 2.0.2 in /tools/api-tester (#1549)
Bumps [get-func-name](https://github.com/chaijs/get-func-name) from 2.0.0 to 2.0.2.
- [Release notes](https://github.com/chaijs/get-func-name/releases)
- [Commits](https://github.com/chaijs/get-func-name/commits/v2.0.2)

---
updated-dependencies:
- dependency-name: get-func-name
  dependency-version: 2.0.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-13 13:30:47 -07:00
dependabot[bot]
a38d8db965 build(deps): bump axios from 1.4.0 to 1.12.0 in /tools/api-tester (#1548)
Bumps [axios](https://github.com/axios/axios) from 1.4.0 to 1.12.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.4.0...v1.12.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-version: 1.12.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-13 13:28:13 -07:00
dependabot[bot]
3c2639403c build(deps): bump form-data from 4.0.0 to 4.0.4 in /tools/api-tester (#1547)
Bumps [form-data](https://github.com/form-data/form-data) from 4.0.0 to 4.0.4.
- [Release notes](https://github.com/form-data/form-data/releases)
- [Changelog](https://github.com/form-data/form-data/blob/master/CHANGELOG.md)
- [Commits](https://github.com/form-data/form-data/compare/v4.0.0...v4.0.4)

---
updated-dependencies:
- dependency-name: form-data
  dependency-version: 4.0.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-13 13:26:11 -07:00
KernelDeimos
6d8889e434 dev: add config.__set_config_object__() 2025-08-28 18:28:29 -04:00
Xiaochen Cui
a98cc45f22 feat: memory filesystem provider
* Reapply "dev: memory filesystem"

This reverts commit 6f3bace4c4.

* fs: improve the robustess of set/get_storage api
2025-08-28 16:08:21 -04:00
XiaochenCui
bb2c51b840 captcha: add captcha widget to the signup window 2025-08-27 16:19:06 -07:00
KernelDeimos
6f3bace4c4 Revert "dev: memory filesystem"
This reverts commit 1f6bbe1672.
2025-08-27 14:26:03 -04:00
Xiaochen Cui
1f6bbe1672 dev: memory filesystem
* fs/memory-provider: passed all apitests

* test: write benchmark

* fs: add benchmark for stat-intensive scenario

* apitest: update duration

* fs: remove "NodeSelector", add checks to memoryfs, passed simple test

* test: update apitest

* debug: remove a debug stmt
2025-08-27 14:12:31 -04:00
XiaochenCui
c34bd8177c test: fix apitest, add new unit tests and benchmarks, normalize output 2025-08-27 13:48:00 -04:00
ProgrammerIn-wonderland
58800e5d19 rebase fixes 2025-08-14 18:32:22 -04:00
KernelDeimos
65b288d58d dev: enable DNSModule for local instances 2025-08-14 18:32:22 -04:00
XiaochenCui
27c1e62687 fs: ll_write -> provider.write 2025-07-29 19:29:35 -04: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
XiaochenCui
fee100dddd fs/mkdir: add docs spec, update tests, update apitest 2025-07-22 12:46:03 -04:00
XiaochenCui
7e20039ef4 fs/mkdir: update check logic, update test cases 2025-07-22 12:46:03 -04:00
XiaochenCui
f906c1ebad fs: adapt to different mkdir api, block write to root dir, add tests 2025-07-22 12:46:03 -04:00
XiaochenCui
0b7474340f dev: extension prefix update, doc helper & docs update 2025-06-27 16:29:16 -07:00
jelveh
6f6bb5a484 Remove Convert, IPGeo, NewsData, Firebase, Mail, Analytics, and Weather 2025-06-21 14:57:58 -07:00
KernelDeimos
4647e2d9c0 dev: add experimental firebase authentication
This adds an experimental custom token authentication endpoint to Puter.
This is disabled unless the firebase-auth service is explicitly
configured, and is not yet ready for production use.
2025-05-01 17:14:25 -04:00
KernelDeimos
7945586050 dev: ip geolocation driver (initial development) 2025-04-21 17:53:39 -04:00
ajaykrishnaswamy
782e858b3c Update (and automate) events docs (#1164)
* documentation: new documentation for emit features

* Update events documentation and doc_helper.js script

* Update package.json

Co-authored-by: Eric Dubé <eric.alex.dube@gmail.com>

* added manual_overrides.json.js file

* Update doc_helper.js to resolve paths relative to project root and update events documentation

* created a new events.md generated file, differences can be seen.

* added and populated events.md file. Can now compare new and old versions

---------

Co-authored-by: Eric Dubé <eric.alex.dube@gmail.com>
2025-03-16 12:41:14 -04:00
KernelDeimos
eda376b6cc doc: make first sidebar items make sense 2025-02-25 15:31:40 -05:00
KernelDeimos
2a7bd2ad8d doc: update doc/README.md and genwiki 2025-02-25 15:23:58 -05:00
KernelDeimos
99684d80e4 doc: generate wiki from repository docs 2025-02-25 14:56:12 -05:00
KernelDeimos
29834f02c0 release: 2.5.1 2025-02-13 21:50:39 -05:00
KernelDeimos
5e30958a14 tweak: enable convert module on selfhosted run 2025-02-06 17:34:57 -05:00
KernelDeimos
57231d31e4 dev: add email module to run-selfhosted 2025-02-03 13:14:52 -05:00
KernelDeimos
c96d3b546c dev: update selfhosted default modules 2025-01-28 10:37:39 -05:00
KernelDeimos
bcdec32ba2 doc: log some AI responses 2025-01-23 15:20:31 -05:00
KernelDeimos
591c6c0fd3 dev: add wisp relay service 2025-01-22 11:45:58 -05:00
KernelDeimos
202e7f06e2 test: cleanup and tweak batch test
One of the test cases has been rendered redundant so it has been
removed. Another test was changed to overwrite a file as it's expected
to already exist.
2025-01-14 09:42:20 -05:00
KernelDeimos
d9822a4f09 fix: --onlycase param broke cartesian tests 2025-01-14 09:18:33 -05:00
KernelDeimos
9215937064 test: remove tests for unsupported behavior in mkdir 2025-01-13 13:54:59 -05:00
KernelDeimos
c9215d9e86 test: update outdated test cases 2025-01-13 11:38:00 -05:00
KernelDeimos
6f4b1bf94a fix: missing changes to run-selfhosted.js 2025-01-13 09:11:39 -05:00