Skip to content

v0.4.0

Compare
Choose a tag to compare
@github-actions github-actions released this 01 Oct 17:51
· 65 commits to master since this release

v0.4.0 (2024-10-01)

Documentation

  • docs: Add makeclient step to Setup Guide (c3b4ac2)

Feature

  • feat: Override signup form to include name fields (de74292)

  • feat: Update API to use AccessControl filter backend (1754ac3)

  • feat: Add access control check functions on each model (245a04f)

  • feat: replace Context model with Project model (003f88f)

  • feat: client-side changes for authentication (a3bd8dc)

  • feat: server-side changes for authentication (b60591c)

Fix

  • fix: add import to ingest_use_case (8d1d9db)

  • fix: enforce an owner on server-created projects (de9725c)

  • fix: update set_permissions call in test_api (e157327)

  • fix: update set_permissions call in Project perform_create (61e7a29)

  • fix: update permissions fields on ProjectSerializer (2e66d31)

  • fix: allow filtering by project_id in request params (fadc263)

  • fix: add VectorFeature clause to get_object_queryset (3178461)

  • fix: roll back change to region viewset inheritance (e317c6d)

  • fix: Add watcher for showMapBaseLayer (df03bad)

  • fix: Add authentication to maplibre tile requests (4906e9f)

  • fix: Resolve merge conflicts after rebase (b7f1cca)

  • fix: Add missing django env var to Celery config in docker-compose.override.yml (faac2fd)

  • fix: Include constraint removal step in migration file (f9a3221)

  • fix: Add homepage redirect url (7372b16)

  • fix: address some server-side API bugs (6943cb4)

  • fix: remove SESSION_COOKIE_AGE value override (ffbd515)

Refactor

  • refactor: move project_id query param filtering to get_queryset on relevant ViewSets (305f0b2)

  • refactor: rename guardian.py -> access_control.py (3315a4d)

  • refactor: update guardian.py (9989e6f)

  • refactor: update guardian.py to get passing permissions tests (934f729)

  • refactor: remove permission fields from Project model and add update_permissions method (5935f62)

  • refactor: apply suggestions to guardian.py (f831cf3)

  • refactor: Add comment to urls.py (af567f1)

  • refactor: add explanatory comment to Map's transformRequest function (9f6c9ab)

  • refactor: update Dataset.is_in_project function (d78a494)

  • refactor: update makeclient management command (88af424)

  • refactor: update ingest_projects function (318f695)

Style

  • style: remove unused imports and variables (7bb8976)

  • style: remove change to flake8 rules in tox.ini (52c9ffe)

  • style: fix lint errors (61f9767)

  • style: Lint fixes (10330c3)

Test

  • test: ensure a superuser exists at beginning of populate test (b614f13)

  • test: refactor API tests, split up by viewset (c5deb96)

  • test: Add a test for API permissions (bc1a27e)

  • test: pass homepage url env var through tox environments (4b3a0bd)

Unknown

  • Merge pull request #60 from OpenGeoscience/auth-and-projects

Authentication and projects (6a3c0d4)

  • Append authentication settings to existing configuration (9453764)

  • Enforce single owner per project (448d070)

  • Rename clearMap to setMapCenter (33eba30)

  • Fix bug when initially setting map center/zoom

For some reason, initially setting the map center and zoom would set the
latitude to 0, only the first time. (7d75b37)

  • Refactor Project.set_permissions
  • Explicitly define allowed values
  • Use a transaction, to ensure no inconsistent data
  • Overwrite permissions, by deleting all existing first (61196f8)
  • Rename pk to id in get_vector_tile (4b10b27)

  • Generalize project filtering function

It now accepts a model queryset, and project queryset, and returns the
queryset filtered to those that are contained within the project
queryset. The user permission logic has been removed from that function. (ea5ff03)

  • wip: Consolidate access control logic with django-guardian (b40dd60)

  • Switch from @girder/oauth-client to @resonant/oauth-client (093fcb3)

  • Migrate from OpenLayers to MapLibre GL (#63)

  • Partially working maplibre-gl implementation

  • Rename server map layers to dataset layers

  • Fix basic rendering issues

  • Fix active layer ordering

  • Fix opacity rendering

  • Remove use of DatasetLayer.openlayer

  • Fix updateBaseLayer and clearMapLayers

  • Place toggled layer on top if not created

  • Improve types

  • Correctly display vector layer points

  • Display region datasets correctly

  • Clean up unnecessary code and fix type issues

  • Simplify layer creation

  • Fix map click handler

  • Fix zoom to region button

  • Remove region grouping functionality in map tooltip

  • Apply style changes to all dataset layers by default

  • Fix circle layer opacity issue

  • Improve line and circle rendering

  • Fix raster and tooltip display

  • Consolidate tooltip manipulation code

  • Clean up raster colormap code

  • Fix layout of zoom to region button

  • Enable network and GCC features

  • Remove references to openlayers

  • Use OSM instead of map tiler

  • Fix linting errors

  • Ensure map layers are fetched in sorted order

  • Fix bug in raster tile request param construction

  • Remove unused and commented out code

  • Ignore and add TODO to non-null assertion

  • Remove nested array in network endpoint

  • Add comment to explain unavoidable error

  • Fix bug with reset network button

  • Show raster and flood map layers in simulations panel

  • Add ts-ignore statements

  • Remove TODOs (ad426e9)

  • Merge pull request #62 from OpenGeoscience/ny-grid-improved

Use improved NY Grid data (6c51ec8)

  • update wait time estimate in import script (74db6e8)

  • data: refer to new networks zip on DKC (9ed26d6)