Daniel Friesel
|
6bae226d5c
|
always show 'run' icon when an interchange is short
|
2022-09-23 17:32:27 +02:00 |
|
Daniel Friesel
|
8c511f955c
|
Controller/Traveling: perltidy
|
2022-09-07 18:08:27 +02:00 |
|
Daniel Friesel
|
ffeeb11e5a
|
get_connecting_trains_p: remove trains with identical routes to current one
|
2022-09-05 21:06:05 +02:00 |
|
Daniel Friesel
|
0a7188d2e2
|
get_connecting_trains_p: use has_str_in_list helper more often
|
2022-09-05 21:00:20 +02:00 |
|
Daniel Friesel
|
3b9db4bfd4
|
get_connecting_trains_p: handle uninitialized arr_countdown
|
2022-09-03 17:58:12 +02:00 |
|
Daniel Friesel
|
dd151dc686
|
get_connecting_trains_p: we're doing boolean arithmetic here
(fixes 'useless use of numeric lt in void context' warning)
|
2022-09-03 16:58:54 +02:00 |
|
Daniel Friesel
|
2f2624a80a
|
get_connecting_trains: set lookahead to (expected arrival // now) + 40 minutes
|
2022-09-03 16:46:48 +02:00 |
|
Daniel Friesel
|
6aca1692e4
|
get_connecting_trains_p: increase lookahead to 60
|
2022-08-26 18:56:50 +02:00 |
|
Daniel Friesel
|
ff317c5c2a
|
show connections up to 40 minutes before arrival (rather than just 20)
|
2022-08-26 18:38:54 +02:00 |
|
Daniel Friesel
|
1a2ff8262d
|
... 'status' is a reserved renderer key. oops.
|
2022-08-04 14:07:25 +02:00 |
|
Daniel Friesel
|
d0c061569d
|
Traveling: Rename log_action to travel_action
|
2022-08-02 22:22:10 +02:00 |
|
Daniel Friesel
|
d3c8daf84c
|
fetch connecting trains asynchronously
|
2022-08-01 10:07:24 +02:00 |
|
Daniel Friesel
|
c06d653195
|
Traveling: sort helpers <-> controllers
|
2022-07-30 10:47:18 +02:00 |
|
Daniel Friesel
|
de73024f1b
|
Passengerrights: section headers; perltidy
|
2022-07-30 10:45:18 +02:00 |
|
Daniel Friesel
|
aa19f4b00c
|
Api: section headers for helpers / controllers; perltidy
|
2022-07-30 10:42:21 +02:00 |
|
Daniel Friesel
|
0e01485952
|
Account: Move helpers to a separate section
|
2022-07-30 10:41:31 +02:00 |
|
Daniel Friesel
|
83954508f0
|
move get_connecting_trains helper to Traveling controller
|
2022-07-30 10:27:57 +02:00 |
|
Daniel Friesel
|
2da48e05be
|
move get_connecting_trains call from _checkeed_in to controller
|
2022-07-27 13:54:20 +02:00 |
|
Daniel Friesel
|
52ff756577
|
only show cancellation alternatives at original station
|
2022-07-26 15:36:45 +02:00 |
|
Daniel Friesel
|
1594ba9327
|
_checked_out: move get_connecting_trains call to controller
|
2022-07-26 15:36:22 +02:00 |
|
Daniel Friesel
|
960de27f0e
|
move get_connecting_trains out of _cancelled_departure template
|
2022-07-26 14:51:57 +02:00 |
|
Daniel Friesel
|
35338125bc
|
departure board: move get_connecting_trains call to controller
this is in preparation for turning it into a promise
|
2022-07-26 13:19:29 +02:00 |
|
Daniel Friesel
|
bb6acc0c6b
|
Use async IRIS API for /s/
|
2022-07-26 10:41:44 +02:00 |
|
Daniel Friesel
|
ff290c78e0
|
services: add marudor.de/regional
|
2022-07-16 13:55:36 +02:00 |
|
Daniel Friesel
|
5eab0c14f4
|
optionally link to external departure boards where sensible (WiP)
|
2022-07-11 22:09:26 +02:00 |
|
Daniel Friesel
|
5ff9e5c7a1
|
history map: allow filtering by train type
|
2022-04-02 18:14:21 +02:00 |
|
Daniel Friesel
|
5dfbdd8644
|
history map: add filter by date
|
2022-04-02 15:24:39 +02:00 |
|
Daniel Friesel
|
13b4572a2f
|
limit password length to 10000 characters
that should be sufficient…
|
2022-03-07 18:12:43 +01:00 |
|
Daniel Friesel
|
01aec7e977
|
fix ajax refresh of public status card (trim .html suffix)
|
2022-02-20 21:45:51 +01:00 |
|
Daniel Friesel
|
209e291821
|
Move webhook database queries to Users model
|
2022-02-20 17:35:30 +01:00 |
|
Daniel Friesel
|
167b01fa42
|
link traewelling profile from travelynx profile; show traewelling status
|
2022-02-16 20:56:28 +01:00 |
|
Daniel Friesel
|
ef3252863e
|
Traewelling::get: Use named args
|
2022-02-16 20:39:49 +01:00 |
|
Daniel Friesel
|
170c7e420e
|
Controller/Account: refactor mail notifications into separate functions
|
2022-01-19 19:25:03 +01:00 |
|
Daniel Friesel
|
ac3c70597d
|
Account: do not disclose denylist filename on open error
|
2021-10-30 10:03:40 +02:00 |
|
Daniel Friesel
|
39ab6e57d3
|
allow registration to be denied for certain IPs, e.g. known spammers
(yes, there are actually spambots flooding people with unsolicited
registration e-mails)
|
2021-08-20 22:52:02 +02:00 |
|
Daniel Friesel
|
95674ee2ea
|
Add explanation to name change page
|
2021-06-14 19:30:58 +02:00 |
|
Daniel Friesel
|
1803a1723c
|
move user name validation to Users model
|
2021-06-13 08:48:08 +02:00 |
|
Daniel Friesel
|
581aae081d
|
Model/Users: Remove superfluous "check_if_" prefix from check functions
|
2021-06-13 06:20:21 +02:00 |
|
Daniel Friesel
|
6cee1e20ef
|
allow users to change their name
|
2021-06-12 19:00:42 +02:00 |
|
Daniel Friesel
|
aad2a53459
|
attempt to prevent registration spam
|
2021-04-20 21:59:17 +02:00 |
|
Daniel Friesel
|
a4ff5e8ad8
|
Switch to AGPL3+
|
2021-01-29 18:32:13 +01:00 |
|
Daniel Friesel
|
77ecd6d034
|
move statistics cache to a separate model class
|
2020-11-28 21:03:51 +01:00 |
|
Daniel Friesel
|
b70ecc7c7c
|
Add a bunch of licensing data
|
2020-11-27 22:12:56 +01:00 |
|
Daniel Friesel
|
b1348c7d4a
|
move in_transit queries to an InTransit model class
|
2020-10-11 19:38:01 +02:00 |
|
Daniel Friesel
|
562dd7ccae
|
add toot and tweet settings to traewelling checkin
|
2020-10-04 12:27:20 +02:00 |
|
Daniel Friesel
|
89e709d8d5
|
Allow linking a Träwelling account, auto-sync Träwelling→travelynx
travelynx→Träwelling is still work-in-progress
Squashed commit of the following:
commit 97faa6e2e6c8d20fba30f2d0f6e78187ceeb72e6
Author: Daniel Friesel <derf@finalrewind.org>
Date: Wed Sep 30 18:50:05 2020 +0200
improve traewelling log and tx handling
commit 487d7dd728b9d45b731bdc7098cf3358ea2e206e
Author: Daniel Friesel <derf@finalrewind.org>
Date: Wed Sep 30 18:02:41 2020 +0200
add missing traewelling template
commit 0148da2f48d9a52dcddc0ab81f83d8f8ac3062ab
Author: Daniel Friesel <derf@finalrewind.org>
Date: Wed Sep 30 18:02:35 2020 +0200
improve traewelling pull sync
commit 4861a9750f9f2d7621043361d0af6b0a8869a0df
Author: Daniel Friesel <derf@finalrewind.org>
Date: Tue Sep 29 22:14:24 2020 +0200
wip checkin from traewelling
commit f6aeb6f06998a2a7a80f63a7b1b688b1a26b66bd
Author: Daniel Friesel <derf@finalrewind.org>
Date: Tue Sep 29 18:37:53 2020 +0200
refactor traewelling integration. login and logout are less of a hack now.
checkin and checkout are not supported at the moment.
|
2020-09-30 19:12:29 +02:00 |
|
Daniel Friesel
|
952740969c
|
add opengraph metadata output
|
2020-09-21 20:31:08 +02:00 |
|
Daniel Friesel
|
362db912fa
|
add twitter card to public journey view
|
2020-09-21 20:15:01 +02:00 |
|
Daniel Friesel
|
eb93ee40c9
|
passengerrights: fix a typo
|
2020-09-08 21:15:46 +02:00 |
|
Daniel Friesel
|
a3149adddd
|
Fix checkin via API. Broken by 717cc18a40
Closes #44
|
2020-09-05 21:51:52 +02:00 |
|
Daniel Friesel
|
7eb5f967f2
|
profile: limit history to four weeks by default
|
2020-09-04 18:38:35 +02:00 |
|
Daniel Friesel
|
482fa975b5
|
add public profile page and public journey details
|
2020-09-03 22:27:50 +02:00 |
|
Daniel Friesel
|
47b957361e
|
Move most journey code to newly introduced Journey model
|
2020-08-16 21:20:23 +02:00 |
|
Daniel Friesel
|
717cc18a40
|
Move get_departures to a separate IRIS helper
|
2020-08-06 16:04:12 +02:00 |
|
Daniel Friesel
|
f08bdaca5c
|
Move user model to a separate module
|
2020-07-27 18:53:22 +02:00 |
|
Daniel Friesel
|
f5fd6d42e1
|
Add CSV Export
|
2020-04-19 18:26:20 +02:00 |
|
Daniel Friesel
|
346f1474bb
|
commute stats: attempt to weed out non-work stations for auto-fill
|
2020-04-19 17:49:14 +02:00 |
|
Daniel Friesel
|
5ce4bc6995
|
improve commute station heuristic
Select top station on work days (Mo .. Fr) with arrival < 13:00 or
departure >= 13:00.
|
2020-04-19 17:40:39 +02:00 |
|
Daniel Friesel
|
94ea5a089f
|
Commute stats: count days, not journeys
|
2020-04-19 17:03:02 +02:00 |
|
Daniel Friesel
|
94932c4102
|
add commute stats. not linked from nav yet.
|
2020-04-19 16:49:31 +02:00 |
|
Daniel Friesel
|
d7f251e51f
|
public user status: show polyline if available
|
2020-02-26 18:43:34 +01:00 |
|
Daniel Friesel
|
5c05ed609f
|
journey details: show route on map if available
|
2020-02-23 19:04:05 +01:00 |
|
Daniel Friesel
|
82f043e734
|
Move map data generation to a global helper function
|
2020-02-23 18:35:56 +01:00 |
|
Daniel Friesel
|
a15dc1791c
|
calculate journey distance using polyline, if available
|
2020-02-21 23:31:50 +01:00 |
|
Daniel Friesel
|
0011e4a18d
|
user_status: Improve TS lookup performance
|
2020-02-20 20:58:58 +01:00 |
|
Daniel Friesel
|
57f686b688
|
allow showing past journeys on shared status page
|
2020-02-19 20:58:38 +01:00 |
|
Daniel Friesel
|
cc7439dd5e
|
handle departure cancellation after checkin
|
2020-02-17 21:13:07 +01:00 |
|
Daniel Friesel
|
a1865fa69e
|
add privacy setting for showing history and latest arrival timestamp
|
2020-02-14 16:29:44 +01:00 |
|
Daniel Friesel
|
3ddd1a1cf4
|
Improve map performance by passing actual polylines for train routes
|
2020-02-07 23:19:01 +01:00 |
|
Daniel Friesel
|
eb3f4aed05
|
allow checkin and checkout station to be edited
|
2020-02-01 16:15:20 +01:00 |
|
Daniel Friesel
|
aa7a7db2bc
|
map: show polylines by default
|
2020-01-31 18:16:00 +01:00 |
|
Daniel Friesel
|
dadb0f6637
|
map: improve polyline duplicate detection
|
2020-01-29 19:54:32 +01:00 |
|
Daniel Friesel
|
993f6be6c9
|
map: set bounds on stations; move polyline feature to staging
|
2020-01-29 18:48:58 +01:00 |
|
Daniel Friesel
|
cc25a56864
|
Api: Import: Set correct route key for add_journey
|
2020-01-26 16:04:08 +01:00 |
|
Daniel Friesel
|
d7c69acf41
|
import API: route -> intermediateStops
|
2020-01-26 10:50:21 +01:00 |
|
Daniel Friesel
|
c31254e996
|
import API: Add deprecated field, remove development check
|
2020-01-26 10:47:51 +01:00 |
|
Daniel Friesel
|
1723f8c1fb
|
import API: invalidate stats cache after adding a journey
|
2020-01-26 10:08:46 +01:00 |
|
Daniel Friesel
|
3e9807b393
|
map, journey view: handle renamed stations
|
2020-01-25 15:46:42 +01:00 |
|
Daniel Friesel
|
1028e47a35
|
map: list skipped journeys
|
2020-01-25 14:55:51 +01:00 |
|
Daniel Friesel
|
ee1285e8fa
|
map: support multiple polyline groups with different colors
|
2020-01-25 14:41:33 +01:00 |
|
Daniel Friesel
|
9232cdaa5f
|
Return HTTP 404 for unknown journeys
|
2020-01-19 19:21:14 +01:00 |
|
Daniel Friesel
|
2764826da0
|
/journey/🆔 verify that id is numeric
As a side effect, this turns the response of GET /journey/edit (which should
never happen in the first place) from an exception into a 404 error (#36)
|
2020-01-19 19:15:53 +01:00 |
|
Daniel Friesel
|
a9a7fa4492
|
Release Travel API
|
2019-12-31 13:27:14 +01:00 |
|
Daniel Friesel
|
61889603f7
|
Checkin API: error out if fromStation / toStation are ambiguous
|
2019-12-30 01:31:26 +01:00 |
|
Daniel Friesel
|
d9126b927f
|
fix connections display
|
2019-12-26 22:48:50 +01:00 |
|
Daniel Friesel
|
f9f1eec499
|
Use EVA IDs instead of travelynx-internal station IDs. Not 100% tested yet.
|
2019-12-23 22:57:45 +01:00 |
|
Daniel Friesel
|
e7f278574f
|
more travel API documentation
|
2019-12-20 18:33:59 +01:00 |
|
Daniel Friesel
|
11a2e94a04
|
travel API: more helpful errors on invalid input
|
2019-12-20 16:39:15 +01:00 |
|
Daniel Friesel
|
bd372d57e2
|
Travel API: Add "deprecated" field
|
2019-12-20 16:23:41 +01:00 |
|
Daniel Friesel
|
ebb7c22a4b
|
checkin api: only set comment if checkin was successful
|
2019-12-20 16:18:32 +01:00 |
|
Daniel Friesel
|
69f961a23c
|
disable import and checkin API endpoints in production mode
|
2019-12-19 19:20:06 +01:00 |
|
Daniel Friesel
|
c8695ecb1c
|
travel, import API: Verify that payload is a hash
|
2019-12-17 20:41:36 +01:00 |
|
Daniel Friesel
|
934a9ac21a
|
api/import: More helpful errors, fix "lax" support
|
2019-12-17 20:09:02 +01:00 |
|
Daniel Friesel
|
ae21896982
|
API: Add lax option
|
2019-12-17 20:01:39 +01:00 |
|
Daniel Friesel
|
7ae60f2ea4
|
Travel API: comment support
|
2019-12-14 23:46:36 +01:00 |
|
Daniel Friesel
|
46fc64de48
|
Add travel (checkin/checkout/undo) API
|
2019-12-14 21:53:23 +01:00 |
|
Daniel Friesel
|
5fe4174feb
|
Add API entry point for journey import
|
2019-12-14 20:46:02 +01:00 |
|
Daniel Friesel
|
315a94affe
|
allow a journey's cancellation status to be edited
Closes #27
|
2019-12-08 19:46:45 +01:00 |
|
Daniel Friesel
|
561ff4574b
|
Allow status visibility to be limited to travelynx users
|
2019-12-08 11:06:17 +01:00 |
|
Daniel Friesel
|
402a5597f5
|
Account: unset public_comment when public_status is disabled
|
2019-12-08 10:32:22 +01:00 |
|