Commit graph

43 commits

Author SHA1 Message Date
Birte Kristina Friesel
78d4494364
Adjust t/12-journey-edit.t (journeys->add: backend_id is mandatory) 2024-08-10 11:42:42 +02:00
Birte Kristina Friesel
47f76da4f8
Multi-backend support
Squashed commit of the following:

commit 92518024ba295456358618c0e8180bd8e996fdf1
Author: Birte Kristina Friesel <birte.friesel@uos.de>
Date:   Fri Jul 26 18:39:46 2024 +0200

    add_or_update station: remove superfluos 'new backend id := old backend id'

commit df21c20c6e4c86454f8a9ac69121404415217f2a
Author: Birte Kristina Friesel <birte.friesel@uos.de>
Date:   Fri Jul 26 18:35:51 2024 +0200

    revert connection targets min_count to 3

commit be335cef07d0b42874f5fc1de4a1d13396e8e807
Author: Birte Kristina Friesel <birte.friesel@uos.de>
Date:   Fri Jul 26 18:20:05 2024 +0200

    mention backend selection in API documentation

commit 9f41828fb4f18fd707e0087def3032e8d4c8d7d8
Author: Birte Kristina Friesel <derf@finalrewind.org>
Date:   Thu Jul 25 20:19:23 2024 +0200

    use_history: not all backends provide route data in departure monitor

commit 09714b4d89684b8331d0e96f564a4c7432318f70
Author: Birte Kristina Friesel <derf@finalrewind.org>
Date:   Thu Jul 25 20:11:44 2024 +0200

    disambiguation: pass correct hafas parameter

commit 8cdf1120fc32155dc6525be64601b7c10a9c7f52
Author: Birte Kristina Friesel <derf@finalrewind.org>
Date:   Thu Jul 25 20:11:28 2024 +0200

    _checked_in: hide Zuglauf link for non-db checkins

commit 7455653f541198e0e0a6d11aed421487ffdb6285
Author: Birte Kristina Friesel <derf@finalrewind.org>
Date:   Thu Jul 25 20:01:47 2024 +0200

    debug output

commit b9cda07f85601a58ea32dbdacdd5399f302db52b
Author: Birte Kristina Friesel <derf@finalrewind.org>
Date:   Thu Jul 25 19:09:07 2024 +0200

    fix remaining get_connection_targets / get_connecting_trains_p invocations

commit 2759d7258c37c7498905cfe19f6b4c4f6d16bd21
Author: Birte Kristina Friesel <derf@finalrewind.org>
Date:   Wed Jul 24 20:50:12 2024 +0200

    support non-DB HAFAS backends (WiP)
2024-07-26 18:55:58 +02:00
Birte Kristina Friesel
c969019bb3
tests: EMST has been renamed to EMSTP. 2024-06-09 10:17:04 +02:00
Birte Kristina Friesel
479ded0c72
update tests for 61b33446cd 2023-08-16 21:34:46 +02:00
Birte Kristina Friesel
a58a312baf
fix tests (use relative datetimes for proper past visibility handling) 2023-08-12 13:26:51 +02:00
Birte Kristina Friesel
44596dfe21
update relations test. oops. 2023-07-18 16:17:32 +02:00
Birte Kristina Friesel
19cd9f7a8d
account: add a list of sent follow requests 2023-07-16 23:01:23 +02:00
Derf Null
a608ca6781
update ALL the copyright notices! 2023-07-03 17:59:25 +02:00
Derf Null
4f54597c0d
add profile / past journey visibility tests 2023-06-29 21:52:45 +02:00
Derf Null
915e90a285
move journey visibility to separate test 2023-06-29 20:55:20 +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
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
085d77a1fa
time to flush the name cache 2023-06-24 18:36:59 +02:00
Derf Null
a7f17fd9bf
adjust relations test for subj/obj and follower return values changes 2023-06-04 22:05:24 +02:00
Derf Null
dfe07939a2
update registration test for new CSRF validation 2023-06-04 21:16:28 +02:00
Derf Null
d4a6470141
Users: support notifications about pending follow requests 2023-06-03 10:42:14 +02:00
Derf Null
b2feb1b664
Users: Add unfollow action 2023-06-01 22:07:01 +02:00
Derf Null
9332f60a43
prepare for follow relations and follow-only checkins 2023-05-31 22:16:27 +02:00
Daniel Friesel
582e8b874c fix tests 2021-04-20 22:09:34 +02:00
Daniel Friesel
b70ecc7c7c Add a bunch of licensing data 2020-11-27 22:12:56 +01:00
Daniel Friesel
e8ff730320 Stats: Fix handling of negative cumulative arrival/departure delays 2020-10-06 19:28:00 +02:00
Daniel Friesel
ea0fe3ea3e add journey edit test 2020-08-28 20:33:02 +02:00
Daniel Friesel
4c2d1431ef split up registration and journey stats tests 2020-08-22 10:53:47 +02:00
Daniel Friesel
b3b0a055b9 improve get_user_travels performance, most notably when rendering map
only create DateTime objects when needed
2019-11-24 20:29:52 +01:00
Daniel Friesel
13e59b3aa1 add journey: make realtime data optional (default to schedule data)
Closes #25
2019-11-18 21:02:57 +01:00
Daniel Friesel
f6d56d3134 Add proper journey comment support 2019-08-23 10:34:02 +02:00
Daniel Friesel
c907b5a8e6 Unit tests with time zones? Forget about it… 2019-05-26 18:26:14 +02:00
Daniel Friesel
90824071d7 add journey entry and statistics tests 2019-05-26 18:16:17 +02:00
Daniel Friesel
122e2a7b4a adjust tests for /account/... URL changes 2019-05-03 22:22:08 +02:00
Daniel Friesel
048767149e use a separate table for registration tokens 2019-04-30 18:05:07 +02:00
Daniel Friesel
25d0530e86 Add password reset functionality
Closes #5
2019-04-29 20:12:59 +02:00
Daniel Friesel
812be4f0cb Finish transition from DBI to Mojo::Pg 2019-04-22 13:42:41 +02:00
Daniel Friesel
eaf3f451c5 add "change password" tests 2019-04-22 09:43:00 +02:00
Daniel Friesel
9101207449 Add test for account (un)deletion 2019-04-22 08:45:26 +02:00
Daniel Friesel
dcc161fbf8 Skip database tests if no database is configured 2019-04-22 07:02:14 +02:00
Daniel Friesel
4aa83625d3 basic test: No DB needed; perltidy 2019-04-18 14:52:51 -04:00
Daniel Friesel
eff979081c Add a registration test 2019-04-18 14:51:45 -04:00
Daniel Friesel
015b51ba84 Add a basic test for static content 2019-04-18 12:22:17 -04:00