aboutsummaryrefslogtreecommitdiffstats
path: root/src/models/room.rs
Commit message (Collapse)AuthorAgeFilesLines
* Implement adding rooms through the web ui.Harald Eilertsen2020-08-221-1/+1
|
* Update deps, drop serde_derive.Harald Eilertsen2020-08-221-1/+1
| | | | | serde_derive is included by passing the 'derive' feature to serde instead.
* Update /screenings endpoint to return full info on screenings.Harald Eilertsen2019-04-281-1/+1
| | | | | This makes each screening record self-contained, and the json payload more consistent with how it semantically fit together.
* Move functions to query/modify db to connection object.Harald Eilertsen2019-04-081-17/+1
| | | | | | Makes tha API a bit nicer by asking the database rather than passing the database on to each model. Reserve models for method/functions that work on the model structs themselves.
* Add models::film::by_title and models::room::by_name methods.Harald Eilertsen2019-04-081-0/+7
|
* Actually fetch available rooms from the database.Harald Eilertsen2019-03-211-0/+35