Commit graph

620 commits

Author SHA1 Message Date
Birte Kristina Friesel
d585c319bf
release assets 2023-09-04 17:06:41 +02:00
Birte Kristina Friesel
26ebd3d644
API: Expose HAFAS JourneyID, if available (#85) 2023-08-30 21:54:05 +02:00
Birte Kristina Friesel
155ac555f1
station board: make 'now' marker easier to distinguish 2023-08-27 21:33:06 +02:00
Birte Kristina Friesel
f4d71b4d9f
obtain autocompletion from database 2023-08-26 09:17:28 +02:00
Birte Kristina Friesel
072d19abbb
v2.1 2023-08-24 21:39:44 +02:00
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