rowt/README.md

105 lines
2.6 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
Next:
2023-07-22 16:03:30 +02:00
- Start with CREATE for logbook
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-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-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
- [ ] (update) POST /cox/trip/<trip_id>
- [ ] (join) GET /cox/join/<planned_event_id>
- [ ] (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