Commit Graph
62 Commits
Author SHA1 Message Date
fbachus 5ead82b9c6 build(mobile): deactivate sqlite debugging lib used for desktop 2026-07-30 22:03:26 +02:00
fbachus 0372185e96 fix(database): unify vehicle id column name 2026-07-30 22:02:21 +02:00
fbachus 168ff7b9a4 fix(database): rename last occurences of 'route' to 'journey' 2026-07-30 20:25:41 +02:00
fbachus 0d67143be2 feat(ui): add search to stations 2026-07-30 20:03:08 +02:00
fbachus f8aa117c28 feat(ui): add retry button if journeys can't be loaded 2026-07-30 19:27:01 +02:00
fbachus 3738a17145 feat(ui): show journeys on homescreen and add route to journeyDetails
also clean up clutter from homescreen
2026-07-30 19:06:12 +02:00
fbachus cb17cb8d90 fix(transport_helper): make sure journeys contain start+endstation 2026-07-30 19:03:29 +02:00
fbachus aa9258e3af feat(transport_helper): add function to query multiple journeys
could query all, but the last 40 should be fine, no?
could raise to no limit, but should be done as generator for that
2026-07-30 15:11:04 +02:00
fbachus c313a94a10 feat(ui): add page to show an overview of all journeys 2026-07-30 14:34:31 +02:00
fbachus 1b2d0de6e4 feat(routes): add route page with functioning route
route is build from previously chosen segments
2026-07-30 02:25:46 +02:00
fbachus c68b47170b fix(transport_helper): add color parsing for line 2026-07-29 23:31:58 +02:00
fbachus bbc46e752a chore(api_handler): follow recommended way for sting concat 2026-07-29 18:42:59 +02:00
fbachus 95e3edf699 feat(transport_helper): store vehicle lines in db upon parsing from json 2026-07-29 18:31:30 +02:00
fbachus 0069f370c2 chore: use some of 'dart analyze's quick fixes and apply formatter 2026-07-29 16:31:03 +02:00
fbachus 806e96d1c5 squash! chore: fix some linter warnings 2026-07-29 14:33:56 +02:00
fbachus 708a524abf chore: fix some linter warnings 2026-07-29 14:30:36 +02:00
fbachus 3cad483518 feat: implement route creating from segment and in UI 2026-07-29 13:50:00 +02:00
fbachus 6dc3e9569a feat(transport_helper): store full departures inside segment
build out fromMap constructor so that departure and vehicle objects are
created from db query

rename vehicle.id to vehicle.vehicleid to conform with the rule that
id=internal & type int | {tablename}id=api_id & type String
2026-07-28 02:16:46 +02:00
fbachus 2c4be8438e fix(database): fix identifiers, string quotation, table initialisation 2026-07-24 23:36:07 +02:00
fbachus 24ddd65bf5 fix(transport_helper): add some entries to match vehicleType codes 2026-07-24 23:14:15 +02:00
fbachus b6b4f27376 feat(departures): add direction info to departures 2026-07-24 18:53:05 +02:00
fbachus b0216e6a49 feat(ui): filter for station arrivals after start 2026-07-24 17:36:01 +02:00
fbachus 1c0616fa86 feat(departures): make some adaptations to supp diff departure srces
with these adaptations to the api_handler and Departure.fromJson,
the fromJson-factory now works for responses from both /departureBoard
and /tripDetail

for /tripDetail a little json-copying is used, see
ApiHandler._expandDeparturesJson
2026-07-23 21:42:13 +02:00
fbachus 1780a43f30 cleanup(transport_helper): reorder some lines in departures + rm sht
and remove some unnecessary try-catch
2026-07-23 20:40:31 +02:00
fbachus 9f58678156 feat!(UI): add screen for getting out at a station (WIP)
some problems on object creations right now
2026-07-22 04:06:03 +02:00
fbachus ea0db15877 fix(transport_helper): add missing fields to db table and some extra
add missing fields to db table
add ref attribute to find routeDetails
also add stationNames to simplify display
2026-07-22 03:37:29 +02:00
fbachus 32d8473086 feat(transport_helper): add conflictAlgorithm to db inserts
this way we can try to persist data at liberty without risking failure
right now, redundant entries will be ignored and updates have to happen
with update
nothing calls dbUpdate yet
2026-07-22 02:59:14 +02:00
fbachus 4b499d63a6 feat(api_handler): properly return more types for API requests 2026-07-22 02:28:54 +02:00
fbachus e71492141e feat(transport_helper: add "ref" to Segments for journeyDetails later 2026-07-22 02:06:53 +02:00
fbachus fce749ba3a feat(transport_helper): add arrivalTime for more precision
helpful when vehicles are waiting on-station
should be covered by fallbacks without introducing nullability down the
line
2026-07-22 01:35:20 +02:00
fbachus d7aa2a1b46 feat(UI): add screens for choosing stations and vehicles (WIP) 2026-07-21 03:13:35 +02:00
fbachus 3850cea0e8 feat(api_handler): return proper objects using transport_helper
many "changes" due to formatter :/
2026-07-21 03:11:56 +02:00
fbachus 25d5e241eb feat(transport_helper): add fromJson constructor for Departure class 2026-07-20 14:45:53 +02:00
fbachus 89a0f9b3c9 fix(db_helper): change possibly misguided variable name 2026-07-13 13:29:37 +02:00
fbachus 1640bbbb87 cleanup(transport_helper): privatise functions where possible 2026-07-13 13:12:20 +02:00
fbachus d3ed0b82cc feat(routes): add function to remove segments till end 2026-07-13 12:52:01 +02:00
fbachus 08e6d36dbe feat(transport_helper): add route building functionality 2026-07-11 22:02:29 +02:00
fbachus 761870bd33 fix(database): add where argument to dbUpdate functions 2026-07-11 21:57:57 +02:00
fbachus 000092d444 cleanup(transport_helper): remove unused database ref 2026-07-10 18:12:36 +02:00
fbachus ee4963ba04 feat(transport_helper): add update function for db 2026-07-10 17:28:20 +02:00
fbachus 61efa70bf1 style(transport_helper): remove redundant type declaration 2026-07-06 18:03:05 +02:00
fbachus 772363cf15 feat(database): add queries for all tables 2026-07-06 18:01:41 +02:00
fbachus 0110fb8ff9 fix(transport_helper): fix typo in database mapping of "Segment" 2026-07-03 02:54:32 +02:00
fbachus 5d7e7ffb61 fixup! style(transport_helper): rename db_insert functions 2026-07-03 00:42:24 +02:00
fbachus a9f99b5409 fix(database): fix type of segment id that has no right to be a TEXT
I could not think of a reason why this table's id should be a text,
so I'm fairly sure it was a mistake. Back to INTEGER
2026-07-03 00:33:21 +02:00
fbachus 704e640495 style(transport_helper): rename db_insert functions
On classes with relational tables, the insert function for the table
that matches the actual class (not relation), is now just called dbInsert
instead of dbInsertClassname.
For inserting to relational Tables, the name stays more descriptive
about the relation covered
2026-07-03 00:29:19 +02:00
fbachus 8532ce4de5 docs(database): done that(ded. db table for lines at station), rm TODO 2026-07-03 00:25:49 +02:00
fbachus 0897a45eb9 feat(database): implement function to delete rows from db tables 2026-07-03 00:24:04 +02:00
fbachus 9bf98f4fb8 fix(transport_helper): fix db type typo 2026-07-02 01:39:40 +02:00
fbachus 5ce11ef945 style(transport_helper): fix capitalisation of Line.lineId 2026-07-02 01:35:55 +02:00