Commit graph

602 commits

Author SHA1 Message Date
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