summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorLines
2023-12-14Release v5.025.02Birte Kristina Friesel-15/+15
2023-12-14Journey: Do not weaken hafas reference in stop itemsBirte Kristina Friesel-4/+1
The Stop constructor is called lazily and must have access to a hafas reference for its add_message function and strptime_obj key. If the hafas object goes out of scope before Journey->route is called, those may have been garbage-collected already. Apart from that, the weaken call was useless, since a Stop object does not store the hafas reference provided in its constructor. So, as soon as Journey->route is called, the hafas references in @{$journey->{route}} go out of scope anyways.
2023-11-25Release v5.015.01Birte Kristina Friesel-15/+15
2023-11-25HAFAS: Pass is_him to Message constructorBirte Kristina Friesel-0/+1
2023-11-25Journey(3pm): Do not prefix accessor documentation with "returns"Birte Kristina Friesel-19/+18
2023-11-25Add support for stop-specific messages in journeysBirte Kristina Friesel-13/+47
2023-11-22Journey: support journey JSON that does not provide a date attributeBirte Kristina Friesel-1/+1
2023-11-21Release v5.005.00Birte Kristina Friesel-15/+15
2023-11-21Location: fix DESCRIPTIONBirte Kristina Friesel-3/+3
2023-11-21HAFAS: add journeyMatch to list of flagsBirte Kristina Friesel-1/+1
2023-11-21StopFinder: mention that the endpoints may cease to exist soon-ishBirte Kristina Friesel-0/+4
2023-11-21Stop: Fix typoBirte Kristina Friesel-1/+1
2023-11-20Stop: merge parse_stop into constructorBirte Kristina Friesel-31/+28
2023-11-19Implement journeyMatch requestsBirte Kristina Friesel-4/+78
2023-11-19Move location-specific data and accessors to ...::HAFAS::LocationBirte Kristina Friesel-89/+183
This is a breaking change that affects the accessors of ...::Stop and the return type of $hafas->results in locationSearch and geoSearch mode
2023-11-16Move HAFAS stop parser to Stop packageBirte Kristina Friesel-84/+100
2023-11-12Stop: Expose documented accessors as accessors. Oops.Birte Kristina Friesel-1/+8
2023-11-12Message: type "C" can have some more meaningsBirte Kristina Friesel-1/+1
2023-11-12Stop: Update copyright. whoopsie.Birte Kristina Friesel-1/+1
2023-11-11Release v4.194.19Birte Kristina Friesel-13/+13
2023-11-11update copyright yearsBirte Kristina Friesel-4/+4
2023-11-11Message: document ->code and ->typeBirte Kristina Friesel-0/+50
2023-11-11Message: parse JSON in constructorBirte Kristina Friesel-15/+30
2023-11-11HAFAS/Message: expose message type (useful for filters)Birte Kristina Friesel-1/+3
2023-10-29Remove superfluous smartmatch warning removalBirte Kristina Friesel-6/+0
2023-10-29Release v4.184.18Birte Kristina Friesel-13/+13
2023-10-29add language specifiers to remaining servicesBirte Kristina Friesel-0/+3
2023-10-29allow users to specify the request languageBirte Kristina Friesel-0/+11
2023-10-11Journey(3pm): fix typoBirte Kristina Friesel-1/+1
2023-10-08only run cross-midnight code if affected timestamps are presentBirte Kristina Friesel-10/+14
2023-09-17Release v4.174.17Birte Kristina Friesel-13/+13
2023-09-16journey: check if nameS exists before concatenating itBirte Kristina Friesel-1/+1
2023-09-05Journey: Fix (undocumented) route_start accessorBirte Kristina Friesel-1/+1
2023-09-03Release v4.164.16Birte Kristina Friesel-13/+13
2023-09-03Journey: Handle missing leading 0 in date strings.Birte Kristina Friesel-1/+7
Because of course it is missing, because the date string is treated as a number by the magical API of the data lake, because why wouldn't it be.
2023-09-03release v4.15 (late commit is late)Birte Kristina Friesel-13/+13
2023-08-23HAFAS(3pm): document similar_stops_p4.15Birte Kristina Friesel-2/+17
2023-08-22HAFAS(3pm): note that disambiguation error is LOCATION, not H730Birte Kristina Friesel-1/+1
2023-08-22Fix HAFAS->similar_stops_pBirte Kristina Friesel-1/+2
2023-08-22HAFAS: remove unused $uaBirte Kristina Friesel-1/+0
2023-08-22Release v4.144.14Birte Kristina Friesel-13/+13
2023-08-22Fix datetime calculation when crossing midnight after midnightBirte Kristina Friesel-4/+10
Previously, this module generated timestamps that were 24h in the future whenever requesting a journey that crosses midnight after midnight.
2023-08-21Release v4.134.13Birte Kristina Friesel-13/+13
2023-08-21HAFAS: more detailed new_p rejection documentationBirte Kristina Friesel-5/+6
2023-08-20new_p: add $self to reject arguments when sensibleBirte Kristina Friesel-3/+5
2023-07-03update copyrightBirte Kristina Friesel-5/+5
2023-05-29Release v4.124.12Derf Null-13/+13
2023-05-29Stop: Fix lat/lon mixupDerf Null-2/+2
2023-05-25Release v4.114.11Derf Null-13/+13
2023-05-03Revert "treat delays as integers. what the fuck."Derf Null-2/+2
This reverts commit 38071ce2ad25189ef7bbe14508e3d23e5a913001.