Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Implement update events.dev | Harald Eilertsen | 2021-08-25 | 4 | -0/+31 |
| | |||||
* | Fix typo and include js in index template. | Harald Eilertsen | 2021-08-25 | 1 | -3/+4 |
| | |||||
* | Refactor event templates and add edit form. | Harald Eilertsen | 2021-08-25 | 7 | -54/+103 |
| | |||||
* | Add old migration to create event table. | Harald Eilertsen | 2021-08-24 | 2 | -0/+10 |
| | |||||
* | Upgrade to use Rocket 0.5.0-rc.1 | Harald Eilertsen | 2021-08-24 | 19 | -655/+1284 |
| | |||||
* | Use relative URLs for redirects. | Harald Eilertsen | 2020-08-25 | 4 | -7/+7 |
| | |||||
* | Add stylesheet and js to to the index template. | Harald Eilertsen | 2020-08-25 | 2 | -50/+32 |
| | | | | This also obsoletes and removes the old index.html file. | ||||
* | Reenable serving static files. | Harald Eilertsen | 2020-08-25 | 1 | -0/+1 |
| | | | | These have a rank higher (lower presedence) than the predefined routes. | ||||
* | Add info about the event to the db and render landing page. | Harald Eilertsen | 2020-08-25 | 9 | -2/+162 |
| | |||||
* | tests: Update apitests. | Harald Eilertsen | 2020-08-25 | 1 | -10/+7 |
| | | | | | With the current example Rocket.toml running the tests will wipe the globally defined database. | ||||
* | models: Drop unused import. | Harald Eilertsen | 2020-08-25 | 1 | -1/+0 |
| | |||||
* | app.js: Capitalize date in heading above schedules. | Harald Eilertsen | 2020-08-25 | 1 | -1/+5 |
| | |||||
* | Styling: drop the tiny font size. | Harald Eilertsen | 2020-08-25 | 1 | -1/+0 |
| | | | | Let the user decide the size of fonts they like. | ||||
* | app.js: Render schedules in sorted order. | Harald Eilertsen | 2020-08-25 | 1 | -1/+1 |
| | |||||
* | app.js: Fix wordwrap and make schedule bigger. | Harald Eilertsen | 2020-08-25 | 1 | -13/+16 |
| | |||||
* | app.js: Request screenings by relative URL. | Harald Eilertsen | 2020-08-25 | 1 | -1/+1 |
| | | | | | Allows us to run the app under a suburi, instead of having a separate domain for it. | ||||
* | 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 |
| |