summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorLines
2023-01-07decrease amount of traewelling get_status requestsDaniel Friesel-1/+1
2023-01-07log traewelling sync HTTP status to influxdb1.29.6Daniel Friesel-14/+75
2023-01-07work, traewelling: only push to influxdb in prod modeDaniel Friesel-5/+20
2023-01-07Traewelling: fix 'already checked in' error for API v11.29.5Daniel Friesel-2/+2
2023-01-07traewelling checkin: add missing ibnr field to API payloadDaniel Friesel-0/+1
2023-01-03Api: Fix 'uninitialized value' warning when no token is set1.29.4Daniel Friesel-1/+4
2023-01-02review: skip journeys with negative duration1.29.3Daniel Friesel-2/+2
2023-01-02influxdb command: directly write to db rather than stdoutDaniel Friesel-15/+30
2023-01-02move traewelling sync to a separate commandDaniel Friesel-89/+155
2022-12-30work: count errors1.29.2Daniel Friesel-1/+5
2022-12-30review: shop travelynx versionDaniel Friesel-4/+5
2022-12-30work: separate durations for main and traewellingDaniel Friesel-7/+14
2022-12-30worker: optionally publish influxdb statsDaniel Friesel-0/+12
2022-12-29review: link to list of all single-trip checkins1.29.1Daniel Friesel-1/+22
2022-12-28influxdb: report total checkins rather than windowsDaniel Friesel-32/+2
2022-12-28add influxdb commandDaniel Friesel-0/+159
2022-12-27review: fix percentage localeDaniel Friesel-8/+2
2022-12-27derp #2Daniel Friesel-1/+1
2022-12-27derpDaniel Friesel-3/+3
2022-12-27top trips: handle return tripsDaniel Friesel-2/+14
2022-12-27review: add top and bottom tripsDaniel Friesel-0/+45
2022-12-27review: hide blocks without dataDaniel Friesel-77/+97
2022-12-27year in review: further delay statsDaniel Friesel-23/+139
2022-12-27compute_review: handle duplicate iris messages; german locale for numbersDaniel Friesel-1/+10
2022-12-27it's a secret to everybody.Daniel Friesel-9/+289
2022-12-27work: Fix log invocation1.28.5Daniel Friesel-1/+1
2022-12-26connecting trains: fix warning when encountering unknown platformsDaniel Friesel-3/+7
2022-12-26history: return 404 if no journeys have been logged for requested periodDaniel Friesel-0/+14
2022-12-26yearly/monthly history: return 404 for invalid datesDaniel Friesel-53/+45
2022-12-23always store traewelling errors in debug modeDaniel Friesel-11/+2
for the most part, they're not actionable. also, they're already available in user logs.
2022-12-23add_route_timestamps: change log severity to debugDaniel Friesel-8/+1
we cannot do much about backend errors
2022-12-23work: not finding a departing train is not criticalDaniel Friesel-1/+3
2022-12-12database migration: track previosu travelynx version; offer rollback hintsDaniel Friesel-13/+66
2022-12-12database IRIS sync: update ds100, name, lat, lon from IRIS DB1.28.4Daniel Friesel-1/+1
2022-12-12database: has-current-schema: check IRIS versionDaniel Friesel-1/+4
2022-12-12change 'ignoring polyline' log severity to debugDaniel Friesel-1/+1
2022-12-12Journeys: Handle "Betriebsstelle nicht bekannt"Daniel Friesel-0/+5
2022-12-12Improve "Betriebsstelle nicht bekannt" handling1.28.2Daniel Friesel-1/+11
2022-12-11database: refactor schema/iris version checkDaniel Friesel-19/+5
2022-12-08move grep_unknown_stations to Stations modelDaniel Friesel-31/+23
2022-12-07get name/ds100 from db and lat/lon from dict1.28.1Daniel Friesel-33/+89
result: significant performance improvement for stats generation
2022-12-07switch to internal station database; add out-of-service stations for old ↵1.28.0Daniel Friesel-186/+416
journeys
2022-12-04maintenance: remove polyline code. polylines were added more than two years agoDaniel Friesel-88/+0
2022-12-04integritycheck: process journeys row by row rather than at onceDaniel Friesel-2/+3
2022-12-04integritycheck: also check station names in routesDaniel Friesel-5/+52
2022-12-04rename missingstations command to integritycheckDaniel Friesel-1/+1
2022-11-25add missingstations maintenance commandDaniel Friesel-0/+44
2022-11-24get_travel_distance: warn about removed stations (TODO: re-add them)Daniel Friesel-0/+10
2022-11-12show expected load of suggested connections, if availableDaniel Friesel-0/+5
2022-11-12show expected utilization alongsie train routeDaniel Friesel-0/+15