Commit graph

20 commits

Author SHA1 Message Date
06e57e5b8b
Fix CSS typo 2022-12-25 09:55:10 +02:00
04e2019afe
Fix date handling on API request 2022-12-11 14:33:41 +01:00
220f6666a5
Add support for IC trains 2022-12-10 23:38:45 +01:00
255dae9dec
Add service worker version on about page 2022-11-18 07:52:08 +01:00
fd1e7c0729
Add back button
Also: change PWA to standalone
2022-11-18 04:58:35 +01:00
32f52fe549
Fix refresh button on view station page 2022-11-18 01:52:43 +01:00
c2ea04de4b
Enable service worker for Safari
For future reference: the preflight request must return these headers:
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: GET, POST, HEAD, OPTIONS
Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept, Authorization, Pragma, Cache-Control

Otherwise, Safari will refuse requests made inside a service worker
reporting a preflight check fail.
2022-11-17 23:30:38 +01:00
9d4442de45
Fix service worker cache, handle refresh better 2022-11-17 21:31:07 +01:00
0827a1ec31
Add delay information next to time at view train
When a train has a 2 minute delay, currently the scheduled time is
displayed with strikethrough and the actual time is displayed below.
This change adds a +2 after the original time to also have the relative
delay, not just the absolute one.
2022-11-15 21:21:47 +01:00
002086c74c
Fix bug in sw caching API 2022-10-13 22:38:43 +03:00
c748f117c3
Fix bug in yesterday date computation 2022-10-11 03:23:01 +03:00
7bd7b26256
Add alert about yesterday train feature 2022-10-11 03:09:33 +03:00
f1141b1e06
Allow viewing yesterday's train
This can be achieved by selecting the date in the view train screen.
2022-10-11 03:01:54 +03:00
a6757f394a
Implement selectable links for station names
Also prepare for date switcher
2022-09-28 12:33:06 +03:00
ebb0b5f0ba
Add loading text 2022-09-20 00:51:58 +03:00
35b19ffe80
Add station arrivals/departures pages 2022-09-20 00:25:05 +03:00
2aa147060a
Move common js files to folder 2022-09-20 00:14:16 +03:00
c60c20a736
Add train notes 2022-08-28 04:35:42 +02:00
ccc3d8e127
Move to API v3, support train groups 2022-08-28 04:11:09 +02:00
b84caadaae
Added service worker 2022-08-14 13:12:14 +02:00