Commit Graph

154 Commits

Author SHA1 Message Date
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
48eb1b7dc2 clean ui for logbook 2023-07-26 12:56:19 +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
3765541674 even show who's logging in 2023-07-25 11:36:36 +02:00
1436feaffd create logs for login 2023-07-25 11:31:51 +02:00
290e05dc4c add todo 2023-07-24 21:17:51 +02:00
Philipp
2dc70fa629 use function (instead of macro) to work with older sqlite 2023-07-24 21:16:43 +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
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
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
4ad6caa26c trim string 2023-07-11 14:37:48 +02:00
a0afce344f add debug log for auth 2023-07-11 09:16:13 +02:00
52f1c3c026 push 2023-06-08 17:23:23 +02:00
47920305c4 allow updating pinning an planned_trip 2023-06-08 11:28:25 +02:00
87ed710f66 add is_pinned functionality 2023-06-08 10:57:42 +02:00
d7417804a0 renew cookies on every action; increase cookie timeout to 3 months 2023-06-07 00:07:11 +02:00
2420b69d43 fix tests 2023-06-06 12:26:48 +02:00
2159802cca remove unused import 2023-06-06 10:09:48 +02:00
eccf224a40 order names by last access 2023-06-06 10:08:54 +02:00
ca93bc93c2 push 2023-06-05 14:56:15 +02:00
030fcd1c6f push 2023-06-05 14:50:01 +02:00
e8e84e8d37 push 2023-06-05 14:43:31 +02:00
5230762190 push 2023-06-05 14:25:23 +02:00
b6057f066d push 2023-06-05 14:07:46 +02:00
a72e19d8e1 push 2023-06-05 14:01:55 +02:00
51b0ba8cf4 fix ics 2023-06-05 13:29:55 +02:00
f64128e0b1 Use crlf 2023-06-05 13:27:08 +02:00
2530d6343d add dtstamp 2023-06-05 13:21:41 +02:00
b237ff3850 add timezone information in ics feed 2023-06-05 13:18:40 +02:00
bae288cb43 clean code with clippy 2023-05-30 14:47:44 +02:00
9c30cda326 clean code with clippy 2023-05-30 14:36:23 +02:00
273239ef34 add nice name of calendar 2023-05-28 20:05:51 +02:00
d688faf579 name calendar 2023-05-24 15:44:43 +02:00
05b65b2f67 restructre 2023-05-24 15:36:38 +02:00
aa2d5bc7dd add first draft of cal 2023-05-24 15:09:38 +02:00
478ce329e3 Push 2023-05-24 13:11:47 +02:00
c91db80ce5 no more clones! 2023-05-24 12:18:14 +02:00
1c74d11e96 fix clones() 2023-05-24 12:16:13 +02:00
99296d4060 fix many clones() 2023-05-24 12:11:55 +02:00
cf45036642 clean rss string 2023-05-24 09:39:49 +02:00
abf720ed36 push 2023-05-24 09:36:48 +02:00
e9d0ffd189 try sth 2023-05-24 09:31:18 +02:00
26f1ad785e fix feed 2023-05-24 09:21:22 +02:00
33aeb28140 properly close rss feed 2023-05-24 09:11:34 +02:00
1ff5fb9a43 fix 2023-05-24 09:07:20 +02:00
bfdc815a36 remove rss dep 2023-05-24 09:05:07 +02:00
968ab00cc0 show last access time 2023-05-10 09:04:09 +02:00
8c38a2faf6 add last_access column for user table 2023-05-10 08:57:20 +02:00
c89a199a33 use proper field 2023-05-03 22:54:10 +02:00
9f7fa6b8c4 add edit option of planned_events 2023-05-03 22:40:22 +02:00
2fd5b65994 fix tests and add new one 2023-05-03 16:53:36 +02:00
787b28cc23 allow trip_type edit of trip 2023-05-03 16:51:37 +02:00
3f01bf39b3 deduplicate code 2023-05-03 16:06:27 +02:00
0b34b776ac remove unwrap :-) 2023-05-03 15:59:28 +02:00
913d0ac78e push 2023-05-03 13:32:23 +02:00
bb4dba7bc9 only allow guests to register for specific events; don't even show them the other trips 2023-04-29 18:57:01 +02:00
3d5ad30904 send triptype to frontend 2023-04-28 21:19:51 +02:00
bd5a28b342 send triptype to frontend 2023-04-28 21:19:30 +02:00
734bbd434e fix bug 2023-04-28 19:43:59 +02:00
055c330a3e allow 'deletion' of user 2023-04-28 19:29:20 +02:00
0ff64c5c9e finish tests 2023-04-28 19:08:17 +02:00
4d532e5846 add final tests for trip.rs 2023-04-28 18:18:00 +02:00
38732df6c8 add test; fix bug 2023-04-28 18:08:01 +02:00
ef921314d2 clean function 2023-04-26 17:02:47 +02:00
346a9b1d91 add unit tests 2023-04-26 16:54:53 +02:00
9236113507 clean code with clippy 2023-04-26 12:52:19 +02:00
a49de71a5d even more tests! 2023-04-26 12:21:30 +02:00
1e92b166c7 add tests for trip_details 2023-04-26 11:31:02 +02:00
7a2639bbb1 remove unused users 2023-04-26 11:25:29 +02:00
153d7f84e1 add tests for usre 2023-04-26 11:22:22 +02:00
daf8afd731 clean code with clippy 2023-04-24 14:34:06 +02:00
a3ac83228c add rss feed with common actions 2023-04-18 12:10:11 +02:00
494ec31c8d use proper result for finding user 2023-04-10 14:25:31 +02:00
1d03dd59b2 allow cox to edit own trips 2023-04-07 11:54:56 +02:00
3f9d5bb4c7 allow trip to be deleted if noone has registered yet 2023-04-07 11:16:39 +02:00
4d49574ebb add cox_needed attribute 2023-04-06 20:08:58 +02:00
f034a780a2 send loggedin_user in /admin/user 2023-04-06 18:57:10 +02:00
194577f9bd check if already cox on planned events 2023-04-06 18:48:18 +02:00
82c4680684 restructure code 2023-04-06 08:06:50 +02:00
2ede4af500 sort user by name 2023-04-05 22:09:24 +02:00
92040e7eac move todo to proper location 2023-04-05 22:04:05 +02:00
8f05d1bdf4 don't allow to join as user if already cox 2023-04-05 22:01:50 +02:00
9ab1572b15 don't allow cox to help if cox is already registered as rower for event 2023-04-05 21:49:48 +02:00
f609ee1cb4 allow admin to create user 2023-04-05 20:56:36 +02:00
f7c7f9aaf8 show registration time for rowers 2023-04-05 17:25:22 +02:00
da31c36c70 clean code with clippy 2023-04-04 19:49:27 +02:00
476c4db255 allow to show full year 2023-04-04 15:38:47 +02:00
cedaba5709 push 2023-04-04 15:16:21 +02:00
0bdd073d7f fix bug 2023-04-04 12:23:41 +02:00
3d907487a1 add planned_trip functionality 2023-04-04 12:19:56 +02:00
3dfc64071c finish admin tasks 2023-04-04 10:44:14 +02:00