* Fixed FS permission handler need to be asked twice
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Fix#2360 - Better shared env/setup handling (#2361)
* Updated Polyscript to its latest
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* changed is_null to a more Pythonic is_none
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* WebSocket and PyWorker fixes
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Add media Python tests
* Add media js test
* Remove try except blocks
* Make Python tests more end-to-end
* Add media Python tests
* Add media js test
* Remove try except blocks
* Make Python tests more end-to-end
* MicroPython explorations.
* Fix websocket tests, so they just skip.
* Fix MicroPython media tests, if no permission is given for a video device.
---------
Co-authored-by: Nicholas H.Tollervey <ntoll@ntoll.org>
Co-authored-by: Andrea Giammarchi <andrea.giammarchi@gmail.com>
* introducing pyscript.fs namespace/module
* Added proper rejection when showDirectoryPicker is not supported
* Improved exports to make explicit import in 3rd party modules easier
* implemented `fs.unmount(path)`:
* verified that RAM gets freed
* allowed to mount different handlers within the same path through different `id` as that's the Web best way to do so
* Add two unit tests for illustrative purposes.
* Radical simplification of @when, more tests and some minor refactoring.
Handle ElementCollections, tests for ElementCollection, make serve for running tests locally.
* Skip flakey Pyodide in worker test (it works 50/50 and appears to be a timing issue).
* Ensure onFOO relates to an underlying FOO event in an Element.
* Minor comment cleanup.
* Add async test for Event listeners.
* Handlers no longer require an event parameter.
* Add tests for async handling via when.
* Docstring cleanup.
* Refactor onFOO to on_FOO.
* Minor typo tidy ups.
* Use correct check for MicroPython.
---------
Co-authored-by: Andrea Giammarchi <andrea.giammarchi@gmail.com>
* Remove duplicate LICENSE.
* Remove un-userd pyscript.sw directory and its content.
* Remove ReadTheDocs settings (unused).
* Remove un-used pyproject.toml
* Remove now unused CHANGELOG. Changes now tracked via release notes on GitHub.
* Updated / cleaned release page template and associated GH actions.
* Update prettierignore to remove un-needed refs.
* Move troubleshooting into correct README.
* Add reason for the index.html
* Rename the "pyscript.core" directory to "core".
* Update PR template because CHANGELOG is no longer used.
* Codespell configuration in pyproject.toml.
* Update pyscript.core -> core in .githubignore
* Remove test-results/.last-run.json. This should be ignored by git.
* Pin nodejs version.
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>