Ruderassistent des Rudervereins Donau Linz https://app.rudernlinz.at
Go to file
2023-07-22 15:51:42 +02:00
frontend [BUGFIX] duplicate ids checkboxes in sidebar form 2023-06-08 15:28:08 +02:00
src add db constraints; add optional name for login (to be sent to members) 2023-07-22 15:51:20 +02:00
static fix tests 2023-07-21 10:48:19 +02:00
svelte be able to use both tera and svelte 2023-07-16 20:07:38 +02:00
templates add db constraints; add optional name for login (to be sent to members) 2023-07-22 15:51:20 +02:00
.env initial push 2023-02-08 16:25:06 +01:00
.gitignore fix tests 2023-07-21 10:48:19 +02:00
.gitlab-ci.yml fix ci 2023-04-10 14:51:47 +02:00
Cargo.lock update deps 2023-07-11 16:08:19 +02:00
Cargo.toml be able to use both tera and svelte 2023-07-16 20:07:38 +02:00
db.sqlite.bkp automatic db backup 2023-07-22 03:00:01 +02:00
migration.sql add db constraints; add optional name for login (to be sent to members) 2023-07-22 15:51:20 +02:00
package-lock.json update deps 2023-06-06 12:23:16 +02:00
README.md create create/delete/view function for boats 2023-07-22 13:57:17 +02:00
Rocket.toml add unique key for ci testing 2023-07-21 09:07:25 +00:00
rot.service add service + update file 2023-03-04 11:52:11 +01:00
seeds.sql create db tables for logbook 2023-07-22 13:10:13 +02:00
shame.txt add shame list 2023-06-06 22:42:22 +02:00
test_db.sh add user table 2023-03-26 14:40:56 +02:00
update.sh add example code; updated deploy script 2023-07-16 20:54:11 +02:00

Backend

  • [] Create missing backend tests (see below)
  • [] ics for registered trips

New large features

Logbuch

Next:

  • Make boats updateable (incl. rower + location)
  • Write tests for model/boat.rs

Guest-Scheckbuch

  • guest_trip
    • guest_user_id
    • amount_trips
    • paid_to_user_id
  • guest_trip_logbook
    • guest_trip_id
    • logbook_id

Bootsreservierungen

  • Confirmation required?
  • How long in advance is it possible?
  • Default reservations for some regular events (A+F, USI, ...)?

Notifications

  • notifcations
    • id
    • message
    • category
    • created_at
    • read_at: Option
    • user_id

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
  • [] exactly same time -> deny registration
  • [] automatically add regular planned trip
  • [] same day+time: aggregate stats (x people, of which y cox and z rower)
  • [] Lock trip; noone can register anymore

Frontend Process

´cd frontend´ ´npm install´ ´npm run (watch/build)´

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

Missing backend tests

  • (index) GET /
  • (faq) GET /faq
  • (cal) GET /cal
  • (FileServer: svelte/build) GET /<path..>
  • (join) GET /join/<trip_details_id>
  • (remove) GET /remove/<trip_details_id>
  • (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/
  • (rss) GET /admin/rss?
  • (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//delete
  • (resetpw) GET /admin/user//reset-pw
  • (delete) GET /admin/planned-event//delete
  • (FileServer: static/) GET /public/<path..> [10]
  • (login) POST /api/login/
  • /tera/admin/boat.rs