Commit Graph

72 Commits

Author SHA256 Message Date
Johannes Randerath
15d723ade8 Added Copying to app
- Added Copying to sidebar in the running application
- Added source link to comply with the AGPL
2024-07-09 02:36:07 +02:00
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
7962ec4b6c Added prerequisites to add tests and db convenience
- api/convenience will hold convenience functions for database lookup
  and data grouping
- pt_map/model_test_fields holds the data from the GTFS reference
  relevant to model development
- pt_map/test_data holds example data to be used to test models
2024-06-26 15:34:02 +02:00
Johannes Randerath
6472673d0a Deleted unneccessary files 2024-06-24 14:28:49 +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
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
Jan Kiljanski
8f60efd87c Merge branch 'main' of gitea.randerath.eu:johannes/transport-accessibility 2024-06-11 23:06:04 +02:00
Jan Kiljanski
b90acfcebe Development of the drawing mechanism, displaying stops with the data imported from the database. 2024-06-11 23:04:22 +02:00
Johannes Randerath
8f26811929 Updated docs version 2024-06-11 22:22:47 +02:00
Johannes Randerath
d0a506fc40 Added built docs 2024-06-11 22:17:31 +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
092cc348d6 Fixed a bug 2024-06-11 21:33:24 +02:00
Johannes Randerath
61d2463c9d Fixing JSON parsing 2024-06-11 21:30:45 +02:00
Jan Kiljanski
46f5cd9cf4 minor changes 2024-06-11 21:27:13 +02:00
Johannes Randerath
c10276ced4 Fixing JSON parsing 2024-06-11 21:24:44 +02:00
Jan Kiljanski
b15d5d1b3b minor fixes 2024-06-11 21:05:40 +02:00
Jan Kiljanski
d0c2c98e17 Merge branch 'data_feature' of gitea.randerath.eu:johannes/transport-accessibility into data_feature 2024-06-11 20:54:32 +02:00
Jan Kiljanski
9f541916e3 minor changes 2024-06-11 20:53:52 +02:00
Johannes Randerath
8e1d4230fb Removed backup files 2024-06-11 20:51:23 +02:00
Johannes Randerath
f2260b3a76 trying to fix static 2024-06-11 20:46:35 +02:00
Jan Kiljanski
f2c8d147e5 Merge branch 'data_feature' of gitea.randerath.eu:johannes/transport-accessibility into data_feature 2024-06-11 20:41:28 +02:00
Jan Kiljanski
d757fec4f0 Reorganizing code, adding stops display, connect with backend 2024-06-11 20:40:18 +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
4028f63624 Added actual foreign key support and made primary keys (kind of) unique 2024-06-10 16:33:57 +02:00
Johannes Randerath
ac279b35d4 Still fixing 2024-06-03 22:37:04 +02:00
Johannes Randerath
cd50333f91 Still fixing 2024-06-03 22:36:37 +02:00
Johannes Randerath
943f3f59ee Still fixing 2024-06-03 22:34:29 +02:00
Johannes Randerath
54fde9bd46 Still fixing 2024-06-03 22:33:27 +02:00
Johannes Randerath
91bbda864e Still fixing 2024-06-03 22:32:32 +02:00
Johannes Randerath
c93e7a36a9 Fixed ReadTheDocs support 2024-06-03 22:17:21 +02:00
Johannes Randerath
ba9a0c2a41 Fixed ReadTheDocs support 2024-06-03 22:16:12 +02:00
Johannes Randerath
7bd81424cb Fixed ReadTheDocs support 2024-06-03 22:14:21 +02:00
Johannes Randerath
c2bef7ae8c Fixed ReadTheDocs support 2024-06-03 22:05:57 +02:00
Johannes Randerath
79d0113d11 Fixed ReadTheDocs support 2024-06-03 22:01:11 +02:00
Johannes Randerath
cdaf071e14 Fixed ReadTheDocs support 2024-06-03 21:48:08 +02:00
Johannes Randerath
4d1fd299b0 Fixed ReadTheDocs 2024-06-03 21:45:21 +02:00
Johannes Randerath
c265075d3e Fixed ReadTheDocs support 2024-06-03 21:44:51 +02:00
Johannes Randerath
a18a6a8bbf ReadTheDocs support 2024-06-03 21:38:39 +02:00