Tags: tethysplatform/tethys
Tags
Reactpy fixes and updates (#1162) * Components lib no longer singleton but tied to app The tethys_components.library contained a singleton implementation of the ComponentLibrary class. This was found to have bugs when running multiple apps. Thus, the underlying framework had to be reworked a bit to have the separate library instances exist at the page level. Tests still need to be written. * reactpy tests added/updated * Adds docstrings and makes methods private * Uncomments necessary code * Fixes test to restore full coverage * Fixes incomplete refactor * Implements new ReactPy interface w/o Props Here is that interface: <component>(**props_as_kwargs)(*children_as_args) * Remove pages and add scaffold page to app.py Highlights true single-file/language app development * Fixes and formats reactpy scaffold template files * Tweak to app.py_tmpl * Removes workspaces from reactpy scaffold * Formats from black and flake8 * Tweaks per feeback by @NSwain
Allow anonymous users to get condor job status (#1119) * Allow anonymous users to get condor job status * Add type checks in anonymous user checks * Update and add tests for when an anonymous user is used - Updated existing tests to ensure they handle scenarios involving anonymous users correctly. - Added new tests to cover additional cases where an anonymous user is involved. * Add unit test for JobManager.create_job that uses an anonymous user * Format test_job_manager.py using python black formatter --------- Co-authored-by: James Dolinar <jdolinar@aquaveo.com>
4.3 What's New (#1120) * fix docs for python 3.13 * 4.3 what's new * remove python 3.13 * Change Django 5.0 to 5.1 on Docker builds. Add Python 3.13 to build and test matrix. * remove python 3.13 from build bugfix for scaffold command * lint * fix tests * Revert to os.walk in scaffold_commands (Path.walk only supported in Python 3.12+) * Fix mock os.walk in scaffold command tests to return strings for dir path. * Fix scaffold command Path issue --------- Co-authored-by: Nathan Swain <swainn@users.noreply.github.com>
HOTFIX: Patch to syncstores to enable support for PostGIS 3.4 (#1095) * Add postgis_raster initialization (for PostGIS 3.4) * Remove close * Syncstores enables postgis raster extension for PostGIS 3.X or higher * Conditionally enable postgis raster for postgis version 3+ functional * black foratting * Add tests for new postgis 3 functionality * Fix docker build for 4.2
PreviousNext