Compare commits
2
Commits
189c6ae1c7
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8e0cd411df | ||
|
|
bd3d592bdf |
@@ -1,5 +1,14 @@
|
|||||||
# Eurovision 25 Backend Changelog
|
# Eurovision 25 Backend Changelog
|
||||||
|
|
||||||
|
## 1.0 (2025-05-18)
|
||||||
|
|
||||||
|
This marks the first stable release of the Eurovision 25 Homereview Backend, moving out of release candidates.
|
||||||
|
|
||||||
|
### Fixes
|
||||||
|
- Fix results not showing
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## 1.0rc8 (2025-05-17)
|
## 1.0rc8 (2025-05-17)
|
||||||
|
|
||||||
### Features
|
### Features
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# Eurovision 25 Homereview Backend
|
# Eurovision 25 Homereview Backend
|
||||||
|
|
||||||
**Version: 1.0rc8**
|
**Version: 1.0**
|
||||||
|
|
||||||
## Description
|
## Description
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -8,7 +8,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
image: eurovision-25-backend:1.0rc8
|
image: eurovision-25-backend:1.0
|
||||||
ports:
|
ports:
|
||||||
- "8000:8000"
|
- "8000:8000"
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "Eurovision-25-backend"
|
name = "Eurovision-25-backend"
|
||||||
version = "1.0rc8"
|
version = "1.0"
|
||||||
description = "Backend for Eurovision 25"
|
description = "Backend for Eurovision 25"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.12"
|
requires-python = ">=3.12"
|
||||||
|
|||||||
+1
-1
@@ -12,7 +12,7 @@ from lib.db import init_db
|
|||||||
app = FastAPI(
|
app = FastAPI(
|
||||||
title="Eurovision 25 Homereview API",
|
title="Eurovision 25 Homereview API",
|
||||||
description="Backend API for Eurovision 25 Homereview application",
|
description="Backend API for Eurovision 25 Homereview application",
|
||||||
version="1.0rc8",
|
version="1.0",
|
||||||
openapi_url="/sec_schema.json",
|
openapi_url="/sec_schema.json",
|
||||||
docs_url="/docut",
|
docs_url="/docut",
|
||||||
redoc_url=None,
|
redoc_url=None,
|
||||||
|
|||||||
@@ -258,7 +258,7 @@ INSERT INTO CountryCodes (code, name_en, name_fi, name_sv) VALUES ('GBR', 'Unite
|
|||||||
|
|
||||||
|
|
||||||
-- TODO: Clean this next year. Its now here just to get the show running
|
-- TODO: Clean this next year. Its now here just to get the show running
|
||||||
-- INSERT INTO Contest (year, finals_date) VALUES (2025, '2025-05-16');
|
INSERT INTO Contest (year, finals_date) VALUES (2025, '2025-05-16');
|
||||||
|
|
||||||
-- =============================================================================
|
-- =============================================================================
|
||||||
-- DEBUG DATA
|
-- DEBUG DATA
|
||||||
|
|||||||
@@ -103,7 +103,7 @@ async def list_results(result_type: ResultType):
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@router.get("/global", response_model=list[Result])
|
@router.get("/", response_model=list[Result])
|
||||||
async def list_global_results():
|
async def list_global_results():
|
||||||
with get_connection() as conn:
|
with get_connection() as conn:
|
||||||
df = conn.execute("SELECT * FROM ReviewSummaryGlobal").fetchdf()
|
df = conn.execute("SELECT * FROM ReviewSummaryGlobal").fetchdf()
|
||||||
|
|||||||
@@ -131,7 +131,7 @@ wheels = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "eurovision-25-backend"
|
name = "eurovision-25-backend"
|
||||||
version = "1.0rc8"
|
version = "1.0"
|
||||||
source = { virtual = "." }
|
source = { virtual = "." }
|
||||||
dependencies = [
|
dependencies = [
|
||||||
{ name = "aiofiles" },
|
{ name = "aiofiles" },
|
||||||
|
|||||||
Reference in New Issue
Block a user