Commit Graph

12 Commits

Author SHA256 Message Date
Johannes Randerath
3853d25c1e Added LICENSE
- Code uses AGPL
- Docs use GNU FDL
2024-07-08 22:10:53 +02:00
Johannes Randerath
53ab731787 Cookies and tests
- Added cookie banner
- Improved tests and fixed models accordingly
2024-07-03 01:18:17 +02:00
Johannes Randerath
cf6fcda0ed Started adding tests to tests for the models' integrity with GTFS 2024-06-27 13:01:56 +02:00
Johannes Randerath
f314bfb396 Got rid of bridge and fixed GTFS compliance
- Ported the bridge that was using a custom GTFS class and Pandas
  Dataframes to a native Django solution for and interface between db
  and csv (see api/io.py)
- Fixed some issues regarding the compliance of the exported csv files
  with the GTFS reference. I.e. now allowing times 24:00:00 <= t >=
  24:59:59
2024-06-24 14:21:53 +02:00
Johannes Randerath
9cc39c56ab Added PUT, PATCH and DELETE to create, modify and delete model
instances.
2024-06-20 01:26:53 +02:00
Johannes Randerath
f5b329bc17 API: Retrieve data
Now able to retrieve model data for any number of models, identified by
their primary keys, represented as JSON, using GET /data?<primary_key>=<value>.
2024-06-19 22:12:20 +02:00
Johannes Randerath
a310152c4f Passing stops and routes to index 2024-06-11 17:20:25 +02:00
Johannes Randerath
4028f63624 Added actual foreign key support and made primary keys (kind of) unique 2024-06-10 16:33:57 +02:00
Johannes Randerath
af5a2c862d Backend changes and sql convenience
- Added sql files to create and drop db and to feed example data.
- Added bridge to import (and later export) data from a gtfs.GTFS object
  to the database.
- Updated models and migrations to implement the whole GTFS reference.
2024-06-02 20:58:39 +02:00
Johannes Randerath
9a4879a67d Changed ids to always increase as automatic primary keys 2024-06-01 01:28:32 +02:00
Johannes Randerath
0a196d6b15 Added models to represent GTFS 2024-06-01 00:20:55 +02:00
Johannes Randerath
a18927bad1 Setup Mariadb 2024-05-31 22:32:30 +02:00