rowt/README.md

115 lines
3.2 KiB
Markdown
Raw Normal View History

2023-07-21 10:45:55 +02:00
# Backend
- [] **Create missing backend tests (see below)**
2023-06-08 17:43:16 +02:00
- [] ics for registered trips
2023-04-29 10:26:16 +02:00
2023-07-21 10:45:55 +02:00
## New large features
### Logbuch
2023-07-24 20:56:46 +02:00
- Finally
2023-07-23 20:43:01 +02:00
- Stats (Personenliste mit Gesamt-KM vom Jahr)
2023-04-29 10:26:16 +02:00
2023-07-21 10:45:55 +02:00
### Guest-Scheckbuch
2023-07-21 12:47:21 +02:00
- guest_trip
- guest_user_id
- amount_trips
- paid_to_user_id
2023-07-22 13:10:13 +02:00
- guest_trip_logbook
2023-07-21 12:47:21 +02:00
- guest_trip_id
2023-07-22 13:10:13 +02:00
- logbook_id
2023-07-21 12:47:21 +02:00
2023-07-21 10:45:55 +02:00
### Bootsreservierungen
2023-07-21 12:47:21 +02:00
- Confirmation required?
- How long in advance is it possible?
- Default reservations for some regular events (A+F, USI, ...)?
2023-07-21 10:45:55 +02:00
2023-07-22 13:10:13 +02:00
### Notifications
- notifcations
- id
- message
- category
- created_at
- read_at: Option<Datetime>
- user_id
2023-07-22 16:48:29 +02:00
### Schnupper-Pipeline
- Mail-Adressen von Interessierten dauerhaft entgegennehmen
- Termin ausgemacht -> Interessierte kontaktieren
- X Personen können teilnehmen (bis zu 3(?) pro Person erlauben (Familie)?)
- Automatisch Bestätigung bei Anmeldung schicken, mit Detail-Infos
- Ein paar Tage vorher Erinnerungs-Mail ausschicken
- Anmeldungen können manuell wieder gelöscht werden
- Es gibt Liste mit aktuellen Anmeldungen
2023-07-21 10:45:55 +02:00
## Backlog (i.e. don't work on this now)
### Sync w/ nextcloud
- remove most fields (names, ...) from users and add uid
- create user_nextcloud table; to be re-created every day(?)
user
- UID
- pw
- last_access
user_details
- UID
- fn (formatted name)
- is_cox (if CATEGORIES = {Steuerleute, Bootsführer})
- is_admin (if CATEGORIES = Admin)
- is_guest (if person not in nextcloud)
### Misc
- [] Don't show events if time > 1h(?) ago
2023-04-29 10:26:16 +02:00
- [] exactly same time -> deny registration
2023-04-11 15:28:24 +02:00
- [] automatically add regular planned trip
2023-05-10 09:13:40 +02:00
- [] same day+time: aggregate stats (x people, of which y cox and z rower)
2023-07-21 11:39:52 +02:00
- [] Lock trip; noone can register anymore
2023-07-23 20:07:54 +02:00
- [] on delete cascade doesn't work; e.g. created planned_event/trip + delete it -> trip_details entry still there!
2023-04-11 15:28:24 +02:00
2023-07-21 10:45:55 +02:00
# Frontend Process
´cd frontend´
´npm install´
2023-04-05 22:04:54 +02:00
´npm run (watch/build)´
2023-06-20 13:15:04 +02:00
2023-07-21 10:45:55 +02:00
# Notes / Bugfixes
## Frontend
- [] add UI for `trip_type`
- [] support esc to close sidebar
- [] after an hour(?) of inactivity -> show large popup w/ "maybe old data (ignore) (reload page)" (ignore bc maybe use is actively doing something -> don't throw input away!)
# Nice to have
## Frontend
- [] my trips for cox
2023-07-21 10:32:30 +02:00
# Missing backend tests
2023-07-22 12:24:29 +02:00
- [x] (index) GET /
- [x] (faq) GET /faq
- [x] (cal) GET /cal
- [x] (FileServer: svelte/build) GET /<path..>
- [x] (join) GET /join/<trip_details_id>
- [x] (remove) GET /remove/<trip_details_id>
2023-07-21 10:32:30 +02:00
- [x] (create) POST /cox/trip
2023-07-23 14:21:27 +02:00
- [x] (update) POST /cox/trip/<trip_id>
2023-07-24 09:40:28 +02:00
- [x] (join) GET /cox/join/<planned_event_id>
2023-07-21 10:32:30 +02:00
- [ ] (remove) GET /cox/remove/<planned_event_id>
- [ ] (remove_trip) GET /cox/remove/trip/<trip_id>
- [ ] (index) GET /auth/
- [ ] (login) POST /auth/
- [ ] (logout) GET /auth/logout
- [ ] (updatepw) POST /auth/set-pw
- [ ] (setpw) GET /auth/set-pw/<userid>
- [ ] (rss) GET /admin/rss?<key>
- [ ] (index) GET /admin/user
- [ ] (update) POST /admin/user
- [ ] (create) POST /admin/planned-event
- [ ] (update) PUT /admin/planned-event
- [ ] (create) POST /admin/user/new
- [ ] (delete) GET /admin/user/<user>/delete
- [ ] (resetpw) GET /admin/user/<user>/reset-pw
- [ ] (delete) GET /admin/planned-event/<id>/delete
- [ ] (FileServer: static/) GET /public/<path..> [10]
- [ ] (login) POST /api/login/
- [ ] /tera/admin/boat.rs