Commit graph

665 commits

Author SHA1 Message Date
Birte Kristina Friesel
77fc4604a3
release assets 2023-08-24 21:26:53 +02:00
Birte Kristina Friesel
d313ca7fc1
resolve unknown/ambiguous stop into list of stops 2023-08-24 21:26:00 +02:00
Birte Kristina Friesel
83a9575331
templates: ds100 is not present in HAFAS stations; use eva instead
Fixes broken checkin suggestions after arriving with a HAFAS-tracked journey
2023-08-22 17:53:32 +02:00
Birte Kristina Friesel
f49dd6bf0a
we have (mostly) full sync
I don't wanna know about time zones, though.
2023-08-20 17:06:50 +02:00
Birte Kristina Friesel
3adbd9ed2c
HAFAS: no more testbetrieb 2023-08-20 17:06:13 +02:00
Birte Kristina Friesel
c3fd8ce610
changelog 2023-08-20 16:52:25 +02:00
Birte Kristina Friesel
3eda3beeae
release assets 2023-08-20 16:23:02 +02:00
Birte Kristina Friesel
ba4ed6d143
add_journey: note that HAFAS journeys are not supported at the moment 2023-08-19 19:54:49 +02:00
Birte Kristina Friesel
b85e8a1e04
API: Support HAFAS checkin (via journeyID) 2023-08-19 12:43:43 +02:00
Birte Kristina Friesel
8745513fe9
account: move API documentation link to the info text 2023-08-19 09:17:38 +02:00
Birte Kristina Friesel
54547eb3af
manual station entry: HAFAS support 2023-08-18 20:42:37 +02:00
Birte Kristina Friesel
379da61de4
departures: use hafas/iris icons 2023-08-17 19:47:57 +02:00
Birte Kristina Friesel
77238628cc
use more easily distinguishable icons for hafas/iris; document in legend 2023-08-17 17:15:18 +02:00
Birte Kristina Friesel
5d330a7738
recent targets: distinguish hafas/iris 2023-08-16 09:31:01 +02:00
Birte Kristina Friesel
2ce2291e94
route / checkout selection: use EVA ID if available 2023-08-15 21:56:47 +02:00
Birte Kristina Friesel
dfe820952f
station board: add iris / hafas links 2023-08-15 08:37:14 +02:00
Birte Kristina Friesel
cc381d199f
API docs: Zug → Fahrt 2023-08-14 12:29:07 +02:00
Birte Kristina Friesel
caf1afa610
API: Note that ds100 may be null 2023-08-14 12:26:45 +02:00
Birte Kristina Friesel
61b33446cd
hafas preparations: Zug → Fahrt 2023-08-14 12:24:26 +02:00
Birte Kristina Friesel
69edd81eeb
Remove unused _cancelled template 2023-08-13 15:24:47 +02:00
Birte Kristina Friesel
0604dd80f8
WIP: HAFAS support 2023-08-13 12:51:15 +02:00
Birte Kristina Friesel
944688cfff
influxdb: add stations statistics 2023-08-13 10:55:32 +02:00
Birte Kristina Friesel
8ec002f041
Store traewelling refresh token in database 2023-08-09 19:28:36 +02:00
Birte Kristina Friesel
7c1ccc51b1
changelog 2023-08-08 17:56:35 +02:00
Birte Kristina Friesel
52c0da3f46
Traewelling: replace legacy password login with OAuth2
This is a breaking change insofar as that traewelling support is no longer
provided automatically, but must be enabled by providing a traewelling.de
application ID and secret in travelynx.conf. However, as traewelling.de
password login is deprecated and wil soon be disabled, travelynx would break
either way. So we might or might not see travelynx 2.0.0 in the next days.

Automatic token refresh is still todo, but that was the case for password
login as well.

Closes #64
2023-08-07 21:17:10 +02:00
Birte Kristina Friesel
c0754f9e87
departure board: do not allow new checkins prior to arrival of current checkin
This check is already present in the backend; now the frontend knows about it
too.
2023-07-23 12:51:07 +02:00
Birte Kristina Friesel
be607983c1
do not use minified js in development mode 2023-07-23 11:25:45 +02:00
Birte Kristina Friesel
3d51395d39
social_list: use blue text to distinguish action icons from info icons 2023-07-20 15:52:13 +02:00
Birte Kristina Friesel
2fecf8b662
fix follow-requests-received link 2023-07-18 18:05:47 +02:00
Birte Kristina Friesel
fef9ebe0b2
followee list: show if accounts are following back 2023-07-18 15:47:45 +02:00
Birte Kristina Friesel
c81d471728
_checked_in: adjust margins for timeline link 2023-07-17 15:28:42 +02:00
Birte Kristina Friesel
19cd9f7a8d
account: add a list of sent follow requests 2023-07-16 23:01:23 +02:00
Birte Kristina Friesel
49beb09229
timeline_link: add missing space behind 'auch' 2023-07-16 18:34:37 +02:00
Birte Kristina Friesel
81fb92199c
update changelog 2023-07-16 10:39:33 +02:00
Birte Kristina Friesel
168b5e0dcc
release assets 2023-07-16 10:34:23 +02:00
Birte Kristina Friesel
6277cdd929
status card: do not show detail/map links in timeline view 2023-07-16 10:33:49 +02:00
Birte Kristina Friesel
b0bb69d87e
show followee checkins in departure board 2023-07-16 10:30:47 +02:00
Birte Kristina Friesel
1e49ecf145
checked-in view: move timeline link a bit to the bottom 2023-07-16 08:45:41 +02:00
Birte Kristina Friesel
c19320788f
timeline: show message if no accounts are en route 2023-07-16 08:45:17 +02:00
Birte Kristina Friesel
1cca278baa
add timeline / current checkins 2023-07-15 19:20:37 +02:00
Birte Kristina Friesel
ee2d8bd014
traewelling: update visibility documentation 2023-07-13 21:10:36 +02:00
Birte Kristina Friesel
6c5caaf242
release assets 2023-07-10 20:54:56 +02:00
Birte Kristina Friesel
f7e3bb490d
checkin: show 'select target' more prominently 2023-07-09 10:58:11 +02:00
Birte Kristina Friesel
0b5bc869b5
move footer to layout 2023-07-07 22:26:31 +02:00
Birte Kristina Friesel
32341dc5d2
public status: use hh:mm format for countdowns 2023-07-07 22:25:54 +02:00
Birte Kristina Friesel
053d3fd79d
_checked_in: also use hh:mm format for boarding and departure countdown 2023-07-07 22:25:12 +02:00
Derf Null
05fd4deed4
release assets 2023-07-02 10:49:18 +02:00
Derf Null
4dd2cc9d9e
show hours and minutes until arrival, not just minutes 2023-07-02 10:48:34 +02:00
Derf Null
a73e2edc86
profile: use effective visibility from journey object 2023-06-29 21:54:25 +02:00
Derf Null
4845a03f07
account: move profile link out of settings 2023-06-25 11:09:30 +02:00
Derf Null
b44b770ec3
fine-graned visibility selection of history / past checkins
most notably, adds a 'history for followers only' mode
2023-06-24 21:25:14 +02:00
Derf Null
d1b020a88c
turn force checkout into button; move it out of card 2023-06-24 08:58:02 +02:00
Derf Null
c5957fbdfd
User: remove legacy public_level / is_public field 2023-06-23 22:43:41 +02:00
Derf Null
c32b93ff4d
_public_status_card: remove superfluous public_level check
arr_name is only set if the user may see the journey
2023-06-23 21:04:25 +02:00
Derf Null
2bbd8df33d
traewelling: note that sync is independent of checkin visibility 2023-06-18 08:43:34 +02:00
Derf Null
a249be1d8b
run webhook when updating checkin comment or visibility 2023-06-18 08:38:55 +02:00
Derf Null
57afb8c748
checked_in: also add link for follower-only checkins 2023-06-16 17:49:20 +02:00
Derf Null
0516344ac0
login form: add hint about pages being only visibile after login 2023-06-09 07:55:59 +02:00
Derf Null
619646b533
warn when trying to check out at invalid unscheduled station
Closes #72
2023-06-08 10:20:13 +02:00
Derf Null
cc4feebe2c
social: -v 2023-06-04 22:59:55 +02:00
Derf Null
b99620a283
release assets 2023-06-04 20:49:56 +02:00
Derf Null
c1635e24fb
use a separate bad_request page for CSRF errors 2023-06-04 19:25:24 +02:00
Derf Null
8cef56a940
landingpage: mention sharing and (optional) public history 2023-06-04 19:07:19 +02:00
Derf Null
34665da2a0
do not accept follows / follow requests by default 2023-06-04 19:05:20 +02:00
Derf Null
c420994a6f
social_list: follow requests: add accept all / reject all buttons 2023-06-04 18:55:01 +02:00
Derf Null
cede1f9b10
update changelog 2023-06-04 18:47:20 +02:00
Derf Null
00eb6af1bd
expose follows / social interaction in frontend 2023-06-04 18:21:36 +02:00
Derf Null
0172f0ce8a
add profile editor 2023-06-04 14:28:04 +02:00
Derf Null
f3ae26374b
release assets 2023-05-29 17:19:20 +02:00
Derf Null
a3c97a17a8
comment editor, share button: fix comment visibility check 2023-05-29 15:24:51 +02:00
Derf Null
24584f71b1
update API documentation 2023-05-29 15:06:28 +02:00
networkException
47b4aa5f63 fix excess column in history statistics
This patch fixes a typo in the history stats template.

Previously, the HTML parser would close the travel time table data cell
element but also create a new, empty table data cell in the process.
This empty excess cell would create a new column in the table, causing
all other rows to be shifted in the layout.

Now the open travel time data cell element gets closed properly without
creating a new cell, allowing the whole table to right align neatly.
2023-05-23 18:22:46 +02:00
Derf Null
72f6c2ea2d
fix pride ICE not being indicated in public status card 2023-05-18 08:25:19 +02:00
Derf Null
851be46754
release assets 2023-05-07 09:56:07 +02:00
Derf Null
eb5f4b06cd
release assets 2023-05-03 19:55:38 +02:00
Derf Null
6452d5f3a7
Release v1.31 2023-05-01 11:39:05 +02:00
Derf Null
d18d068894
journey: shorten headers; remove realtime from journey 2023-05-01 10:49:17 +02:00
Derf Null
e4a07dc06c
journey: show times of intermediate stops, if available 2023-05-01 10:06:30 +02:00
Derf Null
e4e660e839
login: verify username patterns 2023-03-31 18:42:43 +02:00
Derf Null
0e2e976072
Release assets 2023-03-31 17:46:51 +02:00
Derf Null
2171317bad
move local.css to sass 2023-03-31 17:40:53 +02:00
Derf Null
c3c7a0c78b
stationboard: add HAFAS support 2023-03-27 21:03:25 +02:00
Derf Null
3a3a7bfeda
only show passenger rights link on own journeys 2023-03-24 17:49:53 +01:00
Derf Null
36eee924aa
add optional announcements to travelynx.conf 2023-03-19 12:20:30 +01:00
Derf Null
1dae686bda
history_map: fix CSS 2023-03-11 11:51:42 +01:00
Daniel Friesel
5461326f01
always show /p/user if /status/user exists; only limit past journeys 2023-03-04 13:22:13 +01:00
Daniel Friesel
67dc1c203a
nvm -> dbf?hafas=1 2023-03-04 10:59:35 +01:00
Daniel Friesel
a7c31b6436
_public_status_card: correctly calculate token 2023-03-04 10:25:16 +01:00
Daniel Friesel
26814aa470
user status: add footer 2023-03-04 09:33:44 +01:00
Daniel Friesel
e1231b88e2
status/profile: re-add ability to show latest checkout, if desired
got lost in 1.30.0
2023-03-04 09:03:50 +01:00
Daniel Friesel
9abdaefaf5 release assets 2023-03-03 15:05:58 +01:00
Daniel Friesel
2406fc4efe token: do not expose full checkin timestamp 2023-03-03 15:05:43 +01:00
Daniel Friesel
ad544949ad
changelog 2023-03-02 22:13:32 +01:00
Daniel Friesel
1c46f56b50 fix comment visibilitiy check 2023-03-02 18:34:01 +01:00
Daniel Friesel
41985327e4 privacy template: same default setting for current and past checkin(s) 2023-03-02 18:28:43 +01:00
Daniel Friesel
5d021c4ec9
oops. 2023-03-01 21:37:04 +01:00
Daniel Friesel
d1a3176edf
journey template: $journey_visibility may be unset 2023-03-01 17:51:43 +01:00
Daniel Friesel
becd6943f7
add missing edit_visibility template 2023-02-28 19:45:33 +01:00
Daniel Friesel
ba483a9daf
journey: add token to share link if non-public 2023-02-28 19:45:27 +01:00
Daniel Friesel
6d261197e3
set visibility per journey (wip)
some odds and ends left to polish, but ready for testing
2023-02-27 22:14:54 +01:00
Daniel Friesel
978c7b03c2
journey: add share button 2023-02-15 20:01:43 +01:00
Daniel Friesel
3da22fc8f9
improve inconsistency list 2023-02-04 22:17:57 +01:00
Daniel Friesel
16cdc3d10a
release assets 2023-02-04 21:21:36 +01:00
Daniel Friesel
6b4a82da32
inconsistent journeys: link to journeys 2023-02-04 21:17:45 +01:00
Daniel Friesel
3e2491a9bc
API documentation: do not perform database requests from template helpers 2023-01-21 08:36:25 +01:00
Daniel Friesel
72c50a7cc8
share button: show expected arrival time if status is not public 2023-01-20 18:38:07 +01:00
Daniel Friesel
2a3dd77d27
release assets 2023-01-18 18:17:17 +01:00
Daniel Friesel
e937324617
landing page: show past stops if geolocation is unavailable 2023-01-18 18:13:35 +01:00
Daniel Friesel
4abc43b72e
change route/stop layout to [name, eva, {data}] 2023-01-15 16:37:32 +01:00
Daniel Friesel
95d8474a30
traewelling: Kein Beta-Feature mehr, aber weiterhin eingeschränkt 2023-01-08 09:48:16 +01:00
Daniel Friesel
dbd9d9951f
decrease amount of traewelling get_status requests 2023-01-07 13:57:47 +01:00
Daniel Friesel
dc53e4774b
review: shop travelynx version 2022-12-30 16:46:56 +01:00
Daniel Friesel
ccc93413a2
review: link to list of all single-trip checkins 2022-12-29 14:14:12 +01:00
Daniel Friesel
d779cfab39
Release v1.29 2022-12-28 12:13:16 +01:00
Daniel Friesel
7af8750714
review: a bit more emphasis 2022-12-28 12:09:06 +01:00
Daniel Friesel
530bc7137b
release assets 2022-12-28 12:01:00 +01:00
Daniel Friesel
c68552c753
review: formatting nit 2022-12-27 22:34:06 +01:00
Daniel Friesel
34a19ee1bf
top trips: handle return trips 2022-12-27 22:12:15 +01:00
Daniel Friesel
3156d5f372
review: add top and bottom trips 2022-12-27 22:04:09 +01:00
Daniel Friesel
9dfe1c60ab
review: hide blocks without data 2022-12-27 17:56:44 +01:00
Daniel Friesel
ed63cae012
year in review: further delay stats 2022-12-27 17:29:34 +01:00
Daniel Friesel
9058a0be9d
review: there may be less than three messages 2022-12-27 11:19:51 +01:00
Daniel Friesel
5ede5ebf63
release assets 2022-12-27 11:07:57 +01:00
Daniel Friesel
3abe6aed5c
it's a secret to everybody. 2022-12-27 11:07:16 +01:00
Daniel Friesel
127b40c27a
not_found: allow custom error message 2022-12-26 16:48:11 +01:00
Daniel Friesel
f12bec530a
yearly/monthly history: return 404 for invalid dates 2022-12-26 15:35:33 +01:00
Daniel Friesel
d0973a9d8d
release assets 2022-12-26 12:44:56 +01:00
Daniel Friesel
187f7bf7ca
history_stats: remove number of journeys; will be shown in review 2022-12-25 22:45:52 +01:00
Daniel Friesel
5879d66714
release assets 2022-12-12 20:08:19 +01:00
Daniel Friesel
73dd23e422
changelog: fix mixed up icons 2022-12-07 21:45:35 +01:00
Daniel Friesel
2f9ba6e017
switch to internal station database; add out-of-service stations for old journeys 2022-12-07 19:42:48 +01:00
Daniel Friesel
7a42a2afe0
about: use activitypub for contact and homepage for derf link 2022-11-24 21:45:54 +01:00
Daniel Friesel
4b4c975978
Release v1.27 2022-11-21 20:16:49 +01:00
Daniel Friesel
731eb7eb99
indicate hidden departures in station board 2022-11-21 20:02:18 +01:00
Daniel Friesel
77292c938c
registration page: accounts will be notified before inactivity deletion 2022-11-21 19:59:02 +01:00
Daniel Friesel
36d1f653d3
about: activitypub -> skyshaper.org 2022-11-21 19:43:13 +01:00
Daniel Friesel
500f555da6
about: twitter -> mastodon 2022-11-20 09:18:42 +01:00
Daniel Friesel
d0b89ba6d3
Handle missing arrival times in route (indicates 'entry only' stops) 2022-11-19 21:37:49 +01:00
Daniel Friesel
285c83c7c0
release assets 2022-11-12 20:20:06 +01:00
Daniel Friesel
1671666d06
fix load icon alignment in stop list 2022-11-12 20:19:36 +01:00
Daniel Friesel
13fdbdc798
Release v1.26 2022-11-12 18:39:29 +01:00
Daniel Friesel
90d2e0357c
show expected load of suggested connections, if available 2022-11-12 18:37:00 +01:00
Daniel Friesel
6594d74edd
show expected utilization alongsie train route 2022-11-12 11:10:58 +01:00
Daniel Friesel
c92b6bc949
status card: handle missing realtime data 2022-11-11 19:01:24 +01:00
Daniel Friesel
91db3834ae release v1.25 2022-11-10 18:03:14 +01:00
Daniel Friesel
8936d70cc1 traewelling: add note about unstable API 2022-11-10 17:51:45 +01:00
Daniel Friesel
df74dd5cf9
route: handle stops without real-time data 2022-11-09 19:28:48 +01:00
Daniel Friesel
fc05987b14 traewelling: we now accept name or e-mail for login 2022-11-07 18:23:05 +01:00
Daniel Friesel
087d3871e1
Use Travel::Status::DE::HAFAS instead of traininfo.exe for journey details 2022-11-05 19:19:52 +01:00
sp8c3
fddd5c55be change apple-touch-icon to non transparent 2022-10-07 23:25:39 +02:00