Commit Graph

5 Commits

Author SHA1 Message Date
jeff 96baba6a50 Serve templated templates with webpack-compiled JS injected. 2021-01-03 13:36:53 +00:00
jeff feaa57739e Change global databases to debug (for development) 2020-12-14 19:06:21 +00:00
jeff e938496f00 Migrate to Rocket 0.5.
Rocket 0.5 is a major uprade, rewriting most of Rocket to be async.
Required many changes through the code, especially the database layer.
The new Rocket async database calls require Futures with 'static
lifetimes.

General:
 - Move to stable rust.
 - Most of codebase is now async.
 - Rocket migrations (e.g. Cookies to CookieJar).

Database:
 - Switched to owned data (&str -> String) for inserts because of the
   'static lifetime requirement on Rocket's DB future.
 - All database methods now asynchronous.

Pages:
 - Changed various routes to async.
 - Needed to add clone calls to some places because we need to use
   owned data multiple times (registration).
2020-12-13 21:58:39 +00:00
jeff 7cb8a589ad Remove development cookie key from rocket.toml 2020-12-03 19:30:09 +00:00
jeff 09b6ddc36a First commit; prototype state. 2020-12-03 19:21:09 +00:00