92 Commits
Author SHA1 Message Date
fbachus 9d5f0957f9 cleanup: remove unused code blocks that were already commented out 2026-08-09 15:41:01 +02:00
fbachus 4c4ff536f0 feat(ui): declutter appBar information for journeyDetails 2026-08-09 15:38:42 +02:00
fbachus cec21ecde5 cleanup: reorder dependency imports 2026-08-09 15:12:38 +02:00
fbachus b5272e5052 feat(ui): put homepage title back into appbar on top 2026-08-09 15:09:12 +02:00
fbachus 5b073b9e94 feat(ui): add dynamic color Scheme (based on wallpaper) if supported 2026-08-09 15:05:09 +02:00
fbachus 317abbdc8e feat(ui): add dark theme 2026-08-09 14:46:25 +02:00
fbachus c45422da3a feat(ui): increase clarity on journey overview 2026-08-09 14:42:42 +02:00
fbachus 7d96cd14b1 feat(database): return newest journeys first 2026-08-08 01:10:50 +02:00
fbachus ee21ecd2d7 fixup! feat(build): import database platform depending on platform 2026-08-01 03:05:43 +02:00
fbachus 5a81ba4aa2 fix(journey): correct calculation of duration 2026-08-01 03:03:41 +02:00
fbachus 2013721569 feat(ui): rework JourneyDetailScreen 2026-08-01 02:59:24 +02:00
fbachus 18de9a9504 feat(ui): add better descriptors 2026-08-01 01:47:55 +02:00
fbachus 84c8c267b9 fix(navigation): view all journey leads back to journey overview 2026-08-01 01:46:31 +02:00
fbachus 5fbd690faa feat(build): import database platform depending on platform 2026-08-01 01:06:11 +02:00
fbachus 77949f6da6 fix(api_handler): fix wrong date being shown for journeys going past midnight 2026-08-01 00:54:33 +02:00
fbachus 2b7b943ea2 doc(readme): clarify what to do with .env 2026-07-31 22:20:19 +02:00
fbachus 6dfb8d7c09 doc(readme): make the README remotely useful 2026-07-31 22:06:28 +02:00
fbachus d4fbcc460f fix(ui): move up 'view all journeys' button to be unobstructed 2026-07-31 18:33:27 +02:00
fbachus ed3d1a3d32 feat(ui): improve navigation and information 2026-07-31 16:36:33 +02:00
fbachus 87b2033a5c fix(app): enable internet access for release build 2026-07-31 15:56:15 +02:00
fbachus 48e359a315 doc(diagrams): add some diagrams in mermaid format 2026-07-31 04:10:02 +02:00
fbachus ee43064903 doc(requirements): assess things done to those intended 2026-07-31 04:10:02 +02:00
fbachus f5757213e8 cleanup(database): remove unused foreign keys that weren't ref PK's anyway 2026-07-31 04:10:02 +02:00
fbachus fefa3fd365 cleanup(api_handler): remove todo comments 2026-07-31 04:10:02 +02:00
fbachus 1cf594ed42 feat(route building): add time constraint for departure requests 2026-07-31 04:10:02 +02:00
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 e3e1482bb6 feat(build): add generated output from flutter build process for apk 2026-07-29 14:39:33 +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 25ecd69b5f add android studion run config 2026-07-27 13:41:49 +02:00
fbachus 6e278fbadf expand .gitignore 2026-07-27 13:40:06 +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
fbachus be379d17da feat(db): add inserts for all tables 2026-06-28 13:45:47 +02:00
fbachus b67d835f38 feat(transporthelper): code cleanup, add toMaps, implement m-n tables
- remove final keywords everywhere for now cause I don't think I need
  them yet for any specific purpose
- add toMap() functions
- add database.insert() functions for classes and relational tables when
  classes use list that reference other classes
2026-06-23 02:37:22 +02:00
fbachus 7f6c7beb59 feat(classes): implement initiation, start work on dbHelper 2026-06-16 00:48:53 +02:00
fbachus 7cfc415f9f feat(database): add functions for DB and DB-table creation 2026-06-06 01:22:36 +02:00
fbachus 5fd3e8faad chore(formatting): autoformats and adaptations 2026-06-06 01:22:36 +02:00
fbachus c581800298 fix(json): fix typo in json import 2026-06-06 01:22:36 +02:00
fbachus e88c17ce51 tooling(style): add .editorconfig and change formatter settings
editorconfig contains entries for yml and dart now
the formatter will no longer collapse multiline code splits (like class
constructors), where the last entry has a trailing comma
2026-06-06 01:22:36 +02:00
fbachus aa47b9d85f feat(json import): add fromJson to missing classes and connect them 2026-05-31 18:25:29 +02:00
fbachus b7bc095d87 fix(): unwrap list of strings instead of strings in main.dart
just to show something in the UI from the api requests
2026-05-18 23:50:08 +02:00
fbachus 385600dd06 feat(api_requests): add basic api requests that hand back useless ids 2026-05-18 23:49:02 +02:00
fbachus 1730232450 feat(data_mapping): add constructors for most publictransport classes 2026-05-15 21:07:04 +02:00
fbachus 274c27c7e1 feat(api_connection): add test request to VBB API and ignore env files 2026-05-15 17:09:18 +02:00
fbachus b8d226fd38 create flutter project 2026-05-08 12:25:48 +02:00
fbachus e7410cd3f3 initial commit 2026-05-08 12:25:19 +02:00