hacky-ruadat/README.md

62 lines
1.4 KiB
Markdown
Raw Normal View History

2023-03-25 14:47:34 +01:00
# Process
- [ ] Import rowing members -> "Firstname Lastname"
- [ ] New name -> is_guest = True
- [ ] New trip from cox: define amount of rowers
- [ ] guests only see guest trips
2023-02-08 16:25:06 +01:00
# Edge case
- Trip in the morning on usi rowing day
2023-02-08 22:02:17 +01:00
- after N people (/ cox) -> red highlighted -> queue
2023-02-08 16:25:06 +01:00
# Fancy
- Every cox can define which boats they use
- Link for specific trip
- Basic auth (with e.g. ekrv) to prevent spam bots? (Or on first login there are 2 input fields: name + e.g. name of "strom")
2023-03-14 14:00:53 +01:00
# DB
- users
- id: i32
- name: String
- pw: Option<String>
2023-03-25 14:47:34 +01:00
- is_cox: bool (false)
- is_admin: bool (false)
- is_guest: bool (true)
- planned_event
- id: i32
- name: String (e.g. "USI")
2023-03-14 14:00:53 +01:00
- planned_amount_cox: i32
2023-03-25 14:47:34 +01:00
- trip_details_id: i32 (trip_details.id)
2023-03-14 14:00:53 +01:00
- open_registration: bool
2023-03-25 14:47:34 +01:00
- allow_guests: bool (false)
2023-03-14 14:00:53 +01:00
- trip
2023-03-25 14:47:34 +01:00
- id: i32
- cox_id: i32 (user.id)
- trip_details: Option<i32> (trip_details.id)
- planned_trip_id: Option<i32> (planned_trip.id)
- created: chrono::DateTime
- trip_details
- id: i32
- planned_starting_time: String
- max_people: i32
- day: chrono::NaiveDate
2023-03-26 13:55:07 +02:00
- notes: String
2023-03-25 14:47:34 +01:00
- user_trip
- trip_details_id: i32 (trip_details.id)
- user_id: i32 (user.id)
2023-03-14 14:00:53 +01:00
- created: chrono::DateTime
2023-03-26 17:28:25 +02:00
# TODO
- [ ] User login
- [ ] Admin
- [ ] User
- [ ] User passwort zurücksetzen
- [ ] Cox + admin setzen
- [ ] Ausfahrten
- [ ] CRUD planned_event
- [ ] CRUD trip_details
- [ ] CRUD trip
- [ ] CRUD user_trip