Commit Graph

6 Commits

Author SHA1 Message Date
projectmoon a34e8d24c6 Rename static directory to generated 2021-01-09 13:03:07 +00:00
projectmoon a16ffd0495 Serve templated templates with webpack-compiled JS injected. 2021-01-03 13:36:53 +00:00
projectmoon 2e8197eedc Change global databases to debug (for development) 2020-12-14 19:06:21 +00:00
projectmoon 8c8ed4f6ef 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
projectmoon 3dac266478 Remove development cookie key from rocket.toml 2020-12-03 19:30:09 +00:00
projectmoon 092da7490f First commit; prototype state. 2020-12-03 19:21:09 +00:00