Commit graph

137 commits

Author SHA1 Message Date
c1f229f805 Cosmetic: mostly typings 2024-02-13 12:47:07 +05:30
df5f67b79d Migrate core admin, baskets 2024-02-13 12:46:24 +05:30
5dacc908f2 Add missing dependencies
Add tile server
Config: add defults
Cosmetic refactorings
2024-02-10 19:26:38 +05:30
7e9e266157 Implement map api (ex. /v2/map/init-data)
Migrate registry.primary_groups to pydantic model
2024-01-11 12:55:42 +05:30
e43c88d0ab Code cosmetic 2024-01-09 20:53:57 +05:30
581598c208 Restructure apis, to the dedicated directory
Implement dashboards
2024-01-09 17:46:18 +05:30
aed84e0f36 Fix ACL 2024-01-07 23:09:39 +05:30
c3caedea0e Implement simplify (using geopandas)
Add preserve_geometry option
2024-01-07 18:30:25 +05:30
e3ed311390 feature-info: migrate to pydantic, fix live 2024-01-06 12:29:48 +05:30
71cb491617 Helper class for db schema 2024-01-05 01:50:32 +05:30
0a480b0e02 HTTP Response not found for feature-info 2024-01-05 01:49:28 +05:30
ec71b6ed15 Remove custom sqlalchemy metadata, manage with __table_args__
Allow sqlmodel queries, with relations
Remode join_with mechanisms coming from gino
Handlew ith_only_columns in get_df and get_gdf
Implement feature-info
2024-01-04 18:50:23 +05:30
1e3678fb69 Migrate from dyn_join_with to selectinload 2024-01-03 17:07:11 +05:30
be8d7c3175 Projects: fix model and add api 2024-01-03 17:05:54 +05:30
653a7cbc05 Fix typo 2024-01-03 15:29:24 +05:30
f04aac5667 Geoapi: checkviewable permissions 2024-01-03 12:24:13 +05:30
76a4e8f023 Admin: add relations 2024-01-02 00:09:27 +05:30
75bedb3e91 Migrate joins to sqlalchemy's query options
Use native pandas read_sql_query and geopandas from_postgis
Fix definiiton of status in models
Fix table names
Fix category fields
2024-01-02 00:09:08 +05:30
956147aea8 Fix api stores
Rename in category table: geom_type to gis_type
2023-12-27 01:11:54 +05:30
c0c308a657 Rename in category table: model_type to geom_type 2023-12-26 18:42:40 +05:30
b772e1bd80 Cleanup 2023-12-26 17:21:35 +05:30
6c5acd5a4d Fix registry geo_model to levels mapping 2023-12-26 17:20:36 +05:30
741050db89 Remove relative imports
Fix primary keys (optional)
Add baskets, importers, plugins, reactor
Add fake replacement fro graphql defs (to_migrate)
Add typing marker (py.typed)
2023-12-25 15:50:45 +05:30
a974eea3d3 Add python typings stubs for psycopg2 2023-12-25 15:42:34 +05:30
fda845c2f1 Fix pyproject.toml 2023-12-24 00:23:40 +05:30
5c9d82f507 Setup redis cache (ttags) 2023-12-23 15:08:42 +05:30
phil
f47e018e65 Fix startup when there's no live layers in reds 2023-12-21 17:16:50 +05:30
phil
1e2802f289 Fix pyproject 2023-12-21 15:38:31 +05:30
47df53f4d1 Add live (redis and websockets)
Add modernised ipynb_tools
Add scheduler
Fix crs in settings
Lots of small fixes
2023-12-21 10:51:31 +05:30
461c31fb6f Fix geoapi store geojson for live layers 2023-12-17 15:22:52 +05:30
1b7db43ee7 Return geoapi store geojson 2023-12-17 12:20:07 +05:30
4048e61221 Add redis (live layers)
Add base for geo_api (WIP)
2023-12-16 00:49:01 +05:30
049b8c9927 Misc:
Basic registry, with survey stores
Move to standard src/ dir
versions: sqlmodel official, pydantic v2
etc...
2023-12-13 01:25:00 +05:30
5494f6085f Fix typo 2023-11-19 12:22:10 +05:30
80100fffd0 Add gisaf models
Restructure config (map.tileServer)
2023-11-19 12:13:39 +05:30
90091e8a25 Use experimental pydantic, sqlmodel 2 and sqlalchemy 2
JWT based user auth
pydantic_settings conf
2023-11-17 11:35:09 +05:30
3355b9d716 Initial commit 2023-11-06 17:04:17 +05:30