Commit graph

1165 commits

Author SHA1 Message Date
Birte Kristina Friesel
8a422d16f7
Api: use get_departures_p 2023-07-09 19:23:11 +02:00
Birte Kristina Friesel
5b88a4bb3d
station board: fix HTTP status and IRIS error handling 2023-07-09 17:42:12 +02:00
Birte Kristina Friesel
2123a67ba0
IRIS->get_departures_p: return string in first rejection argument
This is consistent with other promises within travelynx
2023-07-09 17:41:51 +02:00
Birte Kristina Friesel
1074f248cc
use promises for checkin and traewelling_to_travelynx 2023-07-09 14:46:28 +02:00
Birte Kristina Friesel
f7e3bb490d
checkin: show 'select target' more prominently 2023-07-09 10:58:11 +02:00
Birte Kristina Friesel
fb83b0ad9f
checkin: reduce nesting 2023-07-09 07:16:22 +02:00
Birte Kristina Friesel
b5723264a7
HAFAS station board: fix station name display 2023-07-09 07:07:31 +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
c9bae6fcee
journeys: simplify visibily check 2023-07-03 18:12:34 +02:00
Derf Null
a608ca6781
update ALL the copyright notices! 2023-07-03 17:59:25 +02:00
Derf Null
05fd4deed4
release assets 2023-07-02 10:49:18 +02:00
Derf Null
6007f94222
rebuild assets 2023-07-02 10:48:55 +02:00
Derf Null
4dd2cc9d9e
show hours and minutes until arrival, not just minutes 2023-07-02 10:48:34 +02:00
Derf Null
66e8dcb925
Profile: remove unused compute_effective_visibility function 2023-06-30 19:58:37 +02:00
Derf Null
0e4bafafd8
Profile: refactor visibility checks 2023-06-30 19:58:12 +02:00
Derf Null
a5bdf28f4c
perltidy 2023-06-29 21:54:51 +02:00
Derf Null
a73e2edc86
profile: use effective visibility from journey object 2023-06-29 21:54:25 +02:00
Derf Null
4f54597c0d
add profile / past journey visibility tests 2023-06-29 21:52:45 +02:00
Derf Null
f794d3c0a4
profile: treat self as follower 2023-06-29 21:52:18 +02:00
Derf Null
915e90a285
move journey visibility to separate test 2023-06-29 20:55:20 +02:00
Derf Null
00ee3de6c1
Journey->add_from_in_transit: return ID of added journey 2023-06-28 22:21:51 +02:00
Derf Null
c7fedb9e42
add journey visibility tests 2023-06-28 22:21:33 +02:00
Derf Null
6e25ffc8e9
visibility test: add a small description of current test 2023-06-28 19:23:19 +02:00
Derf Null
bb43a2e8e3
journeys: return effective visibility 2023-06-27 21:50:28 +02:00
Derf Null
8cb0de1b70
compute effective visibility in database view 2023-06-26 20:53:08 +02:00
Derf Null
f0be693811
t/22-visibility: also check ajax status and profile 2023-06-26 20:49:58 +02:00
Derf Null
16237bfe21
use small stations database for some tests 2023-06-26 20:18:27 +02:00
Derf Null
0702a0edca
Move hash_password to Model/Users 2023-06-26 19:50:49 +02:00
Derf Null
9b54276e8c
add visibility and share token test 2023-06-26 17:40:23 +02:00
Derf Null
05924f2c67
Login: return HTTP 400 on invalid password or unconfirmed account 2023-06-25 23:28:38 +02:00
Derf Null
e14966c488
Users->add: correctly specify default visibility 2023-06-25 11:09:51 +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
085d77a1fa
time to flush the name cache 2023-06-24 18:36:59 +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
ee6470e0d8
status card / profile: fix users being unable to see own travelynx-only status 2023-06-23 22:46:15 +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
Molly Miller
beb59221e7 Add app version to default stashed values.
This means that the version no longer needs to be passed to every version
manually, and is automatically populated in templates where the parameter is
not explicitly provided.
2023-06-12 20:48:01 +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
88ede7e308
update ice names 2023-06-08 12:44:04 +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
e275fc6dbe
Fix edge case that allowed in-transit journeys with invalid destinations 2023-06-07 23:04:00 +02:00
Derf Null
cc4feebe2c
social: -v 2023-06-04 22:59:55 +02:00
Derf Null
bdc05e0b8e
fix missing join condition in followers view 2023-06-04 22:59:22 +02:00