- fix(client_type): expose default client_type (
7113e12
)
- fix(argparse): Skip -- when processing trame-args (
c4333fb
)
- fix(backend): Allow backend selection from TRAME_BACKEND env (
a160297
)
- fix(info): Ensure dynamic port to be printed (
0c7f53a
)
- fix(reload): Don't reload state change corountine (
ba05514
)
- fix(hot-reload): Remove async task from reload (
cba6a7f
)
- feat(py-client): add Python client to drive remote state (
6904605
)
- feat(args): allow trame args to be specified separately
This allows trame arguments to be specified either by a --trame-args
argument or via a TRAME_ARGS
environment variable.
It still ignores the regular arguments when we are using pytest
. But
having the TRAME_ARGS
environment variable allows us to specify arguments
for trame when using pytest
.
Signed-off-by: Patrick Avery <[email protected]> (d2600c3
)
- feat(ArgumentParser): subclass and allow parsing disable
This disables argument parsing if either the environment variable TRAME_ARGS_DISABLED is set or pytest has been loaded into the modules (which, right now, is apparently the best way to determine if pytest is running). This fixes an issue where trame would parse arguments from pytest and fail. Since pytest doesn't allow us to add any non-pytest arguments, disable parsing the arguments if we are using pytest.
Fixes: pyvista/pyvista#3973
Signed-off-by: Patrick Avery <[email protected]> (22746dd
)
- Merge pull request #14 from Kitware/subclass-arg-parser
Add ability to specify trame arguments in different ways (66460d2
)
-
fix(on_server_exited): run exit tasks till completion for exec_mode=main (
876d536
) -
fix(task_funcs): allow controller with only task_funcs (
c6fd518
)
- feat(client_type): Improve module handling to support vue2/3 (
000899e
)
- fix(version): add trame_server.version
Partially addresses Kitware/trame#183
Signed-off-by: Patrick Avery <[email protected]> (f6957f4
)
- Merge pull request #12 from Kitware/version
fix(version): add trame_server.version (4c6c010
)
- feat(on_server_start): Add new life cycle (
0db1961
)
- fix(controller): Add @once helper (
f25db26
)
- fix(dev): add hot reloading
This adds a --hot-reload
option where, if set, controller/state callback functions will be
automatically reloaded for every function call. This excludes functions that are located in
site-packages directories (which are usually libraries that the user is not currently
developing).
There is also a @hot_reload
decorator that may be added to functions as well, which will
cause the function to be reloaded every time.
This work is largely based off of https://github.com/julvo/reloading, with some major modifications, including adding support for methods. His license is included within the file.
Signed-off-by: Patrick Avery <[email protected]> (5884ede
)
- Merge pull request #9 from Kitware/hot-reload
fix(dev): add hot reloading (71be7d1
)
- fix: use host argument with wslink (#8)
Add environment variable fallback for host definition (8935e6a
)
- feat(ready): Add ready future on server to await (
6b72322
)
- fix(corountine): Remove deprecated API for Py 3.11
Using inspect.isawaitable rather than asyncio.coroutine
fix #7 (82d945d
)
-
feat(security): Moved authKeyFile argument from wslink to trame-server (
9c3b6fc
) -
feat(security): Use authKeyFile argument if present (
5c4fb3b
)
- Merge pull request #6 from jwindgassen/authKeyFile
feat(security): Use authKeyFile argument if present (85b346c
)
- fix(isascii): add python3.6 compatible isascii() method
If python >= 3.7 is being used, just use the built-in isascii()
method.
But if python < 3.7, we have to use our own.
Signed-off-by: Patrick Avery <[email protected]> (a957cdf
)
- Merge pull request #5 from Kitware/isascii-python3.6
fix(isascii): add python3.6 compatible isascii() method (a7cb163
)
- feat(state): report when state key is not serializable (
fac8866
)
- fix(file-upload): Properly filter fields for client sync
fix #3 (1656aab
)
- feat(no-http): Add cmd option to disable HTTP serving (
d34c471
)
- feat(state): Allow state change to be async + add clean method (
fa41cdd
)
- fix(state): Better network handling for collaboration (
b3b0e2f
)
-
fix(aiohttp.router): Simplify route management (
245baaf
) -
fix(controller): Add support for async tasks (
45bf037
)
- feat(wslink): Add lifecycle to allow web server routes to be added (
9432cc8
)
- fix(wslink): Handle new --reverse-url cli arg
Signed-off-by: Patrick Avery <[email protected]> (eb4eceb
)
- Merge pull request #2 from Kitware/wslink-reverse-connection
fix(wslink): Handle new --reverse-url cli arg (6b4243f
)
- chore(semantic-release): bump version to latest
Signed-off-by: Patrick Avery <[email protected]> (efb63ce
)
- docs(coverage): remove codecov PR comment
Signed-off-by: Patrick Avery <[email protected]> (1ae8142
)
- docs(coverage): add setup.py to .coveragerc
This should not be included in the coverage since we will not run it with pytest.
Signed-off-by: Patrick Avery <[email protected]> (ee4f01b
)
- fix(trigger): Allow triggers to return something (
aebfb01
)
- doc(badge): add CI status badge
Signed-off-by: Patrick Avery <[email protected]> (da28520
)
- doc(ci): turn off codecov statuses
Signed-off-by: Patrick Avery <[email protected]> (ef21bc2
)
- docs(codecov): show coverage for all source files
This includes files that were not imported by the tests.
Signed-off-by: Patrick Avery <[email protected]> (1c2b98e
)
- docs(codecov): upload coverage to codecov
Signed-off-by: Patrick Avery <[email protected]> (3a00af1
)
- docs(codecov): create and print coverage report
Signed-off-by: Patrick Avery <[email protected]> (809a6de
)
- fix(desktop): add support for gui option (
2d59706
)
- fix(state.update): Prevent equal value to trigger change (
5d2d5e1
)
- docs(contributing): add CONTRIBUTING.rst
Signed-off-by: Patrick Avery <[email protected]> (27212aa
)
- fix(state): Prevent equal value to trigger change (
4c3165f
)
- fix(flush): Force flush for information print (
fda6300
)
- feat(ui): Introduce virtual node manager on server (
f50551e
)
- chore: downgrade python semantic release for fix
The newest version of semantic release has a bug that causes it to exit with errors. Downgrade to the latest version without the bug.
Signed-off-by: Patrick Avery <[email protected]> (fc07473
)
- chore: rename publish => release in github action
Signed-off-by: Patrick Avery <[email protected]> (d25c852
)
- fix(state): No @state.change exec before server ready (
50acbb5
)
- chore(version): bump version to publish (
eb07d9a
)
- fix: add github action for semantic release
Signed-off-by: Patrick Avery <[email protected]> (661b74a
)
- fix(vue_use): Fix typo in 'reduce_vue_use'
Could not pass options before like this: vue_use = [('trame_component', {...})] (37823d4
)
-
fix(controller): Add decorator for 'set' and 'add' (
28894d3
) -
fix(kwarg): improve **kwarg handling in server.start (
218400d
) -
fix(async): Fix method call (
ddf6938
) -
fix(async): export task decorator (
0fb23e9
) -
fix(vue_use): Reduce duplicate and merge options (
a8ce28b
)
- Merge pull request #1 from DavidBerger98/fix-vue_use
fix(vue_use): Fix typo in 'reduce_vue_use' (76a0469
)
- Add "Pytest" to test names
Signed-off-by: Patrick Avery <[email protected]> (7ad092d
)
- Bump rc version to test pypi upload
Signed-off-by: Patrick Avery <[email protected]> (37131ce
)
- Combine workflows and add publishing
The workflows are combined because publishing depends on testing and pre-committing.
Signed-off-by: Patrick Avery <[email protected]> (e90f03a
)
- Add link to trame in docs
Signed-off-by: Patrick Avery <[email protected]> (c81ece3
)
- Add first pass at .readthedocs.yaml
Signed-off-by: Patrick Avery <[email protected]> (56380cd
)
- Add first pass at API docs
Signed-off-by: Patrick Avery <[email protected]> (074ab09
)
- Trame v2 - server implementation
This initial commit gather the first stage of what the server side of trame 2.0.0 aims to be.
Co-authored-by: Patrick Avery <[email protected]> (464af41
)