Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Ignore actual Rocket.toml. | Harald Eilertsen | 2020-08-24 | 1 | -0/+1 |
| | | | | To prevent it from accidentally being added to version control. | ||||
* | Move database config to Rocket.toml. | Harald Eilertsen | 2020-08-24 | 3 | -16/+35 |
| | | | | | This makes for one place to config everything instead of programatically setting the config. | ||||
* | Implement edit screenings in web ui. | Harald Eilertsen | 2020-08-23 | 6 | -2/+112 |
| | |||||
* | Use <time> elements in the screenings template. | Harald Eilertsen | 2020-08-23 | 1 | -1/+6 |
| | |||||
* | Store timestamps in UTC. | Harald Eilertsen | 2020-08-23 | 2 | -8/+21 |
| | | | | | | | | | For now we just hardcode that the local timezone of the site is UTC+2. Good enough for now, but something that should be configurable. Also split the date and time entries in the form again, the date refers to the start date. If the end time is before the start time, we assume it's the day after. Again, good enough for now. | ||||
* | Change start/end times to complete timestamps. | Harald Eilertsen | 2020-08-23 | 9 | -34/+44 |
| | | | | | | | 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 deleting screenings from web ui. | Harald Eilertsen | 2020-08-23 | 4 | -4/+34 |
| | |||||
* | Implement adding screenings in the web ui. | Harald Eilertsen | 2020-08-23 | 5 | -15/+134 |
| | |||||
* | Terminate li tags. | Harald Eilertsen | 2020-08-23 | 2 | -1/+2 |
| | |||||
* | Implement adding and listing films. | Harald Eilertsen | 2020-08-23 | 5 | -4/+88 |
| | |||||
* | Add link to create new rom in room list template. | Harald Eilertsen | 2020-08-23 | 1 | -0/+3 |
| | |||||
* | Implement adding rooms through the web ui. | Harald Eilertsen | 2020-08-22 | 6 | -3/+50 |
| | |||||
* | Swap rank on plain and json response for room list. | Harald Eilertsen | 2020-08-22 | 1 | -7/+9 |
| | | | | Note to self: More explicit should have lower rank (higher precedence.) | ||||
* | Use Tera templates to render pages. | Harald Eilertsen | 2020-08-22 | 5 | -5/+209 |
| | |||||
* | Update deps, drop serde_derive. | Harald Eilertsen | 2020-08-22 | 5 | -577/+756 |
| | | | | | serde_derive is included by passing the 'derive' feature to serde instead. | ||||
* | Use so date format for html element id's.ramaskrik-2019 | Harald Eilertsen | 2019-10-17 | 1 | -13/+19 |
| | |||||
* | Fix timezone in ramaskrik schedule data. | Harald Eilertsen | 2019-10-17 | 1 | -1/+1 |
| | |||||
* | Update schedule for Ramaskrik 2019. | Harald Eilertsen | 2019-10-17 | 2 | -83/+81 |
| | |||||
* | Add missing files. | Harald Eilertsen | 2019-10-17 | 3 | -0/+1528 |
| | |||||
* | Mainly cosmetic updates for ramaskrik. | Harald Eilertsen | 2019-10-17 | 2 | -8/+13 |
| | |||||
* | Revert "Replace favicon for ravenheart." | Harald Eilertsen | 2019-10-07 | 1 | -0/+0 |
| | | | | This reverts commit 896b30421727b7625d02cae375544dc1d542e9a5. | ||||
* | Adjust where long titles break. | Harald Eilertsen | 2019-10-05 | 1 | -2/+2 |
| | |||||
* | Optimize performance. | Harald Eilertsen | 2019-10-05 | 1 | -3/+9 |
| | | | | | A lot of time went by in the `time_f()` function, simplify it by not using the JavaScript date formatting framework which is way overkill. | ||||
* | Only convert final start/end_time to date objects. | Harald Eilertsen | 2019-10-05 | 1 | -6/+6 |
| | | | | | This makes the sort come out right, and there's no need to create a bunch of objects we just throw away. | ||||
* | Misc updates. | Harald Eilertsen | 2019-10-05 | 1 | -59/+42 |
| | | | | | | | | | | | Use proper JavaScript Date objects for handling time and date information. Pick up the screening date from the starting time if not given explicitly. Dynamically set the with of each canvas based on the number of rooms with screenings for that day. | ||||
* | Add times to movie boxes.ravenheart/2019 | Harald Eilertsen | 2019-10-04 | 1 | -4/+13 |
| | |||||
* | Remove obsolete code. | Harald Eilertsen | 2019-08-28 | 1 | -41/+0 |
| | |||||
* | 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 |
| |