Commit Graph

1262 Commits

Author SHA1 Message Date
KatKatKateryna ec04220183 Update patch_specklepy.py
move import inside the function, as "alien" imports are not recognized by pygeoapi
2024-08-15 20:33:36 +08:00
Gergő Jedlicska fad6300654 Update patch_specklepy.py (#3)
better path handling for specklepy and pygeoapi
2024-08-15 20:32:12 +08:00
KatKatKateryna 7bc42653d0 Kate speckle poc (#2)
* Revert "change port"

This reverts commit 92e0b0da9e.

* server patch

* enforce patch

* Reapply "change port"

This reverts commit 243994d0da.
2024-08-14 12:13:10 +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
KatKatKateryna 92e0b0da9e change port 2024-08-13 11:11:23 +01:00
Tom Kralidis b6c00b0cff update CITE setup (#1728) (#1731) 2024-07-21 16:39:08 -04:00
Benjamin Webb 274646b6ae Add TRS to pygeoapi config schema (#1743)
* Add TRS to pygeoapi config schema

* Update configuration.rst

---------

Co-authored-by: Tom Kralidis <tomkralidis@gmail.com>
2024-07-21 11:05:56 -04:00
Tom Kralidis a000fe558f port PostgreSQL process manager to SQLAlchemy (#1745) 2024-07-20 13:19:08 +02:00
Tom Kralidis 298f069ffa update jobs endpoint link title (#1739) (#1742) 2024-07-19 12:34:58 -04:00
Paul Tomasula 9d53f1b8f7 Fix for Starlette CORS (#1741)
* Fix for Starlette CORS

The Starlette app with setting cors=true enables all origins, but only permits requests with the GET method. The CORSMiddleware for Starlette requires specifying `allow_methods=['*']` to enable all common request methods.

* Add noqa to break line break

This line was flagged by flake 8 for being 81 characters. I think that this line it more readable as is rather than splitting up into multiple lines.

* Revise indentation on CORS middleware
2024-07-19 18:12:57 +02:00
pgValero 05a7de433d Update setup.py to restrict python version >= 3.9 (#1725)
* Update setup.py

Release 0.17.0 is incompatible with Python < 3.8

"python_requires" added to only install this version with python >= 3.9

* Update setup.py
2024-07-19 09:14:10 -04:00
francescoingv c322d3fb40 Release Process Manager backed by Postgresql (#1730)
* Release Process Manager backed by Postgresql

* Update postgresdb_.py

* Changes as for Tom comment on 16.7

* Update postgresql.py

* Included further Tom suggestions

* Renamed Manager requirements file

* renamed table job_info -> jobs

* Update postgres_manager_full_structure.backup.sql

* Update postgresql.py

* Update requirements-manager.txt

Accepted @Tom requirement.

I found the issue about compiling psycopg2:
it was a bug in my configuration.

* Modified to adhere to CI

* Update postgresql.py

---------

Co-authored-by: FrancescoIngv <FrancescoIngv@users.noreply.github.com>
2024-07-19 09:10:21 -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 510875027e EDR: add HTML table of parameters for collections with EDR support (#1733) (#1736) 2024-07-17 10:13:17 -04:00
Benjamin Webb 3d81115b1c Allow setting docker repository via repository secret (#1734) 2024-07-16 13:27:06 -04:00
Benjamin Webb 0be6de01b8 Update default docker bbox extents (#1732) 2024-07-16 12:51:03 -04:00
Benjamin Webb 533151831c Add CRS transform to remaining providers (#1729)
* Add CRS transform to remaining providers

* Update tinydb_.py

---------

Co-authored-by: Tom Kralidis <tomkralidis@gmail.com>
2024-07-16 12:42:33 -04:00
Tom Kralidis d9adbbd817 add support for TinyDB feature provider (#1724)
* add support for TinyDB as a feature provider (#1723)

* add tests

* update CITE setup

* add/update docs

* update sample CITE config

* update copyright year

* reorder imports

* fix formatting

* delineate features/records via overloading

* remove now unused test data

* move CITE data to tests/data

* fix ref

* remove HYDAT from GitHub Actions

* remove print statement
2024-07-16 11:40:50 -04:00
Tom Kralidis e8ce02167f OAProc: fix response type on delete_job (#1721) (#1726) 2024-07-15 21:17:51 -04:00
francescoingv 0169e43329 Update test_tinydb_manager_for_parallel_requests.py (#1720)
* Update test_tinydb_manager_for_parallel_requests.py

Updated the call to execute_process
and now checks the expected number of process results are present.

* Update test_tinydb_manager_for_parallel_requests.py

---------

Co-authored-by: FrancescoIngv <FrancescoIngv@users.noreply.github.com>
Co-authored-by: Tom Kralidis <tomkralidis@gmail.com>
2024-07-12 05:45:24 -04:00
Tom Kralidis 6d4237a7f6 use identification.url as about link on landing page (#1716) 2024-07-09 01:01:35 -04:00
Colton Loftus 5e48308ba2 Fix typo in ogcapi-processes.rst (#1715) 2024-07-08 02:47:20 -04:00
Tom Kralidis b30465c147 OAProc: test hello-world process evaluation of None and empty dict (#1714) 2024-07-06 15:15:03 -04:00
Piotr Zaborowski f6c33d7a3c EDR generic layers UI (#1713)
default template supports only SST parameter, this change allow to present any property and several at once.
2024-07-05 06:17:34 -04:00
Tom Kralidis afd29f28d8 docs: add section on security (#1712) 2024-07-05 11:38:38 +02:00
Angelos Tzotsos 11b9480204 switch back to dev 2024-07-04 11:50:48 +03:00
Angelos Tzotsos 2575c03aa5 update release version 2024-07-04 11:29:45 +03:00
Angelos Tzotsos e39e7232a0 Upgrade docker base image for CVE-2024-6387 (#1711) 2024-07-04 04:16:15 -04:00
Tom Kralidis 0af1df9a62 fix CSV provider paging (#1703) (#1710)
* fix CSV provider paging (#1703)

* update tests
2024-07-04 11:15:12 +03:00
Bernhard Mallinger 2b00cf2eaf Disable generic format check for collection_coverage (#1705)
* Disable generic format check for collection_coverage

This view can and must handle custom format

* Remove trailing comma
2024-07-04 02:53:28 -04:00
Colton Loftus bcc5b79c9f Fix bullet points in docs (#1709) 2024-07-04 02:21:16 -04:00
Tom Kralidis cd066a0ab2 add Spanish translations (#1707) 2024-07-03 11:50:29 -04:00
Tom Kralidis d5bf314288 update translation labels (#1704) (#1706)
* update translation labels (#1704)

* fix
2024-07-03 11:38:28 -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
Vincent Privat accb8199db Add missing backslash in documentation (#1700) 2024-06-28 06:12:06 -04:00
Tom Kralidis 47f529361e PostgreSQL: support numeric types (#1695) (#1696)
* PostgreSQL: support numeric types (#1695)

* improve string format error

* add tests/test data

* remove unused test data
2024-06-27 08:30:58 -04:00
Tom Kralidis 7a7ee09577 Merge pull request #1697 from geopython/tomkralidis-patch-1
fix items collection link href
2024-06-27 06:01:17 -04:00
Tom Kralidis 61bc84c532 fix items collection link href 2024-06-26 22:13:30 -04:00
Tom Kralidis 722f846b64 Merge pull request #1694 from Boren/uuid-id
Support UUID serialization
2024-06-24 20:51:49 -04:00
Tom Kralidis b19960bdf5 reorder imports 2024-06-24 19:22:23 -04:00
Tom Kralidis d36ee2af86 Merge pull request #1692 from geopython/item-schema-format
add support for item schema string format (#1691)
2024-06-24 12:48:53 -04:00
Fredrik Bore 5a7cf63755 Tests 2024-06-24 13:37:29 +02:00
Fredrik Bore e7050b633d Support using UUID as id 2024-06-24 13:25:26 +02:00
Tom Kralidis 3790b45b90 fix ref 2024-06-24 07:20:39 -04:00
Tom Kralidis b14baafd0c fix OpenAPI 2024-06-24 06:47:32 -04:00
Tom Kralidis 0ee956bc0c docs: update as Reference Implementation for OGC API - Tiles 2024-06-24 06:29:17 -04:00
Tom Kralidis dd1658f68f update tests 2024-06-23 12:34:29 -04:00
Tom Kralidis 58fd68cf96 add support for item schema string format (#1691) 2024-06-23 12:24:39 -04:00
Moritz Langer c607be7ed2 Oracle Connection Pooling implementation of issues/1655 (#1688)
* Implemented Connection Pooling

First part of collection pooling, improve by making pool size and other params configurable in YAML file of pygeoapi

* updated session pooling with more robust creation of dsn

* Further changes for releasing connections

* further little tweaks

* Added Thread Lock and building of DSN

* Session Pooling now only happens when ENV VAR ORACLE_POOL_MIN and ORACLE_POOL_MAX are set. Else usual behaviour is restored and single connections are opened and closed. Added a Lock for avoiding race conditions and threat safety.

* Flake8 changes

* More Flake8

* Added integer type to env variables

* Added Tests for Session Pooling

* Flake 8 changes for tests

* More Flake8 fun

* Fixed typo for env vars

* Fixed typo for env var and added noqa for variables

* More Typos

* More Flake8

* Added documentation to the oracle section for session pooling

* Review and Feedback with @totycro

* Update oracle.py

Added Author

* Added feedback from review

---------

Co-authored-by: root <root@els01entw.ama.at>
Co-authored-by: xlanger <moritz.langer@ama.gv.at>
2024-06-21 07:15:34 -04:00