Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Brushing up a bit and prepare for deploy. | Harald Eilertsen | 2019-08-28 | 3 | -14/+15 |
| | | | | | | | | | | | use relative links to resources, so we can deploy to sub-url. explicitly set colours for canvas elements, styling did not work in all browsers. also make it white on black. tighten fonts and make screening titles bigger. | ||||
* | Replace favicon for ravenheart. | Harald Eilertsen | 2019-08-28 | 1 | -0/+0 |
| | |||||
* | Reflow schedules with wrapped flex layout. | Harald Eilertsen | 2019-08-28 | 1 | -0/+11 |
| | | | | Use with of screen when it's there, otherwise be narrow and long. | ||||
* | Add license info to footer. | Harald Eilertsen | 2019-08-28 | 2 | -0/+39 |
| | |||||
* | Style link elements in the html. | Harald Eilertsen | 2019-08-28 | 1 | -0/+8 |
| | |||||
* | Adapt to Ravenheart 2019, Oslo. | Harald Eilertsen | 2019-08-28 | 3 | -3/+9 |
| | | | | | | Also fetch the json directly from a file on the server. Since we don't really have any functionality in the backend app yet, we can deploy without it. | ||||
* | Use canvas for drawing the schedules.HEADmaster | Harald Eilertsen | 2019-08-28 | 3 | -8/+170 |
| | |||||
* | Drop attribute no longer needed from lib. | Harald Eilertsen | 2019-08-10 | 1 | -1/+1 |
| | | | | Feature has been stabilized so no need to explicitly enable it anymore. | ||||
* | Add db::get_screeinings to get plain screening model. | Harald Eilertsen | 2019-08-10 | 2 | -1/+6 |
| | |||||
* | Rename ScreeningRecord model to Screening | Harald Eilertsen | 2019-08-10 | 1 | -2/+2 |
| | |||||
* | Rename Screening model to AggregateScreening | Harald Eilertsen | 2019-08-10 | 5 | -11/+12 |
| | |||||
* | Update rocket and other deps. | Harald Eilertsen | 2019-08-10 | 1 | -266/+476 |
| | |||||
* | Update /screenings endpoint to return full info on screenings. | Harald Eilertsen | 2019-04-28 | 7 | -21/+49 |
| | | | | | This makes each screening record self-contained, and the json payload more consistent with how it semantically fit together. | ||||
* | Import model structs to main models module. | Harald Eilertsen | 2019-04-08 | 7 | -20/+20 |
| | |||||
* | Move functions to query/modify db to connection object. | Harald Eilertsen | 2019-04-08 | 8 | -83/+78 |
| | | | | | | 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. | ||||
* | Fix warnings from test runs. | Harald Eilertsen | 2019-04-08 | 1 | -4/+2 |
| | |||||
* | Add endpoint to fetch screenings from the database. | Harald Eilertsen | 2019-04-08 | 8 | -5/+177 |
| | | | | | | 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 readme and contributing guide. | Harald Eilertsen | 2019-04-07 | 2 | -0/+69 |
| | |||||
* | Refactor tests to always load fixtures, and sync execution. | Harald Eilertsen | 2019-04-02 | 3 | -25/+44 |
| | | | | | | | Rust will run tests in parallel by default, which does not work too well with using db transactions as a means to isolate changes in the database between tests. So we have to run the database tests one at a time, thus the mutex. | ||||
* | Renamed test file. | Harald Eilertsen | 2019-04-02 | 1 | -0/+0 |
| | |||||
* | Add route to fetch films from database. | Harald Eilertsen | 2019-04-02 | 6 | -5/+118 |
| | |||||
* | Fetch rooms from database using ajax/json. | Harald Eilertsen | 2019-03-23 | 2 | -0/+26 |
| | |||||
* | Fix typo in css | Harald Eilertsen | 2019-03-23 | 1 | -1/+1 |
| | |||||
* | Refactor room tests, move server and db setup to function. | Harald Eilertsen | 2019-03-21 | 1 | -21/+30 |
| | |||||
* | Actually fetch available rooms from the database. | Harald Eilertsen | 2019-03-21 | 8 | -10/+119 |
| | |||||
* | Pass database url into build_rocket helper function. | Harald Eilertsen | 2019-03-20 | 3 | -6/+9 |
| | |||||
* | Refactoring, move db connection and room controller to separate modules. | Harald Eilertsen | 2019-03-04 | 4 | -20/+81 |
| | |||||
* | Use rocket_contrib's JsonValue as return type. | Harald Eilertsen | 2019-03-04 | 4 | -4/+32 |
| | |||||
* | Begin implement /rooms endpoint. | Harald Eilertsen | 2019-03-04 | 3 | -26/+87 |
| | | | | | | Refactors the code by moving the implementation to a library, to make it testable. A dummy /rooms endpoint returning an empty list was added as well. | ||||
* | Add basic db schema. | Harald Eilertsen | 2019-03-04 | 7 | -0/+147 |
| | |||||
* | Don't version control .env file. | Harald Eilertsen | 2019-03-04 | 1 | -0/+1 |
| | |||||
* | Set up database and connection pool with rocket_contrib::databases. | Harald Eilertsen | 2019-03-04 | 6 | -3/+295 |
| | | | | | Set the env var DATABASE_URL before running the server. A .env file in the root of the project is also supported. | ||||
* | Remove templates and dep on askama no longer needed. | Harald Eilertsen | 2019-03-04 | 4 | -129/+0 |
| | |||||
* | Use rocket_contrib StaticFiles module to serve static files. | Harald Eilertsen | 2019-03-04 | 6 | -26/+358 |
| | | | | | | | This also changes the structure of the app quite significantly. Instead if generating the html for the index, we simply provide a public/index.html static file instead. For now this seems to make sense, it may not hold in the long run, but that's for another time to worry about. | ||||
* | Add basic stylesheet. | Harald Eilertsen | 2019-03-03 | 2 | -0/+11 |
| | |||||
* | Move basic page layout to base template. | Harald Eilertsen | 2019-03-03 | 2 | -9/+31 |
| | |||||
* | Enable askama rocket integration. | Harald Eilertsen | 2019-03-03 | 3 | -8/+5 |
| | | | | Let's us return templates directly, and have rocket render it for us. | ||||
* | Rename program to simply ramaskrik. | Harald Eilertsen | 2019-03-02 | 2 | -2/+2 |
| | |||||
* | Add license. | Harald Eilertsen | 2019-03-02 | 3 | -0/+695 |
| | |||||
* | Use askama for templates. | Harald Eilertsen | 2019-03-02 | 4 | -3/+107 |
| | |||||
* | Add favicon and route to get public files. | Harald Eilertsen | 2019-03-02 | 2 | -2/+8 |
| | |||||
* | Into space... | Harald Eilertsen | 2019-03-02 | 4 | -0/+510 |