Commit Graph

23 Commits

Author SHA1 Message Date
KatKatKateryna cc4a7f6d3a print 2024-11-05 11:27:46 +00:00
KatKatKateryna d0a0d7efae ignore speckleUrl character case 2024-11-05 11:24:08 +00:00
KatKatKateryna 661d0e9104 header removed 2024-09-26 14:20:07 +01:00
KatKatKateryna 6a8b5df87c Polishing (#9)
flake8 / flake8_py3 (push) Has been cancelled
Build / main (3.10) (push) Has been cancelled
Build / admin (3.10) (push) Has been cancelled
Check vulnerabilities / vulnerabilities (push) Has been cancelled
* colors and materials

* traverse for colors

* fix multipolygons in 3d

* prioritize attributes by default, less geometry divisions

* fix multipolygons

* split polygons in leaflet

* ensure speckleURL argument

* avoid multiple loops

* URL exceptions handling

* add bbox per feature

* leaflet controls to the right

* html syntax
2024-09-05 06:55:19 +08:00
KatKatKateryna 3f42069d9e Kate speckle poc (#5)
* Revert "change port"

This reverts commit 92e0b0da9e.

* better map size

* render pretty basemap if API key is available

* page layout

* better error message; all redirects to a new tab

* neat tables

* upd readme

* api key variable

* remove manual zoom setting

* reply on speckle_type for traversal

* receive custom attributes

* fix attributes

* fixes

* fixed deserialization; default color

* assign all props to all elements

* send complete displayValues for Meshes

* refactor

* more refactor

* last fixes

* use 3 dimensions

* support ICurves and new GisFeatures, and (possible) hatches

* fix hatches

* fix orientation function

* fix orientation for mesh, brep, hatch, polygon

* patch deserializer

* accept vertical polygons

* prioritize mesh colors, if available

* clean url arguments

* color mesh by 2 pts

* Revert "color mesh by 2 pts"

This reverts commit 0d2c12db1d.

* query comments and attachments

* fix time formatting

* fixed comments

* fix threads

* patch before launch

* separate comments and geometry in displayProperties

* add url parameter for data type

* split features by type

* max zoom for tiles to load

* cors

* rename url

* typo

* leaflet_demo_comments

* url fix

* Demo with masterplan

* openlayers demo, no zoom extents

* openLayers example

* Update README - QGIS WFS

* explicit error for deprecated data

* move around

* Update README.md

* better openLayers demo

* Update README.md

* Update README.md

* Update README.md

* better display colors

* attribution

* no print

* explode meshes. todo: URL param; fix Revit

* some improvements

* preserveAttributes parameter

* fix

* proper comment resource_id

* add map to empty page

* sort by height

* remove print

* page description

* page description complete

* change port
2024-08-27 19:59:29 +08:00
KatKatKateryna c96d4f6f30 Kate speckle poc (#1)
* MVP

* upd

* upd

* fixed dynamic loading

* don't overwrite YAML, remember the value instead

* remove default link; URL syntax; TODO: lat vs lon; speckle_data None

* crs centralized

* not implemented methods

* remove case from args

* removing client auth; only receive branch

* enable Queryables page

* normal props

* reprojection in bulk

* speed up reprojections

* add GisFeature

* fix geometry

* fix coords

* fix lines

* all GIS data works

* non-gis data scaling fixed

* fix non-gis pts and curves

* backup displayValue

* remove redirect to individual features

* replace old links

* UI without redirects

* display parameters

* reroute from homepage

* operations from Core; set HostApp

* receive exception

* all not implemented

* zoom

* redirect to speckle from individual features

* layer color placeholders

* render styles; server info

* Model info column

* html styles

* display Missing URL message

* return functionality for WFS

* more display colors

* load landing page for GIS apps only

* display invalid input error

* typo

* print out agent

* patch specklepy on install

* fix import

* warning for zero coords; remove Account from auth

* remove transport account only before receive

* better patch

* get the entire stream

* fix request split

* clear provider data

* list browsers to support

* better UI

* UI

* UI and hyperlinks

* large map
2024-08-14 10:29:10 +08:00
Tom Kralidis 298f069ffa update jobs endpoint link title (#1739) (#1742) 2024-07-19 12:34:58 -04:00
francescoingv e91f051ea0 Update processes.py (#1738)
Co-authored-by: FrancescoIngv <FrancescoIngv@users.noreply.github.com>
2024-07-19 06:00:59 -04:00
Tom Kralidis e8ce02167f OAProc: fix response type on delete_job (#1721) (#1726) 2024-07-15 21:17:51 -04:00
Tom Kralidis 6d4237a7f6 use identification.url as about link on landing page (#1716) 2024-07-09 01:01:35 -04:00
Vincent Privat cbab803c0d Fix typos (#1701) 2024-07-02 02:28:13 -04:00
Vincent Privat db0dc5053d Fix 'proceses' typo (#1699) 2024-06-28 06:15:26 -04:00
Tom Kralidis 61bc84c532 fix items collection link href 2024-06-26 22:13:30 -04:00
Tom Kralidis b14baafd0c fix OpenAPI 2024-06-24 06:47:32 -04:00
Tom Kralidis 58fd68cf96 add support for item schema string format (#1691) 2024-06-23 12:24:39 -04:00
Moritz Langer dcabbb956f fixed issue 1652 by removing the staticmethod decorators infront of function defintion (#1653) 2024-05-14 21:13:49 -04:00
Tom Kralidis fd92861856 EDR: fix parameter-name parameter (#1642) (#1647) 2024-05-10 21:25:43 -04:00
francescoingv 6a6ec9cb93 Add support for parameter Outputs of OGC API Processes (#1602)
* Solve issue #1420

Add support for OGC API Processes Outputs

* Resolve Jan, 3 2024 totycro comments

* Solve issue 1420 with full backward compatibility for Processors.

* changed formattings

* Some additional formatting changes

* Update api.py

missing line in api

* Update base.py

To resolve conflict with #1603

* Update base.py

Added subscriber inline doc

* After Ricardo Silva comments on 13 Apr.

Included all the suggested changes on code format andparams name.

* Changed line length

* fixed trailing spaces.

* Update formatting base.py

* Update base.py

---------

Co-authored-by: FrancescoIngv <FrancescoIngv@users.noreply.github.com>
2024-05-10 08:41:47 -04:00
Ricardo Garcia Silva bf31885e5c Rebased to match API refactor (#1446) 2024-04-12 18:32:26 -04:00
Tom Kralidis ea2fb87ff5 use typing.Union for pre-3.10 compat (#1626) 2024-04-12 16:38:04 -04:00
Tom Kralidis a26662e0e4 add l10n to link titles (#1624) (#1625) 2024-04-12 09:50:46 -04:00
Benjamin Webb f51a8910d1 Fix indentation error (#1618) 2024-04-08 15:41:30 -04:00
Bernhard Mallinger 35bdcb6f02 Proposal to split api.py into different files (#1405)
* Move api to subdirectory

* Move processes api to own file

* Adapt processes view methods

* Move openapi definition to processes api

* Use processes api in flask

* Linter

* Fix import issues

* Allow calling refactored views from starlette

* Allow calling refactored views from django

* Linter

* Move edr api to own file

* Adapt edr api to new style

* Fix typo in django views

* Move maps api to own file

* Adapt maps api to new style

* Move edr openapi to edr api file

* Move maps openapi to maps api file

* Move stac views to own file

* Refactor stac views to new file

* Move stac openapi to stac api file

* Move tiles api to own file

* Adapt tiles api to new style

* Also move tilematrixset to tiles api

* Adapt tilesetmatrix views to new style

NOTE: I had to remove one tilematrixsets test because
it tested that an invalid format would produce an error.
This now happens by default for all views, but the actual
code is outside of the endpoint function.

* update features, records, coverages

* update release version

* switch back to dev

* backport of #1313

* backport of #1313 fix

* backport of #1585

* Flask: sanitize OGC schema pathing (#1593)

* update release version

* switch back to dev

* backport of #1596

* Port test_gzip_csv test

Note that apply_gzip is now called by the web framework adapters,
so to test it in general, we have to call it in the test manually

* Add empty conformance class list to stac api

* Fix queryables call in starlette

* fix ref

* Unify request validity checking

The default case is handled by the web framework adapters. If custom
format handling is required, the check in the adapter must be skipped.

* Fix imports in django views

* backport #1598

* Remove test about format handling in endpoint

This is now handled outside of the endpoint function

* add docstring to base process manager (#1603)

* backport of #1601

* Port api ogr tests to new style

* Move processes tests to own file

* Run api tests from new dir in CI

* Move edr tests to own file

* Move maps tests to own file

* Move tiles tests to own file

* Actually hide hidden layers in openapi

* 1600 allow providing default value in config (#1604)

* move coverages tests to own file

* move itemtypes to own file, move core into init test

* fix OpenAPI output

* update tests

* add missing descriptions to OpenAPI admin responses

* update tests

* fix tests autodiscovery

* remove unused logging in tests

* address PR comments

* test with xarray 2024.2.0

* remove unneeded file

* safeguard xarray error

* unpin xarray

* fix OpenAPI generation

* fix schema endpoint in Flask and Starlette

* Safely serialize configuration JSON (#1605)

* Safely serialize configuration JSON

Co-Authored-By: Tom Kralidis <tomkralidis@gmail.com>

* Revert "Safely serialize configuration JSON"

This reverts commit 36feb067ee6f87e61955852dc48994f075806370.

* Add test for datetime with Admin API

* Safely serialize configuration JSON

---------

Co-authored-by: Tom Kralidis <tomkralidis@gmail.com>

* backport #1611

* Also fix schema endpoint for django

Fix is analogous to e72d4ba3a5ba3b8621ca839e7814429beeeb8f01

* address additional PR comments

---------

Co-authored-by: Tom Kralidis <tomkralidis@gmail.com>
Co-authored-by: Angelos Tzotsos <gcpp.kalxas@gmail.com>
Co-authored-by: Ricardo Garcia Silva <ricardo.garcia.silva@gmail.com>
Co-authored-by: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>
2024-04-05 06:06:25 -04:00