Commit Graph

20 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
1494dba808 Fixed and rebuilt sphinx docs 2024-06-21 12:02:35 +02:00
Johannes Randerath
80197208f8 PUT, DELETE and address Changes
- Added PUT, PATCH and DELETE to modify data in the database.
- refactored modules
- completed docstrings
- data is now served via api/ and web pages via /
2024-06-20 23:25:33 +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
26b08b72dd Added view to get models by pk 2024-06-17 14:26:23 +02:00
Johannes Randerath
9f7c360096 Refactored 2024-06-11 22:16:45 +02:00
Johannes Randerath
1dd906a87f Changed stops JSON to dict instead of list 2024-06-11 21:39:19 +02:00
Johannes Randerath
c10276ced4 Fixing JSON parsing 2024-06-11 21:24:44 +02:00
Johannes Randerath
6bf0437303 Added static folder 2024-06-11 20:38:46 +02:00
Johannes Randerath
2d33ac8e67 Fixed a JSON bug 2024-06-11 20:15:28 +02:00
Johannes Randerath
9f674f345b Processing GET requests to pass timetables for specific route_ids 2024-06-11 19:49:28 +02:00
Johannes Randerath
0031646016 Jsonizing data to pass to index 2024-06-11 19:22:11 +02:00
Johannes Randerath
90f76c2a30 Passing timetable data to index 2024-06-11 18:56:54 +02:00
Johannes Randerath
a310152c4f Passing stops and routes to index 2024-06-11 17:20:25 +02:00
Johannes Randerath
c22049f499 Added documentation
- Using sphinx to documente the project
- Autodocumenting Python using numpy-style docstr and sphinx autodoc with napoleon
2024-06-03 20:29:28 +02:00
Johannes Randerath
0af451b3c2 Added GTFS import and export support 2024-06-01 15:49:46 +02:00
Johannes Randerath
9a4879a67d Changed ids to always increase as automatic primary keys 2024-06-01 01:28:32 +02:00
Johannes Randerath
a18927bad1 Setup Mariadb 2024-05-31 22:32:30 +02:00