Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
121 commits
Select commit Hold shift + click to select a range
5caa0f2
feat(3.0): refactor , adds all the new models , drops celery , adds z…
kshitijrajsharma May 5, 2026
f82d1f7
fix(hooks): precommit hooks addition
kshitijrajsharma May 5, 2026
b0a03ca
ci(adds-docker): builds ci
kshitijrajsharma May 5, 2026
564e93d
fix(ci): fixes ci secrets on the backend build
kshitijrajsharma May 5, 2026
33dd936
build(docker): slim, dowen img
kshitijrajsharma May 5, 2026
2d22f59
temp : ci -fix build test image
kshitijrajsharma May 5, 2026
76ddf18
Merge branch 'develop' into refactor/zenml-integration
kshitijrajsharma May 5, 2026
5f68b4e
fix(url): frontend url not being picked up by pydantic
kshitijrajsharma May 6, 2026
9588226
docs : add architecture and fix for dockerfile
kshitijrajsharma May 6, 2026
2e6cdd4
chore : simplified diagram
kshitijrajsharma May 6, 2026
2c71159
docs : replace arrow
kshitijrajsharma May 6, 2026
3db813c
fix(throttle): allow container to hit health endpoint
kshitijrajsharma May 6, 2026
4fee4ae
typo
kshitijrajsharma May 6, 2026
60810cd
feat(sentry): adds sentry support to backend for error tracking
kshitijrajsharma May 6, 2026
15ff5dd
fix(token): fix the token with jwt
kshitijrajsharma May 13, 2026
f46c89c
version : bump fair py ops
kshitijrajsharma May 18, 2026
6fd71e7
feat(visibility): adds visibility toggle to the all models
kshitijrajsharma May 18, 2026
0358a80
Merge pull request #501 from hotosm/refactor/zenml-integration
kshitijrajsharma Jun 3, 2026
5585866
Merge pull request #502 from hotosm/feat/visibility-and-anon-reads
kshitijrajsharma Jun 3, 2026
0f520c9
Merge branch 'develop' of https://github.com/Spatialnode/fAIr into de…
superwaih Jun 5, 2026
19e1713
Merge pull request #503 from Spatialnode/feat/try-fair
kshitijrajsharma Jun 5, 2026
03a7c83
chore: pin pnpm version to 9.8.0 in Dockerfiles
kshitijrajsharma Jun 6, 2026
7cd0ffe
feat: add Docker build steps for development and production images
kshitijrajsharma Jun 6, 2026
77a7462
chore: add preview location support to TryFairPage and STAC model
kshitijrajsharma Jun 6, 2026
ffb3581
Merge pull request #504 from hotosm/feat/frontend_recommended_location
kshitijrajsharma Jun 6, 2026
091706c
fix: changed the login button to start mapping on try fair page
jeafreezy Jun 7, 2026
bb44b30
chore: handled edge cases
jeafreezy Jun 7, 2026
363ddbc
Merge pull request #505 from Spatialnode/fix/login-button-fix-on-staging
kshitijrajsharma Jun 7, 2026
5a29552
Merge branch 'develop' of https://github.com/Spatialnode/fAIr into de…
superwaih Jun 7, 2026
f3bd99a
fix: update label from 'buildings detected' to 'objects detected' in …
kshitijrajsharma Jun 8, 2026
b8dbfeb
fix: bug: confidence threshold calculation and update model picker to…
kshitijrajsharma Jun 8, 2026
01aab49
fix: format code for better readability in navbar and model picker co…
kshitijrajsharma Jun 8, 2026
33a5cfc
fix: add handleOnly prop to TryFairSidebar component
kshitijrajsharma Jun 8, 2026
1b20691
fix: bug on MobileDrawer interaction and update TryFairSidebar slider…
kshitijrajsharma Jun 8, 2026
218065b
fix mobile drawer coming down and fix the point predictions defaults
kshitijrajsharma Jun 9, 2026
a932a86
fix : mobile initial zoom
kshitijrajsharma Jun 9, 2026
c70381b
feat: add ParkingIcon and SwimmingPoolIcon components; update ModelPi…
kshitijrajsharma Jun 9, 2026
bd1f3e7
fix: update output type handling in TryFairPage , disable polygon if …
kshitijrajsharma Jun 10, 2026
25c3fdf
revert slider , add white background in plotted geom
kshitijrajsharma Jun 10, 2026
8b3bdd6
chore : env example in the develop branch !
kshitijrajsharma Jul 15, 2026
d92e742
restore env example
kshitijrajsharma Jul 15, 2026
9ba1d4d
build(k8s): replicate hotosm/website setup for helm chart simple post…
spwoodcock Jul 15, 2026
672f213
Clean up env example just to make dummy change to test staging workflow
dakotabenjamin Jul 17, 2026
c33a919
ci: use reusable gh worflow for builds, remove redundant workflow
spwoodcock Jul 17, 2026
0a752cf
build(backend): add whitenoise dep to prepare to serving frontend (op…
spwoodcock Jul 17, 2026
5d23914
feat(backend): add option to serve frontend from django (disabled by …
spwoodcock Jul 17, 2026
368741c
build(frontend): productionise the frontend dockerfile
spwoodcock Jul 17, 2026
83fc96a
build(k8s): finalise the helm chart to match drone-tm pattern of bund…
spwoodcock Jul 17, 2026
a04acdb
fix(django): better url regex to handle trailing slashes when not fro…
spwoodcock Jul 20, 2026
dbd10e1
Merge pull request #513 from hotosm/build/finalise-chart
spwoodcock Jul 20, 2026
7a7c206
ci: update all workflows to latest versions for sha tagging
spwoodcock Jul 20, 2026
4195279
build(k8s): replicate hotosm/website setup for helm chart simple post…
spwoodcock Jul 15, 2026
3c5311c
ci: use reusable gh worflow for builds, remove redundant workflow
spwoodcock Jul 17, 2026
0f5f6a8
build(backend): add whitenoise dep to prepare to serving frontend (op…
spwoodcock Jul 17, 2026
cbd8b07
feat(backend): add option to serve frontend from django (disabled by …
spwoodcock Jul 17, 2026
d7d8325
build(frontend): productionise the frontend dockerfile
spwoodcock Jul 17, 2026
cd0d10f
build(k8s): finalise the helm chart to match drone-tm pattern of bund…
spwoodcock Jul 17, 2026
05e6140
fix(django): better url regex to handle trailing slashes when not fro…
spwoodcock Jul 20, 2026
8b78634
ci: update all workflows to latest versions for sha tagging
spwoodcock Jul 20, 2026
f299b8b
Merge branch 'main' into stage
dakotabenjamin Jul 20, 2026
e03d692
Merge branch 'develop' into stage
dakotabenjamin Jul 20, 2026
4a7da90
expand regex to support positional arg
kshitijrajsharma Jul 20, 2026
8b682db
fix(fair-stage): Set kubelet probe headers to localhost
dakotabenjamin Jul 20, 2026
f2fac4e
fix(helm): change readiness probe api to remove trailing slash
dakotabenjamin Jul 20, 2026
80af47d
Merge branch 'develop' into stage
dakotabenjamin Jul 21, 2026
7a273e9
fix(frontend): add envvars to chart frontend build
dakotabenjamin Jul 21, 2026
3f1933d
fix(frontend): fix stac envvar key name
dakotabenjamin Jul 21, 2026
53d5a90
fix(helm): set envvars in helm chart
dakotabenjamin Jul 21, 2026
c20bae2
fix(helm): fix envar setting range name
dakotabenjamin Jul 21, 2026
f08df0f
build(frontend): add config for runtime env injection on frontend to …
spwoodcock Jul 21, 2026
5a0866e
Merge pull request #515 from hotosm/build/frontend-runtime-env
dakotabenjamin Jul 21, 2026
4655935
fix(chore): docker cleanup
kshitijrajsharma Jul 24, 2026
cbd513f
chore(fair): migrate container registry path to fair/backend OCI name…
yshmael Jul 26, 2026
e31dff3
feat: Deploy Production Frontend to S3 & CloudFront
yshmael Jul 26, 2026
63ab8a6
Merge pull request #519 from hotosm/chore/docker-cleanup
kshitijrajsharma Jul 27, 2026
1f43bfa
ci(rename): renames all the workflow built images to follow conventio…
kshitijrajsharma Jul 27, 2026
a301535
Merge pull request #518 from yshmael/feature/fair-prod
kshitijrajsharma Jul 27, 2026
b103938
Merge branch 'develop' into chore/rename-images
kshitijrajsharma Jul 27, 2026
4c877b6
refactor: additional refs updated to new image name convention
spwoodcock Jul 27, 2026
0d962ea
Merge pull request #520 from hotosm/chore/rename-images
spwoodcock Jul 27, 2026
05c5463
refactor: final rename of images zenml-postgres
spwoodcock Jul 27, 2026
4880d7b
Merge branch 'develop' of https://github.com/hotosm/fAIr into develop
spwoodcock Jul 27, 2026
0a480b9
docs: start documenting the infra / deployment process
spwoodcock Jul 27, 2026
5e0c6df
docs: tweak doc formatting
spwoodcock Jul 27, 2026
3e84983
docs: final updates to dev-->stage-->prod model registration via STAC…
spwoodcock Jul 27, 2026
464b23e
feat: resolved pending issues
superwaih Jul 27, 2026
67e8f60
feat: resolved pending issues
superwaih Jul 27, 2026
bb7cf03
refactor: remove redirect to fair prod
superwaih Jul 28, 2026
5530e62
refactor: remove redirect to fair prod
superwaih Jul 28, 2026
9dfe530
refactor: remove redirect to fair prod
superwaih Jul 28, 2026
e60fabe
build: docker
kshitijrajsharma Jul 28, 2026
2dc3bfe
fix(docker): add env
kshitijrajsharma Jul 28, 2026
3fef03e
fix(fix): kpi stats
kshitijrajsharma Jul 28, 2026
8312e7f
fix(api): examples
kshitijrajsharma Jul 28, 2026
0c78f48
fix(api): fixes endpoint for the feature type basemodel categories ba…
kshitijrajsharma Jul 28, 2026
2134c90
fix(api): public predictions
kshitijrajsharma Jul 28, 2026
1eeb307
fix(publicview): fix the permission of category and make it modelcate…
kshitijrajsharma Jul 28, 2026
3702a4c
Merge branch 'hotosm:develop' into develop
jeafreezy Jul 29, 2026
1d8d9cf
chore: setup large area endpoint
superwaih Jul 29, 2026
e9d0af6
chore: setup large area endpoint
superwaih Jul 29, 2026
57900be
feat: disabled inactive navigation routes
jeafreezy Jul 29, 2026
1395b94
chore: fix typos in env variables
jeafreezy Jul 29, 2026
199c289
chore: added feature to map endpoint
superwaih Jul 29, 2026
9919de2
chore: added feature to map endpoint
superwaih Jul 29, 2026
4ce2ad6
chore: updated banner to match api changes
jeafreezy Jul 29, 2026
ed325ba
chore: merge with fair v3
superwaih Jul 29, 2026
f4628dd
chore: merge with fair v3
superwaih Jul 29, 2026
472763a
Merge branch 'feat/fair-v3' of https://github.com/Spatialnode/fAIr in…
superwaih Jul 29, 2026
fa3e505
chore: removed auth from try fair temporarily
superwaih Jul 29, 2026
36685d7
chore: removed auth from try fair temporarily
superwaih Jul 29, 2026
9e93836
chore: move env file to index.ts
superwaih Jul 29, 2026
b1052f1
chore: move env file to index.ts
superwaih Jul 29, 2026
cba00fe
chore: added error toast for map
superwaih Jul 29, 2026
7731987
chore: added error toast for map
superwaih Jul 29, 2026
39fe3ca
chore: added error toast for map
superwaih Jul 29, 2026
90a8d8c
chore: added error toast for map
superwaih Jul 29, 2026
2380080
chore: clean up and fix pending issues
superwaih Jul 30, 2026
d00c4e4
chore: clean up and fix pending issues
superwaih Jul 30, 2026
48ba137
chore: implement new api endpoints for base and local
superwaih Jul 30, 2026
3eec2bc
chore: implement new api endpoints for base and local
superwaih Jul 30, 2026
70e2d8f
chore: resolved issues
superwaih Jul 31, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
52 changes: 0 additions & 52 deletions .env.dev.example

This file was deleted.

20 changes: 20 additions & 0 deletions .github/workflows/backend_build_check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Build Docker Images
on:
pull_request:
branches:
- master
- develop
paths:
- "backend/**"
- ".github/workflows/docker_build.yml"

jobs:
# Backend API image. amd64-only (GDAL + source-built tippecanoe make arm64
# emulation slow). Build-only check for PRs
backend-build:
uses: hotosm/gh-workflows/.github/workflows/image_build.yml@4.0.3
with:
context: backend/
dockerfile: Dockerfile
image_name: ghcr.io/${{ github.repository_owner }}/fair/api
push: false
82 changes: 82 additions & 0 deletions .github/workflows/deploy_frontend_s3.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
name: Deploy Production Frontend to S3 & CloudFront

on:
push:
branches:
- main
paths:
- 'frontend/**'
- '.github/workflows/deploy_frontend_s3.yml'
workflow_dispatch:

permissions:
id-token: write
contents: read

jobs:
build-and-deploy:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./frontend

steps:
- name: Checkout Code
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22

- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: 9.8.0

- name: Get pnpm store directory
id: pnpm-cache
run: echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT

- name: Cache dependencies
uses: actions/cache@v4
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-

- name: Install Dependencies
run: pnpm install --frozen-lockfile

- name: Build Static Production Assets
env:
VITE_BASE_API_URL: "https://api.fair.hotosm.org/api/v1/"
VITE_NODE_ENV: "production"
VITE_FAIR_PROD_URL: "https://fair.hotosm.org/"
VITE_HANKO_URL: "https://login.hotosm.org"
run: pnpm run build

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::670261699094:role/Github-AWS-OIDC
aws-region: us-east-1

- name: Sync Static Assets to S3
run: |
aws s3 sync dist/ s3://hotosm-fair-frontend-production \
--delete \
--cache-control "public, max-age=31536000, immutable" \
--exclude "index.html"

# Sync index.html with no-cache so client browsers instantly receive app updates
aws s3 cp dist/index.html s3://hotosm-fair-frontend-production/index.html \
--cache-control "no-cache, no-store, must-revalidate"

- name: Invalidate CloudFront CDN Cache
run: |
DISTRIBUTION_ID=$(aws cloudfront list-distributions --query "DistributionList.Items[?Aliases.Items && contains(Aliases.Items, 'fair.hotosm.org')].Id | [0]" --output text)
if [ "$DISTRIBUTION_ID" != "None" ] && [ -n "$DISTRIBUTION_ID" ]; then
aws cloudfront create-invalidation --distribution-id "$DISTRIBUTION_ID" --paths "/*"
fi
178 changes: 0 additions & 178 deletions .github/workflows/docker_build.yml

This file was deleted.

Loading