aboutsummaryrefslogtreecommitdiffstats
path: root/src/controllers/room.rs
Commit message (Collapse)AuthorAgeFilesLines
* Implement adding rooms through the web ui.Harald Eilertsen2020-08-221-1/+21
|
* Swap rank on plain and json response for room list.Harald Eilertsen2020-08-221-7/+9
| | | | Note to self: More explicit should have lower rank (higher precedence.)
* Use Tera templates to render pages.Harald Eilertsen2020-08-221-2/+15
|
* Import model structs to main models module.Harald Eilertsen2019-04-081-2/+2
|
* Move functions to query/modify db to connection object.Harald Eilertsen2019-04-081-1/+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.
* Actually fetch available rooms from the database.Harald Eilertsen2019-03-211-5/+8
|
* Refactoring, move db connection and room controller to separate modules.Harald Eilertsen2019-03-041-0/+29