Commit Graph

119 Commits

Author SHA1 Message Date
826402cd41 give proper results for stats 2023-10-01 20:52:42 +02:00
af81920a47 fake personal history 2023-10-01 20:52:42 +02:00
02e1546f0e complete tests for logbook 2023-10-01 20:52:41 +02:00
6d0501d3b0 add tests 2023-10-01 20:52:41 +02:00
e41aa9b4e7 fun with timezones 2023-10-01 20:52:41 +02:00
33810d69da push 2023-10-01 20:52:41 +02:00
09af9981df fix multi-select; only show private boats owner + kiosk 2023-10-01 20:52:41 +02:00
514561321e change select properly if boat is selected on the left 2023-10-01 20:52:41 +02:00
57e540f450 allow users to delete trips 2023-10-01 20:52:41 +02:00
fd4d097d72 verify that arrivaldate > departuredate 2023-10-01 20:52:41 +02:00
e849b6f5f9 error if same person selected as cox + rower 2023-10-01 20:52:41 +02:00
d102e57b09 disable rowers in logbook if they are on water 2023-10-01 20:52:41 +02:00
1f801b0436 add debug trait; switch to proper name of form field (rowerS) 2023-10-01 20:52:41 +02:00
8b0264d181 clean code with clippy 2023-10-01 20:52:41 +02:00
fe4c0bebfc
Staging 2023-09-05 21:03:18 +00:00
590b41aa33 Allow to add real guests 2023-08-09 20:30:37 +00:00
bd4ee5954c implement is_locked for trip_details 2023-08-09 11:54:18 +02:00
f0c6bdac14 fix ci; clean code 2023-08-05 16:29:58 +02:00
94a9d285be clean db 2023-08-05 16:27:51 +02:00
7309b1f2b2 update unit tests; add location name in kiosk settting to cookie (to avoid specific redirects) 2023-08-05 13:21:35 +02:00
e459a4e2d9 store loation in kiosk cookie, to avoid having to handle each location separately 2023-08-05 13:09:58 +02:00
351ba1ba4e fix tests, default redirect to linz kiosk 2023-08-05 13:01:01 +02:00
8a40dfe017 allow filter for kiosk, to only show boats at specific location 2023-08-05 12:59:02 +02:00
f3c18c6949 update mail address 2023-08-02 18:36:38 +02:00
ff31ad83fe add boatdamages functionality 2023-08-02 14:29:19 +02:00
f2baca668c add tests for tera/admin/planned_event
Closes #19
2023-07-31 21:33:49 +02:00
da6a16cd66 add tests for tera/admin/planned_event
Closes #20
2023-07-31 21:29:03 +02:00
8fa8e17c5a add tests for tera/admin/planned_event
Closes #24
2023-07-31 21:15:28 +02:00
96af3c3b17 create tests for /public
Closes #25
2023-07-31 21:07:01 +02:00
3730940aed add tests for tera/log.rs
Closes #34
2023-07-31 20:09:03 +02:00
8b5be3fb41 add test for tera/admin/boat.rs
Fixes #33
2023-07-31 19:38:53 +02:00
adb26f6b91 create tests for model/rower.rs, Closes #32 2023-07-31 16:59:15 +02:00
dc4b4b3499 add tests; Closes #30 2023-07-31 16:25:07 +02:00
bbb78cbc44 move todos to gitlab; write tests for /cox/remove/<id>; Closes #9 2023-07-31 13:34:02 +02:00
2e80f7bc38 add logbook history 2023-07-30 14:13:49 +02:00
e49279afef remove log from page 2023-07-30 13:02:29 +02:00
efbe589c83 remove unnecessary autotrait 2023-07-27 22:42:00 +02:00
56e1deccc0 fix error w/ clippy 2023-07-27 22:20:40 +02:00
16a0654e1f only save (encrypted) user_id in cookie 2023-07-27 22:16:12 +02:00
b5fd4018ff extract common functionality to functoin 2023-07-27 15:24:29 +02:00
0c906f2bda check if shipmaster is already on the water 2023-07-27 15:00:52 +02:00
621058356d proper redirects 2023-07-27 14:50:44 +02:00
1733fc7fe7 clippy clean 2023-07-27 14:40:05 +02:00
38300d826a add kiosk mode 2023-07-27 14:38:46 +02:00
48eb1b7dc2 clean ui for logbook 2023-07-26 12:56:19 +02:00
8c6fcd7fb0 only log useragent on succ login 2023-07-26 08:29:22 +02:00
156122eba4 log useragent on login 2023-07-25 13:55:16 +02:00
9a3636f05f fix testsg 2023-07-25 13:33:12 +02:00
e5f22ae070 more clippy :-) 2023-07-25 13:32:20 +02:00
a7789af713 clean code with clippy 2023-07-25 13:22:11 +02:00
082fac9789 add stats 2023-07-24 20:56:46 +02:00
c42cd2cd9c allow adding rowers to logbook 2023-07-24 13:01:39 +02:00
c43feb1834 add test 2023-07-24 09:40:28 +02:00
c32c8bb643 move always_show to tripdetails 2023-07-23 19:45:48 +02:00
9fa70b1411 add functionality to finish logbook trips 2023-07-23 16:49:14 +02:00
3259582aab create new tests for /cox/trip/<id> 2023-07-23 14:21:27 +02:00
1d4c5f356d add first draft of logbook 2023-07-23 12:17:57 +02:00
b2f626f906 allow creating all fields for new boats 2023-07-22 16:36:02 +02:00
0381465272 add db constraints; add optional name for login (to be sent to members) 2023-07-22 15:51:20 +02:00
524d1acee2 add full CRUD for boats 2023-07-22 15:34:42 +02:00
c0bb6d51de create create/delete/view function for boats 2023-07-22 13:57:17 +02:00
d712859566 add tests 2023-07-22 12:24:29 +02:00
5a27c5a225 add first tera test 2023-07-21 10:26:50 +02:00
2f6464ff84 separate rest from tera 2023-07-16 19:16:42 +02:00
a3b3b03c8b push 2023-07-16 19:10:22 +02:00
cf6db88b25 segrete rest from tera 2023-07-16 18:33:17 +02:00
a0afce344f add debug log for auth 2023-07-11 09:16:13 +02:00
59ab01d36b add contact options on failed login 2023-07-10 17:17:17 +02:00
0fbdcc084e rename subfolder 2023-06-28 14:06:28 +02:00