Add widescreen setting and universal time
Some checks failed
Create and publish a Docker image / build-and-push-image (push) Failing after 11m13s

This commit is contained in:
Nicholas Orlowsky 2025-09-25 22:41:12 -04:00
parent bbf91264e1
commit 36b674182a
No known key found for this signature in database
GPG key ID: A9F3BA4C0AA7A70B
4 changed files with 0 additions and 166 deletions

View file

@ -1,86 +0,0 @@
{
"db_name": "PostgreSQL",
"query": "SELECT \n septa_stop_schedules.route_id,\n septa_stops.name as stop_name,\n trip_id, \n service_id, \n septa_stop_schedules.direction_id,\n septa_directions.direction as \"direction: libseptastic::direction::CardinalDirection\", \n arrival_time,\n stop_id,\n stop_sequence\n FROM \n septa_stop_schedules\n INNER JOIN septa_directions\n ON \n septa_directions.direction_id = septa_stop_schedules.direction_id\n AND\n septa_directions.route_id = septa_stop_schedules.route_id\n INNER JOIN septa_stops \n ON septa_stops.id = septa_stop_schedules.stop_id\n WHERE \n septa_stop_schedules.route_id = $1\n AND\n service_id IN (SELECT service_id FROM septa_schedule_days WHERE date = $2)\n ;",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "route_id",
"type_info": "Text"
},
{
"ordinal": 1,
"name": "stop_name",
"type_info": "Varchar"
},
{
"ordinal": 2,
"name": "trip_id",
"type_info": "Text"
},
{
"ordinal": 3,
"name": "service_id",
"type_info": "Text"
},
{
"ordinal": 4,
"name": "direction_id",
"type_info": "Int8"
},
{
"ordinal": 5,
"name": "direction: libseptastic::direction::CardinalDirection",
"type_info": {
"Custom": {
"name": "septa_direction_type",
"kind": {
"Enum": [
"northbound",
"southbound",
"eastbound",
"westbound",
"inbound",
"outbound",
"loop"
]
}
}
}
},
{
"ordinal": 6,
"name": "arrival_time",
"type_info": "Int8"
},
{
"ordinal": 7,
"name": "stop_id",
"type_info": "Int8"
},
{
"ordinal": 8,
"name": "stop_sequence",
"type_info": "Int8"
}
],
"parameters": {
"Left": [
"Text",
"Text"
]
},
"nullable": [
false,
false,
false,
false,
false,
false,
false,
false,
false
]
},
"hash": "18af7a03da319dbb5d98d811a3978f0bba3b55b0a18947b2905f9fe850be2ee7"
}

View file

@ -1,57 +0,0 @@
{
"db_name": "PostgreSQL",
"query": "SELECT \n id, \n name, \n short_name, \n color_hex, \n route_type as \"route_type: libseptastic::route::RouteType\"\n FROM \n septa_routes\n ;",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id",
"type_info": "Varchar"
},
{
"ordinal": 1,
"name": "name",
"type_info": "Varchar"
},
{
"ordinal": 2,
"name": "short_name",
"type_info": "Varchar"
},
{
"ordinal": 3,
"name": "color_hex",
"type_info": "Varchar"
},
{
"ordinal": 4,
"name": "route_type: libseptastic::route::RouteType",
"type_info": {
"Custom": {
"name": "septa_route_type",
"kind": {
"Enum": [
"trolley",
"subway_elevated",
"regional_rail",
"bus",
"trackless_trolley"
]
}
}
}
}
],
"parameters": {
"Left": []
},
"nullable": [
false,
false,
false,
false,
false
]
},
"hash": "21351353e272aab61536671b27dc3acf47498822358f6d2b00a1fa2267fd5115"
}

View file

@ -1,22 +0,0 @@
{
"db_name": "PostgreSQL",
"query": "SELECT name FROM septa_stops WHERE id = $1",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "name",
"type_info": "Varchar"
}
],
"parameters": {
"Left": [
"Int8"
]
},
"nullable": [
false
]
},
"hash": "38834003c6567c299a8ed6b9df0ab1854ee31cb1061e641f7653ee5149deb938"
}

View file

@ -98,7 +98,6 @@ async fn main() -> ::anyhow::Result<()> {
HttpServer::new(move || { HttpServer::new(move || {
App::new() App::new()
.wrap(actix_cors::Cors::permissive()) .wrap(actix_cors::Cors::permissive())
.wrap(actix_web::middleware::from_fn(middleware::local_state::local_state))
.app_data(Data::new(state.clone())) .app_data(Data::new(state.clone()))
.service(controllers::route::api_get_route) .service(controllers::route::api_get_route)
.service(controllers::route::api_get_schedule) .service(controllers::route::api_get_schedule)