Commit Graph

124 Commits

Author SHA1 Message Date
KoalaGeo 8cd1e737f2 PR #801 for #989: GH Workflow - Docker Build+Push to DockerHub and GH Container Registry
* Create ghcr.yml

Create and publish a Docker image to GitHub Container Registry

* Update installation.rst

Add reference to GitHub Container registry

* Update running-with-docker.rst

Add ghcr references

* Make ghcr conditional on main.yml

Updated main.yml run conditions & add on-success condition to ghcr.yml

* Miss aligned

* change workflow name

GHCR

* Update build to Build

Names didn't match GHCR condition

* Remove cog symbol from Build name

* Add paths-ignore

**.md

* Added build & push to DockerHub

* Add authorship & update header

* Tidy yml, add on-success condition

* Add on failure condition

* Remove GHC Tests and Conditional Push

* DockerHub Test - koalageo/pygeoapi

* DockerHub - Revert to geopython/pygeoapi

* Use SECRET for DockerHub repo

* Combined Build & Push

* Update tag function

* Fix tags for latest

* Lastest tag only on `master`

* Use tag on push tag event

* Add latest tag on default branch

* Add unit tests step

* Add separate build & test steps

* Typo in docs

* Move flake8 to before tests - catch errors early

* Add further tags

Co-authored-by: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>

Co-authored-by: Benjamin Webb <40066515+webb-ben@users.noreply.github.com>
2022-09-26 23:38:34 +02:00
Tom Kralidis faa00e7c92 add support for API transactions (#984)
* add support for API transactions (#107)

* update Django views

* fix Starlette refs

* isolate  metadata fields

* fix flake8

* add root link relations to collection and item endpoints

* fix tests

* fix tests

* fix tests

* fix tests
2022-09-15 11:59:06 -04:00
Jakob Miksch 0da02695af Docs: Add missing comment (#983)
* Add missing comment

* Update installation.rst

Co-authored-by: Tom Kralidis <tomkralidis@gmail.com>
2022-09-15 05:24:24 -04:00
Tom Kralidis da3ce7a988 add link to workshop [skip ci] 2022-09-06 01:07:52 -04:00
Tom Kralidis 199a1fc612 update Django integration (#971)
* update Django integration

* address PR comments
2022-08-30 22:41:48 +02:00
Francesco Bartoli 98bfdd5cf2 Add support for the django framework (#630)
* Add initial support with a django skeleton project

* Start the django server from pygeoapi configuration and push to settings

* Add views to django routes

* fixed flake8 problems

* added jobs endpoints

* added EDR endpoints

* renamed jobs endpoints and functions

* fixed flake8

* Bump django version to support 3 and 4

* Fix api request instance


Fix api request instance

* fixed stac catalog path request

* fixed problem with static

* get parameters from django requests

* Add sample project for django application

* Fix flake8 errors

* added documentation for Django downstream project

Co-authored-by: Luca Delucchi <lucadeluge@gmail.com>
Co-authored-by: Krishna Lodha <krishnaglodha@gmail.com>
2022-08-27 18:01:32 +02:00
ColinAsheGIS c7cc788e46 Corrects 'pip install guvicorn' to 'pip install uvicorn' (#963) 2022-08-27 06:04:02 -04:00
Jorge Martínez Gómez 1e3e50995e Update installation docs to make sure pip is upgraded (#966) 2022-08-27 05:56:30 -04:00
Tom Kralidis b640217900 update OSGeo project status 2022-08-20 22:37:35 -04:00
Tom Kralidis 1adc0cfa56 fix C4 diagram arrows [skip ci] 2022-08-15 10:17:18 -04:00
Benjamin Webb 46f213bff5 Add Socrata provider for OGC API - Features (#955) 2022-08-15 09:44:25 -04:00
Benjamin Webb 5a6fdd2bed Add ESRI Service provider for OGC API - Features (#954) 2022-08-15 09:44:13 -04:00
Tom Kralidis eaf11ef7ad update architecture diagram and HTML tables (#962) 2022-08-15 09:26:27 -04:00
Sylvain Brunato 262562022e docs: fixed configuration validation command (#945) 2022-07-27 20:24:33 -04:00
Jo b6bf67b8c8 - Added overview for mongo provider in the documentation (#940) 2022-07-21 20:29:39 -04:00
Tom Kralidis 08f3380b6f update hidden resources concept (#934) 2022-07-11 07:45:10 -04:00
Tom Kralidis 2d85eb2ac6 add support for non-advertised resources (#927) 2022-07-07 06:32:43 -04:00
Tom Kralidis 3b231c5fea add OpenAPI generate option to write to file (#919) (#925) 2022-06-21 21:03:19 -04:00
Paul van Genuchten d17f9ec526 rename fieldnames as suggested by @geosander 2022-06-13 09:18:23 +02:00
Paul van Genuchten be5efadc90 when title-field has a multilingual configuration, use it
resolves #921
2022-06-13 09:18:23 +02:00
Tom Kralidis 3ebdbded9a fix JSON MIME types 2022-05-13 13:48:15 +00:00
Tom Kralidis 356fe1280c add skip_geometry to remaining feature providers (#887)
* skip geometry for SQLite/GPKG backends (#886)

* simplify GKPG

* add for remaining providers, add to doc
2022-04-19 13:44:56 -04:00
Tom Kralidis 09ad6f8fce Hierarchical collections (#885)
* add support for hierarchical collections

* fix JSON rendering in docs

* fix JSON rendering in docs

* fix tests

* update docs

* update HTML templates with collections path

* fix template error

* add test
2022-04-16 18:26:55 -04:00
Tom Kralidis f17c6936a0 OACov: change coverage range-subset to properties, update conformance classes (#870)
* OACov: change coverage range-subset to properties, update conformance classes

* fix conformance tests
2022-03-10 16:23:49 -05:00
Tom Kralidis 5d0dbd0857 fix docs 2022-03-08 16:05:08 -05:00
Tom Kralidis 1c87e0005b move items startindex to offset 2022-03-08 14:51:53 -05:00
ychoquet bd2177674c Creation of a STAC HATEOAS Provider. (#857) 2022-02-23 17:27:43 -05:00
Tom Kralidis c0a1d56f99 add latex engine/url footer settings (#856) 2022-02-11 13:14:33 -05:00
Angelos Tzotsos e28d0cbd47 back to dev 2022-02-07 22:10:53 +02:00
Angelos Tzotsos 2989756a21 update release version 2022-02-07 22:05:13 +02:00
Tom Kralidis 3f8fa1506c fix OGC API doc refs (#852) 2022-02-06 09:14:52 -05:00
KoalaGeo 23fc76b6ff Update ogcapi-features.rst (#847) 2022-01-29 17:37:31 -05:00
Tom Kralidis 300be49a58 allow providers to specify custom filename for query output (#841) 2022-01-15 07:30:20 -05:00
Tom Kralidis 5d072f4efa OAProc updates (#840)
* update OAProc jobs as a top-level resource (#838)

* update config

* update copyright year
2022-01-04 08:43:39 -05:00
Tom Kralidis 30a626ba9d update copyright year 2022-01-01 09:15:32 -05:00
Tom Kralidis 05dfebd7e4 fix list formatting in docs 2021-12-08 21:59:26 -05:00
Tom Kralidis fca8974432 [OACov] rename rangeSubset to range-subset for coverage queries (#816) 2021-11-19 09:25:13 -05:00
Benjamin Webb 205ff3002c Add Gzip to response types (#795)
* Add gzip to API.py

* pytest for gzip

* fix pytest

* Update test_api.py

* Add gzip to server block of configuration files

* Update api.py to include gzip opts from config

Update logic behind gzip compression  such that compression will only happen when gzip in the Accept-Encoding request header and config.server.gzip is True. Use server charset for encoding/decoding and include charset in Content-Type when compressed.

* Update pytest to use gzip config options

Update pytest to test with (gzip in Accept-Encoding & server.gzip = False), (gzip in Accept-Encoding & server.gzip = True), (gzip not in Accept-Encoding & server.gzip = True)

* Better Content Negotiation (#7)

* Change content negotiation in _get_format()

* Add to pytest and force h to always be string

* Force F_JSON to default response

* Update test_api.py for utf-16 encoding

* better content negotiation pytest.

* Add comments to pytest

* Fix flake 8

* Improve docstring for gzip decorator function
2021-10-27 20:17:02 -04:00
Angelos Tzotsos 04250002d3 back to dev 2021-10-24 18:13:27 +03:00
Angelos Tzotsos 23991a97fc update release version 2021-10-24 17:33:20 +03:00
Tom Kralidis 16648ecb48 add queryable support for CSV and GeoJSON providers (#555) (#786) 2021-09-26 20:25:27 -04:00
Tom Kralidis 44624e8e87 docs: make CSV table more readable (#785) 2021-09-26 07:10:09 -04:00
Benjamin Webb a54fd6a908 Add postgres provider query parameters (#784)
* Add sortby, skip_geometry, and select_properties

* some pytest fixes

* Update main.yml

* Update main.yml

* fix geom in response feature

* more pytest fixes

* Update postgresql.py

* Update test_postgresql_provider.py

* Update test_postgresql_provider.py

* Add to docs, fix pytest

* fix for when when 'name' = None

* Update test_postgresql_provider.py

* Update test_postgresql_provider.py

* Remove optional comparator

* use secrets with default password

* Add secret to load postgres data
2021-09-25 07:03:38 -04:00
Sander Schaminee d2d5ce794a Language structs (dicts) must consist of valid locale keys only (#769) 2021-09-19 00:30:20 +02:00
Tom Kralidis 774ff49f00 update translations (#760) (#762)
* update translations (#760)

* fix syntax

* update translations

* update docs

* fix typos
2021-09-01 09:02:28 -04:00
Tom Kralidis cf9bd223eb Update plugins.rst (#770) 2021-08-31 10:11:31 -04:00
paul van genuchten 995ab2f04d add translation system to pygeoapi (#725)
* adds translation keys to templates

* adds translation keys to templates

* suggestions from github pr 2
2021-08-22 20:42:10 -04:00
Tom Kralidis 9d920901b5 update OAProc execute handling (#754)
* fix OAProc default output to raw

* control outputs list from api machinery

* fix tests
2021-08-18 15:28:55 -04:00
Tom Kralidis 00a08e05ba update OAProc content models (#735) 2021-07-22 15:13:09 +02:00
Francesco Bartoli bb4cd0bf69 Add cql-json support for ES (#723)
Fix starlette event loop


Fix starlette event loop


Fix starlette event loop


Fix starlette event loop


Fix provider regression


Make method public


Make method public


Move function to the helpers utility


Add the CQL lifecycle for development


Add CQL docs


Fix flake8


Isolate import for starlette codepath
2021-07-21 21:00:14 -04:00