Commit Graph
35 Commits
Author SHA1 Message Date
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 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