Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,6 @@ ENV PYTHONUNBUFFERED=1
ENV PORT=80
ENV HOST="0.0.0.0"

# Native libraries required by WeasyPrint for PDF rendering (Pango/Cairo/fonts).
# Versions are intentionally unpinned: they must match the base image's Alpine
# branch, which is resolved at build time. Pin them to match the convention of
# the builder stage above once building against the pinned base image digest.
# hadolint ignore=DL3018
RUN apk add --no-cache \
font-dejavu \
fontconfig \
pango

COPY --from=builder /build/venv /usr/local/
COPY . /app

Expand Down
3 changes: 1 addition & 2 deletions backend/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from fastapi import FastAPI, Request
from fastapi.middleware.cors import CORSMiddleware
from fastapi.responses import JSONResponse
from routers import auth, export
from routers import auth
from scaffold import load_scaffold_data
from starlette.requests import ClientDisconnect
from strawberry import Schema
Expand Down Expand Up @@ -61,7 +61,6 @@ async def client_disconnect_handler(request: Request, exc: ClientDisconnect):
)

app.include_router(auth.router)
app.include_router(export.router)
app.include_router(graphql_app, prefix="/graphql")


Expand Down
2 changes: 0 additions & 2 deletions backend/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ sqlalchemy==2.0.45
strawberry-graphql[fastapi]==0.287.3
uvicorn[standard]==0.38.0
influxdb_client==1.49.0
jinja2==3.1.4
weasyprint==63.1
pytest==8.3.4
pytest-asyncio==0.24.0
pytest-cov==5.0.0
Expand Down
188 changes: 0 additions & 188 deletions backend/routers/export.py

This file was deleted.

60 changes: 0 additions & 60 deletions backend/tests/unit/test_export_pdf.py

This file was deleted.

1 change: 0 additions & 1 deletion proxy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ docker run --rm \

- `/` - Frontend application
- `/graphql` - Backend GraphQL API
- `/export/*` - Backend export endpoints (e.g. table PDF export)
- `/keycloak` - Keycloak authentication service

## Production
Expand Down
2 changes: 1 addition & 1 deletion proxy/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ http {
listen 80;
server_name localhost;

location ~ ^/(graphql|callback|export/.+)$ {
location ~ ^/(graphql|callback)$ {
proxy_pass http://backend_upstream;

proxy_set_header Host $host;
Expand Down
2 changes: 0 additions & 2 deletions web/components/tables/PatientList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import { getPropertyColumnIds, useColumnVisibilityWithPropertyDefaults } from '@
import { columnFiltersToQueryFilterClauses, sortingStateToQuerySortClauses } from '@/utils/tableStateToApi'
import { LIST_PAGE_SIZE } from '@/utils/listPaging'
import { useAccumulatedPagination } from '@/hooks/useAccumulatedPagination'
import { TableExportButton } from '@/components/tables/TableExportButton'
import { RowRefreshingGate } from '@/components/tables/RowRefreshingGate'
import { InfiniteScrollSentinel } from '@/components/common/InfiniteScrollSentinel'
import { DateDisplay } from '@/components/Date/DateDisplay'
Expand Down Expand Up @@ -1119,7 +1118,6 @@ export const PatientList = forwardRef<PatientListRef, PatientListProps>(({ initi
>
<LayoutGrid className="size-5" />
</IconButton>
<TableExportButton title={translation('patients')} />
{!derivedVirtualMode && (
<IconButton
tooltip={translation('addPatient')}
Expand Down
54 changes: 0 additions & 54 deletions web/components/tables/TableExportButton.tsx

This file was deleted.

2 changes: 0 additions & 2 deletions web/components/tables/TaskList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ import { queryableFieldsToFilterListItems, queryableFieldsToSortingListItems, ty
import { LIST_PAGE_SIZE } from '@/utils/listPaging'
import { TaskCardView } from '@/components/tasks/TaskCardView'
import { RefreshingTaskIdsContext, TaskRowRefreshingGate } from '@/components/tables/TaskRowRefreshingGate'
import { TableExportButton } from '@/components/tables/TableExportButton'
import { InfiniteScrollSentinel } from '@/components/common/InfiniteScrollSentinel'
import { ExpandableTextBlock } from '@/components/common/ExpandableTextBlock'
import { InTableTextEditPopUp } from '@/components/tables/in-table-edit/InTableTextEditPopUp'
Expand Down Expand Up @@ -1029,7 +1028,6 @@ export const TaskList = forwardRef<TaskListRef, TaskListProps>(({ tasks: initial
>
<LayoutGrid className="size-5" />
</IconButton>
<TableExportButton title={translation('tasks')} excludeColumnIds={['done']} />
<IconButton
tooltip={translation('addTask')}
color="primary"
Expand Down
Loading
Loading