Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Upgrade to use Rocket 0.5.0-rc.1 | Harald Eilertsen | 2021-08-24 | 1 | -9/+13 |
| | |||||
* | Add info about the event to the db and render landing page. | Harald Eilertsen | 2020-08-25 | 1 | -0/+45 |
| | |||||
* | models: Drop unused import. | Harald Eilertsen | 2020-08-25 | 1 | -1/+0 |
| | |||||
* | Implement edit screenings in web ui. | Harald Eilertsen | 2020-08-23 | 1 | -1/+2 |
| | |||||
* | Change start/end times to complete timestamps. | Harald Eilertsen | 2020-08-23 | 1 | -10/+6 |
| | | | | | | | The way we had this until now with a date and separate start and end times does not really work. There are cases when a screening starts on one day, but ends on the next. By keeping a complete timestamp for both the start and end times, we don't fall into this problem. | ||||
* | Implement adding rooms through the web ui. | Harald Eilertsen | 2020-08-22 | 1 | -1/+1 |
| | |||||
* | Update deps, drop serde_derive. | Harald Eilertsen | 2020-08-22 | 3 | -3/+3 |
| | | | | | serde_derive is included by passing the 'derive' feature to serde instead. | ||||
* | Rename ScreeningRecord model to Screening | Harald Eilertsen | 2019-08-10 | 1 | -2/+2 |
| | |||||
* | Rename Screening model to AggregateScreening | Harald Eilertsen | 2019-08-10 | 1 | -4/+5 |
| | |||||
* | Update /screenings endpoint to return full info on screenings. | Harald Eilertsen | 2019-04-28 | 3 | -7/+34 |
| | | | | | 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 Eilertsen | 2019-04-08 | 3 | -69/+3 |
| | | | | | | 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 endpoint to fetch screenings from the database. | Harald Eilertsen | 2019-04-08 | 1 | -0/+77 |
| | | | | | | Not entirely happy about the way this turned out for now. A more ergonomic return type from the models::screenings::get_all() function will be investigated. | ||||
* | Add models::film::by_title and models::room::by_name methods. | Harald Eilertsen | 2019-04-08 | 2 | -0/+14 |
| | |||||
* | Add route to fetch films from database. | Harald Eilertsen | 2019-04-02 | 1 | -0/+43 |
| | |||||
* | Actually fetch available rooms from the database. | Harald Eilertsen | 2019-03-21 | 1 | -0/+35 |